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

11 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
Pages271-274
Number of pages4
ISBN (Electronic)9781450328791
DOIs
Publication statusPublished - 2014 Jun 2
Externally publishedYes
Event22nd International Conference on Program Comprehension, ICPC 2014 - Hyderabad, India
Duration: 2014 Jun 22014 Jun 3

Publication series

Name22nd International Conference on Program Comprehension, ICPC 2014 - Proceedings

Other

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

Keywords

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

ASJC Scopus subject areas

  • Hardware and Architecture
  • Software

Fingerprint

Dive into the research topics of 'An approach for evaluating and suggesting method names using N-gram models'. Together they form a unique fingerprint.

Cite this