An approach for evaluating and suggesting method names using N-gram models

Takayuki Suzuki, Kazunori Sakamoto, Fuyuki Ishikawa, Shinichi Honiden

Research output: Chapter in Book/Report/Conference proceedingConference contribution

5 Citations (Scopus)

Abstract

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.

Original languageEnglish
Title of host publication22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings
PublisherAssociation for Computing Machinery, Inc
Pages271-274
Number of pages4
ISBN (Electronic)9781450328791
DOIs
Publication statusPublished - 2014 Jan 1
Externally publishedYes
Event22nd International Conference on Program Comprehension, ICPC 2014 - Hyderabad, India
Duration: 2014 Jun 22014 Jun 3

Other

Other22nd International Conference on Program Comprehension, ICPC 2014
CountryIndia
CityHyderabad
Period14/6/214/6/3

Fingerprint

Software engineering
Experiments

Keywords

  • Method name comprehensibility
  • N-gram models
  • Software maintenance
  • Source code understanding

ASJC Scopus subject areas

  • Hardware and Architecture
  • Software

Cite this

Suzuki, T., Sakamoto, K., Ishikawa, F., & Honiden, S. (2014). An approach for evaluating and suggesting method names using N-gram models. In 22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings (pp. 271-274). Association for Computing Machinery, Inc. https://doi.org/10.1145/2597008.2597797

An approach for evaluating and suggesting method names using N-gram models. / Suzuki, Takayuki; Sakamoto, Kazunori; Ishikawa, Fuyuki; Honiden, Shinichi.

22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings. Association for Computing Machinery, Inc, 2014. p. 271-274.

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Suzuki, T, Sakamoto, K, Ishikawa, F & Honiden, S 2014, An approach for evaluating and suggesting method names using N-gram models. in 22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings. Association for Computing Machinery, Inc, pp. 271-274, 22nd International Conference on Program Comprehension, ICPC 2014, Hyderabad, India, 14/6/2. https://doi.org/10.1145/2597008.2597797
Suzuki T, Sakamoto K, Ishikawa F, Honiden S. An approach for evaluating and suggesting method names using N-gram models. In 22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings. Association for Computing Machinery, Inc. 2014. p. 271-274 https://doi.org/10.1145/2597008.2597797
Suzuki, Takayuki ; Sakamoto, Kazunori ; Ishikawa, Fuyuki ; Honiden, Shinichi. / An approach for evaluating and suggesting method names using N-gram models. 22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings. Association for Computing Machinery, Inc, 2014. pp. 271-274
@inproceedings{ecf4576b27a4497fb45772fc36fb0f98,
title = "An approach for evaluating and suggesting method names using N-gram models",
abstract = "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.",
keywords = "Method name comprehensibility, N-gram models, Software maintenance, Source code understanding",
author = "Takayuki Suzuki and Kazunori Sakamoto and Fuyuki Ishikawa and Shinichi Honiden",
year = "2014",
month = "1",
day = "1",
doi = "10.1145/2597008.2597797",
language = "English",
pages = "271--274",
booktitle = "22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings",
publisher = "Association for Computing Machinery, Inc",

}

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

PY - 2014/1/1

Y1 - 2014/1/1

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

SP - 271

EP - 274

BT - 22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings

PB - Association for Computing Machinery, Inc

ER -