Visualising Class Cohesion with Virtual Worlds

Churcher, N., Irwin, W. and Kriz, R.

    High cohesion, or module strength, indicates that a system has been well partitioned into components which have strong internal relationships. An understanding of cohesion is an important factor in software design. However, cohesion is difficult to define precisely and to quantify, particularly for object oriented (OO) software, and attempts to develop metrics have had limited success. We advocate the use of visualisation techniques to provide a richer view of cohesion than is possible with simple numeric values. Our approach, based on visualising the raw data, side-steps many of the difficulties associated with the formulation of precise definitions of cohesion phenomena, avoids the loss of information associated with existing aggregate cohesion metrics and supports exploratory analysis. The pipeline-based visualisations of class cohesion described in this paper use the ANGLE 3D graph layout engine and XSLT transformations both to select the ingredients for visualisations and to determine their presentation details. We discuss our experiences with the use of virtual worlds as a presentation medium both on the desktop and in immersive environments and report early results from ongoing empirical work
Cite as: Churcher, N., Irwin, W. and Kriz, R. (2003). Visualising Class Cohesion with Virtual Worlds. In Proc. Australian Symposium on Information Visualisation, ('03), Adelaide, Australia. CRPIT, 24. Pattison, T. and Thomas, B., Eds. ACS. 89-97.
pdf (from pdf (local if available) BibTeX EndNote GS