Abstract
Programmers often search for Open Source code to use in their projects. To understand how and why programmers search for source code, we onducted a web-based survey and collected data from 69 respondents, including 58 specific examples of searches. Analyzing these anecdotes, we found that they could be categorized along two orthogonal dimensions: motivation (reuse vs. reference example) and size of search target. The targets of these searches could range in size from a block (a few lines of code) to a subsystem (e.g. library or API), to an entire system. Within these six combinations of motivations and target sizes, nine repeating motifs, or archetypes, were created to characterize Internet-scale source code searching. Tools used for searching and the criteria for selecting a component are also discussed. We conclude with guidance on how these archetypes can inform better evaluation of Internet-scale code search engines, as well as the design of new features for these tools.
Chapter PDF
Similar content being viewed by others
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 International Federation for Information Processing
About this paper
Cite this paper
Umarji, M., Sim, S.E., Lopes, C. (2008). Archetypal Internet-Scale Source Code Searching. In: Russo, B., Damiani, E., Hissam, S., Lundell, B., Succi, G. (eds) Open Source Development, Communities and Quality. OSS 2008. IFIP – The International Federation for Information Processing, vol 275. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-09684-1_21
Download citation
DOI: https://doi.org/10.1007/978-0-387-09684-1_21
Publisher Name: Springer, Boston, MA
Print ISBN: 978-0-387-09683-4
Online ISBN: 978-0-387-09684-1
eBook Packages: Computer ScienceComputer Science (R0)