计算机科学
人工智能
统一建模语言
相似性(几何)
深度学习
机器学习
数据挖掘
自然语言处理
程序设计语言
图像(数学)
软件
作者
Shizhe Song,Ye Wang,Xiaoyang Wang,Chengyi Lin,Kun Hu
标识
DOI:10.1016/j.eswa.2024.123927
摘要
Unified Modeling Language (UML) models are main artifacts of software applications and valuable assets of software projects. The similarity calculation of UML models is an effective way to model reuse, model validation, model retrieval and pattern detection, which can help developers reduce development cost. Existing studies mainly focus on UML design models such as class diagrams and object diagrams. Yet, there is little research on calculating similarity for use case models despite their importance for software requirements reuse and validation. Thus, this paper proposes a similarity calculation approach for UML use case models. This approach first transforms the use case models into use case graphs and then adopts the deep learning technique – Similarity Graph Neural Network (SimGNN) to calculate the structural similarity between use case graphs. Then it calculates the semantic similarity of use case models with Term Frequency-Inverse Document Frequency (TF-IDF) and Cosine similarity. Finally it syntheses the results of semantic similarity and structural similarity of use case graphs. The effectiveness and efficiency of this approach was evaluated by comparing to two other approaches: (1) Cosine similarity+TF-IDF and (2) Cosine similarity+edit distance. The results showed that the our approach has better performance in terms of both effectiveness and efficiency.
科研通智能强力驱动
Strongly Powered by AbleSci AI