Package level cohesion measurement in object-oriented software

Author:

Gupta Varun,Chhabra Jitender Kumar

Abstract

Abstract 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.

Publisher

Springer Science and Business Media LLC

Subject

General Computer Science

Reference75 articles.

1. Allen E, Khoshgoftaar T, Chen Y (2001) Measuring coupling and cohesion of software modules: an information theory approach. In: Proceedings of the seventh international software metrics symposium, 2001

2. Anquetil N, Lethbridge T (1999) Experiments with clustering as a software remodularization method. In: Proceedings of WCRE ’99 (6th working conference on reverse engineering), Louis Pasteur, University of Ottawa, Ottawa, Canada, 1999, pp 235–255

3. Atole CS, Kale KV (2006) Assessment of package cohesion and coupling principles for predicting the quality of object oriented design. In: Proceedings of the 1st international conference on digital information management, Dec 2006, pp 1–5

4. Bansiya J, Davis C (1999) Class cohesion metric for object-oriented designs. J Object-Oriented Program 11(8):47–52

5. Bansiya J, Davis C (2002) A hierarchical model for object-oriented design quality assessment. IEEE Trans Softw Eng 28(1):4–17

Cited by 20 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Performances of Various Aspect-Oriented Systems with their Significant Quality Attributes;2023 6th International Conference on Contemporary Computing and Informatics (IC3I);2023-09-14

2. On the relationship between source-code metrics and cognitive load: A systematic tertiary review;Journal of Systems and Software;2023-04

3. SSHM: SMOTE-stacked hybrid model for improving severity classification of code smell;International Journal of Information Technology;2022-05-07

4. A New Model of Software Network for Object-Oriented Software System;2021 IEEE International Conference on Systems, Man, and Cybernetics (SMC);2021-10-17

5. A New Metric for Package Cohesion Measurement Based on Complex Network;Complex Networks and Their Applications VIII;2019-11-26

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3