2018 Volume 35 Issue 4 Pages 115-121
Toward improving readability of source code, this paper proposes a model for judging the compatibility between Java method's name and its implementation, and conducts empirical studies and a survey to examine its usefulness. The proposed method constructs decision trees with many method's data from various source programs, and judges the compatibility between method's name and its implementation. As the results, a validity of model is confirmed and the judging accuracy (F-measure) is about 80%. It is also confirmed that the judgment by the model approximately dovetails with developers' sense.