Call for Paper - November 2023 Edition
IJCA solicits original research papers for the November 2023 Edition. Last date of manuscript submission is October 20, 2023. Read More

An Analytical Study of Cognitive Code-Level Object-Oriented Complexity Measures

International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Year of Publication: 2021
Dilshan I. De Silva, Saluka R. Kodituwakku, Amalka J. Pinidiyaarachchi

Dilshan I DeSilva, Saluka R Kodituwakku and Amalka J Pinidiyaarachchi. An Analytical Study of Cognitive Code-Level Object-Oriented Complexity Measures. International Journal of Computer Applications 183(45):8-14, December 2021. BibTeX

	author = {Dilshan I. DeSilva and Saluka R. Kodituwakku and Amalka J. Pinidiyaarachchi},
	title = {An Analytical Study of Cognitive Code-Level Object-Oriented Complexity Measures},
	journal = {International Journal of Computer Applications},
	issue_date = {December 2021},
	volume = {183},
	number = {45},
	month = {Dec},
	year = {2021},
	issn = {0975-8887},
	pages = {8-14},
	numpages = {7},
	url = {},
	doi = {10.5120/ijca2021921851},
	publisher = {Foundation of Computer Science (FCS), NY, USA},
	address = {New York, USA}


Although several surveys on complexity measures proposed for the object-oriented approach can be found in the literature, a survey specific to cognitive code-level object-oriented complexity measures is yet to be published. Thus, a survey was conducted to make the reader aware of the cognitive code-level object-oriented complexity measures proposed since inception. Along with their calculations, the paper presents the existing cognitive code-level complexity measures in chronological order.In addition, it classifies the cognitive code-level measures based on the techniques adopted to test the validity, program component in which complexity is derived, adopted factors, the metrics used to ascertain the complexity created by each factor, capability to report program complexity as a combined value of all the considered factors, and how the program complexity value is expressed. Furthermore, the article presents the key findings uncovered from the survey and areas for development.


  1. IEEE Computer Society, IEEE Standard for Software Quality Metrics Methodology, IEEE Std.1061-1998, Dec. 1998.
  2. D. A. Taylor, Object-Oriented Technology: A Manager's Guide,2nd ed., Addison-Wesley Professional, Sep. 1997.
  3. W. Li and S. Henry, “Maintenance metrics for the object-oriented paradigm,” in Proc. First International Software Metrics Symposium, Baltimore, MD, USA, May 1993, pp. 52-60.
  4. Y. Jiang, B. Cukic, T. Menzies, N. Bartlow, “Comparing Design and Code Metrics for Quality Prediction,” in Proc. Fourth International Workshop on Predictor Models in Software Engineering, Leipzig, Germany, May 2008, pp. 11-18.
  5. A. Oram, G. Wilson, Making Software: What Really Works, and Why We Believe It, 1st ed. O’Reilly Media, Inc., USA, Oct. 2010, pp. 125.
  6. M. Sharma, N. S. Gill, and S. Sikka, "Survey of object-oriented metrics: focusing on validation and formal specification," ACM SIGSOFT Software Engineering Notes, vol. 37, no. 6, pp. 1-5, Nov. 2012.
  7. B. M. Goel and P. K. Bhatia, "An overview of various object oriented metrics," International Journal of Information Technology & Systems, vol. 2, no. 1, pp. 18-27, Jan. 2013.
  8. K. P. Srinivasan and T. Devi, "A comprehensive review and analysis on object-oriented software metrics in software measurement," International Journal of Computer Science and Engineering, vol. 6, no. 7, pp. 247-261, July 2014.
  9. D. S. Kushwaha and A. K. Misra, "Cognitive information complexity measure of object-oriented software - a practitioner's approach," in Proc. Fifth WSEAS International Conference on Software Engineering, Parallel and Distributed Systems, Madrid, Spain, Feb. 2006, pp. 174-179.
  10. D. S. Kushwaha and A. K. Misra, "A modified cognitive information complexity measure of software," ACM SIGSOFT Software Engineering Notes, vol. 31, no. 1, pp. 1-4, Jan. 2006.
  11. J. Shao and Y. Wang, "A new measure of software complexity based on cognitive weights," Canadian Journal of Electrical and Computer Engineering, vol. 28, no. 2, pp. 69-74, Apr. 2003.
  12. S. Misra, "An object oriented complexity metric based on cognitive weights," in Proc.Sixth IEEE International Conference on Cognitive Informatics, Aug. 2007, pp. 134-139.
  13. S. Misra and K. I. Akman, "Weighted class complexity: a measure of complexity for object oriented system," Journal of Information Science and Engineering, vol. 24, no. 6, pp. 1689-1708, Nov. 2008.
  14. V. Gupta and J. K. Chhabra, "Object-oriented cognitive-spatial complexity measures," International Journal of Computer Science and Engineering, vol. 3, no. 6, pp. 122-129, Mar. 2009.
  15. S. Misra, I Akman, and M Koyuncu, "An inheritance complexity metric for object-oriented code: a cognitive approach," Indian Academy of Sciences, vol. 36, no. 3, pp. 317-337, June 2011.
  16. U. Chhillar and S. Bhasin, "A new weighted composite complexity measure for object-oriented systems," International Journal of Information and Communication Technology Research, vol. 1, no. 3, pp. 101-108, July 2011.
  17. S. Misra, M. Koyuncu, M. Crasso, C. Mateos, and A. Zunino, "A suite of cognitive complexity metrics," in Proc. Twelfth International Conference on Computational Science and its Applications, Berlin, Heidelberg, June 2012, pp.234-247.
  18. S. R. Chidamber and C.F. Kemerer, "A metrics suite for object oriented design," IEEE Transactions on Software Engineering, vol. 20, no. 6, pp. 476-493, June 1994.
  19. A. Aloysius and L. Arockiam, "Coupling complexity metric: a cognitive approach," International Journal of Information Technology and Computer Science, vol. 4, no. 9, pp. 29-35, Aug. 2012.
  20. M. Crasso, C. Mateos, A. Zunino, S. Misra, and P. Polvorín, "Assessing cognitive complexity in java-based object-oriented systems: Metrics and tool support," Computing and Informatics, vol. 35, no. 3, pp. 497-527, Nov. 2016.
  21. D. I. De Silva, S. R. Kodituwakku, A. J. Pinidiyaarachchi, and N. Kodagoda, "Enhancement to an OO metric: CB measure," Journal of Software, vol. 13, no. 1, pp. 72-81, Jan. 2018.
  22. E. J. Weyuker, "Evaluating Software Complexity Measure," IEEE Transaction on Software Engineering, vol. 14, no. 9, pp. 1357-1365, Sep. 1988.
  23. L .C. Briand, S. Morasca, V. R. Basili, "Property based Software Engineering Measurement," IEEE Transactions on Software Engineering, vol. 22, no. 1, pp. 68-86, Jan. 1996.


Software complexity, cognitive complexity, object-oriented approach, cognitive code-level complexity measures, survey