Building an Operable Graph Representation of a Java Program as a Basis for Automatic Software Maintainability Analysis
Langue
EN
Communication dans un congrès avec actes
Ce document a été publié dans
ICPS Proceedings, EASE 2022 : The International Conference on Evaluation and Assessment in Software Engineering, 2022-06-13, Göteborg. 2022-06-13p. 243-248
ACM
Résumé en anglais
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 ...Lire la suite >
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.< Réduire
Mots clés en anglais
General and reference
Cross-computing tools and techniques
Metrics
Unités de recherche