International Journal of Science and Research (IJSR)

International Journal of Science and Research (IJSR)
Since Year 2012 | Open Access | Fully Refereed | Peer Reviewed

ISSN: 2319-7064




Downloads: 136

Research Paper | Computer Science & Engineering | Nigeria | Volume 8 Issue 1, January 2019


A Comparative Analysis of Complexity of C++ and Python Programming Languages Using Multi-Paradigm Complexity Metric (MCM)

Balogun M. O. | Sotonwa K. A.


Abstract: Software complexity metrics have used to quantify different types of software properties such as cost, effort, time, maintainability, understanding and reliability. The existing metrics considered limited factors that affect software complexity, but do not consider the characteristics that affect complexity of multi-paradigm languages. In this work, a Multi-paradigm Complexity Metric (MCM) for measuring software complexity was developed for multi-paradigm codes. Multi-paradigm languages that were considered in this work are C++ and Python, these two languages combine the features of procedural and object oriented paradigms, therefore this research began with investigation of factors that affect the complexity of procedural code and object oriented code, so that the developed metric could be used not only for procedural code, but also either object oriented codes or in more general for multi-paradigm codes. The developed metric was then applied on sample programs written in most popular programming languages such as Python and C++, and the result of the developed metric was further evaluated with other existing complexity metrics like effective line of code (eLOC), cyclomatic complexity metric and Halstead complexity measures. The study showed that the developed complexity metric have significant comparison with the existing complexity metrics and can be used to rank numerous programs and difficulties of various modules.


Keywords: Basic Control Structure, Cyclomatic Complexity Measure, Complexity of Distinct Class, Complexity of Inherited Class, Halstead Complexity Measure, Procedural Complexity, Multi-paradigm Code


Edition: Volume 8 Issue 1, January 2019,


Pages: 1832 - 1837

A Comparative Analysis of Complexity of C++ and Python Programming Languages Using Multi-Paradigm Complexity Metric (MCM)


How to Cite this Article?

Balogun M. O., Sotonwa K. A., "A Comparative Analysis of Complexity of C++ and Python Programming Languages Using Multi-Paradigm Complexity Metric (MCM)", International Journal of Science and Research (IJSR), https://www.ijsr.net/get_abstract.php?paper_id=ART20194760, Volume 8 Issue 1, January 2019, 1832 - 1837, #ijsrnet

How to Share this Article?

Enter Your Email Address




Similar Articles with Keyword 'Basic'

Downloads: 0

Research Paper, Computer Science & Engineering, India, Volume 11 Issue 6, June 2022

Pages: 672 - 675

Increasing the Trust Factor in Cognitive Radio Networks Driven by Software Defined Radio

Shashank Dhananjaya | Yuvaraju B N

Share this Article

Downloads: 0

Review Papers, Computer Science & Engineering, India, Volume 11 Issue 5, May 2022

Pages: 1007 - 1011

Cloud Computing in Science and Technology: A Review

Rupinder Kaur [12]

Share this Article


Top