Intention-Based Integration of Software Variants
Paper i proceeding, 2019

Cloning is a simple way to create new variants of a system. While cheap at first, it increases maintenance cost in the long term. Eventually, the cloned variants need to be integrated into a configurable platform. Such an integration is challenging: it involves merging the usual code improvements between the variants, and also integrating the variable code (features) into the platform. Thus, variant integration differs from traditional soft- ware merging, which does not produce or organize configurable code, but creates a single system that cannot be configured into variants. In practice, variant integration requires fine-grained code edits, performed in an exploratory manner, in multiple iterations. Unfortunately, little tool support exists for integrating cloned variants. In this work, we show that fine-grained code edits needed for integration can be alleviated by a small set of integration intentions-domain-specific actions declared over code snippets controlling the integration. Developers can interactively explore the integration space by declaring (or revoking) intentions on code elements. We contribute the intentions (e.g., 'keep functionality' or 'keep as a configurable feature') and the IDE tool INCLINE, which implements the intentions and five editable views that visualize the integration process and allow declaring intentions producing a configurable integrated platform. In a series of experiments, we evaluated the completeness of the pro- posed intentions, the correctness and performance of INCLINE, and the benefits of using intentions for variant integration. The experiments show that INCLINE can handle complex integration tasks, that views help to navigate the code, and that it consistently reduces mistakes made by developers during variant integration.

code merging

variant integration

re engineering variants

intention based integration

clone and own

software product line

Författare

Max Lillack

Universität Leipzig

Ştefan Stǎnciulescu

IT-Universitetet i Kobenhavn

Wilhelm Hedman

Student vid Chalmers

Thorsten Berger

Göteborgs universitet

Andrzej Wąsowski

IT-Universitetet i Kobenhavn

Proceedings - International Conference on Software Engineering

02705257 (ISSN)

Vol. 2019-May 831-842 8811913

41st IEEE/ACM International Conference on Software Engineering, ICSE 2019
Montreal, Canada,

Ämneskategorier

Programvaruteknik

Inbäddad systemteknik

Datorsystem

DOI

10.1109/ICSE.2019.00090

Mer information

Senast uppdaterat

2020-11-16