A Longitudinal Study of Anti Micro Patterns in 113 Versions of Tomcat

Destefanis, G. and Qaderi, S. and Bowes, D. and Petric, Jean and Ortu, M. (2018) A Longitudinal Study of Anti Micro Patterns in 113 Versions of Tomcat. In: PROMISE'18 Proceedings of the 14th International Conference on Predictive Models and Data Analytics in Software Engineering. PROMISE'18 . ACM, New York, NY, USA, pp. 90-93. ISBN 9781450365932

[img]
Preview
PDF (promise18-14)
promise18_14.pdf - Accepted Version
Available under License Creative Commons Attribution-NonCommercial.

Download (1MB)

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).

Item Type: Contribution in Book/Report/Proceedings
Additional Information: © 2018 ACM. This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in PROMISE'18 Proceedings of the 14th International Conference on Predictive Models and Data Analytics in Software Engineering http://dx.doi.org/10.1145/3273934.3273945
Subjects:
Departments: Faculty of Science and Technology > School of Computing & Communications
ID Code: 128751
Deposited By: ep_importer_pure
Deposited On: 02 Nov 2018 13:16
Refereed?: Yes
Published?: Published
Last Modified: 17 Feb 2020 05:35
URI: https://eprints.lancs.ac.uk/id/eprint/128751

Actions (login required)

View Item View Item