Impact of Change Granularity in Refactoring Detection
Detecting refactorings in commit history is essential to improve comprehension to code changes on code reviews, and to provide valuable information for empirical studies on software evolution. Techniques have been proposed to accurately detect refactorings on the granularity of a single commit. However, refactorings can be made over multiple commits because of its complexity or other real development problems, which cause detecting only on the granularity of a single commit not enough. We observe that some refactorings can only be detected in coarser granularity; i.e., changes among multiple commits. This type of refactoring is named coarse-grained refactoring in this paper. To have a better understanding of coarse-grained refactorings, we compared the detected refactorings in different granularity of commits from 19 open-source repositories. Results show that coarse-grained refactorings are common, and their appearance frequency increases with the granularity becoming coarser. In addition, we found that Move-related refactorings tended to be the most frequent coarse-grained refactoring. We also analyzed the cause of why coarse-grained refactorings happen. We suggest coarse-grained refactoring to be valued in refactoring research.
Tue 17 MayDisplayed time zone: Eastern Time (US & Canada) change
07:10 - 07:40 | Session 13: Smells, Patterns, and RefactoringEarly Research Achievements (ERA) at ICPC room Chair(s): Csaba Nagy Software Institute - USI, Lugano | ||
07:10 4mTalk | Impact of Change Granularity in Refactoring Detection Early Research Achievements (ERA) DOI Pre-print Media Attached | ||
07:14 4mTalk | On the Developers' Attitude Towards CRAN Checks Early Research Achievements (ERA) Pranjay Kumar RMIT University, Davin Ie RMIT University, Melina Vidoni Australian National University DOI Pre-print Media Attached | ||
07:18 4mTalk | Does Coding in Pythonic Zen Peak Performance? Preliminary Experiments of Nine Pythonic Idioms at Scale Early Research Achievements (ERA) Pattara Leelaprute Faculty of Engineering, Kasetsart University, Bodin Chinthanet Nara Institute of Science and Technology, Supatsara Wattanakriengkrai Nara Institute of Science and Technology, Raula Gaikovina Kula Nara Institute of Science and Technology, Pongchai Jaisri Faculty of Engineering, Kasetsart University, Takashi Ishio Nara Institute of Science and Technology Pre-print Media Attached | ||
07:22 4mTalk | Code Smells in Elixir: Early Results from a Grey Literature Review Early Research Achievements (ERA) Lucas Francisco da Matta Vegi Federal University of Minas Gerais (UFMG), Marco Tulio Valente Federal University of Minas Gerais, Brazil Pre-print Media Attached | ||
07:26 14mLive Q&A | Q&A-Paper Session 13 Early Research Achievements (ERA) |