Linux variability anomalies: What causes them and how do they get fixed?

Sarah Nadi, Christian Dietrich, Reinhard Tartler, Richard C. Holt, Daniel Lohmann

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

The Linux kernel is one of the largest configurable open source software systems implementing static variability. In Linux, variability is scattered over three different artifacts: source code files, KCONFIG files, and Makefiles. Previous work detected inconsistencies between these artifacts that led to anomalies in the intended variability of Linux. We call these variability anomalies. However, there has been no work done to analyze how these variability anomalies are introduced in the first place, and how they get fixed. In this work, we provide an analysis of the causes and fixes of variability anomalies in Linux. We first perform an exploratory case study that uses an existing set of patches which solve variability anomalies to identify patterns for their causes. The observations we make from this dataset allow us to develop four research questions which we then answer in a confirmatory case study on the scope of the whole Linux kernel. We show that variability anomalies exist for several releases in the kernel before they get fixed, and that contrary to our initial suspicion, typos in feature names do not commonly cause these anomalies. Our results show that variability anomalies are often introduced through incomplete patches that change KCONFIG definitions without properly propagating these changes to the rest of the system. Anomalies are then commonly fixed through changes to the code rather than to KCONFIG files.

Original languageEnglish (US)
Title of host publication2013 10th Working Conference on Mining Software Repositories, MSR 2013 - Proceedings
Pages111-120
Number of pages10
DOIs
StatePublished - 2013
Event10th International Working Conference on Mining Software Repositories, MSR 2013 - San Francisco, CA, United States
Duration: May 18 2013May 19 2013

Publication series

NameIEEE International Working Conference on Mining Software Repositories
ISSN (Print)2160-1852
ISSN (Electronic)2160-1860

Conference

Conference10th International Working Conference on Mining Software Repositories, MSR 2013
Country/TerritoryUnited States
CitySan Francisco, CA
Period5/18/135/19/13

Keywords

  • GIT
  • Linux
  • Mining software repositories
  • Software variability
  • Variability anomalies

ASJC Scopus subject areas

  • Computer Science Applications
  • Software

Fingerprint

Dive into the research topics of 'Linux variability anomalies: What causes them and how do they get fixed?'. Together they form a unique fingerprint.

Cite this