How Do Developers Search for Architectural Information? An Industrial Survey

Musengamana Jean de Dieu, Peng Liang, Mojtaba Shahin

TL;DR

While we know a lot about how developers search for code snippets, we know surprisingly little about how they find high-level architectural information. This industrial survey of 103 practitioners reveals that developers primarily rely on general search engines and Q&A sites to weigh the pros and cons of design patterns, but they struggle significantly with finding relevant information for quality concerns and feel overwhelmed by the sheer volume of dispersed data.

What Problem Does This Paper Address?

Software development isn't just about writing lines of code; it’s about making high-level structural decisions—choosing architectural patterns (like Microservices or MVC), tactics for security, and weighing design trade-offs. While "code search" (finding APIs or bug fixes) is a well-researched field, "architectural information search" has remained a blind spot.

The authors identify a gap: we don't know which sources developers trust for architectural advice, what specific tasks drive these searches, or what obstacles prevent them from finding the "right" design rationale. Understanding these pain points is the first step toward building better tools for software architects.

Methods

The researchers conducted a descriptive industrial survey following the Goal-Question-Metric (GQM) approach. They formulated five Research Questions (RQs) covering sources, purposes, methods, usefulness assessment, and challenges.

  • Participants: 103 valid responses from practitioners across 40 countries and 6 continents, with a significant portion (over 60%) having more than 10 years of experience.
  • Analysis: They used descriptive statistics for closed-ended questions. For open-ended textual responses, they employed open coding and constant comparison (techniques from Grounded Theory) to categorize themes.
  • Validation: The survey design was internally reviewed and pilot-tested with five professional developers to ensure clarity and a 15-minute completion time.

Datasets

The primary "dataset" consists of the anonymized survey responses from the 103 practitioners. The authors have made the valid survey responses (in MS Excel) and the encoded qualitative data (via MAXQDA) available as a replication package on Zenodo to support future research.

Key Insights and Ideas

  • The "Usefulness" Paradox: While Google is the most visited source, developers actually find Online Q&A sites (Stack Overflow) and Online Repositories (GitHub) more useful. Why? Because they provide real-world solutions to architectural problems and show how design is actually implemented in code.
  • The Search for "Why": The most frequent reason for searching isn't just "how to do it," but rather learning the pros and cons of a solution to make a decision among multiple choices.
  • The Quality Concern Wall: Developers find it hardest to search for information related to quality attributes (e.g., performance, scalability, security). It is much easier to find info on functional requirements than on how a specific pattern affects system stability.
  • The Academic-Industry Gap: Despite many researchers proposing "dedicated architectural search tools" in academic literature, zero participants in this survey used them. Practitioners stick to generic tools like Google, despite their limitations.
  • Information Overload: The biggest challenge isn't a lack of information, but the time and effort required to filter through the "dispersion and abundance" of data across different sites.

Key Results

  • Top Sources: Search engines (73 reports), Q&A sites (72), and GitHub (68) are the dominant trio.
  • Search Frequency: 33.9% of developers search for architectural info several times a week, while 37.8% say it depends entirely on the task at hand.
  • Tooling Needs: 72.8% of participants believe there is a clear need for dedicated architectural search tools. The top requirement for such a tool is the ability to provide concise, relevant, and readable summaries of design information.
  • Major Pain Point: "Taking too much time to go through retrieved information" was the #1 challenge, cited by 74 participants.

Limitations and Future Work

The authors acknowledge that while 103 participants provide a diverse snapshot, it is still a small sample of the global developer population. There is also a risk of "internal bias" during the manual coding of open-ended answers, though they mitigated this through cross-validation among the research team.

Future Work: The authors plan to develop semi-automatic approaches to extract and summarize architectural information. The goal is to create tools that can automatically identify "issue-solution pairs" (e.g., "If you have X performance problem, pattern Y has these benefits and these drawbacks") from the vast, messy landscape of technical blogs, Q&A sites, and repositories.

Summary updated

BibTeX
@inproceedings{dieu2022how,
  author = {Musengamana Jean de Dieu and Peng Liang and Mojtaba Shahin},
  title = {{How Do Developers Search for Architectural Information? An Industrial Survey}},
  booktitle = {ICSA},
  year = {2022},
  doi = {10.1109/icsa53651.2022.00014},
}
Figure