Untangling Fine-Grained Code Changes

Martín Dias 1 Alberto Bacchelli 2 Georgios Gousios 3 Damien Cassou 1 Stéphane Ducasse 1
1 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189
2 SORCERERS
SERG - Software Engineering Research Group [Delft]
3 Digital Security Group [Nijmegen]
ICIS - Institute for Computing and Information Sciences [Nijmegen]
Abstract : After working for some time, developers commit their code changes to a version control system. When doing so, they often bundle unrelated changes (e.g., bug fix and refactoring) in a single commit, thus creating a so-called tangled commit. Sharing tangled commits is problematic because it makes review, reversion, and integration of these commits harder and historical analyses of the project less reliable. Researchers have worked at untangling existing commits, i.e., finding which part of a commit relates to which task. In this paper, we contribute to this line of work in two ways: (1) A publicly available dataset of untangled code changes, created with the help of two developers who accurately split their code changes into self contained tasks over a period of four months; (2) a novel approach, EpiceaUntangler, to help developers share untangled commits (aka. atomic commits) by using fine-grained code change information. EpiceaUntangler is based and tested on the publicly available dataset, and further evaluated by deploying it to 7 developers, who used it for 2 weeks. We recorded a median success rate of 91% and average one of 75%, in automatically creating clusters of untangled fine-grained code changes.
Type de document :
Communication dans un congrès
SANER: International Conference on Software Analysis, Evolution, and Reengineering, Mar 2015, Montréal, Canada. SANER, 2015, 〈http://saner.soccerlab.polymtl.ca〉
Liste complète des métadonnées

https://hal.inria.fr/hal-01116225
Contributeur : Lse Lse <>
Soumis le : vendredi 20 février 2015 - 10:47:09
Dernière modification le : lundi 18 janvier 2016 - 15:43:01
Document(s) archivé(s) le : jeudi 28 mai 2015 - 11:55:48

Fichiers

main.pdf
Fichiers produits par l'(les) auteur(s)

Licence


Copyright (Tous droits réservés)

Identifiants

  • HAL Id : hal-01116225, version 1
  • ARXIV : 1502.06757

Citation

Martín Dias, Alberto Bacchelli, Georgios Gousios, Damien Cassou, Stéphane Ducasse. Untangling Fine-Grained Code Changes. SANER: International Conference on Software Analysis, Evolution, and Reengineering, Mar 2015, Montréal, Canada. SANER, 2015, 〈http://saner.soccerlab.polymtl.ca〉. 〈hal-01116225〉

Partager

Métriques

Consultations de
la notice

268

Téléchargements du document

94