skip to main content
10.1145/2593822.2593828acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
Article

Code recommendation based on a degree-of-interest model

Published: 03 June 2014 Publication History

Abstract

Code recommendation systems predict and present what the user is likely to write next by using the user's editing context, namely textual and semantic information about the programs being edited in a programming editor. Most existing systems however use information merely around the cursor position---i.e., the class/method definition at the cursor position---as the editing context. By including the code related to the current method/class, like the callers and callees of the method, recommendation could become more appropriate. We propose to use the user's editing activity for identifying code relevant to the current method/class. Specifically, we use a modified degree-of-interest model in the Mylyn task management tool, and incorporated the model in our repository-based code recommendation system, Selene. This paper reports the design of the system and the results of our initial experiments.

References

[1]
M. Kersten and G. C. Murphy. Mylar: a degree-ofinterest model for IDEs. AOSD ’05, pp.159–168, 2005.
[2]
N. Murakami and H. Masuhara. Optimizing a search-based code recommendation system. RSSE’12, pp.68–72, 2012.
[3]
A. Takano, et al. Information access based on associative calculation. SOFSEM’00, pp.15–35, 2000.
[4]
T. Watanabe and H. Masuhara. A spontaneous code recommendation tool based on associative search. (SUITE’11), pp.17–20, 2011.

Cited By

View all
  • (2023)Big Code Search: A BibliographyACM Computing Surveys10.1145/360490556:1(1-49)Online publication date: 26-Aug-2023
  • (2022)Context-aware code recommendation in Intellij IDEAProceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering10.1145/3540250.3558937(1647-1651)Online publication date: 7-Nov-2022
  • (2020)MylynSDP — Process - aware artifact filtering based on interestJournal of the Brazilian Computer Society10.1186/s13173-020-00100-826:1Online publication date: 10-Aug-2020
  • Show More Cited By

Index Terms

  1. Code recommendation based on a degree-of-interest model

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    RSSE 2014: Proceedings of the 4th International Workshop on Recommendation Systems for Software Engineering
    June 2014
    31 pages
    ISBN:9781450328456
    DOI:10.1145/2593822
    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]

    Sponsors

    In-Cooperation

    • TCSE: IEEE Computer Society's Tech. Council on Software Engin.

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 03 June 2014

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Keyword search
    2. similarity

    Qualifiers

    • Article

    Conference

    ICSE '14
    Sponsor:

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)3
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 12 Sep 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Big Code Search: A BibliographyACM Computing Surveys10.1145/360490556:1(1-49)Online publication date: 26-Aug-2023
    • (2022)Context-aware code recommendation in Intellij IDEAProceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering10.1145/3540250.3558937(1647-1651)Online publication date: 7-Nov-2022
    • (2020)MylynSDP — Process - aware artifact filtering based on interestJournal of the Brazilian Computer Society10.1186/s13173-020-00100-826:1Online publication date: 10-Aug-2020
    • (2018)A collaborative filtering recommender system for test case prioritization in web applicationsProceedings of the 33rd Annual ACM Symposium on Applied Computing10.1145/3167132.3167299(1560-1567)Online publication date: 9-Apr-2018
    • (2016)Mining Software Repositories for Automatic Interface RecommendationScientific Programming10.1155/2016/54759642016(5)Online publication date: 1-Jun-2016
    • (2015)Using Feature-Interface Graph for Automatic Interface Recommendation: A Case Study2015 Third International Conference on Advanced Cloud and Big Data10.1109/CBD.2015.55(296-303)Online publication date: Oct-2015

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media