DocumentCode
2110515
Title
Detecting Duplications in Sequence Diagrams Based on Suffix Trees
Author
Liu, Hui ; Ma, Zhiyi ; Zhang, Lu ; Shao, Weizhong
Author_Institution
Sch. of Electron. Eng. & Comput. Sci., Peking Univ., Beijing
fYear
2006
fDate
6-8 Dec. 2006
Firstpage
269
Lastpage
276
Abstract
With the popularity of UML and MDA, models are replacing source code as core artifacts of software development and maintenance. But duplications in models reduce models´ maintainability and reusability. To address the problem, we should detect duplications first. As an initial step to address the problem, we propose an approach to detect duplications in sequence diagrams. With special preprocessing, we convert 2-dimensional sequence diagrams into a 1-dimensional array. Then we construct a suffix tree of the array. We revise the traditional construction algorithm of suffix trees by proposing a special algorithm to detect common prefixes of suffixes. The algorithm ensures that every duplication detected with the suffix tree can be extracted into a separate reusable sequence diagram. With the suffix tree, duplications are found as refactoring candidates. With tool support, the proposed approach has been applied to real industrial projects, and the evaluation results suggest that the approach is effective.
Keywords
Unified Modeling Language; software architecture; software maintenance; MDA; UML; duplications; sequence diagrams; software development; software maintenance; source code; suffix trees; Asia; Collaboration; Computer architecture; Computer industry; Computer science; Context modeling; Maintenance engineering; Programming; Software maintenance; Unified modeling language;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference, 2006. APSEC 2006. 13th Asia Pacific
Conference_Location
Kanpur
ISSN
1530-1362
Print_ISBN
0-7695-2685-3
Type
conf
DOI
10.1109/APSEC.2006.32
Filename
4137427
Link To Document