Visualising class cohesion with virtual worlds

  • Authors:
  • Neville Churcher;Warwick Irwin;Ron Kriz

  • Affiliations:
  • Software Visualistion Group, Department of Computer Science, University of Canterbury, Private Bag 4800, Christchurch, New Zealand;Software Visualistion Group, Department of Computer Science, University of Canterbury, Private Bag 4800, Christchurch, New Zealand;VT-CAVE, Virginia Tech, Blacksburg VA24061

  • Venue:
  • APVis '03 Proceedings of the Asia-Pacific symposium on Information visualisation - Volume 24
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.