首页> 外文会议>Latin American Computer Conference >A Correlation Analysis between Halstead Complexity Measures and other Software Measures
【24h】

A Correlation Analysis between Halstead Complexity Measures and other Software Measures

机译:Halstead复杂度测度与其他软件测度的相关分析

获取原文

摘要

Halstead Complexity Measures, proposed in 1977, analyze a software system independently of its underlying programming language (technology) based on the measures number of operators and operands. From these two measures, it calculates other measures namely vocabulary, length, volume, difficulty, programming effort, errors, and testing time. The problem, nevertheless, is that since then the Academy and Industry have been coming up with hundreds of new metrics that differ in their assertions and calculations. Therefore, the objective of this paper is to present a correlation analysis between the eleven Halstead measures and other 27 popular measures proposed over the decades (e.g., LOC, cyclomatic complexity, and efferent coupling) through the inspection of 97 open-source Java systems in order to (i) identify redundancy in measures and (ii) minimize the costs of monitoring and diagnosing software projects, facilitating the task of making measurements. As a result, we identified strong correlations between Halstead measures and other measures, mainly related to size such as quantity of methods, packages, attributes, etc. We also identified direct correlation of Halstead measurements with coupling measures named Afferent and Efferent Coupling, with values ranging from 0.802 to 0.931, which are quite close to the maximum value 1 for a correlation. These results demonstrate that-although there is no perfect correlation-there is enough correlation to hypothesize that there is an overlap of measures with different denominations whose measured results are equivalent.
机译:Halstead复杂性度量于1977年提出,它根据运算符和操作数的度量来独立于其基础编程语言(技术)来分析软件系统。根据这两个度量,它可以计算其他度量,即词汇量,长度,数量,难度,编程工作量,错误和测试时间。然而,问题在于,自那时以来,学院和工业界已经提出了数百个断言和计算不同的新指标。因此,本文的目的是通过对97个开放源代码Java系统进行检查,来介绍11种Halstead测度与数十年来提出的其他27种流行测度(例如,LOC,圈复杂度和传出耦合)之间的相关性分析。为了(i)识别措施中的冗余,以及(ii)最小化监视和诊断软件项目的成本,从而简化了进行测量的任务。结果,我们确定了Halstead度量与其他度量之间的强相关性,主要与大小有关,例如方法的数量,包,属性等。我们还确定了Halstead度量与名为Afferent和Efferent Coupling的耦合度量的直接相关性,其值范围从0.802到0.931,非常接近相关的最大值1。这些结果表明,尽管没有完美的相关性,但是存在足够的相关性,可以假设在不同面额的测量结果相等的情况下存在测量重叠。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号