Live Code Smell Detection of Data Clumps in an Integrated Development Environment
Autor(en): | Baumgartner, Nils Adleh, Firas Pulvermüller, Elke |
Herausgeber: | Kaindl, H. Mannion, M. Maciaszek, L. |
Stichwörter: | Abstract Syntax Trees; Automatic refactoring; Code Smell; Codes (symbols); Computer software maintenance; Data clump; Data Clumps; Integrated Development Environment; Live detection; Odors; Refactoring; Refactorings; Semi-automatics; Software design; Software-systems; Tool support; Trees (mathematics) | Erscheinungsdatum: | 2023 | Herausgeber: | Science and Technology Publications, Lda | Journal: | International Conference on Evaluation of Novel Approaches to Software Engineering, ENASE - Proceedings | Volumen: | 2023-April | Startseite: | 64 – 76 | Zusammenfassung: | Code smells in software systems create maintenance and extension challenges for developers. While many tools detect code smells, few provide refactoring suggestions. Some of the tools support live detection in an integrated development environment. We present a tool for the live detection of data clumps in Java with generated suggestions and semi-automatic refactoring. To achieve this, our research examines projects and their associated abstract syntax trees and analyzes types of variables. Thereby, we aim to detect data clumps, a type of code smells, and generate suggestions to counteract them. We implemented our approach to live data clumps detection as an IntelliJ integrated development environment application plugin. The live detection achieved a median of less than 0.5 s for the ArgoUML software project, which we analyzed as an example. From over 1500 investigated files, our approach detected 125 files with data clumps and that of CBSD (Code Bad Smell Detector) detected 97 files with data clumps. For both approaches, 92 of the files found were the same. We combined the manual steps for refactoring, resulting in a semi-automatic elimination of data clumps. Copyright © 2023 by SCITEPRESS - Science and Technology Publications, Lda. Under CC license (CC BY-NC-ND 4.0) |
Beschreibung: | Cited by: 0; Conference name: 18th International Conference on Evaluation of Novel Approaches to Software Engineering, ENASE 2023; Conference date: 24 April 2023 through 25 April 2023; Conference code: 188753; All Open Access, Hybrid Gold Open Access |
ISBN: | 9789897586477 | ISSN: | 2184-4895 | DOI: | 10.5220/0011727500003464 | Externe URL: | https://www.scopus.com/inward/record.uri?eid=2-s2.0-85160522060&doi=10.5220%2f0011727500003464&partnerID=40&md5=5b7f20048f39ddb07b96ce93ea19d713 |
Zur Langanzeige
Seitenaufrufe
46
Letzte Woche
0
0
Letzter Monat
4
4
geprüft am 17.05.2024