Study on Measurement of Class Coupling in Object-Oriented Software

Conference paper
Part of the Lecture Notes in Electrical Engineering book series (LNEE, volume 226)


Class coupling is dependency degree among classes, objects or components in object-oriented systems. It is important characteristic of software quality. This paper analyzes the well-known class coupling measures in detail and depth and indicates their defects. Based on anatomy of dependency among classes or objects, a novel approach weighted CBO is proposed to measure the class coupling to make up the deficiency of the existing measures. The experimental results prove the accuracy and validity of the metric method. The new method provides a guideline and new idea for evaluating class coupling.


Coupling Metric Object-oriented WCBO Method Attribute 


  1. 1.
    Hong Z, Lingzi J (1997) Software quality assurance and testing, vol 9 (3). Science Press, Beijing, pp 33–39Google Scholar
  2. 2.
    Chidamber S, Kemerer CF (1994) A metrics suite for object-oriented design. IEEE Trans Softw Eng 20(6):476–493CrossRefGoogle Scholar
  3. 3.
    Hitz M, Montazeri B (1995) Measuring coupling and cohesion in object-oriented systems. Appl Corp Comput 8(4):16–21Google Scholar
  4. 4.
    Briand L, Devanbu P, Melo W (1997) An investigation into coupling measures for C++. Microelectron Comput 9(8):412–421Google Scholar
  5. 5.
    Cao Y, Zhu Q (2008) Improved metrics for encapsulation based on information hiding. In: Proceedings of the 9th international conference for young computer scientists, ICYCS, vol 5(3). pp. 742–747Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  1. 1.School of Computer ScienceSichuan UniversityChengduChina
  2. 2.School of Computer and InformationSouthwest Forestry UniversityKunmingChina

Personalised recommendations