Sequence Diagram Reverse Engineering

前端 未结 13 2023
春和景丽
春和景丽 2020-12-12 18:36

I\'m looking for a tool that will reverse engineer Java into a sequence diagram BUT also provides the ability to filter out calls to certain libraries.

For example,

相关标签:
13条回答
  • 2020-12-12 18:45

    Enterprise architect from Sparx claims to be able to reverse engineer java code including generating sequence diagrams - see this section of the user guide

    It looks like it can record a debugging session and then you generate the sequence diagram from that

    I've not tried it (though have used EA as a modelling tool) so ymmv!

    There is a free 30day evaluation download available

    0 讨论(0)
  • 2020-12-12 18:45

    JIVE (www.cse.buffalo.edu/jive) will construct a sequence diagram from the execution of a Java program. It has an Exclusion Filter capability will allow you to exclude objects belonging to designated classes or packages. JIVE can draw sequence diagrams for multi-threaded Java program execution. It also has the ability compact large diagrams in both the horizontal and vertical dimension, under user guidance.

    0 讨论(0)
  • 2020-12-12 18:48

    I have a tool that meets your requirements exactly. Check it out

    http://sourceforge.net/projects/javacalltracer/

    In addition to being a reverse engineering tool for java it is also very lightweight. You can control the what you want to record from your java program.

    0 讨论(0)
  • 2020-12-12 18:50

    I believe the perfect tool to solve your problem is Diver: Dynamic Interactive Views For Reverse Engineering. It provides both static and dynamic sequence diagrams and looks to solve all your requirements from your question.

    It is a plugin for Eclipse and lets you:

    • Easily trace your Java programs
    • Visualize your program’s runtime functionality
    • Filter your traces to make them more compact
    • Filter your IDE based on what occurs at runtime
    • See what code ran in your source code editors

    It's on Github and there is also a project web site

    Full Disclosure: I am the current project lead for Diver

    0 讨论(0)
  • 2020-12-12 18:51

    JTracert is now discontinued. In place, they recommend http://www.jsonde.com/

    0 讨论(0)
  • 2020-12-12 18:53

    Take a look at http://www.maintainj.com

    It don't know, whether it can filter library calls, but it has a reasonable graphical front end and seems to trace even very large applications.

    0 讨论(0)
提交回复
热议问题