当前位置: X-MOL 学术arXiv.cs.SE › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Classification of Reverse-Engineered Class Diagram and Forward-Engineered Class Diagram using Machine Learning
arXiv - CS - Software Engineering Pub Date : 2020-11-14 , DOI: arxiv-2011.07313
Kaushil Mangaroliya, Het Patel

UML Class diagram is very important to visualize the whole software we are working on and helps understand the whole system in the easiest way possible by showing the system classes, its attributes, methods, and relations with other objects. In the real world, there are two types of Class diagram engineers work with namely 1) Forward Engineered Class Diagram (FwCD) which are hand-made as part of the forward-looking development process, and 2). Reverse Engineered Class Diagram (RECD) which are those diagrams that are reverse engineered from the source code. In the software industry while working with new open software projects it is important to know which type of class diagram it is. Which UML diagram was used in a particular project is an important factor to be known? To solve this problem, we propose to build a classifier that can classify a UML diagram into FwCD or RECD. We propose to solve this problem by using a supervised Machine Learning technique. The approach in this involves analyzing the features that are useful in classifying class diagrams. Different Machine Learning models are used in this process and the Random Forest algorithm has proved to be the best out of all. Performance testing was done on 999 Class diagrams.

中文翻译:

使用机器学习对逆向工程类图和正向工程类图进行分类

UML 类图对于可视化我们正在处理的整个软件非常重要,并通过显示系统类、其属性、方法以及与其他对象的关系,以最简单的方式帮助理解整个系统。在现实世界中,有两种类型的类图工程师使用,即 1) 作为前瞻性开发过程的一部分手工制作的前向工程类图 (FwCD),以及 2)。逆向工程类图 (RECD),即从源代码逆向工程的那些图。在软件行业,在处理新的开放软件项目时,重要的是要知道它是哪种类型的类图。在特定项目中使用的哪个 UML 图是需要了解的重要因素?为了解决这个问题,我们建议构建一个分类器,可以将 UML 图分类为 FwCD 或 RECD。我们建议通过使用监督机器学习技术来解决这个问题。这种方法涉及分析对分类类图有用的特征。在这个过程中使用了不同的机器学习模型,随机森林算法已被证明是最好的。性能测试是在 999 个类图上完成的。
更新日期:2020-11-17
down
wechat
bug