首页> 外文会议>International Symposium on Dependable Software Engineering: Theories, Tools, and Applications >Software Defect-Proneness Prediction with Package Cohesion and Coupling Metrics Based on Complex Network Theory
【24h】

Software Defect-Proneness Prediction with Package Cohesion and Coupling Metrics Based on Complex Network Theory

机译:基于复杂网络理论的软件缺陷 - 透明预测与封闭封闭度和耦合指标

获取原文

摘要

Driven by functionality requirements, software codes are increasingly inflated, and invocations between codes are frequent and random. This makes it difficult for programmers to be thoughtful when modifying code, increasing the risk of defects. In an object-oriented software system, packages take the role of a middle tier that aggregates classes and limits class access. However, as the software system evolves, the logic and correctness of packages are weakened. In this paper, we explore the relation between package metrics and object-oriented software defect-proneness. We use two metrics of package cohesion and coupling based on complex network theory to verify the impact of code structure on software quality. On six Java software systems, the experimental result shows that the cohesion and coupling metrics play a positive role in software defect prediction, and they can correctly and effectively evaluate package organization structure. Meanwhile, our study confirms that compliance with the design principle of high cohesion and low coupling can reduce the risk of software defect-proneness and improve software quality.
机译:通过功能需求的推动下,软件代码也越来越膨胀,代码之间的调用频繁和随机。这使人们难以对程序员修改代码时,增加的缺陷的风险考虑周全。在面向对象的软件系统,包走中间层,它聚集类和限制类的访问的作用。然而,随着软件系统的发展,包的逻辑性和正确性被削弱。在本文中,我们探索包度量和面向对象的软件缺陷倾向之间的关系。我们采用基于复杂网络理论包装的凝聚力和耦合的两个指标来验证码结构对软件质量的影响。六个Java软件系统,实验结果表明,凝聚力和耦合指标发挥软件缺陷预测了积极的作用,并且他们能正确,有效地评价包的组织结构。同时,我们的研究证实,符合高内聚,低耦合的设计原则,可以减少软件缺陷倾向的风险,提高软件质量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号