Debugging Method Names

Genoa: Proceedings of the 23rd European Conference on ECOOP 2009 --- Object-Oriented Programming(2009)

引用 213|浏览310
暂无评分
摘要
Meaningful method names are crucial for the readability and maintainability of software. Existing naming conventions focus On Syntactic details, leaving programmers with little or no support in assuring meaningful names. In this paper, we show that naming conventions can go much further: we can mechanically check whether or not a method name and implementation are likely to be good matches for each other. The vast amount of software written in Java defines an implicit convention for pairing names and implementations. We exploit this to extract rules for method names, which are used to identify "naming bugs" in well-known Java applications. We also present an approach for automatic suggestion of more suitable names in the presence of mismatch between name and implementation.
更多
查看译文
关键词
method names
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要