Skip to main content

A Suite of Cognitive Complexity Metrics

  • Conference paper
Computational Science and Its Applications – ICCSA 2012 (ICCSA 2012)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7336))

Included in the following conference series:

Abstract

In this paper, we propose a suite of cognitive metrics for evaluating complexity of object-oriented (OO) codes. The proposed metric suite evaluates several important features of OO languages. Specifically, the proposed metrics are to measure method complexity, message complexity (coupling), attributes complexity and class complexity. We propose also a code complexity by considering the complexity due to inheritance for the whole system. All these proposed metrics (except attribute complexity) use the cognitive aspect of the code in terms of cognitive weight. All the metrics have critically examined through theoretical and empirical validation processes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. IEEE Standard 1061-1992: Standard for a Software Quality Metrics Methodology. Institute of Electrical and Electronics Engineers, New York (1992)

    Google Scholar 

  2. Chidamber, S.R., Kermerer, C.F.: A Metrics Suite for Object Oriented Design. IEEE Transactions on Software Engineering 6, 476–493 (1994)

    Article  Google Scholar 

  3. Harrison, R., Counsell, S.J., Nithi, R.V.: An Evaluation of the MOOD Set of Object Oriented Software Metrics. IEEE Transactions on Software Engineering 24(6), 491–496 (1998)

    Article  Google Scholar 

  4. Binder, R.V.: Object-Oriented Software Testing. Communications of the ACM 37(9), 28–29 (1994)

    Article  Google Scholar 

  5. Vaishnavi, V.K., Purao, S., Liegle, J.: Object-Oriented Product Metrics: A Generic Framework. Information Science 177, 587–606 (2007)

    Article  Google Scholar 

  6. Purao, S., Vaishnavi, V.K.: Product Metrics for Object Oriented Systems. ACM Computing Surveys 35(2), 191–221 (2003)

    Article  Google Scholar 

  7. Lorenz, M., Kidd, J.: Object-Oriented Software Metrics. Prentice Hall, Englewood Cliffs (1994)

    Google Scholar 

  8. Henderson-Selles, B.: Object-Oriented Metrics, Measure of Complexity. Prentice-Hall, Englewood Cliffs (1996)

    Google Scholar 

  9. Basily, V.R., Briand, L.C., Melo, W.L.: A Validation of Object Oriented Design Metrics as Quality Indicators. IEEE Transactions on Software Engineering 22(1), 751–761 (1996)

    Article  Google Scholar 

  10. Costagliola, G., Ferrucci, F., Tortora, G., Vitiello, G.: Class Points: An Approach for the Size Estimation of Object-Oriented Systems. IEEE Transactions on Software Engineering 31(1), 52–74 (2005)

    Article  Google Scholar 

  11. Misra, S., Akman, I.: Weighted Class Complexity: A Measure of Complexity for Object-Oriented System. Jour. of Information Science and Engineering 24, 1689–1708 (2008)

    Google Scholar 

  12. Kan, S.H.: Metrics and Lessons Learned for OO Projects, ch. 12. Metrics and Models in Software Quality Engineering. Addison-Wesley (2003)

    Google Scholar 

  13. Babsiya, J., Davis, C.G.: A Hierarchical Model for Object Oriented Design Quality Assessment. IEEE Transactions on Software Engineering 28(1), 4–17 (2002)

    Article  Google Scholar 

  14. Briand, L., Wust, J.: Modeling Development Effort in Object Oriented System Using Design Properties. IEEE Transactions on Software Engineering 27(11), 963–986 (2001)

    Article  Google Scholar 

  15. Kim, K., Shin, Y., Wu, C.: Complexity Measures for Object-Oriented Program Based on the Entropy. In: Proc. Asia Pacific Software Engineering, pp. 127–136 (1995)

    Google Scholar 

  16. Kim, J., Lerch, J.F.: Cognitive Processes in Logical Design: Comparing Object-Oriented and Traditional Functional Decomposition Software Methodologies. Carnegie Mellon University, Graduate School of Industrial Administration, Working Paper (1991)

    Google Scholar 

  17. Olague, H.M., Etzkorn, L.H., Gholston, S., Quattlebaum, S.: Empirical Validation of Three Software Metrics Suites to Predict Fault-Proneness of Object-Oriented Classes Developed Using Highly Iterative or Agile Software Development Processes. IEEE Transactions on Software Engineering 33(6), 402–419 (2007)

    Article  Google Scholar 

  18. Pfleeger, S.L., Atlee, J.M.: Software Engineering – Theory and Practice. Prentice-Hall (2006)

    Google Scholar 

  19. Sommerville, I.: Software Engineering. Addison Wesley (2004)

    Google Scholar 

  20. Wang, Y., Shao, J.: A New Measure of Software Complexity Based On Cognitive Weights. Canadian Journal of Electrical and Computer Engineering 28, 69–74 (2003)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Misra, S., Koyuncu, M., Crasso, M., Mateos, C., Zunino, A. (2012). A Suite of Cognitive Complexity Metrics. In: Murgante, B., et al. Computational Science and Its Applications – ICCSA 2012. ICCSA 2012. Lecture Notes in Computer Science, vol 7336. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-31128-4_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-31128-4_17

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-31127-7

  • Online ISBN: 978-3-642-31128-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics