Safe Evolution of Software Product Lines: Feature Extraction Scenarios

  • Fernando Benbassat UFPE
  • Paulo Borba UFPE
  • Leopoldo Teixeira UFPE

Resumo


Software Product Lines can improve productivity and product quality, but product line maintenance is not simple, since a single change can impact several products. In many situations, it is desirable to provide some assurance that we can safely change a SPL in the sense that the behaviour of existing products is preserved. Developers can rely on previously proposed safe evolution notions, by means of transformation templates to ensure safe evolution. However, the existing templates were only applied in scenarios where a product line expands, and have not been evaluated in the context of extracting features from existing code. Therefore, we conducted a study using an industrial system developed in Java with 400 KLOC. This study revealed the need for new templates to address feature extraction scenarios, as well as improving the existing templates notation to address more expressive mappings between features and code assets. As a result of this study, we successfully extracted a product line from this existing system using the proposed templates, and also found evidence that the new templates can help to prevent defects during product line evolution.

Palavras-chave: Software, Feature extraction, Manuals, Frequency modulation, Computer architecture, Java, Software product lines, Software Product Lines, Product Line Evolution, Safe Evolution, Refinement
Publicado
19/09/2016
BENBASSAT, Fernando; BORBA, Paulo; TEIXEIRA, Leopoldo. Safe Evolution of Software Product Lines: Feature Extraction Scenarios. In: SIMPÓSIO BRASILEIRO DE COMPONENTES, ARQUITETURAS E REUTILIZAÇÃO DE SOFTWARE (SBCARS), 10. , 2016, Maringá/PR. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2016 . p. 11-20.