2019
DOI: 10.1002/spe.2772
|View full text |Cite
|
Sign up to set email alerts
|

Does your code need comment?

Abstract: Code comments convey information about the programmers' intention in a more explicit but less rigorous manner than source code. This information can assist programmers in various tasks, such as code comprehension, reuse, and maintenance. To better understand the properties of the comments existing in the source code, we analyzed more than 450 000 comments across 136 popular open-source software systems coming different domains. We found that the methods involving header comments and internal comments were show… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
3
0

Year Published

2020
2020
2024
2024

Publication Types

Select...
5
1

Relationship

0
6

Authors

Journals

citations
Cited by 13 publications
(4 citation statements)
references
References 49 publications
0
3
0
Order By: Relevance
“…From Figure 7, we can see that BW‐Avg‐comments is the only feature that increases code readability. Comments are usually used as a direct way to convey intention 1,42 . People can understand the purpose of the code more easily through comments.…”
Section: Resultsmentioning
confidence: 99%
See 2 more Smart Citations
“…From Figure 7, we can see that BW‐Avg‐comments is the only feature that increases code readability. Comments are usually used as a direct way to convey intention 1,42 . People can understand the purpose of the code more easily through comments.…”
Section: Resultsmentioning
confidence: 99%
“…Comments are usually used as a direct way to convey intention. 1,42 People can understand the purpose of the code more easily through comments. Our results confirm that comments could improve code readability, which is consistent with existing studies.…”
Section: F I G U R Ementioning
confidence: 99%
See 1 more Smart Citation
“…The remaining 4 articles (VISWANATHAN; KUMAR; SOMAN, 2019) (SHALABY et al, 2017) (GONÇALES et al, 2020) (HUANG et al, 2020 were removed by the exclusion criteria; they corresponded to articles that make use of machine learning to understand the source code.…”
Section: Study Selectionmentioning
confidence: 99%