Archetypal Internet-Scale Source Code Searching
Archetypal Internet-Scale Source Code Searching
复制标题
DOI:
10.1007/978-1-4614-6596-6_3
复制
发表时间:
2008
期刊:
影响因子:
--
通讯作者:
M. Umarji;S. Sim;C. Lopes
中科院分区:
文献类型:
--
作者:
M. Umarji;S. Sim;C. Lopes
To gain a better understanding of what, how, and why programmers search for code on the Internet, we conducted a web-based survey to understand the source code searching behavior of programmers, specifically, their search motivations, search targets, tools used, and code selection criteria. Data was collected from 69 respondents, including 58 specific examples of searches. We applied open coding to these anecdotes and found two major archetypes and one minor archetype, as well as, a range of sizes for search targets. The first archetype was searching for source code that could be excised and dropped into a project. The second archetype was searching for examples of source code to provide information, for example, using the World Wide Web as an enormous desk reference. The targets of these searches could vary in size from a few lines of code to an entire system. The minor archetype was searching for reports and repairs of defects. Factors affecting the final selection of a candidate piece of code included: peer recommendations; availability of help from other programmers; and the level of activity on a project.