Measuring the Programming Complexity of C and C++ using Halstead Metrics
Computer algorithm is the core of computer science and important prerequisite of computer science professionals. However, its hard and abstract nature makes it difficult to understand. Pedagogical issues in learning of algorithms are generally resolved through elaborating the algorithms with their i...
Main Author: | |
---|---|
Format: | Article |
Language: | English |
Published: |
University of Sindh
2022-04-01
|
Series: | University of Sindh Journal of Information and Communication Technology |
Subjects: | |
Online Access: | https://sujo.usindh.edu.pk/index.php/USJICT/article/view/4073 |
_version_ | 1797805611494146048 |
---|---|
author | Muhammad Shumail naveed |
author_facet | Muhammad Shumail naveed |
author_sort | Muhammad Shumail naveed |
collection | DOAJ |
description | Computer algorithm is the core of computer science and important prerequisite of computer science professionals. However, its hard and abstract nature makes it difficult to understand. Pedagogical issues in learning of algorithms are generally resolved through elaborating the algorithms with their implementation in some programming language. As there are many programming languages, the selection of appropriate programming language for effective implementation of algorithms remains a challenging issue. In this article, common algorithms of data structures are measured by analyzing their implementation in C and C++ through Halstead complexity metrics. The statistical tests identified that as compare to C++ the less effort, time and bugs are involved in C for the implementation of algorithms, whereas C++ involves less difficulty during the implementation of algorithms. The work stated in this article provide a novel aspect to relate and evaluate other programming languages. |
first_indexed | 2024-03-13T05:54:39Z |
format | Article |
id | doaj.art-33e3128a616545b1905a6912f7d0b949 |
institution | Directory Open Access Journal |
issn | 2521-5582 2523-1235 |
language | English |
last_indexed | 2024-03-13T05:54:39Z |
publishDate | 2022-04-01 |
publisher | University of Sindh |
record_format | Article |
series | University of Sindh Journal of Information and Communication Technology |
spelling | doaj.art-33e3128a616545b1905a6912f7d0b9492023-06-13T06:16:57ZengUniversity of SindhUniversity of Sindh Journal of Information and Communication Technology2521-55822523-12352022-04-01541581654073Measuring the Programming Complexity of C and C++ using Halstead MetricsMuhammad Shumail naveed0Department of Computer Science, University of BalochistanComputer algorithm is the core of computer science and important prerequisite of computer science professionals. However, its hard and abstract nature makes it difficult to understand. Pedagogical issues in learning of algorithms are generally resolved through elaborating the algorithms with their implementation in some programming language. As there are many programming languages, the selection of appropriate programming language for effective implementation of algorithms remains a challenging issue. In this article, common algorithms of data structures are measured by analyzing their implementation in C and C++ through Halstead complexity metrics. The statistical tests identified that as compare to C++ the less effort, time and bugs are involved in C for the implementation of algorithms, whereas C++ involves less difficulty during the implementation of algorithms. The work stated in this article provide a novel aspect to relate and evaluate other programming languages.https://sujo.usindh.edu.pk/index.php/USJICT/article/view/4073halstead metrics; computer algorithms; programming languages; c, c ; |
spellingShingle | Muhammad Shumail naveed Measuring the Programming Complexity of C and C++ using Halstead Metrics University of Sindh Journal of Information and Communication Technology halstead metrics; computer algorithms; programming languages; c, c ; |
title | Measuring the Programming Complexity of C and C++ using Halstead Metrics |
title_full | Measuring the Programming Complexity of C and C++ using Halstead Metrics |
title_fullStr | Measuring the Programming Complexity of C and C++ using Halstead Metrics |
title_full_unstemmed | Measuring the Programming Complexity of C and C++ using Halstead Metrics |
title_short | Measuring the Programming Complexity of C and C++ using Halstead Metrics |
title_sort | measuring the programming complexity of c and c using halstead metrics |
topic | halstead metrics; computer algorithms; programming languages; c, c ; |
url | https://sujo.usindh.edu.pk/index.php/USJICT/article/view/4073 |
work_keys_str_mv | AT muhammadshumailnaveed measuringtheprogrammingcomplexityofcandcusinghalsteadmetrics |