We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:


References & Citations

DBLP - CS Bibliography


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Software Engineering

Title: On the Use of Refactoring in Security Vulnerability Fixes: An Exploratory Study on Maven Libraries

Abstract: Third-party library dependencies are commonplace in today's software development. With the growing threat of security vulnerabilities, applying security fixes in a timely manner is important to protect software systems. As such, the community developed a list of software and hardware weakness known as Common Weakness Enumeration (CWE) to assess vulnerabilities. Prior work has revealed that maintenance activities such as refactoring code potentially correlate with security-related aspects in the source code. In this work, we explore the relationship between refactoring and security by analyzing refactoring actions performed jointly with vulnerability fixes in practice. We conducted a case study to analyze 143 maven libraries in which 351 known vulnerabilities had been detected and fixed. Surprisingly, our exploratory results show that developers incorporate refactoring operations in their fixes, with 31.9% (112 out of 351) of the vulnerabilities paired with refactoring actions. We envision this short paper to open up potential new directions to motivate automated tool support, allowing developers to deliver fixes faster, while maintaining their code.
Comments: Accepted as ERA paper to EASE2022
Subjects: Software Engineering (cs.SE)
Cite as: arXiv:2205.08116 [cs.SE]
  (or arXiv:2205.08116v1 [cs.SE] for this version)

Submission history

From: Raula Gaikovina Kula Dr [view email]
[v1] Tue, 17 May 2022 06:31:06 GMT (1077kb,D)

Link back to: arXiv, form interface, contact.