This paper proposes a technique for the measurement of Cohesion and Coupling of Sequence Diagram using the Program Slicing. The sequence diagram contains the dynamic information of the Object Oriented system. In this work Sequence Dependency Graph (SDG) is generated from the states and scenarios of Sequence diagram. The SDG is then dynamically sliced taking various aspects into consideration. These slices can then be used to measure Cohesion and Coupling. The novelty of this approach is the direct measurement of Cohesion and Coupling of an object oriented system from Sequence diagram.


Sequence Diagram Program Slicing Cohesion Coupling 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Noda, K., Kobayashi, T., Agusa, K.: Sequence Diagram Slicing, Grant-in-Aid or Scientific Research of MEXT Japan (2009)Google Scholar
  2. 2.
    Simon Allier, S., Vaucher, S., Dufour, B., Sahraoui, H.: Deriving Coupling Metrics from Call Graphs. Natural Sciences and Engineering Research Council of Canada (2010)Google Scholar
  3. 3.
    Green, P., Lane, P.C.R., Rainer, A., Scholz, S.: An Introduction to Slice-Based Cohesion and Coupling Metrics, Technical report no. 488 School of Computer Science, University of Hertfordshire (2009)Google Scholar
  4. 4.
    Samuel, P., Mall, R.: A Novel Test Case Design Technique Using Dynamic Slicing of UML Sequence Diagrams. e-Informatics Software Engineering Journal 2(1) (2008)Google Scholar
  5. 5.
    Sharma, M., Mall, R.: Automatic Test Case Generation from UML Models. In: 10th International Conference on Information Technology, pp. 196–201. IEEE Computer Society, Washington (2007)Google Scholar
  6. 6.
    Harman, M., Okuiawon, M., Sivagurunathan, B., Danicic, S.: Slice Based Measurement of Function Coupling. In: 18th International Software Quality Week (QW 1995), San Francisco, CA (1995)Google Scholar
  7. 7.
    Lallchandani, J.T., Mall, R.: Computation of dynamic slices for Object oriented concurrent programs. In: 12th Asia Pacific Software Engineering Conference, pp. 341–350. IEEE Computer Society, Taipei (2005)Google Scholar

Copyright information

© ICST Institute for Computer Science, Social Informatics and Telecommunications Engineering 2012

Authors and Affiliations

  • Daljeet Singh
    • 1
  • Sunint Kaur Khalsa
    • 1
  1. 1.Department of Computer Science and EngineeringGuru Nanak Dev Engineering CollegeLudhianaIndia

Personalised recommendations