The Package Blueprint: visually analyzing and quantifying package dependencies

Abstract : Large object-oriented applications are structured over many packages. Packages are important but complex structural entities that are difficult to understand since they act as containers of classes, which can have many dependencies with other classes spread over multiple packages. However to be able to take decisions (e.g., refactoring and/or assessment decisions), maintainers face the challenges of managing (sorting, grouping) the massive amount of dependencies between classes spread over multiple packages. To help maintainers, there is a need for at the same time understanding, and quantifying, dependencies between classes as well as understanding how packages as containers of such classes depend on each other. In this paper, we present a visualization, named Package Blueprint, that reveals in detail package internal structure, as well as the dependencies between an observed package and its neighbors, at both package and class levels. Package Blueprint aims at assisting maintainers in understanding package structure and dependencies, in particular when they focus on few packages and want to take refactoring decisions and/or to assess the structure of those packages. A package blueprint is a space filling matrix-based visualization, using two placement strategies that are enclosure and adjacency. Package blueprint is structured around the notion of surfaces that group classes and their dependencies by their packages (i.e., enclosure placement); whilst surfaces are placed next to their parent node which is the package under-analysis (i.e., adjacency placement). We present two views: one stressing how an observed package depends upon the rest of the system and another stressing how the system depends upon that package. To evaluate the contribution of package blueprint for understanding packages we performed an exploratory user study comparing package blueprint with an advanced IDE. The results shows that users of package blueprint are faster in analyzing and assessing package structure. The results are proved statically significant and they show that package blueprint considerably improve the experience of standard browser users.
Type de document :
Article dans une revue
Science of Computer Programming, Elsevier, 2014, 89 (Part C), pp. 298-319. 〈10.1016/j.scico.2014.02.016〉
Liste complète des métadonnées

Littérature citée [50 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-00957695
Contributeur : Lse Lse <>
Soumis le : lundi 10 mars 2014 - 20:06:19
Dernière modification le : jeudi 11 janvier 2018 - 06:22:25
Document(s) archivé(s) le : mardi 10 juin 2014 - 12:56:51

Fichier

Abde14a-PackageBlueprint-SCP.p...
Fichiers produits par l'(les) auteur(s)

Identifiants

Citation

Hani Abdeen, Stéphane Ducasse, Damien Pollet, Ilham Alloui, Jean-Rémy Falleri. The Package Blueprint: visually analyzing and quantifying package dependencies. Science of Computer Programming, Elsevier, 2014, 89 (Part C), pp. 298-319. 〈10.1016/j.scico.2014.02.016〉. 〈hal-00957695〉

Partager

Métriques

Consultations de la notice

447

Téléchargements de fichiers

204