Visualising Java Coupling and Fault Proneness

P. Rosner, M. Child, S. Counsell

Abstract

In this paper, a tool is described for visualising the Coupling Between Objects (CBO) metric for Java systems, decomposing it into coupling collaborators and using colour to denote the object-oriented mechanisms at work for each couple. The resulting visualisation is also envisaged to be useful for general program comprehension and is integrated into Java development in the Eclipse IDE. Evidence is also given that the visualisation may help detect classes tending to be less fault-prone than would be expected from inspection of their CBO values alone.

References

  1. Biddle, R., Noble, J., Tempero, E., “Reflections on CRC Cards and OO Design,” 40th International Conference on Technology of Object Oriented Languages and Systems (TOOLS Pacific), Sydney Australia, 2002.
  2. Caserta, P., Zendra, O. and Bodenes, D. (2011) 3D Hierarchical Edge bundles to visualize relations in a software city metaphor, in: Visualizing Software for Understanding and Analysis (VISSOFT), 2011 6th IEEE International Workshop on, , pp. 1-8.
  3. Chidamber, S. R., Kemerer, C. F., “A Metrics Suite for Object Oriented Design,” IEEE Transactions on Software Engineering, 20(6). pp. 476-493, 1994.
  4. Counsell, S., Gatrell, M., Hierons, R., Murgia, A., Tonelli, R., Marchesi, M., Concas, G., “Conditionalbased refactorings and fault-proneness: an empirical study,” TAIC PART 2013.
  5. Doernenburg, E., “Get the 1000-Foot View,” in 97 Things Every Software Architect Should Know: Collective Wisdom from the Experts, p. 56, ed Monson Haefel, R., O'Reilly Media, Feb 2009.
  6. Erdemir, U., Tekin, U. and Buzluca, F., “E-Quality: A graph based object oriented software quality visualization tool,” Visualizing Software for Understanding and Analysis (VISSOFT), 2011 6th IEEE International Workshop, pp. 1-8, 2011.
  7. Hanakawa, N. (2007) Visualization for Software Evolution Based on Logical Coupling and Module Coupling, in: Software Engineering Conference, 2007. APSEC 2007. 14th Asia-Pacific, pp. 214-221.
  8. JetBrains Inc., IntelliJIDEA, 2011 [Online]. Available from: http://www.jetbrains.com/idea, Accessed 2013.
  9. Langelier, G., Sahraoui, H. and Poulin, P., “Visualization-based analysis of quality for largescale software systems,” Proceedings of the 20th IEEE/ACM international Conference on Automated software engineering, Long Beach, CA, USA, New York, NY, USA: ACM, pp. 214-223, 2005.
  10. Lanza, M., “CodeCrawler - Polymetric views in action,” Proceedings. In 19th International Conference on Automated Software Engineering: pp. 394-395, 2004.
  11. Odysseus Software GmbH, STAN. [Online]. Available from: http://stan4j.com, 2011 [Accessed 2013].
  12. Olague, H. M., Etzkorn, L. H., Gholston, S., Quattlebaum, S., “Empirical Validation of Three Software Metrics Suites to Predict Fault-Proneness of Object-Oriented Classes Developed using Highly Iterative or Agile Software Development Processes,” IEEE Transactions on Software Engineering, 33(6): pp. 402-419, 2007.
  13. Risi, M. and Scanniello, G., “MetricAttitude: a visualization tool for the reverse engineering of object oriented software,” Proceedings of the International Working Conference on Advanced Visual Interfaces, Capri Island, Italy, New York, NY, USA: ACM, pp. 449-456, 2012.
  14. Shneiderman, B., “The eyes have it: a task by data type taxonomy for information visualizations,” Proceedings IEEE Symposium on Visual Languages, Boulder, Colorado, 3-6 September 1996, pp. 336- 343, 1996.
  15. Sauer, F., Eclipse metrics plug-in [Online]. Available from: http://metrics.sourceforge.net, 2011. Accessed 2013.
  16. Soyatec, eDepend, 2011 [Online]. Available from: http://www.soyatec.com/euml2 [Accessed 2013].
  17. Steinbrückner, F. and Lewerentz, C., “Representing development history in software cities,” Proceedings of the 5th international symposium on Software visualization, Salt Lake City, Utah, USA, New York, NY, USA: ACM, pp. 193-202, 2010.
  18. Tufte, E. R., Envisioning information, Cheshire, Conn.: Graphics Press, 1990.
  19. Wettel, R., Lanza, M. and Robbes, R., “Software systems as cities: a controlled experiment,” Proceedings of the 33rd International Conference on Software Engineering, Waikiki, Honolulu, HI, USA, New York, NY, USA: ACM, pp. 551-560, 2011.
Download


Paper Citation


in Harvard Style

Rosner P., Child M. and Counsell S. (2014). Visualising Java Coupling and Fault Proneness . In Proceedings of the 5th International Conference on Information Visualization Theory and Applications - Volume 1: IVAPP, (VISIGRAPP 2014) ISBN 978-989-758-005-5, pages 138-144. DOI: 10.5220/0004706201380144


in Bibtex Style

@conference{ivapp14,
author={P. Rosner and M. Child and S. Counsell},
title={Visualising Java Coupling and Fault Proneness},
booktitle={Proceedings of the 5th International Conference on Information Visualization Theory and Applications - Volume 1: IVAPP, (VISIGRAPP 2014)},
year={2014},
pages={138-144},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004706201380144},
isbn={978-989-758-005-5},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 5th International Conference on Information Visualization Theory and Applications - Volume 1: IVAPP, (VISIGRAPP 2014)
TI - Visualising Java Coupling and Fault Proneness
SN - 978-989-758-005-5
AU - Rosner P.
AU - Child M.
AU - Counsell S.
PY - 2014
SP - 138
EP - 144
DO - 10.5220/0004706201380144