Study on Measurement of Class Coupling in Object-Oriented Software
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.
KeywordsCoupling Metric Object-oriented WCBO Method Attribute
- 1.Hong Z, Lingzi J (1997) Software quality assurance and testing, vol 9 (3). Science Press, Beijing, pp 33–39Google Scholar
- 3.Hitz M, Montazeri B (1995) Measuring coupling and cohesion in object-oriented systems. Appl Corp Comput 8(4):16–21Google Scholar
- 4.Briand L, Devanbu P, Melo W (1997) An investigation into coupling measures for C++. Microelectron Comput 9(8):412–421Google Scholar
- 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