2019 · 11 citations · 6 references
ComputingComputer ScienceData StructuresDatabasesProgramming LanguagesAbstract Syntax TreesData IntegrationData-flow AnalysisAbstract Syntax Tree MergingData MergingMergeMerge Conflict DetectionMerge StrategiesMerging AlgorithmsObjective Function SpecificationTree Merging
Recently, structured merge has shown its advantage in improving the merge precision over conventional line-based, unstructured merge. A typical structured merge algorithm consists of matching and amalgamation on abstract syntax trees. Existing tree matching techniques aim to figure out optimal matches by maximizing the number of matched nodes. From real-world codebases, however, we find that many of the reported conflicts are unnecessary. We propose a new objective function for defining a proper tree matching, with which the overall conflicting rate can be greatly reduced. We conducted experiments on 3,687 merge scenarios extracted from 18 open-source projects. Results show significant merge precision enhancement of our approach.
6
Fine-grained and accurate source code differencing
Jean‐Rémy Falleri, Floréal Morandat, Xavier Blanc et al. · 2014 · 550 citations · Full text
A state-of-the-art survey on software merging
Tom Mens · IEEE Transactions on Software Engineering · 2002 · 529 citations
Structure-oriented merging of revisions of software documents
Bernhard Westfechtel · 1991 · 112 citations · Full text
Sven Apel, Jörg Liebig, Benjamin Brandl et al. · 2011 · 109 citations