際際滷

際際滷Share a Scribd company logo
Model with sequence
diagrams
Capture complex system
interactions with sequence
diagrams.
Powerful yet simple modeling language
Represent messages, method calls, timers, state transitions, actions, and resources.


       A                                       B
                                                           eternal: A, B /* Eternal objects */
                     Message

            x = Value, field
                                                           dynamic: C    /* Dynamic objects */
           MessageResponse
                                                           feature "Sample"
                                                               Message (x = "Value", field): A -> B
                     Method()

                     par1, par2
                                                               MessageResponse: A <- B

                      returns
                                                               A invokes B.Method(par1, par2)
                                                               B.Method returns
                                  create               C

                                                               A creates   C
                                      Initializing C
                                                               A, C take   action "Initializing C"
       Starting up
                                                               A state =   "Starting up"
                                                               A deletes   C
                                           delete
                                                           endfeature
Country
                                               City level
  level
                                               diagram
diagram




  Systems                             Earth



                    North
Subsystems         America
                                                 Asia




 Modules     Canada
                             United
                             States
                                                 India      Slice. Dice. Analyze.
                                                            Generate diagrams at 5
Components         California         Nevada   Rajasthan    abstraction levels. Run filters on
                                                            model to generate diagrams.
               Los           San
  Objects    Angeles       Fransico
                                                Jaipur
Visualize traces
Get the script at                                              EventStudio and a converter python
http://eventhelix.github.com/trace-to-sequence-diagram/        script work in tandem to convert
                                                               your traces into sequence diagrams.




                                                                             Run python
                                              Define regular
                                                                               script to
    Examine trace                             expressions to
                                                                              generate
       output                                     extract
                                                                              sequence
                                                messages
                                                                              diagrams
Scenarios                                                   Design review

                                                        ? Detect free running
  Successful call    Catch design errors                  timers
                     in multiple scenarios              ? Catch missed object
 Conference call     Detect memory leaks, resource
                     leaks and timer issues at design
                                                          deletes
                     time.                              ? Track resource leaks
  Call setup fails
                                                        ? Identify invalid
 Call fails during                                        object interactions
  conversation

More Related Content

EventStudio: Sequence Diagram Based System Modeling Tool

  • 1. Model with sequence diagrams Capture complex system interactions with sequence diagrams.
  • 2. Powerful yet simple modeling language Represent messages, method calls, timers, state transitions, actions, and resources. A B eternal: A, B /* Eternal objects */ Message x = Value, field dynamic: C /* Dynamic objects */ MessageResponse feature "Sample" Message (x = "Value", field): A -> B Method() par1, par2 MessageResponse: A <- B returns A invokes B.Method(par1, par2) B.Method returns create C A creates C Initializing C A, C take action "Initializing C" Starting up A state = "Starting up" A deletes C delete endfeature
  • 3. Country City level level diagram diagram Systems Earth North Subsystems America Asia Modules Canada United States India Slice. Dice. Analyze. Generate diagrams at 5 Components California Nevada Rajasthan abstraction levels. Run filters on model to generate diagrams. Los San Objects Angeles Fransico Jaipur
  • 4. Visualize traces Get the script at EventStudio and a converter python http://eventhelix.github.com/trace-to-sequence-diagram/ script work in tandem to convert your traces into sequence diagrams. Run python Define regular script to Examine trace expressions to generate output extract sequence messages diagrams
  • 5. Scenarios Design review ? Detect free running Successful call Catch design errors timers in multiple scenarios ? Catch missed object Conference call Detect memory leaks, resource leaks and timer issues at design deletes time. ? Track resource leaks Call setup fails ? Identify invalid Call fails during object interactions conversation