skip to main content
10.1145/2103746.2103756acmconferencesArticle/Chapter ViewAbstractPublication PagespepmConference Proceedingsconference-collections
research-article

Finding and fixing Java naming bugs with the Lancelot Eclipse plugin

Published:23 January 2012Publication History

ABSTRACT

The Lancelot plugin extends the integrated development environment Eclipse with support for finding and fixing 'naming bugs' in Java programs. A naming bug is a mismatch between the name and implementation of a method, in the sense that the pairing of name and implementation do not correspond to the implicit method naming conventions used by many well-known open source applications.

Lancelot has not been presented before, but its theoretical foundations and evaluation have been published. The contribution of the present paper is to present a publicly available tool building on our theory, explain the design of the tool, including some necessary adaptations to the interactive use setting, and report on our experience with it. The source code of Lancelot is available under an open source license.

References

  1. K. Beck. Implementation Patterns. Addison-Wesley Professional, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. C. Fellbaum. WordNet: An Electronic Lexical Database. MIT Press, 1998.Google ScholarGoogle ScholarCross RefCross Ref
  3. E. W. Høst. Meaningful Method Names. PhD thesis, University of Oslo, 2011. http://urn.nb.no/URN:NBN:no-27629.Google ScholarGoogle Scholar
  4. E. W. Høst and B. M. Østvold. Debugging method names. In S. Drossopoulou, editor, Proceedings of the 23rd European Conference on Object-Oriented Programming, volume 5653 of Lecture Notes in Computer Science, pages 294--317. Springer, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. D. Hovemeyer and W. Pugh. Finding bugs is easy. In J. M. Vlissides and D. C. Schmidt, editors, OOPSLA Companion, pages 132--136. ACM, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. D. Lawrie, C. Morrell, H. Feild, and D. Binkley. What's in a name? A study of identifiers. In Proceedings of the 14th International Conference on Program Comprehension (ICPC 2006), 14--16 June 2006, Athens, Greece, pages 3--12. IEEE Computer Society, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. C. D. Manning and H. Schuetze. Foundations of Statistical Natural Language Processing. MIT Press, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. R. C. Martin. Clean Code. Prentice Hall, 2008.Google ScholarGoogle Scholar
  9. S. McConnell. Code Complete: A Practical Handbook of Software Construction. Microsoft Press, 2nd edition, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. E. Tempero, C. Anslow, J. Dietrich, T. Han, J. Li, M. Lumpe, H. Melton, and J. Noble. Qualitas corpus: A curated collection of Java code for empirical studies. In 2010 Asia Pacific Software Engineering Conference (APSEC2010), Dec. 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Finding and fixing Java naming bugs with the Lancelot Eclipse plugin

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Conferences
            PEPM '12: Proceedings of the ACM SIGPLAN 2012 workshop on Partial evaluation and program manipulation
            January 2012
            172 pages
            ISBN:9781450311182
            DOI:10.1145/2103746

            Copyright © 2012 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 23 January 2012

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article

            Acceptance Rates

            Overall Acceptance Rate66of120submissions,55%

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader