Treffer: Classifying Edits to Variability in Source Code - Summary

Title:
Classifying Edits to Variability in Source Code - Summary
Contributors:
Engels, Gregor, Hebig, Regina, Tichy, Matthias
Publisher Information:
Gesellschaft für Informatik e.V.
Publication Year:
2023
Document Type:
Konferenz conference object
File Description:
application/pdf
Language:
English
Relation:
Software Engineering 2023; Lecture Notes in Informatics (LNI) - Proceedings, Volume P-332; https://dl.gi.de/handle/20.500.12116/40070
Accession Number:
edsbas.69F37575
Database:
BASE

Weitere Informationen

We report about recent research on edit classification in configurable software, originally published at the 30th Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) 2022 [Bi22]. For highly configurable software systems, such as the Linux kernel, maintaining and evolving variability information along changes to source code poses a major challenge. While source code itself may be edited, also feature-to-code mappings may be introduced, removed, or changed. In practice, such edits are often conducted ad-hoc and without proper documentation. To support the maintenance and evolution of variability, it is desirable to understand the impact of each edit on the variability. We propose the first complete and unambiguous classification of edits to variability in source code by means of a catalog of edit classes. This catalog is based on a scheme that can be used to build classifications that are complete and unambiguous by construction. To this end, we introduce a complete and sound model for edits to variability. In about 21.5 ms per commit, we validate the correctness, relevance, and suitability of our classification by classifying each edit in 1.7 million commits in the change histories of 44 open-source software systems automatically.