【24h】

Program complexity metrics and programmer opinions

机译:程序复杂性指标和程序员意见

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

摘要

Various program complexity measures have been proposed to assess maintainability. Only relatively few empirical studies have been conducted to back up these assessments through empirical evidence. Researchers have mostly conducted controlled experiments or correlated metrics with indirect maintainability indicators such as defects or change frequency. This paper uses a different approach. We investigate whether metrics agree with complexity as perceived by programmers. We show that, first, programmers' opinions are quite similar and, second, only few metrics and in only few cases reproduce complexity rankings similar to human raters. Data-flow metrics seem to better match the viewpoint of programmers than control-flow metrics, but even they are only loosely correlated. Moreover we show that a foolish metric has similar or sometimes even better correlation than other evaluated metrics, which raises the question how meaningful the other metrics really are. In addition to these results, we introduce an approach and associated statistical measures for such multi-rater investigations. Our approach can be used as a model for similar studies.
机译:已经提出了各种程序复杂性措施来评估可维护性。通过经验证据仅进行了相对较少的经验研究来支持这些评估。研究人员大多进行了带有间接可维护性指标(例如缺陷或更改频率)的受控实验或相关指标。本文使用了不同的方法。我们调查指标是否符合程序员认为的复杂性。我们证明,首先,程序员的观点非常相似,其次,只有很少的指标,并且在很少的情况下,复制的复杂性等级与人类评级者相似。数据流指标似乎比控制流指标更适合程序员的观点,但即使它们之间的关系也很松散。此外,我们表明,愚蠢的指标与其他评估指标相比具有相似甚至更好的相关性,这引发了一个问题,即其他指标的实际意义如何。除了这些结果之外,我们还介绍了这种多评分者调查的方法和相关的统计方法。我们的方法可以用作类似研究的模型。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号