ClassIN: A Class Inheritance Metric Tool

  • B. Ramachandra Reddy
  • Aparajita Ojha
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 276)


This paper presents a comprehensive class inheritance metrics tool called ClassIN. The tool works for Java projects and presents an analysis with twenty different inheritance metrics including metrics at class level as well as at class hierarchy level. This also helps in identifying class hierarchies that may be more complex from the point of view of software maintenance. Graphical visualization of three important metrics, namely AID, specialization ratio and reuse ratio are also provided for an insight on structure of class hierarchies of a given Java project. This would help developers in identifying classes that may be more prone to faults or high maintenance costs.


Class Inheritance Hierarchies Inheritance Metrics Software Maintainability 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Chidamber, S.R., Kemerer, C.F.: A Metrics Suite for Object Oriented Design. J. IEEE Trans. Soft. Eng. 20(6), 476–493 (1994)CrossRefGoogle Scholar
  2. 2.
    Henderson-Sellers, B.: Object Oriented Metrics: Measures of Complexity, pp. 130–132. Prentice-Hall (1996)Google Scholar
  3. 3.
    Sheldon, F.T., Jerath, K., Chung, H.: Metrics for Maintainability of Class Inheritance Hierarchies. J. Soft. Main. and Evol. Res. and Pra. 14(3), 147–160 (2002)CrossRefMATHGoogle Scholar
  4. 4.
    Basili, V.R., Briand, L.C., Melo, L.W.: A Validation of Object-Oriented Design Metrics as Quality Indicators. J. IEEE Trans. Soft. Eng. 22(10), 751–761 (1996)CrossRefGoogle Scholar
  5. 5.
    Subramanyan, R., Krisnan, M.S.: Empirical Analysis of CK Metrics for Object-Oriented Design Complexity: Implications for Software Defects. J. IEEE Trans. Soft. Eng. 29(4), 297–310 (2003)CrossRefGoogle Scholar
  6. 6.
    Cartwright, M., Shepperd, M.J.: An Empirical Investigation of an Object-Oriented Software System. J. IEEE Trans. Soft. Eng. 26(8), 786–796 (2000)CrossRefGoogle Scholar
  7. 7.
    Bruntink, M., Deursen, A.V.: An Empirical Study into Class Testability. J. Sys. and Soft. 79, 1219–1232 (2006)CrossRefGoogle Scholar
  8. 8.
    Baudry, B., Traon, Y.L.: Measuring Design Testability of a UML Class Diagram. J. Info. and Soft. Tech. 47, 859–879 (2005)CrossRefGoogle Scholar
  9. 9.
    Harrison, R., Counsell, S.J.: An Evaluation of the Mood set of Object-Oriented Software Metrics. J. IEEE Trans. Soft. Eng. 21(12), 929–944 (1995)CrossRefGoogle Scholar
  10. 10.
    Abreu, F.B., Carapuca, R.: Candidate Metrics for Object-Oriented Software within a Taxonomy Framework. J. Sys. and Soft. 26, 87–96 (1994)CrossRefGoogle Scholar
  11. 11.
    Vernazza, T., Granatella, G., Succi, G., Benedicenti, L., Mintchev, M.: Defining Metrics for Software Components. In: 5th World Multi-Conference on Systemics, Cybernetics and Informatics, Florida, vol. XI, pp. 16–23 (2000)Google Scholar
  12. 12.
    Lorenz, M., Kidd, J.: Object-Oriented Software Metrics. Prentice Hall (1994)Google Scholar
  13. 13.
    Tegarden, D.P., Sheetz, S.D., Monarchi, D.E.: A Software Complexity Model of Object-Oriented Systems. J. Dec. Sup. Sys. 13, 241–262 (1995)CrossRefGoogle Scholar
  14. 14.
    Li, W.: Another Metric Suite for Object-Oriented Programming. J. Sys. and Soft. 44, 155–162 (1998)CrossRefGoogle Scholar
  15. 15.
    AlGhamdi, J., Elish, M., Ahemed, M.: A Tool for measuring Inheritance Coupling in Object Oriented Systems. J. Info. Sci. 140, 217–227 (2002)CrossRefMATHGoogle Scholar
  16. 16.
  17. 17.
  18. 18.
  19. 19.
  20. 20.
    VizzAnalyzer tool,
  21. 21.
    Dependency Finder tool,
  22. 22.
    Alghamdi, J., Rufai, R., Khan, S.: OOMeter: A Software Quality Assurance Tool. In: 9th European Conference on Software Maintenance and Reengineering, pp. 190–191. IEEE Computer Society, Manchester (2005)CrossRefGoogle Scholar
  23. 23.
    SD Metrics tool,
  24. 24.
    Daly, J., Brooks, A., Miller, J., Roper, M., Wood, M.: Evaluating Inheritance Depth on the Maintainability of Object-Oriented Software. J. Emp. Soft. Eng. 1, 109–132 (1996)CrossRefGoogle Scholar
  25. 25.
    Genero, M., Piattini, M., Calero, C.: A survey of metrics for UML class diagrams. J. Obj. Tech. 4(9), 59–92 (2005)CrossRefGoogle Scholar
  26. 26.
    Prechelt, L., Unger, B., Philippsen, M., Tichy, W.: A Controlled Experiment on Inheritance Depth as a Cost Factor for Code Maintenance. J. Sys. and Soft. 65, 115–126 (2003)CrossRefGoogle Scholar
  27. 27.
    Harrison, R., Counsell, S.J., Nithi, R.: Experimental Assessment of the Effect of Inheritance on the Maintainability of Object-Oriented Systems. J. Sys. and Soft. 52, 173–179 (2000)CrossRefGoogle Scholar
  28. 28.
    Catal, C.: Software Fault Prediction: A literature review and current trends. J. Expert Sys. with App. 38, 4626–4636 (2011)CrossRefGoogle Scholar
  29. 29.
    Chen, J., Huang, S.: An Empirical Analysis of the Impact of Software Development Problem Factors on Software Maintainability. J. Sys. and Soft. 82, 981–992 (2009)CrossRefGoogle Scholar
  30. 30.
    Genero, M., Manso, E., Visaggio, A., Canfora, G., Piattini, M.: Building Measure-based Prediction Models for UML Class Diagram Maintainability. J. Emp. Soft. Eng. 12, 517–549 (2007)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  1. 1.Design and Manufacturing JabalpurPDPM Indian Institute of Information TechnologyJabalpurIndia

Personalised recommendations