Re: sequence diagrams from code
Sunday, October 2, 2005 12:17 PM
I think you'll find that there will be a lot of code for which you won't be able to generate one unambiguous sequence diagram.
That's why even the UML modelling tools from Rational do not provide a facility for reverse engineering sequence diagrams from code.
I think you may end up with hundreds, thousands, millions of sequence diagrams from some code, and you won't know what to do with them all, how to distinguish useful/relevant ones from others .....
Of course I could be wrong, and maybe there's a class of programs for which your tool might find a more limited, manageable set of possible execution sequences...... but then I suspect that modelling those programs wouldn't benefit from the use of sequence diagrams in the first place.