Measuring the Object-Oriented Properties in Small Sized C++ Programs – An Empirical Investigation

  • S. Kanmani
  • V. Rhymend Uthariaraj
  • V. Sankaranarayanan
  • P. Thambidurai
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3009)


This paper discusses about the results of using OO (Object-Oriented) measures for the small-sized programs in C++. The metric values for the class level Object-Oriented properties: inheritance, coupling and cohesion are computed and compared with the existing study results for medium sized programs. Among the three properties, inheritance is used widely in the programs. The effective use of the three properties for the proper abstraction of the class design is investigated using six hypotheses proposed. The result of the investigation shows that inheritance and cohesion are used well for the design of attribute level abstraction in the classes.


Software Metrics Cohesion Measure Coupling Measure Method Invocation Static Polymorphism 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Benlarbi, S., Melo, W.L.: Polymorphism Measures for early risk prediction. In: Proceedings of the 21st International Conference on Software Engineering, Los Angeles, USA, pp. 335–344 (1999)Google Scholar
  2. 2.
    Bieman, J., Kang, B.: Cohesion and Reuse in an Object-Oriented System. In: Proc. ACM Symposium Software Reusability (SSR 1994), pp. 259–262 (1995)Google Scholar
  3. 3.
    Briand, L., Arisholm, E., Counsell, S., Houdek, F., Thevenod-Fosse, P.: Empirical Studies of Object-Oriented Artifacts, Methods and Processes: State of the Art and Future Directions. Empirical Software Engineering 4(4), 387–404 (1999)CrossRefGoogle Scholar
  4. 4.
    Briand, L., Daly, J., Wust, J.: A unified framework for coupling measurement in Object- Oriented systems. IEEE Transactions on Software Engineering 25(1), 91–121 (1999)CrossRefGoogle Scholar
  5. 5.
    Briand, L., Daly, J., Wust, J.: A unified framework for cohesion measurement in Object- Oriented systems. Empirical Software Engineering Journal 3(1), 65–117 (1998)CrossRefGoogle Scholar
  6. 6.
    Briand, L., Devanbu, P., Melo, W.: An investigation into coupling measures for C++. In: Proceedings of ICSE 1997, Boston, USA (1997)Google Scholar
  7. 7.
    Briand, L., Wust, J., Daly, J.W., Porter, D.V.: Exploring the relationships between design measures and software quality. Journal of Systems and Software 51, 245–273 (2000)CrossRefGoogle Scholar
  8. 8.
    Chidamber, S., Kemerer, C.: Towards a metric suite for object-oriented design. In: Proceedings of Conference on Object-Oriented Programming: Systems, Languages and Applications, OOPSLA 1991 (1991), published in SIGPLAN Notices 26(11), 197–211 (1991)Google Scholar
  9. 9.
    Chidamber, S.R., Kemerer, C.F.: A metric suite for Object-Oriented design. IEEE Transactions on Software Engineering 20(6), 476–493 (1994)CrossRefGoogle Scholar
  10. 10.
    Henderson-Sellers, B.: Object-oriented metrics – Measures of complexity. Prentice Hall, New Jersey (1996)Google Scholar
  11. 11.
    Hitz, M., Montezeri, B.: Measuring coupling and cohesion in Object-Oriented systems. In: Proc. International Symposium on Applied Corporate Computing, Monterrey, Mexico (1995)Google Scholar
  12. 12.
    Lake, A., Cook, C.: Use of factor analysis to develop OOP software complexity metrics. In: Proceedings of 6th Annual Oregon Workshop on Software Metrics, Silver Falls, Oregon (1994)Google Scholar
  13. 13.
    Lee, Y., Liang, B., Wu, S., Wang, F.: Measuring the coupling and cohesion of an Object- Oriented program based on information flow. In: Proceedings of International Conference on Software Quality, Maribor, Slovenia (1995)Google Scholar
  14. 14.
    Lorenz, M., Kidd, J.: Object-Oriented software metrics: A practical guide. Prentice Hall Inc., New Jersey (1994)Google Scholar
  15. 15.
    Li, W., Henry, S.: Object-Oriented metrics that predict maintainability. Journal of Systems and Software 23(2), 111–222 (1993)CrossRefGoogle Scholar
  16. 16.
    Ohlsson, M.C., Runeson, P.: Experience from Replicating Empirical Studies on Prediction Models. In: Eighth IEEE Symposium on Software Metrics, Ottawa, Canada (2002)Google Scholar
  17. 17.
    Tang,M.H., Kao, M.H., Chen, M.H.: An empirical study on Object-Oriented Metrics. In: Proceedings of Metrics, pp. 242–249 (1999)Google Scholar
  18. 18.
    Tegarden, D., Sheetz, S., Monarchi, D.: A software complexity model of Object-Oriented systems. Decision Support systems 13(3-4), 241–262 (1995)CrossRefGoogle Scholar
  19. 19.
    Briand, L., Wust, J.: Empirical studies of quality models in Object-Oriented systems, Advances in computers. Academic Press, London (2001)Google Scholar
  20. 20.
    Kanmani.S., Prathibha.V.: Object-Oriented Metric Calculator, Technical report, Pondicherry Engineering College (2001)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2004

Authors and Affiliations

  • S. Kanmani
    • 1
  • V. Rhymend Uthariaraj
    • 2
  • V. Sankaranarayanan
    • 3
  • P. Thambidurai
    • 1
  1. 1.Department of Computer Science and EngineeringPondicherry Engineering CollegePondicherryIndia
  2. 2.Ramanujam Computing CentreAnna UniversityChennaiIndia
  3. 3.Crescent Engineering CollegeChennaiIndia

Personalised recommendations