A longitudinal study of anti micro patterns in 113 versions of Tomcat

Ortu M.
2018-01-01

Abstract

Background: Micro patterns represent design decisions in code. They are similar to design patterns and can be detected automatically. These micro structures can be helpful in identifying portions of code which should be improved (anti-micro patterns), or other well-designed parts which need to be preserved. The concepts expressed in these design decisions are defined at class-level; therefore the primary goal is to detect and provide information related to a specific granularity level. Aim: this paper aims to present preliminary results about a longitudinal study performed on anti-micro pattern distributions over 113 versions of Tomcat. Method: we first extracted the micro patterns from the 113 versions of Tomcat, then found the percentage of classes matching each of the six anti-micro pattern considered for this analysis, and studied correlations among the obtained time series after testing for stationarity, randomness and seasonality. Results: results show that the time series are stationary, not random (except for Function Pointer), and that additional studied are needed for studying seasonality. Regarding correlations, only the Pool and Record time series presented a correlation of 0.69, while moderate correlation has been found between Function Pointer and Function Object (0.58) and between Cobol Like and Pool (0.44).
2018
Inglese
PROMISE'18: Proceedings of the 14th International Conference on Predictive Models and Data Analytics in Software Engineering
9781450365932
Association for Computing Machinery
New York, NY
90
93
4
14th International Conference Predictive Models and Data Analytics in Software Engineering, PROMISE 2018
Comitato scientifico
10 October 2018
Oulu, Finland
internazionale
scientifica
Micro patterns; Software engineering; Time series analysis
4 Contributo in Atti di Convegno (Proceeding)::4.1 Contributo in Atti di convegno
Destefanis, G.; Qaderi, S.; Bowes, D.; Petric, J.; Ortu, M.
273
5
4.1 Contributo in Atti di convegno
reserved
info:eu-repo/semantics/conferencePaper
File in questo prodotto:
File Dimensione Formato  
promise18_14.pdf

Solo gestori archivio

Tipologia: versione post-print
Dimensione 1.11 MB
Formato Adobe PDF
1.11 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Questionario e social

Condividi su:
Impostazioni cookie