...
首页> 外文期刊>Software, IET >Supporting program comprehension in large preprocessor-based software product lines
【24h】

Supporting program comprehension in large preprocessor-based software product lines

机译:大型基于预处理器的软件产品线中的支持程序理解

获取原文
获取原文并翻译 | 示例
           

摘要

Software product line (SPL) engineering provides an effective mechanism to implement variable software. However, using preprocessors to realise variability, which is typical in industry, is heavily criticised, because it often leads to obfuscated code. Using background colours to highlight code annotated with preprocessor statements to support comprehensibility has proved to be effective, however, scalability to large SPLs is questionable. The authors' aim is to implement and evaluate scalable usage of background colours for industrial-sized SPLs. They designed and implemented scalable concepts in a tool called FeatureCommander. To evaluate its effectiveness, the authors conducted a controlled experiment with a large realworld SPL with over 99 000 lines of code and 340 features. They used a within-subjects design with treatment colours and no colours. They compared correctness and response time of tasks for both treatments. For certain kinds of tasks, background colours improve program comprehension. Furthermore, the subjects generally favour background colours compared with no background colours. In addition, the subjects who worked with background colours had to use the search functions less frequently. The authors show that background colours can improve program comprehension in large SPLs. Based on these encouraging results, they continue their work on improving program comprehension in large SPLs.
机译:软件产品线(SPL)工程提供了一种实现可变软件的有效机制。但是,使用预处理器实现可变性(这在行业中很常见)受到了广泛的批评,因为它经常导致混淆的代码。事实证明,使用背景色突出显示带有预处理器语句的代码以支持可理解性是有效的,但是,对大型SPL的可伸缩性令人怀疑。作者的目的是为工业级SPL实施和评估可扩展使用的背景色。他们在名为FeatureCommander的工具中设计和实现了可伸缩的概念。为了评估其有效性,作者使用大型现实世界SPL进行了对照实验,该SPL具有超过99000行代码和340个功能。他们采用了主题内设计,并带有处理颜色而没有颜色。他们比较了两种治疗方法的正确性和任务的响应时间。对于某些类型的任务,背景色可提高程序理解力。此外,与没有背景色相比,受试者通常偏爱背景色。此外,使用背景色的对象必须较少使用搜索功能。作者表明,背景色可以提高大型SPL中的程序理解能力。基于这些令人鼓舞的结果,他们继续致力于提高大型SPL中的程序理解能力。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号