用于逆向工程 Eclipse 项目的 UML 工具

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5790508/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 20:09:05  来源:igfitidea点击:

UML tool for reverse engineering an eclipse project

eclipsereverse-engineeringuml

提问by Dimitri

I am currently working on a project in Eclipse but the problem is that this project is very big (a lot of codes, classes, packages, etc) and undocumented. Since, the project is written in Java, my idea was to make a reverse enineering of the project to see his architecture in UML. Do you know an eclipse plugin who can complete this task very easily? Thanks for your answer !!

我目前正在 Eclipse 中处理一个项目,但问题是这个项目非常大(很多代码、类、包等)并且没有记录。由于该项目是用 Java 编写的,我的想法是对项目进行反向工程,以在 UML 中查看他的架构。你知道一个可以很轻松地完成这个任务的eclipse插件吗?感谢您的回答 !!

采纳答案by Jordi Cabot

I think MoDiscois what you are looking for ( herefor a short intro)

我认为MoDisco就是你要找的(这里有一个简短的介绍)

回答by UML GURU

It seems that the question is dealing with Eclipse plugin therefore Modisco and StartUML are not a possible choice because they are either not a graphical class diagram viewwer or an Eclipse plugin.

问题似乎与 Eclipse 插件有关,因此 Modisco 和 StartUML 不是一个可能的选择,因为它们不是图形类图查看器或 Eclipse 插件。

The tools that I have evaluated and selected are:

我评估和选择的工具是:

Topcasedcan reverse a project and gives an UML view. The reverse is good even if not recursive. I mean that you can detect only object having their own information such as class, interface, package, method and attributes but you can not detect calls between classes because this require a recursive reverse.

Topcased可以反转项目并提供 UML 视图。即使不是递归的,反向也是好的。我的意思是您只能检测具有自己信息的对象,例如类、接口、包、方法和属性,但您无法检测类之间的调用,因为这需要递归反向。

eUMLwill give you a visual class diagrams and the possibility to navigate but no model only EMF tags inserted inside your own code. I like the visual representation of the class diagram but having EMF tags in my code is too intrusive !!

eUML将为您提供可视化的类图和导航的可能性,但没有模型,只有插入您自己的代码中的 EMF 标签。我喜欢类图的可视化表示,但是在我的代码中包含 EMF 标签太麻烦了!!

You can try RSAwhich is a pretty good reverse having a real UML model but you will also get EMF tag in your code

您可以尝试使用RSA,这是一个非常好的逆向,具有真正的 UML 模型,但您也会在代码中获得 EMF 标记

The best for me and with no doubt is EclipseUMLOmondo with no tag in the code and a high quality UML model but it is really too expensive !!

最适合我,毫无疑问是EclipseUMLOmondo与代码中没有标签和高品质的UML模型,但它确实是太贵了!

回答by Chris Dennett

I'd advise StarUMLor StavrUML, the unofficial fork. It reverse engineers code compliant with Java versions before 1.6 or something. Yes, the project was abandoned years ago, but the UML editor remains incredibly strong and powerful.

我建议StarUMLStavrUML,非官方的分支。它逆向工程代码符合 Java 1.6 之前的版本或其他版本。是的,该项目在几年前就被放弃了,但 UML 编辑器仍然非常强大和强大。

However, I'd avoid using reverse engineering a UML diagram. You'll probably get an unreadable mess out if it. Just get stuck in and make it manually :)

但是,我会避免使用逆向工程 UML 图。如果它,你可能会得到一个无法阅读的混乱。只是陷入困境并手动进行:)

回答by Tanparmaiel

I'm sure you can find a suitable tool for your needs if you check these.

如果您检查这些 ,我相信您可以找到适合您需求的工具。