Sequence Diagram Reverse Engineering

前端 未结 13 2025
春和景丽
春和景丽 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:54

    I have just started using the sequence diagram recording feature in Sparx Systems Enterprise Architect. It works very well for C#. You can create filters by class and by method. I'm actually trying to find out if it's possible to filter out an entire package. There is a checkbox for automatically excluding external modules (like the .NET Framework) which aids in declutter. YMMV for Java, but I think their support (and documentation) for Java is generally better (more examples) than for .NET.

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

    This looks like a really nice tool: http://www.architexa.com/learn-more/sequence-diagrams

    But it looks like it's only free for a year, then its $250 a year. Bummer.


    I found the ModelGoon plugin to be helpful. It's a bit limited because you choose a single method as the starting point for the sequence diagram, and it only shows the calls that method makes (so to go a level deeper you need to generate another diagram.)

    http://www.modelgoon.org/?page_id=53

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

    MaintainJ is really wonderful tool, Recently i was started to use with MaintainJ with my application it is giving more comfort with my entire usage to understand my system based on Maintainj sequence & UML diagrams.

    I am sure for the above question MaintainJ is will give better idea. Thanks, Krishna MM

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

    Heatlamp (http://www.jmolly.com/heatlamp/) was designed for exactly this purpose.

    It generates interactive (and printable) diagrams from running Java code. You can specify filters to describe which classes, packages, and methods to trace. You can also search, filter, and collapse invocations after the diagram is rendered to further reduce the sequence diagram.

    Disclaimer: I'm the author of Heatlamp.

    0 讨论(0)
  • 2020-12-12 19:00

    Try MaintainJ. MaintainJ generates sequence diagrams at runtime for a use case. It provides multiple ways to filter out unwanted calls. Yes, filtering out unwanted calls is the most important feature needed in sequence diagram generating tools. Besides, MaintainJ provides a neat interface to explore the diagram and search for calls in one use case or across use cases.

    Check the demo video to get a quick overview.

    I am the author of MaintainJ, by the way.

    0 讨论(0)
  • 2020-12-12 19:09

    I think jtracert is what you are looking for. It generates a sequence diagram from a running Java program. Also, because its output is a text description of the diagram (in the formats of several popular SD tools), you can use grep to filter for only the classes you are interested in.

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