【24h】

Improving software robustness with dependability cases

机译:通过可靠性案例提高软件的健壮性

获取原文

摘要

Programs fail mainly for two reasons: logic errors in the code, and exception failures. Exception failures can account for up to 2/3 of system crashes, hence are worthy of serious attention. Traditional approaches to reducing exception failures, such as code reviews, wallthroughs and formal testing, while very useful, are limited in their ability to address a core problem: the programmer's inadequate coverage of exceptional conditions. The problem of coverage might be rooted in cognitive factors that impede the mental generation (or recollection) of exception cases that would pertain in a particular situation, resulting in insufficient software robustness. This paper describes a study to test the hypothesis that robustness for exception failures can be improved through the use of dependability cases. Dependability cases, derived from safety cases, comprise a methodology based on structured taxonomies and memory aids for helping software designer think about and improve exception-handling coverage. A controlled experiment conducted with 59 subjects revealed a statistically significant 43% increase in exception-handling robustness. An ancillary experiment conducted with 38 subjects provides convergent evidence that the effect is authentic, and not due to programming expertise alone.
机译:程序失败的主要原因有两个:代码中的逻辑错误和异常失败。异常故障最多可导致系统崩溃的2/3,因此值得认真注意。减少异常失败的传统方法(例如代码复查,穿墙和正式测试)非常有用,但是它们解决核心问题的能力有限:程序员对特殊条件的覆盖不足。覆盖范围的问题可能源于认知因素,这些因素阻碍了在特定情况下可能会导致的异常情况的心理生成(或记忆),从而导致软件健壮性不足。本文描述了一项研究,以检验以下假设的假设:可以通过使用可靠性案例来提高对异常失败的鲁棒性。从安全性案例派生而来的可靠性案例,包括基于结构化分类法和存储辅助工具的方法,可帮助软件设计人员考虑并改善异常处理范围。对59位受试者进行的一项对照实验显示,异常处理的鲁棒性在统计学上显着提高了43%。对38位受试者进行的辅助实验提供了越来越多的证据,证明该效果是真实的,而不仅仅是由于编程方面的专门知识。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号