TY - GEN
T1 - An approach for evaluating and suggesting method names using N-gram models
AU - Suzuki, Takayuki
AU - Sakamoto, Kazunori
AU - Ishikawa, Fuyuki
AU - Honiden, Shinichi
N1 - Publisher Copyright:
Copyright © 2014 ACM.
PY - 2014/6/2
Y1 - 2014/6/2
N2 - Method names are important for the software development process. It has been shown by some studies that the quality of method names affects software comprehension. In response, some approaches that evaluate comprehensibility of method names have been proposed. However, the effectiveness of existing approaches is limited because they focus on part of names. To deal with the limitation, we propose a novel approach for evaluating comprehensibility of method names and suggesting comprehensible method names using n-gram models. We implemented a prototype tool and conducted two experiments as a case study. Our experiments show that our approach can correctly evaluate 75% method names and successfully suggest 92% actual third words of method names.
AB - Method names are important for the software development process. It has been shown by some studies that the quality of method names affects software comprehension. In response, some approaches that evaluate comprehensibility of method names have been proposed. However, the effectiveness of existing approaches is limited because they focus on part of names. To deal with the limitation, we propose a novel approach for evaluating comprehensibility of method names and suggesting comprehensible method names using n-gram models. We implemented a prototype tool and conducted two experiments as a case study. Our experiments show that our approach can correctly evaluate 75% method names and successfully suggest 92% actual third words of method names.
KW - Method name comprehensibility
KW - N-gram models
KW - Software maintenance
KW - Source code understanding
UR - http://www.scopus.com/inward/record.url?scp=84923857971&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84923857971&partnerID=8YFLogxK
U2 - 10.1145/2597008.2597797
DO - 10.1145/2597008.2597797
M3 - Conference contribution
AN - SCOPUS:84923857971
T3 - 22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings
SP - 271
EP - 274
BT - 22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings
PB - Association for Computing Machinery
T2 - 22nd International Conference on Program Comprehension, ICPC 2014
Y2 - 2 June 2014 through 3 June 2014
ER -