Skip to main content
QUICK REVIEW

[论文解读] A Metrics Based Model for Understandability Quantification

Mohd Nazir, Raees Ahmad Khan|arXiv (Cornell University)|Apr 26, 2010
Software Engineering ResearchComputer Science参考文献 9被引用 17
一句话总结

本文提出一种基于度量的模型,通过将设计度量与可测试性和可维护性因素关联,量化面向对象软件的可理解性。该研究建立了面向对象特性与可测试性之间的关系,并通过实验验证了预测模型,证明其能通过可度量的软件度量有效估计可理解性。

ABSTRACT

Software developers and maintainers need to read and understand source programs and other software artifacts. The increase in size and complexity of software drastically affects several quality attributes, especially understandability and maintainability. False interpretation often leads to ambiguities, misunderstanding and hence to faulty development results. Despite the fact that software understandability is vital and one of the most significant components of the software development process, it is poorly managed. This is mainly due to the lack of its proper management and control. The paper highlights the importance of understandability in general and as a factor of software testability. Two major contributions are made in the paper. A relation between testability factors and object oriented characteristics has been established as a first contribution. In second contribution, a model has been proposed for estimating understandability of object oriented software using design metrics. In addition, the proposed model has been validated using experimental try-out.

研究动机与目标

  • 为解决软件可理解性缺乏系统化管理的问题,这是关键但常被忽视的质量属性。
  • 建立面向对象设计特性与可测试性因素之间的正式关系。
  • 开发一种基于可度量设计度量的预测模型,用于估算软件可理解性。
  • 通过在真实软件系统上的实验评估验证所提出的模型。
  • 通过增强可理解性的可度量评估,提高软件可维护性。

提出的方法

  • 作者识别出与可理解性相关的关键面向对象设计度量,如继承深度、子类数量和耦合度。
  • 建立这些度量与可测试性之间的理论联系,认识到更高的可测试性与更好的可理解性相关。
  • 通过设计度量的加权组合构建综合模型,以估算整体可理解性。
  • 在一组真实软件系统上实现并测试该模型,以评估其预测准确性。
  • 通过将模型预测结果与专家对代码可理解性的评估进行比较,开展实验验证。
  • 应用统计分析评估预测可理解性得分与实际可理解性评分之间的相关性。

实验结果

研究问题

  • RQ1面向对象设计度量如何与软件可测试性和可理解性相关?
  • RQ2能否构建一个基于设计度量的定量模型来估算软件可理解性?
  • RQ3所提出的模型在多大程度上能准确预测人工评估的可理解性?
  • RQ4诸如继承深度和耦合度等特定设计特性如何影响可理解性?
  • RQ5该基于度量的模型在真实软件系统中的可靠性和有效性如何?

主要发现

  • 所提出的模型成功将设计度量与可理解性关联,显示出强有力的理论与实证联系。
  • 该模型表现出预测可理解性得分与专家对代码清晰度评估之间存在显著正相关性。
  • 如预期所示,高继承深度和高耦合度等度量被发现对可理解性有负面影响。
  • 通过实验试验验证了模型的预测结果,证实其在实际环境中的可靠性。
  • 研究证实,可理解性可借助可度量的软件设计属性进行量化和预测。
  • 结果支持将设计度量作为早期检测可维护性问题的实用工具。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。