Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering 2015
DOI: 10.1145/2786805.2786855
|View full text |Cite
|
Sign up to set email alerts
|

How developers search for code: a case study

Abstract: With the advent of large code repositories and sophisticated search capabilities, code search is increasingly becoming a key software development activity. In this work we shed some light into how developers search for code through a case study performed at Google, using a combination of survey and log-analysis methodologies. Our study provides insights into what developers are doing and trying to learn when performing a search, search scope, query properties, and what a search session under different contexts… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

2
132
0
1

Year Published

2017
2017
2023
2023

Publication Types

Select...
3
2
2

Relationship

0
7

Authors

Journals

citations
Cited by 223 publications
(135 citation statements)
references
References 23 publications
(42 reference statements)
2
132
0
1
Order By: Relevance
“…Often, they make decisions related to design (features they think are needed or other design decisions). These reasons might, in part, explain some of the iterative search behavior we observed in our experiments and that were observed by others as well [7], [13], [48], [50], [97], [106], because making design decisions is often argued to be an iterative process [2,46]. However, often programmers found code simply because they felt it satisfied requirements.…”
Section: …Demonstrates How Calculators Work…)supporting
confidence: 68%
See 3 more Smart Citations
“…Often, they make decisions related to design (features they think are needed or other design decisions). These reasons might, in part, explain some of the iterative search behavior we observed in our experiments and that were observed by others as well [7], [13], [48], [50], [97], [106], because making design decisions is often argued to be an iterative process [2,46]. However, often programmers found code simply because they felt it satisfied requirements.…”
Section: …Demonstrates How Calculators Work…)supporting
confidence: 68%
“…Problem solving and cognitive processes often do not have clear goals initially, but become clearer over time, which implies the goal driving the search can be initially unclear and changing [24], [27], [120]. [97], where code is found to then change for debugging, refactoring, or other maintenance tasks [34], [61], [112]. In contrast, searching on the Internet, code is found to support different cognitive processes (sometimes referred to as discovering requirements [36]) or sometimes used as-is.…”
Section: Empirical Study Discussionmentioning
confidence: 99%
See 2 more Smart Citations
“…Code search is an important activity in software development since developers are regularly searching [40] for code examples dealing with diverse programming concepts, APIs, and specific platform peculiarities. Such examples can indeed help them practice programming against a library and platform, or they can immediately be used for inspiration in software development tasks.…”
Section: Introductionmentioning
confidence: 99%