@inproceedings{8d1fc15c4cdd4f46b90c8c936547e8ab,
title = "Mining implicit design templates for actionable code reuse",
abstract = "In this paper, we propose an approach to detecting project-specific recurring designs in code base and abstracting them into design templates as reuse opportunities. The mined templates allow programmers to make further customization for generating new code. The generated code involves the code skeleton of recurring design as well as the semi-implemented code bodies annotated with comments to remind programmers of necessary modification. We implemented our approach as an Eclipse plugin called MICoDe. We evaluated our approach with a reuse simulation experiment and a user study involving 16 participants. The results of our simulation experiment on 10 open source Java projects show that, to create a new similar feature with a design template, (1) on average 69\% of the elements in the template can be reused and (2) on average 60\% code of the new feature can be adopted from the template. Our user study further shows that, compared to the participants adopting the copy-paste-modify strategy, the ones using MICoDe are more effective to understand a big design picture and more efficient to accomplish the code reuse task.",
author = "Yun Lin and Guozhu Meng and Yinxing Xue and Zhenchang Xing and Jun Sun and Xin Peng and Yang Liu and Wenyun Zhao and Jinsong Dong",
note = "Publisher Copyright: {\textcopyright} 2017 IEEE.; 32nd IEEE/ACM International Conference on Automated Software Engineering, ASE 2017 ; Conference date: 30-10-2017 Through 03-11-2017",
year = "2017",
month = nov,
day = "20",
doi = "10.1109/ASE.2017.8115652",
language = "English",
series = "ASE 2017 - Proceedings of the 32nd IEEE/ACM International Conference on Automated Software Engineering",
publisher = "Institute of Electrical and Electronics Engineers Inc.",
pages = "394--404",
editor = "Nguyen, \{Tien N.\} and Grigore Rosu and \{Di Penta\}, Massimiliano",
booktitle = "ASE 2017 - Proceedings of the 32nd IEEE/ACM International Conference on Automated Software Engineering",
address = "United States",
}