Faster bug detection for software product lines with incomplete feature models

Sabrina Souto, D. Gopinath, Marcelo d’Amorim, D. Marinov, S. Khurshid, D. Batory
{"title":"Faster bug detection for software product lines with incomplete feature models","authors":"Sabrina Souto, D. Gopinath, Marcelo d’Amorim, D. Marinov, S. Khurshid, D. Batory","doi":"10.1145/2791060.2791093","DOIUrl":null,"url":null,"abstract":"A software product line (SPL) is a family of programs that are differentiated by features --- increments in functionality. Systematically testing an SPL is challenging because it requires running each test of a test suite against a combinatorial number of programs. Feature models capture dependencies among features and can (1) reduce the space of programs to test and (2) enable accurate categorization of failing tests as failures of programs or the tests themselves, not as failures due to illegal combinations of features. In practice, sadly, feature models are not always available. We introduce SPLif, the first approach for testing SPLs that does not require the a priori availability of feature models. Our insight is to use a profile of passing and failing test runs to quickly identify failures that are indicative of real problems in test or code rather than specious failures due to illegal feature combinations. Experimental results on five SPLs and one large configurable system (GCC) demonstrate the effectiveness of our approach. SPLif enabled the discovery of five news bugs in GCC, three of which have already been fixed.","PeriodicalId":339158,"journal":{"name":"Proceedings of the 19th International Conference on Software Product Line","volume":"8 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-07-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 19th International Conference on Software Product Line","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2791060.2791093","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

A software product line (SPL) is a family of programs that are differentiated by features --- increments in functionality. Systematically testing an SPL is challenging because it requires running each test of a test suite against a combinatorial number of programs. Feature models capture dependencies among features and can (1) reduce the space of programs to test and (2) enable accurate categorization of failing tests as failures of programs or the tests themselves, not as failures due to illegal combinations of features. In practice, sadly, feature models are not always available. We introduce SPLif, the first approach for testing SPLs that does not require the a priori availability of feature models. Our insight is to use a profile of passing and failing test runs to quickly identify failures that are indicative of real problems in test or code rather than specious failures due to illegal feature combinations. Experimental results on five SPLs and one large configurable system (GCC) demonstrate the effectiveness of our approach. SPLif enabled the discovery of five news bugs in GCC, three of which have already been fixed.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
对具有不完整特征模型的软件产品线进行更快的错误检测
软件产品线(SPL)是由功能(功能增量)区分的一系列程序。系统地测试SPL是具有挑战性的,因为它需要针对组合数量的程序运行测试套件的每个测试。特征模型捕获特征之间的依赖关系,并且可以(1)减少要测试的程序的空间,(2)能够准确地将失败的测试分类为程序的失败或测试本身的失败,而不是由于特征的非法组合而导致的失败。遗憾的是,在实践中,特征模型并不总是可用的。我们介绍SPLif,这是测试splf的第一种方法,它不需要特征模型的先验可用性。我们的见解是使用通过和失败的测试运行的概要文件来快速识别失败,这些失败表明测试或代码中存在真正的问题,而不是由于非法的特性组合而导致的似是而非的失败。在5个SPLs和1个大型可配置系统(GCC)上的实验结果证明了该方法的有效性。SPLif发现了GCC中的五个新bug,其中三个已经修复。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Understanding hybrid SPL composition impact on the refactoring into SPL Modular synthesis of product lines (ModSyn-PL) All-at-once-synthesis of controllers from scenario-based product line specifications Empirical comparison of regression methods for variability-aware performance prediction Mechanical product lifecycle management meets product line engineering
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1