SmartFixer: fixing software configurations based on dynamic priorities

Bo Wang, L. Passos, Yingfei Xiong, K. Czarnecki, Haiyan Zhao, Wei Zhang
{"title":"SmartFixer: fixing software configurations based on dynamic priorities","authors":"Bo Wang, L. Passos, Yingfei Xiong, K. Czarnecki, Haiyan Zhao, Wei Zhang","doi":"10.1145/2491627.2491640","DOIUrl":null,"url":null,"abstract":"Large modern software systems are often organized as product lines, requiring specialists to configure variability models before delivering a product. Variability models capture both the commonality and variability of different products, and help detect the configurations errors. Existing approaches can recommend fixes for the errors automatically. However, the recommended fixes are sometimes large and complex, and existing approaches lack guidance to help users identify a desirable fix. This paper proposes an approach to provide such guidance using dynamic priorities. The basic idea is to first generate one fix, and then gradually reach the desirable fix based on user feedback. To this end, our approach (1) automatically translates user feedback into a set of implicit priority levels on configuration variables, using five priority assignment and adjustment strategies and (2) efficiently generates potential desirable fixes by calculating new values for the variables with low priority. The experiments on real variability models show that we can reduce up to 89% of the fixes, and up to 98% of the variables shown to the user, compared to when no priorities are used.","PeriodicalId":339444,"journal":{"name":"Software Product Lines Conference","volume":"51 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-08-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"18","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Software Product Lines Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2491627.2491640","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 18

Abstract

Large modern software systems are often organized as product lines, requiring specialists to configure variability models before delivering a product. Variability models capture both the commonality and variability of different products, and help detect the configurations errors. Existing approaches can recommend fixes for the errors automatically. However, the recommended fixes are sometimes large and complex, and existing approaches lack guidance to help users identify a desirable fix. This paper proposes an approach to provide such guidance using dynamic priorities. The basic idea is to first generate one fix, and then gradually reach the desirable fix based on user feedback. To this end, our approach (1) automatically translates user feedback into a set of implicit priority levels on configuration variables, using five priority assignment and adjustment strategies and (2) efficiently generates potential desirable fixes by calculating new values for the variables with low priority. The experiments on real variability models show that we can reduce up to 89% of the fixes, and up to 98% of the variables shown to the user, compared to when no priorities are used.
SmartFixer:根据动态优先级修复软件配置
大型现代软件系统通常以产品线的形式组织,要求专家在交付产品前配置可变性模型。可变性模型可以捕捉不同产品的共性和可变性,并帮助检测配置错误。现有的方法可以自动推荐错误修复方法。然而,所推荐的修复方法有时既庞大又复杂,而且现有方法缺乏帮助用户识别理想修复方法的指导。本文提出了一种利用动态优先级提供此类指导的方法。其基本思想是先生成一个修复方案,然后根据用户反馈逐步达到理想的修复方案。为此,我们的方法(1) 使用五种优先级分配和调整策略,自动将用户反馈转化为一组配置变量的隐含优先级;(2) 通过计算低优先级变量的新值,有效生成潜在的理想修复。对真实变异模型的实验表明,与不使用优先级相比,我们可以减少高达 89% 的修复,以及高达 98% 的变量显示给用户。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信