Title :
Granularity in software product lines
Author :
Kastner, Christian ; Apel, Sven ; Kuhlemann, Martin
Author_Institution :
Sch. of Comput. Sci., Univ. of Magdeburg, Magdeburg
Abstract :
Building software product lines (SPLs) with features is a challenging task. Many SPL implementations support features with coarse granularity - e.g., the ability to add and wrap entire methods. However, fine-grained extensions, like adding a statement in the middle of a method, either require intricate workarounds or obfuscate the base code with annotations. Though many SPLs can and have been implemented with the coarse granularity of existing approaches, fine-grained extensions are essential when extracting features from legacy applications. Furthermore, also some existing SPLs could benefit from fine-grained extensions to reduce code replication or improve readability. In this paper, we analyze the effects of feature granularity in SPLs and present a tool, called Colored IDE (CIDE), that allows features to implement coarse-grained and fine-grained extensions in a concise way. In two case studies, we show how CIDE simplifies SPL development compared to traditional approaches.
Keywords :
software engineering; coarse granularity; code replication; colored IDE; software product lines; Computer science; Design engineering; Feature extraction; Informatics; Mathematics; Permission; Software design; Software tools; Spatial databases; Transaction databases; feature refactoring; ide; software product lines; virtual separation of concerns;
Conference_Titel :
Software Engineering, 2008. ICSE '08. ACM/IEEE 30th International Conference on
Conference_Location :
Leipzig
Print_ISBN :
978-1-4244-4486-1
Electronic_ISBN :
0270-5257
DOI :
10.1145/1368088.1368131