Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1134285.1134448acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Using an information retrieval system to retrieve source code samples

Published: 28 May 2006 Publication History

Abstract

Software developers often face steep learning curves in using a new framework, library, or new versions of frameworks for developing their piece of software. In large organizations, developers learn and explore use of frameworks, rarely realizing, several peers may have already explored the same. A tool that helps locate samples of code, demonstrating use of frameworks or libraries would provide benefits of reuse, improved code quality and faster development. This paper describes an approach for locating common samples of source code from a repository by providing extensions to an information retrieval system. The approach improves the existing approaches in two ways. First, it provides the scalability of an information retrieval system, supporting search over thousands of source code files of an organization. Second, it provides more specific search on source code by preprocessing source code files and understanding elements of the code as opposed to considering code as plain text.

References

[1]
Henninger, S. Retrieving Software Objects in an example based programming environment. Procs. of 14th Int'l Conf. On Research and Development in Information Retrieval, 251--260,1991
[2]
Mandelin D et.al. Jungloid Mining: Helping to Navigate the API Jungle. Procs.of PLDI, pages 48--61,2005
[3]
Homes, R. and Murphy, CG. Using Structural Context to Recommend Source Code Examples. In Proc. of Int'l Conf. on Software Engineering, pages 117--125, 2005
[4]
Y. Ye and G. Fischer. Supporting reuse by delivering task-relevant and personalized information. In Proc. Of the 24th Int'l Conf. on Software Engineering, pages 513--523, 2002.
[5]
Frakes, BW and Nejmeh BA.Software Reuse through Information Retrieval. SIGIR Forum, Vol 21, pages 31--36 1987
[6]
Dinkelacker, J et. al, Progressive Open Source. In Proc. Of the 24th Int'l Conf. on Software Engineering, pages 177--184, 2002.

Cited By

View all
  • (2025)Understanding the Robustness of Transformer-Based Code Intelligence via Code Transformation: Challenges and OpportunitiesIEEE Transactions on Software Engineering10.1109/TSE.2024.352446151:2(521-547)Online publication date: Feb-2025
  • (2024)A Combined Alignment Model for Code SearchIEICE Transactions on Information and Systems10.1587/transinf.2023MPP0002E107.D:3(257-267)Online publication date: 1-Mar-2024
  • (2024)Performance of Traditional and Dense Vector Information Retrieval Models in Code Search2024 2nd International Conference on Software Engineering and Information Technology (ICoSEIT)10.1109/ICoSEIT60086.2024.10497512(52-57)Online publication date: 28-Feb-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
ICSE '06: Proceedings of the 28th international conference on Software engineering
May 2006
1110 pages
ISBN:1595933751
DOI:10.1145/1134285
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

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 28 May 2006

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. information retrieval
  2. search
  3. source code repository

Qualifiers

  • Article

Conference

ICSE06
Sponsor:

Acceptance Rates

Overall Acceptance Rate 276 of 1,856 submissions, 15%

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)15
  • Downloads (Last 6 weeks)4
Reflects downloads up to 14 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2025)Understanding the Robustness of Transformer-Based Code Intelligence via Code Transformation: Challenges and OpportunitiesIEEE Transactions on Software Engineering10.1109/TSE.2024.352446151:2(521-547)Online publication date: Feb-2025
  • (2024)A Combined Alignment Model for Code SearchIEICE Transactions on Information and Systems10.1587/transinf.2023MPP0002E107.D:3(257-267)Online publication date: 1-Mar-2024
  • (2024)Performance of Traditional and Dense Vector Information Retrieval Models in Code Search2024 2nd International Conference on Software Engineering and Information Technology (ICoSEIT)10.1109/ICoSEIT60086.2024.10497512(52-57)Online publication date: 28-Feb-2024
  • (2024)GNEM: Comprehensive Similarity Learning With Ensemble Model for Code SearchIEEE Access10.1109/ACCESS.2024.349319312(165005-165016)Online publication date: 2024
  • (2024)Transformers in source code generation: A comprehensive surveyJournal of Systems Architecture10.1016/j.sysarc.2024.103193153(103193)Online publication date: Aug-2024
  • (2023)Big Code Search: A BibliographyACM Computing Surveys10.1145/360490556:1(1-49)Online publication date: 26-Aug-2023
  • (2023)Code Search: A Survey of Techniques for Finding CodeACM Computing Surveys10.1145/356597155:11(1-31)Online publication date: 9-Feb-2023
  • (2023)Enhancing Semantic Code Search with Deep Graph MatchingIEEE Access10.1109/ACCESS.2023.3263878(1-1)Online publication date: 2023
  • (2022)Information Processing and Data Analytics for Decision MakingInformation Resources Management Journal10.4018/IRMJ.29169335:2(1-14)Online publication date: 25-Feb-2022
  • (2022)Automated assertion generation via information retrieval and its integration with deep learningProceedings of the 44th International Conference on Software Engineering10.1145/3510003.3510149(163-174)Online publication date: 21-May-2022
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media