Coupling Metric for Understandability and Modifiability of a Package in Object-Oriented Design

Full Text (PDF, 306KB), PP.72-78

Views: 0 Downloads: 0


Sandip Mal 1,* Kumar Rajnish 2

1. Department of Computer Science and Engineering, Central University of Jharkhand, India

2. Department of Information Technology, BIT, Mesra, India

* Corresponding author.


Received: 27 Nov. 2013 / Revised: 20 Mar. 2014 / Accepted: 16 May 2014 / Published: 8 Jul. 2014

Index Terms

Package, Coupling, Metric, Understandability, Modifiability, Quality Factor, Object-Oriented


This paper presents a new coupling metric (Coup), which is based on the formal definition of methods and variables of classes, and packages. The proposed metric has been validated theoretically against Briand properties as well as empirically using packages taken from two open source software systems and four experienced teams. We measure Coup value by our own CC tool. An attempt has also been made to present a strong correlation between Coup values and understandability of the packages and between Coup values and modified classes of the packages. The results indicate that Coup is used to predict understandability and modifiability of a package in Object-Oriented design. Finally this paper proves that Coup is a better predictor of understandability and modifiability of a package than other existing coupling metrics in the literature.

Cite This Paper

Sandip Mal, Kumar Rajnish, "Coupling Metric for Understandability and Modifiability of a Package in Object-Oriented Design", International Journal of Information Technology and Computer Science(IJITCS), vol.6, no.8, pp.72-78, 2014. DOI:10.5815/ijitcs.2014.08.10


[1]S R Chidamber, C F. Kemerer, Towards a metrics suite for object oriented design. In Proc. the 6th ACM Conf. Object- Oriented Programming: Systems, Languages and Applica- tions(OOPSLA), Phoenix, AZ, Oct. 6-11, (1991), pp.197-211.

[2]S R Chidamber, C F. Kemerer, A metrics suite for object oriented design. IEEE Transactions on Software Engineering, 20(6) (1994): 476-493.

[3]N. I. Churcher, M J. Shepperd, Comments on `A metrics suite for object-oriented design'. IEEE Transactions of Software Engineering, 21(3) (1995), 263-265.

[4]M. Hitz, B. Montazeri, Measuring coupling in object-oriented systems. Object Currents, 1(4) (1996) ,124-136.

[5]L. Briand, P Devanbu, W. Melo, An investigation into coupling measures for C++. In Proc. 19th Int. Conf. Software Eng., Boston, May 17-23, 1997, pp.: 412-421.

[6]K.Rajnish and V. Bhattacherjee, Class Cohesion: An Empirical and Analytical Approach, International Journal of Science and Research (IJSR), Victoria, Australia, Vol.2, No. 1, 2007, pp.53-62,

[7]S. Mal and K.Rajnish, Applicability of Weyuker’s Property 9 to Inheritance Metric.International Journal of Computer Applications, Foundation of Computer Science, USA, Volume 66– No.12, March 2013. 

[8]B.S. Henderson, L. L. Constantine, I. M. Graham, Coupling and Cohesion (towards a valid metrics suite for object oriented analysis and design, Object oriented systems, vol. 3, 143-158, 1996.

[9]Y S Lee, B S Liang, S F Wu, F J Wang. Measuring the coupling and cohesion of an object-oriented program based on information flow. In Proc. International Conference on Software Quality, Maribor, Slovenia, Nov. 6-9, 1995, pp.81-90.

[10]S. Mal and K.Rajnish, “Theoretical validation of New Class Cohesion Metric against Briand Properties”. Accepted for the publication in International Conference on Advanced Computing, Networking, and Informatics (ICACNI-2013), published by Advances in Intelligent and soft Computing, springer, Raipur, India.

[11]G Gui, P D Scott, Coupling and cohesion measures for evaluation of component reusability. In Proc. International Workshop on Mining Software Repositories, Shanghai, China, May 22-23, 2006, pp.18-21.

[12]S. A. E. bad, and M. Ahmed, An Evaluation Framework for Package-Level Cohesion Metrics, International Conference on Future Information Technology, Singapore vol.13 (2011), pp-239-243. 

[13]L C Briand, J W Daly, J K WÄust, A unified framework for coupling measurement in object-oriented systems. IEEE Transactions on Software Engineering, 1999, 25(1): 91-121.

[14]E Allen, T Khoshgoftaar. Measuring coupling and cohesion of software modules: An information theory approach. In Proc. the Seventh International Software Metrics Symposium, London, UK, April 4-6, 2001, pp.124-134.

[15]T Xu, K Qian, X He, Service oriented dynamic decoupling metrics. In Proc. the 2006 International Conference on Semantic Web and Web Services (SWWS'06), Las Vegas, USA, June 26-29, 2006, pp.170-176.

[16]V Gupta, J. K Chhabra, Package coupling measurement in object-oriented software. Journal of computer science and technology 24(2): 273-283 Mar. 2009.

[17]X Franch, J P. Carvallo, A quality-model-based approach for describing and evaluating software packages. In Proc. IEEE Joint International Conference on Requirements Engineering (RE'02), Essan, Germany, Sept. 9-13, 2002, pp.1-8.

[18]H. Washizaki, H. Yamamoto, Y. Fukazawa, A metrics suite for measuring reusability of software components. In Proc. the Ninth International Software Metrics Symposium (METRICS'03), 2003.

[19]W. Li, S. Henry, Object-oriented metrics that predict maintainability. Journal of Systems and Software, 1993, 23(2): 111-122.

[20]L. Briand, S. Morasca, V. Basili, Property-based software engineering measurement. IEEE Transactions of Software Engineering, (1996), 22(1): 68-86.



[23]E. Brito, F Abreu, and W. Melo, Evaluating the impact of OO Design on Software Quality. Proc. Third International Software Metrics Symposium. (Berin 1996).