Title :
Understanding the use of inheritance with visual patterns
Author :
Denier, Simon ; Sahraoui, Houari
Author_Institution :
RMOD Project-Team, INRIA Lille-Nord Eur., Lille, France
Abstract :
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.
Keywords :
object-oriented programming; reverse engineering; software metrics; Sunburst layout; inheritance metrics; object-oriented programs; program comprehension tasks; visual patterns; Data visualization; Displays; Europe; Level measurement; Object oriented programming; Programming profession; Scalability; Software engineering; Software measurement; Taxonomy;
Conference_Titel :
Empirical Software Engineering and Measurement, 2009. ESEM 2009. 3rd International Symposium on
Conference_Location :
Lake Buena Vista, FL
Print_ISBN :
978-1-4244-4842-5
Electronic_ISBN :
1938-6451
DOI :
10.1109/ESEM.2009.5316016