Print Email Facebook Twitter Fixing vulnerabilities potentially hinders maintainability Title Fixing vulnerabilities potentially hinders maintainability Author Reis, Sofia (University of Lisbon) Abreu, Rui (Universidade do Porto) Cruz, Luís (TU Delft Software Engineering) Date 2021 Abstract Security is a requirement of utmost importance to produce high-quality software. However, there is still a considerable amount of vulnerabilities being discovered and fixed almost weekly. We hypothesize that developers affect the maintainability of their codebases when patching vulnerabilities. This paper evaluates the impact of patches to improve security on the maintainability of open-source software. Maintainability is measured based on the Better Code Hub’s model of 10 guidelines on a dataset, including 1300 security-related commits. Results show evidence of a trade-off between security and maintainability for 41.90% of the cases, i.e., developers may hinder software maintainability. Our analysis shows that 38.29% of patches increased software complexity and 37.87% of patches increased the percentage of LOCs per unit. The implications of our study are that changes to codebases while patching vulnerabilities need to be performed with extra care; tools for patch risk assessment should be integrate into the CI/CD pipeline; computer science curricula needs to be updated; and, more secure programming languages are necessary. Subject Open-source softwareSoftware maintenanceSoftware security To reference this document use: http://resolver.tudelft.nl/uuid:d28d4950-654d-4e65-8896-3c98b2bfc2b5 DOI https://doi.org/10.1007/s10664-021-10019-z ISSN 1382-3256 Source Empirical Software Engineering, 26 (6) Part of collection Institutional Repository Document type journal article Rights © 2021 Sofia Reis, Rui Abreu, Luís Cruz Files PDF Reis2021_Article_FixingVu ... ential.pdf 2.48 MB Close viewer /islandora/object/uuid:d28d4950-654d-4e65-8896-3c98b2bfc2b5/datastream/OBJ/view