...
首页> 外文期刊>Software, IET >Suffix tree-based approach to detecting duplications in sequence diagrams
【24h】

Suffix tree-based approach to detecting duplications in sequence diagrams

机译:基于后缀树的方法来检测序列图中的重复项

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

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.
机译:模型是软件开发和维护中的核心人工制品。因此,模型的质量,尤其是可维护性和可扩展性,成为大多数非平凡应用程序的主要关注点。由于某些原因,软件模型通常包含一些重复项。最好检测并删除这些重复项,因为这些重复项可能会降低模型的可维护性,可扩展性和可重用性。作为解决该问题的最初尝试,作者提出了本研究中一种检测序列图中重复项的方法。通过特殊的预处理,作者将二维(2-D)序列图转换为一维数组。然后作者为该数组构造一个后缀树。使用后缀树,可以检测并报告重复项。为了确保将后缀树检测到的每个重复项都提取为单独的可重用序列图,作者通过提出一种特殊的算法来检测后缀树的最长公共前缀,对后缀树的传统构造算法进行了修改。作者还探讨了消除重复的方法。提议的方法已在DuplicationDetector中实现。通过实施,作者评估了在六个工业应用中提出的方法。评估结果表明,该方法可有效检测序列图中的重复项。这项研究的主要贡献是一种检测序列图中重复项的方法,原型实现和初步评估。

著录项

  • 来源
    《Software, IET》 |2011年第4期|p.385-397|共13页
  • 作者

    Liu H.; Niu Z.; Ma Z.; Shao W.;

  • 作者单位

    Sch. of Comput. Sci. & Technol., Beijing Inst. of Technol., Beijing, China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号