Building an Operable Graph Representation of a Java Program as a Basis for Automatic Software Maintainability Analysis - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2022

Building an Operable Graph Representation of a Java Program as a Basis for Automatic Software Maintainability Analysis

Résumé

As a part of a research project concerning software maintainability assessment in collaboration with the development team, we were interested in the frequent use of metrics as predictors. Many metrics exist, often with opaque and arguable implementations. We claim metrics mix the assessment of presentation, structure and model. In order to focus on true detectable maintainability defects, we computed metrics solely based on the structure of the program. Our approach was to parse the source code of Java programs as a graph, and to compute metrics in a declarative query language. To this end, we developed Javanalyser and implemented 34 metrics using Spoon to parse Java programs and Neo4j as graph database. We will show that the program graph constitutes a steady basis to compute metrics and conduct future machine-learning studies to assess maintainability.
Fichier non déposé

Dates et versions

hal-03760837 , version 1 (25-08-2022)

Identifiants

Citer

Sébastien Bertrand, Pierre-Alexandre Favier, Jean-Marc André. Building an Operable Graph Representation of a Java Program as a Basis for Automatic Software Maintainability Analysis. EASE 2022: The International Conference on Evaluation and Assessment in Software Engineering 2022, Jun 2022, Gothenburg, Germany. pp.243-248, ⟨10.1145/3530019.3534081⟩. ⟨hal-03760837⟩
8 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More