首页> 外文期刊>International journal of information system modeling and design >Faults and Their Relationship to Implemented Patterns, Coupling and Cohesion in Commercial C# Software
【24h】

Faults and Their Relationship to Implemented Patterns, Coupling and Cohesion in Commercial C# Software

机译:商业C#软件中的故障及其与实现的模式,耦合和内聚的关系

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

摘要

This paper documents a study of fault proneness in commercial, proprietary software and attempts to determine whether a relationship exists between class faults and the design context of a class, namely the coupling and cohesion of a class, and whether the class is a participant of common design patterns. The authors studied a commercial software system for a 24 month period and identified design pattern participants by inspecting the design documentation and source code; coupling and cohesion metrics were measured by inspecting the source code with a tool; we also extracted fault data for the same period to determine whether a relationship existed between the design context and the fault propensity of a class. Results showed that design pattern participant classes were marginally more fault-prone than non-participant classes, The Adaptor, Method and Singleton patterns were found to be the most fault-prone of thirteen patterns explored. Coupling was found to have a significant relationship with the fault proneness of classes in the system; efferent coupling was a stronger indicator of fault propensity than afferent coupling. Cohesion, when measured using the LCOM(HS) metric, was not found to have a strong relationship with fault proneness.
机译:本文对商业专用软件中的故障倾向性进行了研究,并试图确定类错误和类的设计上下文之间是否存在关系,即类的耦合和衔接,以及该类是否是公共的参与者。设计模式。作者研究了一个为期24个月的商业软件系统,并通过检查设计文档和源代码来确定设计模式参与者。通过使用工具检查源代码来测量耦合和内聚度量;我们还提取了同一时期的故障数据,以确定设计上下文和类的故障倾向之间是否存在关系。结果表明,设计模式参与者类比非参与者类稍微容易出错,发现适配器,方法和单例模式是所研究的十三种模式中最容易出错的类型。发现耦合与系统中类的故障倾向有显着关系。与传入耦合相比,传入耦合是故障倾向的更强指标。当使用LCOM(HS)度量标准测量时,内聚性与故障倾向性没有密切关系。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号