Static Analysis of Database Accesses in MongoDB Applications

Research output: Contribution in Book/Catalog/Report/Conference proceedingConference contribution

Abstract

The increasing data volume and the variety of data formats of modern data-intensive systems unveiled the boundaries of traditional relational database management systems. NoSQL technologies aim to fulfill shortcomings through
numerous features such as allowing unstructured, schema-less data storage. However, new features also pose challenges to software engineering techniques that used to work well for relational databases.
In this paper, we present an approach to retrieve database accesses in JavaScript applications that use MongoDB. The approach handles JavaScript’s highly dynamic and typeless nature through heuristics to avoid collision with third-party libraries. The aim is to identify the part of the source code involved in the
database communication as the first step towards additional static analysis approaches. We evaluated the approach on an oracle of 307 open-source projects and reached a precision of 78%. We demonstrate potential use cases of the approach through case studies on the evolution of open-source systems.
Original languageEnglish
Title of host publicationProceedings of the 29th IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER 2022)
PublisherIEEE Computer society
Pages930-934
Number of pages5
ISBN (Electronic)9781665437868
DOIs
Publication statusPublished - 2022

Publication series

NameProceedings - 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2022

Keywords

  • Database Accesses
  • JavaScript
  • MongoDB
  • NoSql
  • NodeJS
  • Static Analysis

Fingerprint

Dive into the research topics of 'Static Analysis of Database Accesses in MongoDB Applications'. Together they form a unique fingerprint.

Cite this