Skip to main content

Conducting and Reporting Case Study Research in Software Engineering

Research Methods
Software Engineering
Runeson and Höst’s guidance on designing software engineering case studies, tracing conclusions to evidence, and reporting threats to validity.
Published

November 30, 2026

Source: Runeson and Höst, “Guidelines for conducting and reporting case study research in software engineering” (2009)

Source keywords: Case study, Research methodology, Checklists, Guidelines

A case study investigates a contemporary phenomenon in its real-world setting. It suits software engineering questions where the team, tools, or organisation are part of what needs explaining. Runeson and Höst adapt guidance from social science and information systems to software engineering. Their central recommendation is to keep a chain of evidence so readers can trace conclusions back to the data, even when the study evolves.

1. When to use a case study

A case study can explore what is happening, describe a practice, explain a problem, or inform an improvement. Its strength is depth in a real setting; its trade-off is less control over competing explanations. A survey collects standardised answers across a population or sample, while a controlled experiment manipulates variables to isolate effects. The authors distinguish observing a change in practice from taking part in making that change, as in action research.

The paper describes five stages: design the study, prepare for data collection, collect evidence, analyse it, and report the findings. These stages overlap. Early analysis can reveal gaps that call for additional evidence or better interview questions. Start with a clear objective and record what changes; a fundamentally different objective may call for a new study.

2. Define the case and prepare a protocol

  • Set the scope. State the objective, initial research questions, relevant theory or prior work, and planned methods. Define the context, the case, and its units of analysis. For example, an organisation’s testing process could be the case, with three projects as embedded units. A holistic design would study the case as a whole.
  • Explain what you selected and why. Select cases, units, participants, and artefacts for what they can reveal, not because they statistically represent a population. A case might be typical, unusual, or critical to an explanation. When replicating a study, choose a case where you expect similar findings or where you have a reason to expect a contrast.
  • Keep a versioned protocol. Record sources, procedures, interview guides or other instruments, data storage, analysis plans, and changes made during the study. Have colleagues review the protocol before collecting evidence.
  • Address ethics before collection. Obtain informed consent and ethics approval where required. Agree with the organisation on confidentiality and publication, including how to handle sensitive findings. Removing names may not prevent identification. Disclose incentives, and give participants a chance to correct transcripts or comment on interpretations without requiring them to endorse the conclusions.

3. Collect and compare evidence

Collection method Examples
Direct: interact with participants as you collect data Interviews, focus groups, think-aloud observation
Indirect: gather new data without interacting during collection Tool telemetry, video observation without researcher interaction
Independent: analyse existing records or artefacts Requirements documents, meeting minutes, defect reports

Semi-structured interviews use a guide but allow follow-up questions. Include people in different roles, record and transcribe interviews with consent, and consider whether further interviews still add relevant information or viewpoints. Observation can reveal differences between documented procedures and actual work. When reusing records or metrics, check why they were collected, how the measures were defined, and what is missing. For new metrics, derive the measures from the research questions rather than collecting whatever is easy to count.

Triangulation means examining the case from different angles: use more than one data source or occasion, more than one observer, different methods, or alternative theories. Evidence that converges can strengthen a claim. Differences are also worth analysing; for example, interview accounts may differ because participants occupy different roles.

4. Analyse the data and keep a chain of evidence

For qualitative analysis, code relevant passages, record interpretations in memos, and compare patterns across roles, sources, or cases. Use early patterns to guide further collection, then actively look for exceptions and rival explanations. The authors favour coding approaches that develop codes from the data or start with a template tied to the research questions. Where possible, have multiple researchers analyse the material and document how they reconcile differences. See also the note on intercoder reliability.

The paper’s study of extreme programming alongside stage-gate management shows what traceability looks like: the researchers gave statements in interview transcripts unique identifiers, coded them, and grouped them in tables to compare accounts by role or company. That record lets a reader follow the path from a conclusion to the coded statements that support it.

Quantitative data can complement interviews and observations. Descriptive statistics can show patterns worth investigating, but small datasets and changes to measurement procedures limit what statistical analysis can support.

5. Assess validity from the start

  • Construct validity: Do the questions or measures capture the concept under study? Check whether participants and researchers interpret key terms in the same way.
  • Internal validity: If the study makes a causal claim, could another change or condition account for the observed effect? Look for rival explanations rather than treating a before-and-after difference as proof of causation.
  • External validity: Which other settings share the conditions that make the finding relevant? The aim is analytical generalisation to a theory or explanation that may apply to similar cases, not statistical inference to a population.
  • Reliability: How much do the data and analysis depend on the particular researchers? Clear procedures, coding rules, and decision records help others understand and assess what was done.

6. Report the study so readers can judge it

The authors favour a conventional structure for academic reports: introduction, related work and theory, study design, results, and conclusions. Describe the case and its context without exposing participants, explain what was actually done and what changed, and show how the evidence answers each research question. Include enough excerpts or examples for readers to assess the reasoning. Report remaining threats, how you addressed them, and what the findings imply for practice or further research.

Use Appendix A when planning and conducting a study: its researcher checklist covers all five stages. Use Appendix B when reading or reviewing a report: its shorter checklist asks whether the case fits the questions, the methods and evidence support the conclusions, and validity and ethics are addressed. The checklists guide judgement rather than set universal pass-or-fail rules.