21-03-2012, 04:17 PM
The Novel approach of measuring the cohesion and coupling of sequence diagram using program slicing
The Novel approach of measuring the cohesion and coupling of sequence diagram using program slicing.doc (Size: 1.05 MB / Downloads: 35)
I. INTRODUCTION ( SEQUENCE DIAGRAMS OF UML)
The UML Sequence diagrams having time dependent sequences of interactions between objects. They show the sequence of the messages. A sequence diagram has two dimensions: the vertical dimension represents time, and the horizontal dimension represents various instances. Normally time proceeds from top to bottom. Sequence diagrams describe interactions among software components, and thus are considered to be a good source for cluster level testing. In UML, a message is a request for a service from one UML actor to another.
. DIFFERENT SCENARIOS AND STATES OF SEQUENCE DIAGRAM
First transform sequence diagram (SD) into a sequence dependency graph (SDG). This approach is taken from the Monalisa Sharma et al in year 2007 which describes the Ssdg is the set of all nodes representing various states of operation scenarios; each node
basically represents an event.
Σ sdg is the set of edges representing transitions from one state to another.
SDG q0 is the initial node representing a state from
which an operation begins.
F sdg is the set of final nodes representing states where an operation terminates.
To understand a methodology, an operation scenario as a
quadruple, aOpnScn: <ScnId; StartState; MessageSet; NextState>.
A unique number called ScnID identifies each operation scenario.
StartState is a starting point of the ScnId, that is, where a scenario starts.
MessageSet denotes the set of all events that occur in an operation scenario.
NextState is the state that a system enters after the completion of a scenario.
CONCLUSION
techniques .the cohesion and coupling is find out and static tests were performed on that to get the credibility of the sequence diagrams .