arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1201.3078cs.SE
收藏

软件假设的经验证实(与反驳)

Empirical Confirmation (and Refutation) of Presumptions on Software

Joseph Gil, Maayan Goldstein, Dany Moshkovich

摘要:

代码度量很容易定义,但不容易证明。很难证明一个度量是有效的,即,测量的数值意味着模糊定义的任何东西,但关键的软件属性,如复杂性和可维护性。本文采用统计分析和测试的方法来检验一些关于软件行为和度量的“可信”假设。其中包括在任何代码度量的应用中隐含的可靠性假设,以及软件工件中的变化幅度与其版本号的变化相关的假设。将一套36个指标用于试验,我们证实了大多数假设。出乎意料的是,我们表明,一些指标的可靠性的很大一部分,可以观察到,即使在随机变化的架构。另一个令人惊讶的结果是,布尔值度量往往在较小的软件版本增量中比在主要增量中更频繁地翻转它们的值。

英文摘要:

Code metrics are easy to define, but not so easy to justify. It is hard to prove that a metric is valid, i.e., that measured numerical values imply anything on the vaguely defined, yet crucial software properties such as complexity and maintainability. This paper employs statistical analysis and tests to check some "believable" presumptions on the behavior of software and metrics measured for this software. Among those are the reliability presumption implicit in the application of any code metric, and the presumption that the magnitude of change in a software artifact is correlated with changes to its version number. Putting a suite of 36 metrics to the trial, we confirm most of the presumptions. Unexpectedly, we show that a substantial portion of the reliability of some metrics can be observed even in random changes to architecture. Another surprising result is that Boolean-valued metrics tend to flip their values more often in minor software version increments than in major increments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑