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
中科院分区:
其他
文献类型:
--
作者:
M. Umarji;S. Sim;C. Lopes

文献摘要

被引文献

相似文献

为了更好地了解程序员在互联网上搜索代码的内容、方式和原因,我们进行了一项基于网络的调查,以了解程序员的源代码搜索行为,具体来说,他们的搜索动机、搜索目标、使用的工具和代码选择标准。数据收集自69名受访者,包括58个具体的搜索实例。我们对这些轶事应用了开放编码,发现了两个主要原型和一个次要原型,以及搜索目标的大小范围。第一个原型是搜索可以删除并放入项目的源代码。第二个原型是搜索源代码的例子来提供信息,例如,使用万维网作为一个巨大的桌面参考。这些搜索的目标大小可能从几行代码到整个系统不等。次要的原型是寻找缺陷的报告和修复。影响最终选择候选代码的因素包括:同行推荐;其他程序员的帮助;以及项目的活动水平。
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.