NodeRock: uma abordagem para seleção de testes suscetíveis a event races em projetos Node.js
Loading...
Date
Journal Title
Journal ISSN
Volume Title
Publisher
Universidade Federal de São Carlos
DOI
Abstract
The Node.js platform is widely used for JavaScript applications, employing an asynchronous execution model that is essential for its performance. However, the non-determinism of this model can lead to event races, which are subtle and hard-to-reproduce concurrency bugs that compromise software reliability. Current approaches to detect event races often require exhaustive analyses on the entire test suite, resulting in high computational costs and a lack of effective mechanisms to select and prioritize automated tests that are more susceptible to event races. This work proposes and evaluates an approach called NodeRock, which uses dynamic analysis to identify and select tests susceptible to event races in Node.js projects. NodeRock collects detailed execution traces, extracts a set of 15 dynamic features that characterize asynchronous behavior, and uses machine learning to select the tests. The results provide evidence that the approach identifies tests susceptible to event races with 75% accuracy and recall exceeding 84%, suggesting that the analysis of dynamic metrics is a promising strategy for prioritizing the investigation of these tests.
Description
Keywords
Citation
VICENTE, Pedro Vinícius Guandalini. NodeRock: uma abordagem para seleção de testes suscetíveis a event races em projetos Node.js. 2025. Trabalho de Conclusão de Curso (Graduação em Ciência da Computação) – Universidade Federal de São Carlos, São Carlos, 2025. Disponível em: https://repositorio.ufscar.br/handle/20.500.14289/23191.
Collections
Endorsement
Review
Supplemented By
Referenced By
Creative Commons license
Except where otherwise noted, this item's license is described as Attribution-NoDerivs 3.0 Brazil
