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

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 Sajnani Microsoft
11:00
10m
Short-paper
Towards Just-In-Time Refactoring Recommenders (ERA)ERA
Technical Research
Jevgenija Pantiuchina Università della Svizzera italiana, Gabriele Bavota Università della Svizzera italiana (USI), Michele Tufano College of William and Mary, Denys Poshyvanyk William 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 Yoshida Nagoya University, Takuya Ishizu Osaka University, Buford Edwards Iii Osaka University, Katsuro Inoue Osaka University
Link to publication DOI
11:30
10m
Short-paper
RepliComment: Identifying Clones in Code CommentsERA
Technical Research
Arianna Blasi Università della Svizzera italiana (USI) and IMDEA Software Institute, Alessandra Gorla IMDEA Software Institute
11:40
10m
Short-paper
A Preliminary Study on Using Code Smells to Improve Bug LocalizationERA
Technical Research
Aoi Takahashi Tokyo Institute of Technology, Natthawute Sae-Lim Tokyo Institute of Technology, Shinpei Hayashi Tokyo Institute of Technology, Motoshi Saeki Tokyo 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 Vassallo University of Zurich, Sebastian Proksch University of Zurich, Timothy Zemp University of Zurich, Harald Gall University 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ásquez Systems and Computing Engineering Department , Universidad de los Andes , Bogotá, Colombia , Denys Poshyvanyk William and Mary