2018 25th Asia-Pacific Software Engineering Conference (APSEC) 2018
DOI: 10.1109/apsec.2018.00047
|View full text |Cite
|
Sign up to set email alerts
|

Analyzing Code Comments to Boost Program Comprehension

Abstract: We are trying to find source code comments that help programmers understand a nontrivial part of source code. One of such examples would be explaining to assign a zero as a way to "clear" a buffer. Such comments are invaluable to programmers and identifying them correctly would be of great help. Toward this goal, we developed a method to discover explanatory code comments in a source code. We first propose eleven distinct categories of code comments. We then developed a decision-tree based classifier that can … Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
15
0

Year Published

2019
2019
2024
2024

Publication Types

Select...
5
1

Relationship

0
6

Authors

Journals

citations
Cited by 24 publications
(15 citation statements)
references
References 17 publications
(20 reference statements)
0
15
0
Order By: Relevance
“…Zhang et al constructed a Python comment taxonomy based on the work of Pascarella et al (Zhang et al 2018). Shinayam et al identified the information embedded in local comments, as shown in Table 5 (Shinyama et al 2018). Mapping to their work showed that Pharo class comments contain low-level information also in addition to high-level information.…”
Section: Comment Information Categorizationmentioning
confidence: 99%
“…Zhang et al constructed a Python comment taxonomy based on the work of Pascarella et al (Zhang et al 2018). Shinayam et al identified the information embedded in local comments, as shown in Table 5 (Shinyama et al 2018). Mapping to their work showed that Pharo class comments contain low-level information also in addition to high-level information.…”
Section: Comment Information Categorizationmentioning
confidence: 99%
“…Aman et al 17 Classification Automated NLP, Doc2Vec 2018 Shinyama et al 9 Classification Automated Decision tree (C4.5) 2019…”
Section: Heuristic-based Approachesmentioning
confidence: 99%
“…Another approach based on decision trees is presented by Shinyama et al. 9 Shinyama et al identify local source code comments that help programmers to understand nontrivial parts in source code. To achieve this, they built three different classifiers to identify target, category and extent of a comment.…”
Section: Ml-based Approachesmentioning
confidence: 99%
See 1 more Smart Citation
“…Liu et al [10] proposed a machine learningbased approach that utilized 64 different features to detect comments that should be updated when the code changes. Shinyama et al [30] proposed eleven distinct categories of code comments and developed a decision-tree based classifier that could identify the explanatory comments. Yu et al [33] propose a code comment quality assessment approach by using the aggregation of the basic classification algorithms.…”
Section: Related Work a Comment Classificationmentioning
confidence: 99%