arrow
返回

Automatically propagating changes from reference implementations to code generation templates

delete2015-11-01
delete10
PRE
AI
M
Marcos Antonio Possatto
D
Daniel Lucrédio *
DOI:10.1016/j.infsof.2015.06.009delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Context: Code generators can automatically perform some tedious and error-prone implementation tasks, increasing productivity and quality in the software development process. Most code generators are based on templates, which are fundamentally composed of text expansion statements. To build templates, the code of an existing, tested and validated implementation may serve as reference, in a process known as templatization. With the dynamics of software evolution/maintenance and the need for performing changes in the code generation templates, there is a loss of synchronism between the templates and this reference code. Additional effort is required to keep them synchronized. Objective: This paper proposes automation as a way to reduce the extra effort needed to keep templates and reference code synchronized. Method: A mechanism was developed to semi-automatically detect and propagate changes from reference code to templates, keeping them synchronized with less effort. The mechanism was also submitted to an empirical evaluation to analyze its effects in terms of effort reduction during maintenance/evolution templatization. Results: It was observed that the developed mechanism can lead to a 50% reduction in the effort needed to perform maintenance/evolution templatization, when compared to a manual approach. It was also observed that this effect depends on the nature of the evolution/maintenance task, since for one of the tasks there was no observable advantage in using the mechanism. However, further studies are needed to better characterize these tasks. Conclusion: Although there is still room for improvement, the results indicate that automation can be used to reduce effort and cost in the maintenance and evolution of a template-based code generation infrastructure. (C) 2015 Elsevier B.V. All rights reserved.
Keyword:
Template-based code generation
Reference implementation
Code migration
Templatization
Round-trip engineering
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Template-based AADL automatic code generation
err2019-06-18
err13
PREAI
errHu, Kai; Duan, Zhangbo; Wang, Jiye; Ga, Lingchao; Shang, Lihong
err分享
err收藏
err分享
err收藏
API usage templates via structural generalization
err2024-04-01
err0
errOAAI
errMahmoud, May; Walker, Robert J.; Denzinger, Joerg
err分享
err收藏
Automatic Generation of High-Performance FFT Kernels on Arm and X86 CPUs
err2020-08-01
err13
errOAAI
errLi, Zhihao; Jia, Haipeng; Zhang, Yunquan; Chen, Tun; Yuan, Liang; Vuduc, Richard
err分享
err收藏
Mode-Dependent Templates and Scan Order for H.264/AVC-Based Intra Lossless Coding
err2012-09-01
err7
PREAI
errGu, Zhouye; Lin, Weisi; Lee, Bu-Sung; Lau, Chiew Tong; Sun, Ming-Ting
err分享
err收藏

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
9.5K

机构

U
Universidade Federal de Sao Carlos
学者数:
392
论文数: 145
被引数: 3.8K
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏