ICPC 2018
Sun 27 - Mon 28 May 2018 Gothenburg, Sweden
co-located with * ICSE 2018 *
Sun 27 May 2018 11:20 - 11:30 at J1 room - Clones, Code Smell, Refactoring and Maintenance Chair(s): Hitesh Sajnani

We have been doing code clone analysis with industry collaborators for a long time, and have been always asked a question, "OK, I understand my system contains a lot of code clones, but how slim will it be after merging redundant code clones?'' As a software system evolves for long period, it would increasingly contain many code clones due to quick bug fix and new feature addition. Industry collaborators would recognize decay of initial design simplicity, and try to evaluate current system from the view point of maintenance effort and cost. As one of resources for the evaluation, the estimated code size by merging code clone is very important for them. In this paper, we formulate this issue as ``slimming'' problem, and present three different slimming methods, Basic, Complete, and Heuristic Methods, each of which gives a lower bound, upper bound, and modest reduction rates, respectively. Application of these methods to OSS systems written in C/C++ showed that the reduction rate is at most 5.7% of the total size, and to a commercial COBOL system, it is at most 15.4%. For this approach, we have gotten initial but very positive feedback from industry collaborators.

Sun 27 May

icpc-2018-Technical-Research
11:00 - 12:30: Technical Research - Clones, Code Smell, Refactoring and Maintenance at J1 room
Chair(s): Hitesh SajnaniMicrosoft
icpc-2018-Technical-Research11:00 - 11:10
Short-paper
Jevgenija PantiuchinaUniversità della Svizzera italiana, Gabriele BavotaUniversità della Svizzera italiana (USI), Michele TufanoCollege of William and Mary, Denys PoshyvanykWilliam and Mary
icpc-2018-Technical-Research11:10 - 11:20
Short-paper
Pre-print
icpc-2018-Technical-Research11:20 - 11:30
Industry talk
Norihiro YoshidaNagoya University, Takuya IshizuOsaka University, Buford Edwards IiiOsaka University, Katsuro InoueOsaka University
Link to publication DOI
icpc-2018-Technical-Research11:30 - 11:40
Short-paper
Arianna BlasiUniversità della Svizzera italiana (USI) and IMDEA Software Institute, Alessandra GorlaIMDEA Software Institute
icpc-2018-Technical-Research11:40 - 11:50
Short-paper
Aoi TakahashiTokyo Institute of Technology, Natthawute Sae-LimTokyo Institute of Technology, Shinpei HayashiTokyo Institute of Technology, Motoshi SaekiTokyo Institute of Technology
DOI Pre-print
icpc-2018-Technical-Research11:50 - 12:07
Full-paper
Carmine VassalloUniversity of Zurich, Sebastian ProkschUniversity of Zurich, Timothy ZempUniversity of Zurich, Harald GallUniversity of Zurich
DOI Pre-print
icpc-2018-Technical-Research12:07 - 12:24
Full-paper
Boyang Li, Christopher Vendome, Mario Linares-VásquezSystems and Computing Engineering Department , Universidad de los Andes , Bogotá, Colombia , Denys PoshyvanykWilliam and Mary