Article (Scientific journals)
How Are We Detecting Inconsistent Method Names? An Empirical Study from Code Review Perspective
Kim, Kisub; Zhou, Xin; Kim, Dongsun et al.
2025In ACM Transactions on Software Engineering and Methodology, 34 (6), p. 1-27
Peer Reviewed verified by ORBi
 

Files


Full Text
3711901.pdf
Publisher postprint (3.32 MB)
Request a copy

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Code Review; Consistency Checking; Empirical Study; Method Name Recommendation; Automatic tools; Code review; Consistency checking; Empirical studies; Matchings; Method name recommendation; Program code; Research efforts; Software development life-cycle; Software maintainability; Software
Abstract :
[en] Proper naming of methods can make program code easier to understand, and thus enhance software maintainability. Yet, developers may use inconsistent names due to poor communication or a lack of familiarity with conventions within the software development lifecycle. To address this issue, much research effort has been invested into building automatic tools that can check for method name inconsistency and recommend consistent names. However, existing datasets generally do not provide precise details about why a method name was deemed improper and required to be changed. Such information can give useful hints on how to improve the recommendation of adequate method names. Accordingly, we construct a sample method-naming benchmark, ReName4J, by matching name changes with code reviews. We then present an empirical study on how state-of-the-art techniques perform in detecting or recommending consistent and inconsistent method names based on ReName4J. The main purpose of the study is to reveal a different perspective based on reviewed names rather than proposing a complete benchmark. We find that the existing techniques underperform on our review-driven benchmark, both in inconsistent checking and the recommendation. We further identify potential biases in the evaluation of existing techniques, which future research should consider thoroughly.
Disciplines :
Computer science
Author, co-author :
Kim, Kisub ;  Singapore Management University, Singapore, Singapore
Zhou, Xin ;  Singapore Management University, Singapore, Singapore
Kim, Dongsun ;  Korea University, Seoul, South Korea
Lawall, Julia ;  Centre Inria de Paris, Inria, Paris, France
Liu, Kui ;  Huawei Software Engineering Application Technology Lab, Hangzhou, China
BISSYANDE, Tegawendé  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > TruX
KLEIN, Jacques  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > TruX
Lee, Jaekwon ;  Kangwon National University, Chuncheon, South Korea
Lo, David ;  Singapore Management University, Singapore, Singapore
External co-authors :
yes
Language :
English
Title :
How Are We Detecting Inconsistent Method Names? An Empirical Study from Code Review Perspective
Publication date :
03 July 2025
Journal title :
ACM Transactions on Software Engineering and Methodology
ISSN :
1049-331X
Publisher :
Association for Computing Machinery
Volume :
34
Issue :
6
Pages :
1-27
Peer reviewed :
Peer Reviewed verified by ORBi
Funders :
National Natural Science Foundation of China
Funding text :
This research/project is supported by the National Research Foundation, Singapore, under its Industry Alignment Fund \u2013 Pre-positioning (IAF-PP) Funding Initiative. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not reflect the views of National Research Foundation, Singapore. This work was also supported by the Institute of Information & Communications Technology Planning & Evaluation (IITP)\u2013ICT Creative Consilience Program grant funded by the Korea government (MSIT) (IITP-2025-RS-2020-II201819). This work was also supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. 2021R1I1A3048013). This work was also partially supported by the National Natural Science Foundation of China (No. 62172214).
Available on ORBilu :
since 25 November 2025

Statistics


Number of views
1 (0 by Unilu)
Number of downloads
0 (0 by Unilu)

Scopus citations®
 
0
Scopus citations®
without self-citations
0
OpenCitations
 
0
OpenAlex citations
 
2
WoS citations
 
0

Bibliography


Similar publications



Contact ORBilu