Building an Operable Graph Representation of a Java Program as a Basis for Automatic Software Maintainability Analysis
Idioma
EN
Communication dans un congrès avec actes
Este ítem está publicado en
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
Resumen en inglés
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 ...Leer más >
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.< Leer menos
Palabras clave en inglés
General and reference
Cross-computing tools and techniques
Metrics
Centros de investigación