Understanding the Use of Inheritance with Visual Patterns - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2009

Understanding the Use of Inheritance with Visual Patterns


The goal of this work is to visualize inheritance in object-oriented programs to help its comprehension. We propose a single, compact view of all class hierarchies at once using a custom Sunburst layout. It enables to quickly discover interesting facts across classes while preserving the essential relationship between parent and children classes. We explain how standard inheritance metrics are mapped into our visualization. Additionally, we define a new metric characterizing similar children classes. Using these metrics and the proposed layout, a set of common visual patterns is derived. These patterns allow the programmer to quickly understand how inheritance is used and provide answers to some essential questions when performing program comprehension tasks. Our approach is evaluated through a case study that involves examples from large programs, demonstrating its scalability.


Fichier principal
Vignette du fichier
Deni09a-ESEM09-VisuInheritance.pdf (1.5 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-00746244 , version 1 (28-10-2012)


  • HAL Id : hal-00746244 , version 1


Simon Denier, Houari Sahraoui. Understanding the Use of Inheritance with Visual Patterns. Proceedings of the 3rd International Symposium on Empirical Software Engineering and Measurement (ESEM'09), 2009, Lake Buena Vista, FL, USA, United States. ⟨hal-00746244⟩
89 View
194 Download


Gmail Facebook X LinkedIn More