概述/理解 Eclipse 中的架构代码
我有一个 Maven 项目导入到 Eclipse 中。我试图理解代码模式(架构)。最好的方法是什么?
- 会使用任何 UML Eclipse 插件来帮助解决这个问题吗?
- 将使用序列图,对此有帮助吗?
- 我应该使用什么插件?
请分享您的意见。
I have a maven project imported into Eclipse. I'm trying to understand the code pattern (architecture). What is the best way to do this?
- will use any UML Eclipse plugin help on this?
- will use sequence diagram, help on this?
- what plugins should I use?
Please share your opinion.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当我使用开源项目/代码库时,我会通过检查包名称和结构来获得高级视图并专注于核心代码/逻辑。然后,我通常会通过查看项目中包含的任何示例代码/文档来确定 API 的工作原理。如果我仍然需要更多帮助,我将绘制一些继承图,打印出我可能需要对其进行重大更改的有趣类,并尝试找到更多在其他地方使用的代码示例。
我有偏见,一直在使用我们最近推出的 Architexa Eclipse 插件来完成上述任务。我确信还有其他人可以做类似的事情。
When I am working with a open source project/codebase I get a high-level view and focus on the core code/logic by checking the package names and structure. I then typically determine how the API works by looking at any example code / documentation contained in the project. If I still need some more help I will draw up some inheritance diagrams, print out interesting classes that I may need to make significant changes to, and try to find more examples of the code being used elsewhere.
I am biased and have been using our recently launched Architexa Eclipse plugin to accomplish the above. I am sure there are others available that do something similar.
我想您会在此 SE-Radio 播客中找到一些指示: 第 148 集:Dave Thomas 的软件考古学。
当然,UML 可以提供帮助,但另一方面,它可能也没有什么帮助。对于逆向工程,Eclipse 中有 MoDisco 项目,它可能很有用。
I guess you will find some pointers in this SE-Radio podcast: Episode 148: Software Archaeology with Dave Thomas.
Of course, UML can help, but on the other side, it might not as well. For reverse engineering, there is the MoDisco project in Eclipse, which might be useful.