Fine-grained and accurate source code differencing
Université de Bordeaux · Laboratoire Bordelais de Recherche en Informatique · +2 more institutions
Abstract
At the heart of software evolution is a sequence of edit actions, called an edit script, made to a source code file. Since software systems are stored version by version, the edit script has to be computed from these versions, which is known as a complex task. Existing approaches usually compute edit scripts at the text granularity with only add line and delete line actions. However, inferring syntactic changes from such an edit script is hard. Since moving code is a frequent action performed when editing code, it should also be taken into account. In this paper, we tackle these issues by introducing an algorithm computing edit scripts at the abstract syntax tree granularity including move actions. Our…
Citation impact
- FWCI
- 43.36
- Percentile
- 100%
- References
- 35
Authors
5- JFJean‐Rémy FalleriCorresponding
Université de Bordeaux, Laboratoire Bordelais de Recherche en Informatique
- FMFloréal Morandat
Université de Bordeaux, Laboratoire Bordelais de Recherche en Informatique
- XBXavier Blanc
Laboratoire Bordelais de Recherche en Informatique, Université de Bordeaux
- MMMatías Martínez
Institut national de recherche en informatique et en automatique, Université de Lille
- MMMartin Monperrus
Institut national de recherche en informatique et en automatique, Université de Lille
Topics & keywords
- Computer science
- Scripting language
- Edit distance
- Programming language
- Granularity
- Source code
- Syntax
- Abstract syntax tree