Identification and visualization of variability implementations in object-oriented variability-rich systems: a symmetry-based approach

作者:Xhevahire Tërnava, Johann Mortara, Philippe Collet, Daniel Le Berre

摘要

Most modern object-oriented software systems are variability-rich, despite that they may not be developed as product lines. Their variability is implemented by several traditional techniques in combination, such as inheritance, overloading, or design patterns. As domain features or variation points with variants are not a by-product of these techniques, variability in code assets of such systems is implicit, and hardly documented, hampering qualities such as understandability and maintainability. In this article, we present an approach for automatic identification and visualization of variability implementation places, that is, variation points with variants, in variability-rich systems. To uniformly identify them, we propose to rely on the existing symmetries in the different software constructs and patterns. We then propose to visualize them according to their density. By means of our realized toolchain implementing the approach, symfinder, we report on a threefold evaluation, (i) on the identified potential variability in sixteen large open-source systems and symfinder ’s scalability, (ii) on measuring symfinder ’s precision and robustness when mapping identified variability to domain features, and (iii) on its usage by a software architect. Results show that symfinder can indeed help in identifying and comprehending the variability of the targeted systems.

论文关键词:Automatic variability identification, Variability visualization, Object-oriented variability-rich systems, Variability comprehention, Variability evolution, Software product line engineering

论文评审过程:

论文官网地址:https://doi.org/10.1007/s10515-022-00329-x