A New Generation of Class Blueprint - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Communication Dans Un Congrès Année : 2022

A New Generation of Class Blueprint

Résumé

In object-oriented programming, classes are the primary abstraction mechanism used by and exposed to developers. Understanding classes is key for the development and evolution of object-oriented applications. The fundamental problem faced by developers is that while classes are intrinsically structured entities, in IDEs they are represented as a blob of text. The idea behind the original CLASS BLUEPRINT visualization was to represent the internal structure of classes in terms of fields, their accesses, and the method call flow. Additional information was depicted using colors. The thus created visualization proved to be an effective means to support program comprehension. However, a number of omissions rendered it only partially useful. We propose CLASS BLUEPRINT V2 (in short BLUEPRINTV2), which in addition to the information depicted by CLASS BLUEPRINT also supports dead code identification, methods under tests, and calling relationships between class and instance level methods. In addition, BLUEPRINTV2 enhances the understanding of fields by showing how fields of super/subclasses are accessed. We present the enhanced visualization and report on a first validation with 26 developers and 18 projects.
Fichier principal
Vignette du fichier
Agouf22b-ClasssbluePrint2-Vissoft.pdf (683.25 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03752237 , version 1 (16-08-2022)

Identifiants

Citer

Nour Jihene Agouf, Stéphane Ducasse, Anne Etien, Michele Lanza. A New Generation of Class Blueprint. VISSOFT 2022 - IEEE Working Conference on Software Visualization, Oct 2022, Limassol, Cyprus. ⟨10.1109/VISSOFT55257.2022.00012⟩. ⟨hal-03752237⟩
98 Consultations
298 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More