Journal of Management Practices, Humanities and Social Sciences
Vol 6 Issue 1 pp. 88-105
https://doi.org/10.33152/jmphss-6.1.9
ORIGINAL CONTRIBUTION
Code Comment Analysis–A Review Paper
Syed Zohaib Hassan
1*
, Ayesha Irshad
2
, Jamaluddin Mir
3
, Ayesha Aslam
4
, Kalsoom Ayaz
5
,
Muhammad Awais Bawazir
6
1
School of Computer Science and Technology, Beijing Institute of Technology, Beijing, China
2, 4, 5
Department of Computer Science, Abbottabad University of Science & Technology, Abbottabad, Pakistan
3
Faculty of Computer Science & Information Technology, Universiti Tun Hossein Onn Malaysia,
Batu Pahat, Malaysia
6
Department of Computer Science, Bahria University, Islamabad, Pakistan
Abstract— The compilers are manufactured in such a way that they ignore most comments in software systems' source code. In ad-
dition to being a key source of system documentation, code comments are essential for both establishment and improvement. System
comments or just quantitative assertions regarding the quality of the program are presently the only known techniques for evaluating
software quality. In software development, comments are being used as a regular practice to enhance the clarity of code and to trans-
mit the enthusiasm of programmers in a more conveyed manner. Whereas programmers seldom bother to keep their comments current.
Comments are an important source of information about how the framework works. Various disciplines have concentrated on the content
of the online client comments in different contexts, utilizing manual quantitative/subjective or (semi-)automatic methods. The wide vari-
ety and disciplinary partitions make it hard to get a handle on an outline of those views which have proactively been inspected. The huge
number of daily comments inundating the newsroom can be amazing, particularly when a huge chunk is unfriendly or "contaminated"
in content and tone. When dealing with complex documents such as source code, it can be hard to link the dots between the practical
linguistic information contained within the code as well as the corresponding textual explanation found within the code, making it un-
suitable for use in program analysis and mining assignments. Analysis of code comments on software improvement is examined in this
research. Studies on code comments have been summarized in this paper, which covers four main areas: relevance of code comments,
quality of code comment sources, code comment analysis, as well as a research approach for code comments and dificulties. It provides
more comprehensive information for future research by analyzing effective methods for this study issue.
Index Terms— Code comment, Comment analysis, Software, Code mapping
Received: 19 October 2021; Accepted: 11 December 2021; Published: 22 January 2022
Introduction
Code comments are an ordinary practice in software development. Comments describe code relationship, code evaluation, Communica-
tions with a developer's programming language, semantic behavior, annotation language, and code arrange relatively unnecessary and
*
Email: syedzohaibhasan@hotmail.com
© 2022 Journal of Management Practices, Humanities and Social Sciences (JMPHSS). All rights reserved.