Abstract Features in Feature Modeling

Thomas Thüm, Christian Kästner, Sebastian Erdweg, Norbert Siegmund
{"title":"Abstract Features in Feature Modeling","authors":"Thomas Thüm, Christian Kästner, Sebastian Erdweg, Norbert Siegmund","doi":"10.1109/SPLC.2011.53","DOIUrl":null,"url":null,"abstract":"A software product line is a set of program variants, typically generated from a common code base. Feature models describe variability in product lines by documenting features and their valid combinations. In product-line engineering, we need to reason about variability and program variants for many different tasks. For example, given a feature model, we might want to determine the number of all valid feature combinations or compute specific feature combinations for testing. However, we found that contemporary reasoning approaches can only reason about feature combinations, not about program variants, because they do not take abstract features into account. Abstract features are features used to structure a feature model that, however, do not have any impact at implementation level. Using existing feature-model reasoning mechanisms for program variants leads to incorrect results. Hence, although abstract features represent domain decisions that do not affect the generation of a program variant. We raise awareness of the problem of abstract features for different kinds of analyses on feature models. We argue that, in order to reason about program variants, abstract features should be made explicit in feature models. We present a technique based on propositional formulas that enables to reason about program variants rather than feature combinations. In practice, our technique can save effort that is caused by considering the same program variant multiple times, for example, in product-line testing.","PeriodicalId":278787,"journal":{"name":"2011 15th International Software Product Line Conference","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-08-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"139","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 15th International Software Product Line Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SPLC.2011.53","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 139

Abstract

A software product line is a set of program variants, typically generated from a common code base. Feature models describe variability in product lines by documenting features and their valid combinations. In product-line engineering, we need to reason about variability and program variants for many different tasks. For example, given a feature model, we might want to determine the number of all valid feature combinations or compute specific feature combinations for testing. However, we found that contemporary reasoning approaches can only reason about feature combinations, not about program variants, because they do not take abstract features into account. Abstract features are features used to structure a feature model that, however, do not have any impact at implementation level. Using existing feature-model reasoning mechanisms for program variants leads to incorrect results. Hence, although abstract features represent domain decisions that do not affect the generation of a program variant. We raise awareness of the problem of abstract features for different kinds of analyses on feature models. We argue that, in order to reason about program variants, abstract features should be made explicit in feature models. We present a technique based on propositional formulas that enables to reason about program variants rather than feature combinations. In practice, our technique can save effort that is caused by considering the same program variant multiple times, for example, in product-line testing.
特征建模中的抽象特征
软件产品线是一组程序变体,通常是从公共代码库生成的。特性模型通过记录特性及其有效组合来描述产品线中的可变性。在产品线工程中,我们需要对许多不同任务的可变性和程序变体进行推理。例如,给定一个特征模型,我们可能想要确定所有有效特征组合的数量,或者计算用于测试的特定特征组合。然而,我们发现当代推理方法只能对特征组合进行推理,而不能对程序变体进行推理,因为它们没有考虑抽象特征。抽象特征是用来构造特征模型的特征,但是在实现级别上没有任何影响。对程序变体使用现有的特征模型推理机制会导致不正确的结果。因此,尽管抽象特征表示不影响程序变体生成的领域决策。针对不同类型的特征模型分析,提出了抽象特征问题的认识。我们认为,为了推理程序的变化,抽象的特征应该在特征模型中明确。我们提出了一种基于命题公式的技术,可以对程序变量而不是特征组合进行推理。在实践中,我们的技术可以节省由于多次考虑相同的程序变体而引起的工作量,例如,在产品线测试中。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信