0

I'm looking for a reverse-engineering UML free tool for c++ code. The old software i'm working on has almost no documentation, and i must add an evolution :s So an UML diagram would help me a lot.

I downloaded StarUML, but when i do the reverse engineering, i have an issue, it doesn't display all the classes on the diagram, as if it was too small. I didn't find the solution so i wanted to download another free tool. But doesn't find one.

Thanks for the answers

Adrien

Adrien
  • 21
  • 1
  • 6

2 Answers2

1

You could always try Doxygen. It won't produce the most beautiful output of all times, but you can force it to generate class diagrams for you.

arne
  • 4,514
  • 1
  • 28
  • 47
  • force it ? what do you mean ? – Adrien Jul 26 '13 at 14:03
  • Doxygen doesn't extract classes if they're not documented, but there are two parameters, `EXTRACT_ALL` and `HIDE_UNDOC` (IIRC) that need to be set to true and false resp. They're both in the same section of the automatically generated config file, so it should be easy to find them. – arne Jul 26 '13 at 14:04
  • Doxygen + GraphVis is the way to go. Set up a Doxygen project, under Diagrams select "Use dot tool from GraphVis package". The class diagrams are actually really good, and are clickable. An example of one I generated: http://tinyurl.com/qzz7dff – Steztric Jul 26 '13 at 15:33
1

One of the best tools I've ever used for reverse engineering to create UML diagrams is Visual Paradigm. I've never used it for C++ but for Java and C#.

Try to take a look: http://www.visual-paradigm.com/support/documents/vpumluserguide/276/277/7253_reverseengin.html

ᗩИᎠЯƎᗩ
  • 2,122
  • 5
  • 29
  • 41
  • Sorry I didn't notice you're asking for a free tool and I talked about it because it's working really great. During the trial period you can make everything and export/print but with their logo printed on the pages. – ᗩИᎠЯƎᗩ Jul 26 '13 at 13:26
  • Well, maybe i'll talk about this tool to my boss so we'll buy it. :) i'll have a free trial first. But today he said "take a free tool" – Adrien Jul 26 '13 at 14:04
  • That's typical ;) Let me know your impressions. – ᗩИᎠЯƎᗩ Jul 26 '13 at 14:15
  • My first impression is when i run instant reverse on my project folder that contains all .h files, i get a buffer overflow :-) – Adrien Jul 26 '13 at 15:25
  • Yeah. And it barfs on namespaces. Seriously? Can not recommend for this purpose. – Bim Jul 11 '19 at 10:36