An empirical analysis of package-modularization metrics: Implications for software fault-proneness

An empirical analysis of package-modularization metrics: Implications for software fault-proneness
复制标题

包模块化指标的实证分析:对软件故障倾向的影响

DOI:
10.1016/j.infsof.2014.09.006
复制
发表时间:
2015
影响因子:
3.9
通讯作者:
Baowen Xu
Baowen Xu
中科院分区:
计算机科学2区
文献类型:
--
作者:
Yangyang Zhao;Yibiao Yang;Hongmin Lu;Yuming Zhou;Qinbao Song;Baowen Xu

文献摘要

参考文献

被引文献

相似文献

上下文在大型面向对象的软件系统中,包扮演模块的角色,这些模块将相关类组合在一起,为系统的其余部分提供识别良好的服务。在这种背景下,人们普遍认为模块化对包的质量有很大影响。最近,Sarkar、Kak和Rama提出了一套新的度量标准,从模块间调用流量、状态访问违规、脆弱的基类设计、接口编程和插件污染等重要角度来表征包的模块化质量。这些包模块化度量与传统的包级度量有很大不同,传统的包级度量主要从大小、可扩展性、责任、独立性、抽象性和不稳定性的角度来衡量软件质量。因此,预计这些包模块化度量应该是故障倾向性的有用预测指标。然而,与传统的包级度量相比,这些新的包级度量在预测软件故障倾向性方面的实际有效性还知之甚少。目的本文考察了这些新的包模块化度量在面向对象系统中确定软件故障倾向性的作用。其次,我们使用单变量预测模型来研究这些新的包模块化度量与故障倾向性之间的关系。结果基于6个开源面向对象软件系统的结果表明:(1)与传统的包级度量相比,这些新的包模块化度量提供了新的和互补的软件复杂性视角;(2)大多数新的包模块化度量与预期方向的错误倾向性有显著的关联;结论Sarkar、Kak和Rama等人提出的软件包模块化度量方法对软件系统开发具有一定的指导意义。
ContextIn a large object-oriented software system, packages play the role of modules which group related classes together to provide well-identified services to the rest of the system. In this context, it is widely believed that modularization has a large influence on the quality of packages. Recently, Sarkar, Kak, and Rama proposed a set of new metrics to characterize the modularization quality of packages from important perspectives such as inter-module call traffic, state access violations, fragile base-class design, programming to interface, and plugin pollution. These package-modularization metrics are quite different from traditional package-level metrics, which measure software quality mainly from size, extensibility, responsibility, independence, abstractness, and instability perspectives. As such, it is expected that these package-modularization metrics should be useful predictors for fault-proneness. However, little is currently known on their actual usefulness for fault-proneness prediction, especially compared with traditional package-level metrics.ObjectiveIn this paper, we examine the role of these new package-modularization metrics for determining software fault-proneness in object-oriented systems.MethodWe first use principal component analysis to analyze whether these new package-modularization metrics capture additional information compared with traditional package-level metrics. Second, we employ univariate prediction models to investigate how these new package-modularization metrics are related to fault-proneness. Finally, we build multivariate prediction models to examine the ability of these new package-modularization metrics for predicting fault-prone packages.ResultsOur results, based on six open-source object-oriented software systems, show that: (1) these new package-modularization metrics provide new and complementary views of software complexity compared with traditional package-level metrics; (2) most of these new package-modularization metrics have a significant association with fault-proneness in an expected direction; and (3) these new package-modularization metrics can substantially improve the effectiveness of fault-proneness prediction when used with traditional package-level metrics together.ConclusionsThe package-modularization metrics proposed by Sarkar, Kak, and Rama are useful for practitioners to develop quality software systems.
DOI: --
发表时间: 2003
期刊: --
影响因子: --
作者:
A. Schein;L. Saul;L. Ungar
通讯作者: A. Schein;L. Saul;L. Ungar
DOI: 10.1080/00224065.1991.11979294
发表时间: 1991
影响因子: 2.5
作者:
L. Leemis
通讯作者: L. Leemis
DOI: 10.1109/icsm.2010.5609530
发表时间: 2010-09
期刊: 2010 IEEE International Conference on Software Maintenance
影响因子: --
作者:
Yasutaka Kamei;S. Matsumoto;Akito Monden;Ken-ichi Matsumoto;Bram Adams;A. Hassan
通讯作者: Yasutaka Kamei;S. Matsumoto;Akito Monden;Ken-ichi Matsumoto;Bram Adams;A. Hassan
DOI: 10.1109/tse.2012.43
发表时间: 2013-04
影响因子: 7.4
作者:
S. Shivaji;James Whitehead;R. Akella;Sunghun Kim
通讯作者: S. Shivaji;James Whitehead;R. Akella;Sunghun Kim
DOI: 10.2307/2530893
发表时间: 1983
期刊: --
影响因子: --
作者:
J. Neter;William Wasserman;M. Kutner
通讯作者: J. Neter;William Wasserman;M. Kutner