如何在 Eclipse 中从 java 源代码创建流程图

发布于 2024-10-06 01:54:50 字数 54 浏览 1 评论 0原文

我想从我的 java 源代码创建流程图或序列图。
有没有任何插件可以帮助我做到这一点?

I would like to create the flowchart or sequence diagram from my java source code.
Is there any plug-in which can help me do that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

魂牵梦绕锁你心扉 2024-10-13 01:54:51

ObjectAid 是一个免费的 UML 工具,可以创建序列图。另一个从现有代码创建序列图的商业工具是 Architexa。我在日常工作中经常使用 Architexa。

ObjectAid is a free UML tool which can creates sequence diagrams. Another commercial tool to create sequence diagrams from existing code is Architexa. I use Architexa very often at my daily work.

木槿暧夏七纪年 2024-10-13 01:54:51

我们的工具 Code Rocket for Eclipse 可以从 Java(以及 C/C++ 代码)生成伪代码和流程图)。可以编辑设计视图,并将任何更改转发到代码中。它不是免费工具,但有 30 天免费试用期。而且它仅适用于 Eclipse 32 位。

Our tool, Code Rocket for Eclipse can produce both pseudocode and flowcharts from Java (and C/C++ code). The design views can be edited and any changes forward engineered into the code. It is not a free tool, but there is a free 30-day trial. Also it is only for Eclipse 32-bit.

黄昏下泛黄的笔记 2024-10-13 01:54:51

这篇文章是为了流程图吗?
你的意思是序列图还是类图
eUML 是创建类图或序列图的好工具
您可以在 http://www.soyatec.com/main.php 找到它

Is this post meant for flow chart?
Do You mean Sequence Diagram or Class Diagram
eUML is a good tool to create Class Diagram or Sequence Diagram
You can find it at http://www.soyatec.com/main.php

残龙傲雪 2024-10-13 01:54:51

我不确定是否有一个插件可以做到这一点,但肯定有一些技术可以做到这一点。如果没有可用的插件,理论上可以遵循此类技术的方法来构建一个。我想到的一种这样的技术包含在论文逆向工程序列图的对象命名分析中 作者:Atanas Rountev 和 Beth Harkness Connell。

摘要如下:

UML 序列图通常用于表示软件系统中的对象交互。这项工作考虑从现有代码中提取 UML 序列图以用于软件理解和测试的问题。这种逆向工程的静态分析需要将交互对象从代码映射到序列图对象。我们提出了一种过程间数据流分析算法,该算法可以精确确定哪些对象是某些消息的接收者,并分配适当的图表对象来表示它们。我们的实验表明,大多数消息接收者可以被准确地确定,从而为逆向工程序列图提供高度精确的对象命名。

I am not sure if there is a plugin for this but there are certainly techniques for doing this. If there is no plugin available, theoretically, one could follow the approach of such techniques to build one. One such technique that comes to mind is contained in the paper Object naming analysis for reverse-engineered sequence diagrams by Atanas Rountev and Beth Harkness Connell.

Here's the abstract:

UML sequence diagrams are commonly used to represent object interactions in software systems. This work considers the problem of extracting UML sequence diagrams from existing code for the purposes of software understanding and testing. A static analysis for such reverse engineering needs to map the interacting objects from the code to sequence diagram objects. We propose an interprocedural dataflow analysis algorithm that determines precisely which objects are the receivers of certain messages, and assigns the appropriate diagram objects to represent them. Our experiments indicate that the majority of message receivers can be determined exactly, resulting in highly-precise object naming for reverse-engineered sequence diagrams.

紧拥背影 2024-10-13 01:54:51

我找到了这个 Eclipse 插件 Flowchart4j V 2.0.0
http://www.codeswat .com/
您可以将其用于流程图序列图并将其导出到MS Visio< /em>
它只有一个缺点。你必须为此付出代价。

I found this Eclipse plugin Flowchart4j V 2.0.0 et
http://www.codeswat.com/
You can use it for flowchart or sequence diagram and export it to MS Visio.
It has only one disadvantage. You have to pay for it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文