
Evaluating Python, C++, JavaScript and Java Programming Languages Based on Software Complexity Calculator (Halstead Metrics)
Author(s) -
Sabah Anwer Abdulkareem,
Ali J. Abboud
Publication year - 2021
Publication title -
iop conference series. materials science and engineering
Language(s) - English
Resource type - Journals
eISSN - 1757-899X
pISSN - 1757-8981
DOI - 10.1088/1757-899x/1076/1/012046
Subject(s) - computer science , programming language , python (programming language) , software metric , javascript , programming complexity , java , software construction , software , software quality , software development , software engineering
Various software organizations used software metrics to assessing and assuring operation, maintenance, and quality of software codes. Halstead is an essential type of software complexity metrics used to measure source code complexity. We presented a comparative analysis study using this metric to benefit software testing process by showing the possibility of software metrics to measure the characteristics of the software in all its aspects. Halstead metric is used to analyse the written code in python, C, JavaScript and Java programming languages. It provides a better tool to evaluate the complexity level of the language and displays the differences levels of code complexity. The conducted experiments show that python is the simplest programming language and Java is the difficulty and more complex language than others. These results benefit the automation in software metrics computation to decide which programming language can produce high quality and the less complexity software.