arrow
返回

Predicting object-oriented class reuse-proneness using internal quality attributes

delete2012-12-16
delete23
PRE
AI
J
Jehad Al Dallal *
S
Sandro Morasca
DOI:10.1007/s10664-012-9239-3delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Class reuse-proneness is the likelihood that a class can be reused and is a key quality characteristic in object-oriented design. Because it is clearly impossible to know with certainty when, where, how, and how often a class will be reused, this likelihood can only be estimated when a class is developed. At that stage, the internal quality attributes of a class such as cohesion, coupling, and size can be measured. In this paper, we empirically study the ability of 29 internal class quality measures, individually and in combination, to estimate class reuse-proneness. Specifically, we take into account both class inheritance and class instantiation, which are two ways in which a class can be reused. Our results show that most of the considered measures are predictors for the considered reuse-proneness attributes to some degree. The capability of the considered internal quality measures to predict class reuse-proneness is enhanced when the measures are combined using an optimized multivariate statistical model. The results also show that the size and coupling attributes of a class have positive impacts on its reuse-proneness via inheritance and instantiation. The cohesion of a class has a negative impact on its inheritance reuse-proneness and a positive impact on its instantiation reuse-proneness. The overall results of the empirical study show that software developers can use a number of predictors to assess the reuse-proneness of classes and possibly improve the reuse-proneness of the classes by controlling their internal quality attributes. Our results contribute to the evaluation of the quality of a class, but a comprehensive evaluation of the quality of a class should take into account many more qualities. Also, not all classes in a software system are built with reuse-proneness in mind, so our results should be applied only to those that are designed and implemented to be reusable.
Keyword:
Internal and external quality attributes
Quality measures
Class cohesion
Class coupling
Class size
Class reuse-proneness
Object-oriented software
Inheritance
Instantiation

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

U
University of Insubria
学者数:
6.8K
论文数: 6.0K
被引数: 6.5K
K
Kuwait University
学者数:
4.2K
论文数: 3.8K
被引数: 2.7K
引用论文

引用论文

The Daidzein Metabolite, 6,7,4'-Trihydroxyisoflavone, Is a Novel Inhibitor of PKCα in Suppressing Solar UV-Induced Matrix Metalloproteinase 1
err2014-11-19
err0
errOAAI
errTae-Gyu Lim; Jong-Eun Kim; Sung-Young Lee; Jun Park; Myung Yeom; Hanyong Chen; Ann Bode; Zigang Dong; Ki Lee
err分享
err收藏
A comparison of cohesion metrics for object-oriented systems
err2004-08-01
err35
PREAI
errEtzkorn, LH; Gholston, SE; Fortune, JL; Stein, CE; Utley, D; Farrington, PA; Cox, GW
err分享
err收藏
DMC: a more precise cohesion measure for classes
err2005-03-01
err17
PREAI
errWang, JM; Zhou, YM; Wen, LJ; Chen, YJ; Lu, HM; Xu, BW
err分享
err收藏
err分享
err收藏
Effect of leukotriene B4 receptor antagonist (ONO4057) on hepatic allografting in rats
err2000-11-01
err0
PREAI
errM Tanaka; T Tamaki; Y Konoeda; Y Uchida; T Kaizu; A Kawamura
err分享
err收藏
学者 查看更多内容