skip to main content
10.1145/1985429.1985434acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

A spontaneous code recommendation tool based on associative search

Published:28 May 2011Publication History

ABSTRACT

We present Selene, a source code recommendation tool based on an associative search engine. It spontaneously searches and displays example programs while the developer is editing a program text. By using an associative search engine, it can search a repository of two million example programs within a few seconds. This paper discusses issues that are revealed by our ongoing implementation of Selene, in particular those of performance, similarity measures and user interface.

References

  1. A. Alnusair, T. Zhao, and E. Bodden. Effective API navigation and reuse. In Information Reuse and Integration (IEEE IRI), pp.7--12. 2010.Google ScholarGoogle ScholarCross RefCross Ref
  2. A. Bragdon, et. al. Code bubbles: rethinking the user interface paradigm of integrated development environments. In Proceedings of International Conference on Software Engineering (ICSE'10), pp.455--464, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. R. Holmes and G. C. Murphy. Using structural context to recommend source code examples. In Proceedings of International Conference on Software Engineering (ICSE'05), pp.117--125, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. O. Hummel, W. Janjic, and C. Atkinson. Code Conjurer: Pulling reusable software out of thin air. IEEE Software, 25:45--52, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. T. Kamiya, S. Kusumoto, and K. Inoue. CCFinder: a multi-linguistic token-based code clone detection system for large scale source code. IEEE Trans. Softw. Eng., 28(7):654--670, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. E. Linstead, et. al. Sourcerer: mining and searching internet-scale software repositories. Data Mining and Knowledge Discovery, 18(2):300--336, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. C. Lopes, S. Bajracharya, J. Ossher, and P. Baldi. UCI source code data sets (SDS source-repo-18k), Apr. 2010. http://www.ics.uci.edu/~lopes/datasets/.Google ScholarGoogle Scholar
  8. D. Mandelin, L. Xu, R. Bodík, and D. Kimelman. Jungloid mining: helping to navigate the API jungle. In Proceedings of Programming Language Design and Implementation (PLDI'05), pp.48--61, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. N. Sahavechaphan and K. Claypool. XSnippet: mining for sample code. In Proceedings of Object-Oriented Programming Systems, Languages, and Applications (OOPSLA'06), pp.413--430, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. A. Takano. Association computation for information access. In Proceedings of International Conference on Discovery Science, LNCS 2843, pp.33--44, 2003.Google ScholarGoogle Scholar
  11. Y. Ye and G. Fischer. Supporting reuse by delivering task-relevant and personalized information. In Proceedings of International Conference on Software Engineering (ICSE'02), pp.513--523, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A spontaneous code recommendation tool based on associative search

    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
      SUITE '11: Proceedings of the 3rd International Workshop on Search-Driven Development: Users, Infrastructure, Tools, and Evaluation
      May 2011
      52 pages
      ISBN:9781450305976
      DOI:10.1145/1985429

      Copyright © 2011 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: 28 May 2011

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Upcoming Conference

      ICSE 2025

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader