Conference paper (in proceedings)
SMEAGOL : a static code smell detector for MongoDB
-
Cherry, Boris
Namur Digital Institute, University of Namur, Belgium
-
Nagy, Csaba
ORCID
Istituto del software (SI), Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
-
Lanza, Michele
ORCID
Istituto del software (SI), Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
-
Cleve, Anthony
Namur Digital Institute, University of Namur, Belgium
Show more…
Published in:
- 2024 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER). - 2024, p. 816-820
English
MongoDB is one of the most popular NoSQL database engines. To foster scalability, it provides multiple features such as schema-less data storage or sharding. However, those new features introduce additional considerations for the maintainer to be careful, which might lead to erroneous implementation choices often referred to as code smells or antipatterns. Detecting and fixing those code smells can play a crucial role for developers in their maintenance efforts. We present SMEAGOL (SMEll and Antipattern detection for monGOdb appLications), a static analysis tool to detect MongoDB code smells in JavaScript applications. SMEAGOL relies on CodeQL and detects code smells by analyzing and extracting all the necessary information (e.g., data structure) from the database access code of the application. We demonstrate it by examining the evolution of MongoDB code smells in five popular open-source projects, showing promising results.
-
Collections
-
-
Language
-
-
Classification
-
Computer science and technology
- Related to
-
Video
-
License
-
License undefined
-
Open access status
-
green
-
Identifiers
-
-
Persistent URL
-
https://n2t.net/ark:/12658/srd1329556
Statistics
Document views: 13
File downloads:
- Csaba_Lanza_2024_IEEE_SANER.pdf: 19