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.

Conference Day
Sun 27 May

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

11:00 - 12:30
Clones, Code Smell, Refactoring and MaintenanceTechnical Research at J1 room
Chair(s): Hitesh SajnaniMicrosoft
11:00
10m
Short-paper
Towards Just-In-Time Refactoring Recommenders (ERA)ERA
Technical Research
Jevgenija PantiuchinaUniversità della Svizzera italiana, Gabriele BavotaUniversità della Svizzera italiana (USI), Michele TufanoCollege of William and Mary, Denys PoshyvanykWilliam and Mary
11:10
10m
Short-paper
Toward Refactoring Evaluation with Code NaturalnessERA
Technical Research
Pre-print
11:20
10m
Industry talk
How Slim Will My System Be? Estimating Refactored Code Size by Merging ClonesIndustry Track
Technical Research
Norihiro YoshidaNagoya University, Takuya IshizuOsaka University, Buford Edwards IiiOsaka University, Katsuro InoueOsaka University
Link to publication DOI
11:30
10m
Short-paper
RepliComment: Identifying Clones in Code CommentsERA
Technical Research
Arianna BlasiUniversità della Svizzera italiana (USI) and IMDEA Software Institute, Alessandra GorlaIMDEA Software Institute
11:40
10m
Short-paper
A Preliminary Study on Using Code Smells to Improve Bug LocalizationERA
Technical Research
Aoi TakahashiTokyo Institute of Technology, Natthawute Sae-LimTokyo Institute of Technology, Shinpei HayashiTokyo Institute of Technology, Motoshi SaekiTokyo Institute of Technology
DOI Pre-print
11:50
17m
Full-paper
Un-Break My Build: Assisting Developers with Build Repair HintsTechnical Research
Technical Research
Carmine VassalloUniversity of Zurich, Sebastian ProkschUniversity of Zurich, Timothy ZempUniversity of Zurich, Harald GallUniversity of Zurich
DOI Pre-print
12:07
17m
Full-paper
Aiding Comprehension of Unit Test Cases and Test Suites with Stereotype-based TaggingTechnical Research
Technical Research
Boyang Li, Christopher Vendome, Mario Linares-VásquezSystems and Computing Engineering Department , Universidad de los Andes , Bogotá, Colombia , Denys PoshyvanykWilliam and Mary