Pattern-Driven Maintenance: A Method to Prevent Unhandled Latent Exceptions in Web Applications. Mendonça, D. S., von Staa, A., & Kalinowski, M. In Proceedings of the XIX Brazilian Symposium on Software Quality, SBQS'20 - CTDQS, Brazil, December 1st - December 4th, pages 1-10, 2020. Summary Paper for the "Best Brazilian Software Quality PhD Thesis Award", received at SBQS 2020. Student: Diogo Mendonça, Advisors: Arndt von Staa and Marcos Kalinowski
Pattern-Driven Maintenance: A Method to Prevent Unhandled Latent Exceptions in Web Applications [pdf]Author version  abstract   bibtex   
Background: Unhandled exceptions affect the reliability, usability, and security of web applications. Automatically detecting unhandled latent exceptions is difficult and application-specific. Hence, general approaches to deal with defects in web applications do not treat unhandled exceptions appropriately. Aims: To design and evaluate a method that can support finding, correcting, and preventing unhandled exceptions in web applications. Method: We designed a method called Pattern-Driven Maintenance (PDM), which relies on identifying defect patterns from failures and producing custom static analysis rules that can be used for prevention. We applied PDM to two industrial web applications measuring the reliability improvement, evaluated reuse of static analysis rules produced on within- and cross-company software, and studied the effectiveness, challenges faced, and acceptance of novice maintainers on applying PDM. Results: In both industry cases, we eliminated pattern-related failures improving the application reliability. Some of the static analysis rules produced by applying PDM were reused on within- and cross-company software. We identified knowledge and experiences that influence effectively applying the steps of the PDM method. Conclusions: PDM can help maintainers to improve the reliability of existing applications. We provide guidance on how to apply PDM, reuse the produced static analysis rules, and the knowledge and experiences needed to apply the PDM method effectively.

Downloads: 0