Logo des Repositoriums
 

Generating Accurate and Compact Edit Scripts using Tree Differencing

dc.contributor.authorFrick, Veit
dc.contributor.authorGrassauer, Thomas
dc.contributor.authorBeck, Fabian
dc.contributor.authorPinzger, Martin
dc.contributor.editorFelderer, Michael
dc.contributor.editorHasselbring, Wilhelm
dc.contributor.editorRabiser, Rick
dc.contributor.editorJung, Reiner
dc.date.accessioned2020-02-03T13:03:27Z
dc.date.available2020-02-03T13:03:27Z
dc.date.issued2020
dc.description.abstractFor analyzing changes in source code, edit scripts are used to describe the differences between two versions of a file. These scripts consist of a list of actions that, applied to the source file, result in the new version of the file. In contrast to line-based source code differencing, tree-based approaches such as GumTree, MTDIFF, or ChangeDistiller extract changes by comparing the abstract syntax trees (AST) of two versions of a source file. One benefit of tree-based approaches is their ability to capture moved (sub)trees in the AST. Our approach, the Iterative Java Matcher (IJM), builds upon GumTree and aims at generating more accurate and compact edit scripts that capture the developer's intent. This is achieved by improving the quality of the generated move and update actions, which are the main source of inaccurate actions generated by previous approaches. To evaluate our approach, we conducted a study with 11 external experts and manually analyzed the accuracy of 2400 randomly selected edit actions. Comparing IJM to GumTree and MTDIFF, the results show that IJM provides better accuracy for move and update actions and is more beneficial to understanding the changes.en
dc.identifier.doi10.18420/SE2020_24
dc.identifier.isbn978-3-88579-694-7
dc.identifier.pissn1617-5468
dc.identifier.urihttps://dl.gi.de/handle/20.500.12116/31701
dc.language.isoen
dc.publisherGesellschaft für Informatik e.V.
dc.relation.ispartofSoftware Engineering 2020
dc.relation.ispartofseriesLecture Notes in Informatics (LNI) - Proceedings, Volume P-300
dc.subjectChange Extraction
dc.subjectTree Differencing
dc.subjectAbstract Syntax Trees
dc.subjectSoftware Evolution
dc.titleGenerating Accurate and Compact Edit Scripts using Tree Differencingen
dc.typeText/Conference Paper
gi.citation.endPage
gi.citation.publisherPlaceBonn
gi.citation.startPage85
gi.conference.date24.-28. Feburar 2020
gi.conference.locationInnsbruck, Austria
gi.conference.sessiontitleWartung und Evolution 1

Dateien

Originalbündel
1 - 1 von 1
Lade...
Vorschaubild
Name:
B7-01.pdf
Größe:
58.84 KB
Format:
Adobe Portable Document Format