TY - GEN
T1 - Detecting duplications in sequence diagrams based on suffix trees
AU - Hui, Liu
AU - Zhiyi, Ma
AU - Lu, Zhang
AU - Weizhong, Shao
PY - 2006
Y1 - 2006
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=46149113708&partnerID=8YFLogxK
U2 - 10.1109/APSEC.2006.32
DO - 10.1109/APSEC.2006.32
M3 - Conference contribution
AN - SCOPUS:46149113708
SN - 0769526853
SN - 9780769526850
T3 - Proceedings - Asia-Pacific Software Engineering Conference, APSEC
SP - 269
EP - 276
BT - Proceedings - APSEC 2006
T2 - APSEC 2006: Asia-Pacific Software Engineering Conference
Y2 - 6 December 2006 through 8 December 2006
ER -