Export Publication

The publication can be exported in the following formats: APA (American Psychological Association) reference format, IEEE (Institute of Electrical and Electronics Engineers) reference format, BibTeX and RIS.

Export Reference (APA)
Rio, J. & Abreu, F. B. e. (2021). Detecting sudden variations in web apps code smells’ density: A longitudinal study. In Paiva, A. C. R., Cavalli, A. R., Martins, P. V., and Pérez-Castillo, R. (Ed.), Quality of information and communications technology. Communications in Computer and Information Science. (pp. 82-96). Online: Springer.
Export Reference (IEEE)
J. A. Rio and F. M. Abreu,  "Detecting sudden variations in web apps code smells’ density: A longitudinal study", in Quality of information and communications technology. Communications in Computer and Information Science, Paiva, A. C. R., Cavalli, A. R., Martins, P. V., and Pérez-Castillo, R., Ed., Online, Springer, 2021, vol. 1439, pp. 82-96
Export BibTeX
@inproceedings{rio2021_1716196376762,
	author = "Rio, J. and Abreu, F. B. e.",
	title = "Detecting sudden variations in web apps code smells’ density: A longitudinal study",
	booktitle = "Quality of information and communications technology. Communications in Computer and Information Science",
	year = "2021",
	editor = "Paiva, A. C. R., Cavalli, A. R., Martins, P. V., and Pérez-Castillo, R.",
	volume = "1439",
	number = "",
	series = "",
	doi = "10.1007/978-3-030-85347-1_7",
	pages = "82-96",
	publisher = "Springer",
	address = "Online",
	organization = "",
	url = "https://2021.quatic.org/"
}
Export RIS
TY  - CPAPER
TI  - Detecting sudden variations in web apps code smells’ density: A longitudinal study
T2  - Quality of information and communications technology. Communications in Computer and Information Science
VL  - 1439
AU  - Rio, J.
AU  - Abreu, F. B. e.
PY  - 2021
SP  - 82-96
DO  - 10.1007/978-3-030-85347-1_7
CY  - Online
UR  - https://2021.quatic.org/
AB  - 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.
ER  -