首页> 外文期刊>Sadhana >An inheritance complexity metric for object-oriented code: A cognitive approach
【24h】

An inheritance complexity metric for object-oriented code: A cognitive approach

机译:面向对象代码的继承复杂性度量:一种认知方法

获取原文
           

摘要

Software metrics should be used in order to improve the productivity and quality of software, because they provide critical information about reliability and maintainability of the system. In this paper, we propose a cognitive complexity metric for evaluating design of object-oriented (OO) code. The proposed metric is based on an important feature of the OO systems: Inheritance. It calculates the complexity at method level considering internal structure of methods, and also considers inheritance to calculate the complexity of class hierarchies. The proposed metric is validated both theoretically and empirically. For theoretical validation, principles of measurement theory are applied since the measurement theory has been proposed and extensively used in the literature as a means to evaluate the software engineering metrics. We applied our metric on a real project for empirical validation and compared it with Chidamber and Kemerer (CK) metrics suite. The theoretical, practical and empirical validations and the comparative study prove the robustness of the measure.
机译:应该使用软件指标来提高软件的生产率和质量,因为它们提供有关系统可靠性和可维护性的关键信息。在本文中,我们提出了一种用于评估面向对象(OO)代码设计的认知复杂性度量。提出的度量标准基于OO系统的重要特征:继承。它在考虑方法内部结构的情况下在方法级别上计算复杂度,并考虑继承以计算类层次结构的复杂度。所提出的度量在理论上和经验上都得到了验证。对于理论验证,由于提出了测量理论,因此应用了测量理论的原理,并且在文献中将其广泛用作评估软件工程指标的一种手段。我们将指标应用于实际项目中以进行经验验证,并将其与Chidamber和Kemerer(CK)指标套件进行了比较。理论,实践和经验验证以及比较研究证明了该方法的鲁棒性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号