跳到主要导航 跳到搜索 跳到主要内容

Suffix tree-based approach to detecting duplications in sequence diagrams

  • Peking University

科研成果: 期刊稿件文章同行评审

摘要

Models are core artefacts in software development and maintenance. Consequently, quality of models, especially maintainability and extensibility, becomes a big concern for most non-trivial applications. For some reasons, software models usually contain some duplications. These duplications had better be detected and removed because the duplications may reduce maintainability, extensibility and reusability of models. As an initial attempt to address the issue, the author propose an approach in this study to detecting duplications in sequence diagrams. With special preprocessing, the author convert 2-dimensional (2-D) sequence diagrams into an 1-D array. Then the author construct a suffix tree for the array. With the suffix tree, duplications are detected and reported. To ensure that every duplication detected with the suffix tree can be extracted as a separate reusable sequence diagram, the author revise the traditional construction algorithm of suffix trees by proposing a special algorithm to detect the longest common prefixes of suffixes. The author also probe approaches to removing duplications. The proposed approach has been implemented in DuplicationDetector. With the implementation, the author evaluated the proposed approach on six industrial applications. Evaluation results suggest that the approach is effective in detecting duplications in sequence diagrams. The main contribution of the study is an approach to detecting duplications in sequence diagrams, a prototype implementation and an initial evaluation.

源语言英语
页(从-至)385-397
页数13
期刊IET Software
5
4
DOI
出版状态已出版 - 8月 2011

指纹

探究 'Suffix tree-based approach to detecting duplications in sequence diagrams' 的科研主题。它们共同构成独一无二的指纹。

引用此