Skip to main content
Article
What do developers search for on the web?
Empirical Software Engineering
  • Xin XIA, Zhejiang University
  • Lingfeng BAO, Zhejiang University
  • David LO, Singapore Management University
  • Pavneet Singh KOCHHAR, Singapore Management University
  • Ahmed E. HASSAN, Queens University - Charlotte
  • Zhenchang XING, Australian National University
Publication Type
Journal Article
Version
publishedVersion
Publication Date
12-2017
Abstract

Developers commonly make use of a web search engine such as Google to locate online resources to improve their productivity. A better understanding of what developers search for could help us understand their behaviors and the problems that they meet during the software development process. Unfortunately, we have a limited understanding of what developers frequently search for and of the search tasks that they often find challenging. To address this gap, we collected search queries from 60 developers, surveyed 235 software engineers from more than 21 countries across five continents. In particular, we asked our survey participants to rate the frequency and difficulty of 34 search tasks which are grouped along the following seven dimensions: general search, debugging and bug fixing, programming, third party code reuse, tools, database, and testing. We find that searching for explanations for unknown terminologies, explanations for exceptions/error messages (e.g., HTTP 404), reusable code snippets, solutions to common programming bugs, and suitable third-party libraries/services are the most frequent search tasks that developers perform, while searching for solutions to performance bugs, solutions to multi-threading bugs, public datasets to test newly developed algorithms or systems, reusable code snippets, best industrial practices, database optimization solutions, solutions to security bugs, and solutions to software configuration bugs are the most difficult search tasks that developers consider. Our study sheds light as to why practitioners often perform some of these tasks and why they find some of them to be challenging. We also discuss the implications of our findings to future research in several research areas, e.g., code search engines, domain-specific search engines, and automated generation and refinement of search queries.

Keywords
  • Search task,
  • Understanding,
  • Empirical study,
  • Survey
Identifier
10.1007/s10664-017-9514-4
Publisher
Springer Verlag (Germany)
Creative Commons License
Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International
Additional URL
https://doi.org/10.1007/s10664-017-9514-4
Citation Information
Xin XIA, Lingfeng BAO, David LO, Pavneet Singh KOCHHAR, et al.. "What do developers search for on the web?" Empirical Software Engineering Vol. 22 Iss. 6 (2017) p. 3149 - 3185 ISSN: 1382-3256
Available at: http://works.bepress.com/david_lo/354/