We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(8)
我有偏见,但您还应该查看 Architexa 的代码理解工具。它将为您生成整个代码库的分层图。您可以为单个包或类创建类图。
I'm biased but you should also check out the Code Understanding Tool from Architexa. It will generate a layered diagram for you of your whole code base. You can create class diagrams for individual packages or classes.
不确定 Eclipse 或其插件,但您肯定可以在 Netbeans 中做到这一点。 方法如下。
Netbeans UML 插件 的官方页面。
Not sure about Eclipse or its plug-ins, but you can surely do it in Netbeans. Here is how.
Official page of Netbeans UML Plugin.
我见过的最好的逆向工程是 EclipseUML Omondo。
您可以使用 Eclipse 3.3 并在 30 天内测试 EclipseUML 构建:
请参阅下载页面:http://www.ejb3.org/download_studio_eclipse_3.3.html
这是足够的时间来从现有代码创建类图和序列图。
The best reverse engineering that I have ever seen is EclipseUML Omondo.
You can use the Eclipse 3.3 and test during 30 days the EclipseUML build:
See dowload page at: http://www.ejb3.org/download_studio_eclipse_3.3.html
This is Plenty of time enough to create class and sequence diagrams from existing code.
请参阅这篇文章: http://java.dzone.com/articles/reverse -engineer-source-code-u
我认为它准确地描述了您需要的内容。
See this article: http://java.dzone.com/articles/reverse-engineer-source-code-u
I think it describes exactly what you need.
尝试 MoDisco Eclipse 插件
Try the MoDisco Eclipse plugin
您可以尝试 Sparx EA 工具:http://www.sparxsystems.com.au/
但是如果有包中的类太多,您可能会得到非常“丑陋”的类图
You can try Sparx EA tool: http://www.sparxsystems.com.au/
But if there is too many classses in a package you may get very "ugly" class diagram
您可以使用 UMLgraph: http://www.umlgraph.org/
它为 graphviz 创建输出,该输出将布局不同的阶级。
它被编写为 javadoc 的插件 (doclet)。
You can use UMLgraph: http://www.umlgraph.org/
It creates output for graphviz, which will layout the different clases.
It is written as a plugin (doclet) for javadoc.
您可以尝试tags2uml,它接受ctags生成的标签文件,并生成一个DOT文件,该文件可以由GraphViz转换为UML类图: https://github.com/ruben2020/tags2uml
You can try tags2uml, which takes in a tags file produced by ctags, and produces a DOT file which can be transformed by GraphViz into a UML class diagram: https://github.com/ruben2020/tags2uml