Automatically Extracting Instances of Code Change Patterns with AST Analysis

Abstract : A code change pattern represents a kind of recurrent modification in software. For instance, a known code change pattern consists of the change of the conditional expression of an if statement. Previous work has identified different change patterns. Complementary to the identification and definition of change patterns, the automatic extraction of pattern instances is essential to measure their empirical importance. For example, it enables one to count and compare the number of conditional expression changes in the history of different projects. In this paper we present a novel approach for search patterns instances from software history. Our technique is based on the analysis of Abstract Syntax Trees (AST) files within a given commit. We validate our approach by counting instances of 18 change patterns in 6 open-source Java projects.
Type de document :
Communication dans un congrès
ICSM - 29th IEEE International Conference on Software Maintenance, Sep 2013, Eindhoven, Netherlands. pp.388-391, 2013, 〈10.1109/ICSM.2013.54〉
Liste complète des métadonnées

Littérature citée [3 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-00861883
Contributeur : Matias Martinez <>
Soumis le : vendredi 13 septembre 2013 - 17:51:31
Dernière modification le : jeudi 11 janvier 2018 - 06:22:13
Document(s) archivé(s) le : jeudi 6 avril 2017 - 20:09:44

Identifiants

Collections

Citation

Matias Martinez, Laurence Duchien, Martin Monperrus. Automatically Extracting Instances of Code Change Patterns with AST Analysis. ICSM - 29th IEEE International Conference on Software Maintenance, Sep 2013, Eindhoven, Netherlands. pp.388-391, 2013, 〈10.1109/ICSM.2013.54〉. 〈hal-00861883〉

Partager

Métriques

Consultations de la notice

527

Téléchargements de fichiers

472