arrow
Return

Querying distilled code changes to extract executable transformations

delete2018-08-30
delete2
delete
OA
AI
R
Reinout Stevens
T
Tim Molderez *
C
Coen De Roover
DOI:10.1007/s10664-018-9644-3delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Change distilling algorithms compute a sequence of fine-grained changes that, when executed in order, transform a given source AST into a given target AST. The resulting change sequences are used in the field of mining software repositories to study source code evolution. Unfortunately, detecting and specifying source code evolutions in such a change sequence is cumbersome. We therefore introduce a tool-supported approach that identifies minimal executable subsequences in a sequence of distilled changes that implement a particular evolution pattern, specified in terms of intermediate states of the AST that undergoes each change. This enables users to describe the effect of multiple changes, irrespective of their execution order, while ensuring that different change sequences that implement the same code evolution are recalled. Correspondingly, our evaluation is two-fold. We show that our approach is able to recall different implementation variants of the same source code evolution in histories of different software projects. We also evaluate the expressiveness and ease-of-use of our approach in a user study.
Keywords:
Change distilling
Change querying
Logic meta-programming
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Empirical Software Engineering cover
Empirical Software Engineering
IF:
3.6
Papers:
2.0K
Citations:
5.3K

Organization

V
Vrije Universiteit Brussel
Scholars:
1.4W
Papers: 1.3W
Citations: 129
Cited Papers

Cited Papers

How We Refactor, and How We Know It
err2012-01-01
err327
PREAI
errMurphy-Hill, Emerson; Parnin, Chris; Black, Andrew P.
errShare
errSave
EFFECTS OF CLO2 FUMIGATION ON POSTHARVEST FUNGI AND DISEASE DEVELOPMENT OF LONGAN FRUIT
err2015-06-01
err0
PREAI
errA. Chumyam; D. Kunthawun; B. Bussaban; J. Uthaibutra; K. Saengnil
errShare
errSave
Steroids and Sepsis
err2022-01-01
err0
errOAAI
errBrian Myer; David J. Dries
errShare
errSave
errShare
errSave
Change distilling:: Tree differencing for fine-grained source code change extraction
err2007-11-01
err434
PREAI
errFluri, Beat; Wuersch, Michael; Pinzger, Martin; Gall, Harald C.
errShare
errSave
researcher View more