2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR) 2017
DOI: 10.1109/msr.2017.63
|View full text |Cite
|
Sign up to set email alerts
|

Classifying Code Comments in Java Open-Source Software Systems

Abstract: Code comments are a key software component containing information about the underlying implementation. Several studies have shown that code comments enhance the readability of the code. Nevertheless, not all the comments have the same goal and target audience. In this paper, we investigate how six diverse Java OSS projects use code comments, with the aim of understanding their purpose. Through our analysis, we produce a taxonomy of source code comments; subsequently, we investigate how often each category occu… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

3
76
2

Year Published

2018
2018
2022
2022

Publication Types

Select...
3
3
2

Relationship

1
7

Authors

Journals

citations
Cited by 81 publications
(82 citation statements)
references
References 22 publications
3
76
2
Order By: Relevance
“…However, besides summarizing APIs, developers may also add TODO lists, notes, etc. in the method comments [20], which are noises in our scenario. Therefore, we filter out these tuples, if the word sequence in a tuple:…”
Section: Word-api Tuple Constructionmentioning
confidence: 99%
“…However, besides summarizing APIs, developers may also add TODO lists, notes, etc. in the method comments [20], which are noises in our scenario. Therefore, we filter out these tuples, if the word sequence in a tuple:…”
Section: Word-api Tuple Constructionmentioning
confidence: 99%
“…They focused on macroscopic comments, such as a module header or method description. Pascarella and Bacchelli further developed this idea and proposed a hierarchical categories [3].…”
Section: Backgroundsmentioning
confidence: 99%
“…While a comment extent and comment target are mostly syntactic elements, a comment category involved some sort of semantics. There are several existing works about comment categories [2], [3], but we independently made our list of categories that are suitable for local comments. The procedure of making the category list is the following: We reviewed each comment and checked if this comment can be in one of existing categories.…”
Section: Comment Categorymentioning
confidence: 99%
See 1 more Smart Citation
“…Considering all comments the same may bring to incorrect evaluations especially when code comments are used to perceive the quality of inspected codes, for example, by measuring the code/comment ratio [2,6]. In a recent study, Pascarella et al confirmed this limitation arguing that code comments contribute to different meanings [8]. They proposed a novel taxonomy to classify Java comments, investigated how developers of OSS systems use comments, and experimented with automatically classifying code comments.…”
Section: Introductionmentioning
confidence: 99%