Understanding the Use of Inheritance with Visual Patterns - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2009

Understanding the Use of Inheritance with Visual Patterns

Résumé

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.

Mots clés

Fichier principal
Vignette du fichier
Deni09a-ESEM09-VisuInheritance.pdf (1.5 Mo) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

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

Identifiants

  • HAL Id : hal-00746244 , version 1

Citer

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⟩
92 Consultations
210 Téléchargements

Partager

Gmail Facebook X LinkedIn More