Please use this identifier to cite or link to this item:
http://hdl.handle.net/10071/24447
Author(s): | Rio, A. Abreu, F. B. e. |
Editor: | Paiva, A. C. R., Cavalli, A. R., Martins, P. V., and Pérez-Castillo, R. |
Date: | 2021 |
Title: | Detecting sudden variations in web apps code smells’ density: A longitudinal study |
Volume: | 1439 |
Pages: | 82 - 96 |
Event title: | 14th International Conference on the Quality of Information and Communications Technology, QUATIC 2021 |
ISSN: | 1865-0929 |
ISBN: | 978-3-030-85347-1 |
DOI (Digital Object Identifier): | 10.1007/978-3-030-85347-1_7 |
Keywords: | PHP Code smells Web apps Sudden variations Anomaly detection Outliers |
Abstract: | Code smells are considered potentially harmful to software maintenance. Their introduction is dependent on the production of new code or the addition of smelly code produced by another team. Code smells survive until being refactored or the code where they stand is removed. Under normal conditions, we expect code smells density to be relatively stable throughout time. Anomalous (sudden) increases in this density are expected to hurt maintenance costs and the other way round. In the case of sudden increases, especially in pre-release tests in an automation server pipeline, detecting those outlier situations can trigger refactoring actions before releasing the new version. This paper presents a longitudinal study on the sudden variations in the introduction and removal of 18 server code smells on 8 PHP web apps, across several years. The study regards web applications but can be generalized to other domains, using other CS and tools. We propose a standardized detection criterion for this kind of code smell anomalies. Besides providing a retrospective view of the code smell evolution phenomenon, our detection approach, which is particularly amenable to graphical monitoring, can make software project managers aware of the need for enforcing refactoring actions. |
Peerreviewed: | yes |
Access type: | Open Access |
Appears in Collections: | ISTAR-CRI - Comunicações a conferências internacionais |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
conferenceobject_83108.pdf | Versão Editora | 4,4 MB | Adobe PDF | View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.