TY - GEN
T1 - Recovering traceability between features and code in product variants
AU - Linsbauer, Lukas
AU - Lopez-Herrejon, Roberto E.
AU - Egyed, Alexander
PY - 2013
Y1 - 2013
N2 - Many companies offer a palette of similar software products though they do not necessarily have a Software Product Line (SPL). Rather, they start building and selling individual products which they then adapt, customize and extend for different customers. As the number of product variants increases, these companies then face the severe problem of having to maintain them all. Software Product Lines can be helpful here - not so much as a platform for creating new products but as a means of maintaining the existing ones with their shared features. Here, an important first step is to determine where features are implemented in the source code and in what product variants. To this end, this paper presents a novel technique for deriving the traceability between features and code in product variants by matching code overlaps and feature overlaps. This is a difficult problem because a feature's implementation not only covers its basic functionality (which does not change across product variants) but may include code that deals with feature interaction issues and thus changes depending on the combination of features present in a product variant. We empirically evaluated the approach on three non-trivial case studies of different sizes and domains and found that our approach correctly identifies feature to code traces except for code that traces to multiple disjunctive features, a rare case involving less than 1% of the code.
AB - Many companies offer a palette of similar software products though they do not necessarily have a Software Product Line (SPL). Rather, they start building and selling individual products which they then adapt, customize and extend for different customers. As the number of product variants increases, these companies then face the severe problem of having to maintain them all. Software Product Lines can be helpful here - not so much as a platform for creating new products but as a means of maintaining the existing ones with their shared features. Here, an important first step is to determine where features are implemented in the source code and in what product variants. To this end, this paper presents a novel technique for deriving the traceability between features and code in product variants by matching code overlaps and feature overlaps. This is a difficult problem because a feature's implementation not only covers its basic functionality (which does not change across product variants) but may include code that deals with feature interaction issues and thus changes depending on the combination of features present in a product variant. We empirically evaluated the approach on three non-trivial case studies of different sizes and domains and found that our approach correctly identifies feature to code traces except for code that traces to multiple disjunctive features, a rare case involving less than 1% of the code.
KW - features
KW - product variants
KW - traceability
UR - https://www.scopus.com/pages/publications/84883870109
U2 - 10.1145/2491627.2491630
DO - 10.1145/2491627.2491630
M3 - Contribution to conference proceedings
AN - SCOPUS:84883870109
SN - 9781450319683
T3 - ACM International Conference Proceeding Series
SP - 131
EP - 140
BT - Proceedings of the 17th International Software Product Line Conference, SPLC 2013
T2 - 17th International Software Product Line Conference, SPLC 2013
Y2 - 26 August 2013 through 30 August 2013
ER -