Canonical method names for Java using implementation semantics to identify synonymous verbs

5Citations
Citations of this article
3Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Programmers rely on the conventional meanings of method names when writing programs. However, these conventional meanings are implicit and vague, leading to various forms of ambiguity. This is problematic since it hurts the readability and maintainability of programs. Java programmers would benefit greatly from a more well-defined vocabulary. Identifying synonyms in the vocabulary of verbs used in method names is a step towards this goal. By rooting the meaning of verbs in the semantics of a large number of methods taken from real-world Java applications, we find that such synonyms can readily be identified. To support our claims, we demonstrate automatic identification of synonym candidates. This could be used as a starting point for a manual canonicalisation process, where redundant verbs are eliminated from the vocabulary. © 2011 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Høst, E. W., & Østvold, B. M. (2011). Canonical method names for Java using implementation semantics to identify synonymous verbs. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 6563 LNCS, pp. 226–245). https://doi.org/10.1007/978-3-642-19440-5_14

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free