• DocumentCode
    2041710
  • 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
  • fYear
    2005
  • fDate
    26-29 Sept. 2005
  • Firstpage
    197
  • Lastpage
    206
  • 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;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance, 2005. ICSM'05. Proceedings of the 21st IEEE International Conference on
  • ISSN
    1063-6773
  • Print_ISBN
    0-7695-2368-4
  • Type

    conf

  • DOI
    10.1109/ICSM.2005.6
  • Filename
    1510116