An Exploratory Study of Identifier Renamings. Eshkevari, L. M., Arnaoudova, V., Di Penta, M., Oliveto, R., Gu�h�neuc, Y., & Antoniol, G. In Xie, T. & Zimmermann, T., editors, Proceedings of the 8<sup>th</sup> Working Conference on Mining Software Repositories (MSR), pages 33–42, May, 2011. ACM Press. 10 pages.
An Exploratory Study of Identifier Renamings [pdf]Paper  abstract   bibtex   
Identifiers play an important role in source code understandability, maintainability, and fault-proneness. This paper reports a study of identifier renamings in software systems, studying how terms (identifier atomic components) change in source code identifiers. Specifically, the paper (i) proposes a term renaming taxonomy, (ii) presents an approximate lightweight code analysis approach to detect and classify term renamings automatically into the taxonomy dimensions, and (iii) reports an exploratory study of term renamings in two open source projects, Eclipse-JDT and Tomcat. We thus report evidence that not only synonyms are involved in renaming but also (in a small fraction) more unexpected changes occur: surprisingly, we detected hypernym (a more abstract term, \eg size vs.\ length) and hyponym (a more concrete term, \eg restriction vs.\ rule) renamings, and antonym renamings (a term replaced with one having the opposite meaning, \eg closing vs.\ opening). Despite being only a fraction of all renamings, synonym, hyponym, hypernym, and antonym renamings may hint to some program understanding issues and, thus, could be used in a renaming-recommendation system to improve code quality.

Downloads: 0