...
首页> 外文期刊>IEEE Transactions on Software Engineering >Enforcing Exception Handling Policies with a Domain-Specific Language
【24h】

Enforcing Exception Handling Policies with a Domain-Specific Language

机译:使用特定于域的语言执行异常处理策略

获取原文
获取原文并翻译 | 示例
           

摘要

Current software projects deal with exceptions in implementation and maintenance phases without a clear definition of exception handling policies. We call an exception handling policy the set of design decisions that govern the use of exceptions in a software project. Without an explicit exception handling policy, developers can remain unaware of the originally intended use of exceptions. In this paper, we present Exception Handling Policies Language (EPL), a domain-specific language to specify and verify exception handling policies. The evaluation of EPL was based on a user-centric observational study and case studies. The user-centric study was performed to observe how potential users of the language actually use it. With this study, we could better understand the trade-offs related to different language design decisions based on concrete and well-documented observations and experiences reported by participants. We identified some language characteristics that hindered its use and that motivated new language constructs. In addition, we performed case studies with one open-source project and two industry-strength systems to investigate how specifying and verifying exception handling policies may assist in detecting exception handling problems. The results show that violations of exception handling policies help to indicate potential faults in the exception handling code.
机译:当前的软件项目在实施和维护阶段处理异常,而没有明确定义异常处理策略。我们将异常处理策略称为管理软件项目中异常使用情况的一组设计决策。如果没有明确的异常处理策略,则开发人员可能仍然不知道异常的最初用途。在本文中,我们介绍了异常处理策略语言(EPL),这是一种特定于域的语言,用于指定和验证异常处理策略。 EPL的评估基于以用户为中心的观察性研究和案例研究。进行了以用户为中心的研究,以观察该语言的潜在用户如何实际使用它。通过这项研究,我们可以根据参与者报告的具体且记录在案的观察和经验,更好地理解与不同语言设计决策相关的权衡。我们确定了一些语言特征,这些特征阻碍了它的使用,并激发了新的语言结构。此外,我们通过一个开源项目和两个行业实力系统进行了案例研究,以研究指定和验证异常处理策略如何帮助检测异常处理问题。结果表明,违反异常处理策略有助于指示异常处理代码中的潜在故障。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号