开发者

Reverse Engineering a delphi 2010 code - UML tool

开发者 https://www.devze.com 2023-01-31 10:25 出处:网络
I am looking for a software that can reverse engineering a delphi 2010 project and create a class diagram.

I am looking for a software that can reverse engineering a delphi 2010 project and create a class diagram. I've tried some software out (ModelMaker, Enterprise Architect) but they don't work as I expect. Enterprise Architect is not able to reverse engineering a Delphi 2010 code, it does not understand, for instance, generics in the code. http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1292432202. ModelMaker is too complex, I really don't like the way it was built (the interface is terrible IMHO). So you guys have suggestions about a good UML tool that works with Delphi 2010? It does not matter if it is free or paid. I just want a good UML 开发者_Go百科tool.


For completeness sake:

You can do round trip-engineering with Rational Rose. You just need to download an extra piece of software: http://cc.codegear.com/partners/delphi7disk2/ensemble_systems/rose_delphi_link/index.html

It's old though, and probably doesn't support the new language features. I've played with it a couple of years ago, and then decided this whole round-trip engineering is just too distracting.

...

At some point we all come to the same conclusion: UML's usefulness is highly overrated.

Especially when doing round-trip stuff, your level of detail is mostly the problem. Either there's too much information, making diagrams unreadable, or they become more high-level, and then you miss out on crucial details.


The Delphi built-in class diagrams can be used for reverse engineering your code.


There used to be a project called StarUML that was a Delphi add-in that was far more advanced than the built in UML support. Unfortunately (for Delphi users anyway) the project changed directions and started a complete redesign written in Java. The original Delphi source is available as a download but hasn't been worked on since 2006 so it won't include support for generics, anonymous methods, helper classes, etc.

Other than the choices you've already mentioned this was the only other round-trip engineering project for Delphi that I'm aware of.


WhiteStarUML (old name was StarUML) https://sourceforge.net/projects/whitestaruml/ But it has issues on High DPI.

But better to use built in UML methods: https://www.youtube.com/watch?v=LTpAAz3WkZk

0

精彩评论

暂无评论...
验证码 换一张
取 消