关于映射未记录的 Java Eclipse 项目的建议
我在一家新公司开始工作,作为我职责的一部分,我对之前开发的 Java 项目进行了一些小改动。问题是它大多没有记录并且非常复杂。我所说的无文档是指没有注释、没有 Java 文档、没有文档指南,什么都没有。这是一个在 Eclipse 中开发并使用 Ant 构建的网站 Java 项目。我的问题是有哪些工具可以帮助我规划项目以更好地理解它。或者是否有关于最佳遵循步骤的建议。
感谢您抽出时间。
I have started at a new firm and as part of my duties am making small changes on a Java Project that was developed previously. The problem is that it is mostly undocumented and very complex. By undocumented I mean no comments, no Java doc, no documentation guide, nothing. It's a website Java project developed in Eclipse and built using Ant. My question is what tools are available to help me map out the project to better understand it. Or is there any advice on the best set of steps to follow.
Thank you for your time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我个人发现基于 UML 的工具在这种情况下不能很好地扩展,除了一些非常具体的情况,在这些情况下序列图可能会有很大帮助。
相反,我会参考以下书籍(在线提供)来了解解决该问题的一般方法:
http:// /scg.unibe.ch/download/oorp/
并尝试一些代码可视化研究工具来获得概述,例如:
http://www.inf.usi.ch/faculty/lanza/codecrawler.html
(很想发布更多链接,但由于 stackoverflow 的垃圾邮件预防机制而不能)
I personally found that UML-based tools do not scale well in such cases, except for some very specific cases, where sequence diagrams might help a lot.
Instead, I would refer to the following book (available online) for a general approach to the problem:
http://scg.unibe.ch/download/oorp/
And try out some research tools for code visualization to get an overview, for example:
http://www.inf.usi.ch/faculty/lanza/codecrawler.html
(would love to post more links, but can't due to stackoverflow's spam prevention mechanism)
研究可以为 java 创建 UML 图的逆向工程工具,例如 omondo。如果 ant 构建脚本也很复杂 - 我曾经使用 yEd 可视化一些复杂的 ant 构建脚本,这很有帮助。
Look into reverse engineering tools that can create UML diagrams for java, like omondo. If the ant build script is complex aswell - I once visualized some complex ant build script using yEd, that helped a lot.