Title :
A category-theoretic approach to syntactic software merging
Author :
Niu, Nan ; Easterbrook, Steve ; Sabetzadeh, Mehrdad
Author_Institution :
Dept. of Comput. Sci., Toronto Univ., Ont., Canada
Abstract :
Software merging is a common and essential activity during the lifespan of large-scale software systems. Traditional textual merge techniques are inadequate for detecting syntactic merge conflicts. In this paper, we propose a domain-independent approach for syntactic software merging that exploits the graph-based structure(s) of programs. We use morphisms between fuzzy graphs to capture the relationships between the structural elements of the programs to be merged, and apply a truth ordering lattice to express inconsistencies and evolutionary properties as we compute the merge. We demonstrate the approach with a three-way consolidation merge in a commercial software system; in particular, we show how analyzing merged call structures can help developers gain a better understanding and control of software evolution.
Keywords :
category theory; configuration management; fuzzy set theory; graph theory; software maintenance; category-theoretic approach; domain-independent approach; fuzzy graph; graph-based structure; large-scale software system; syntactic software merging; textual merge techniques; Application software; Computer science; Control systems; Fuzzy sets; Large-scale systems; Lattices; Merging; Reverse engineering; Software maintenance; Software systems;
Conference_Titel :
Software Maintenance, 2005. ICSM'05. Proceedings of the 21st IEEE International Conference on
Print_ISBN :
0-7695-2368-4
DOI :
10.1109/ICSM.2005.6