期刊论文详细信息
Brazilian Computer Society. Journal
Package level cohesion measurement in object-oriented software
Jitender Kumar Chhabra1  Varun Gupta1 
[1] Department of Computer Engineering, National Institute of Technology, Kurukshetra, India
关键词: Cohesion;    Metrics;    Quality;    Reusability;    Packages;    Object-oriented software;   
DOI  :  10.1007/s13173-011-0052-4
学科分类:农业科学(综合)
来源: Springer U K
PDF
【 摘 要 】

Packages are re-usable components for most of object-oriented systems. To promote reuse in object-oriented systems and to make deployment and maintenance tasks easy, packages in object-oriented systems must be cohesive. Quantification of cohesion of packages can be very useful in assessing their reusability, quality etc. In this paper, a new measure for the measurement of package cohesion is proposed. The cohesion of a package is measured in terms of the degree of intra-package dependencies among its elements. The hierarchical structure of packages has also been taken into account during the measurement. The proposed measure has been validated theoretically as well as empirically. An empirical study has been conducted using 25 packages taken from six open-source software projects developed in Java. The proposed package cohesion measure is found to be a useful indicator of external quality factors such as the reusability of packages. The proposed metric is also established as a better predictor of code reusability than the existing cohesion measures.

【 授权许可】

CC BY   

【 预 览 】
附件列表
Files Size Format View
RO201902195326182ZK.pdf 596KB PDF download
  文献评价指标  
  下载次数:6次 浏览次数:23次