Skip to main navigation Skip to search Skip to main content

Resolving Security Issues via Quality-Oriented Refactoring: A User Study

  • Domenico Gigante*
  • , Fabiano Pecorelli
  • , Vita Santa Barletta
  • , Andrea Janes
  • , Valentina Lenarduzzi
  • , Davide Taibi
  • , Maria Teresa Baldassarre
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionScientificpeer-review

5 Citations (Scopus)

Abstract

Software quality is crucial in software development: if not addressed in early phases of the software development life cycle, it may even lead to technical bankruptcy, i.e., a situation in which modifications cost more than redeveloping the application from scratch. In addition, code security must also be addressed to reduce software vulnerabilities and to comply with legal requirements. In this work, we aim to investigate the relationship between refactoring code quality and software security, with the purpose of understanding whether and to what extent improving software quality could have a positive impact on software security as well. Specifically, we investigate to what extent rule violations of a software quality tool such as SonarQube overlap with rule violations of a software vulnerability tool like Fortify Static Code Analyzer. We first compared the rules encoded in the quality models of both tools, to discover possible overlapping cases. Later, we compared the issues raised by both tools on a set of open source Java projects; we also investigated the cases in which a quality refactoring process impacts over software security (thus removing one or more vulnerabilities). We furthermore validated our results statistically. Our results show that resolving software quality issues might also resolve security issues but only in part: many security issues still persist in the source code; also, some quality aspects are more likely to be improved in respect to others. In addition, this empirical study uncovers rule co-occurrences between the two tools. This study confirms the need for using a security-oriented static analysis tool to enforce software security instead of relying only on a quality-oriented one. Results have highlighted important insights for practitioners.

Original languageEnglish
Title of host publicationProceedings - 2023 ACM/IEEE International Conference on Technical Debt, TechDebt 2023
PublisherIEEE
Pages82-91
Number of pages10
ISBN (Electronic)979-8-3503-1194-5
DOIs
Publication statusPublished - 2023
Publication typeA4 Article in conference proceedings
EventACM/IEEE International Conference on Technical Debt - Melbourne, Australia
Duration: 14 May 202315 May 2023

Conference

ConferenceACM/IEEE International Conference on Technical Debt
Country/TerritoryAustralia
CityMelbourne
Period14/05/2315/05/23

Keywords

  • Empirical Software Engineering
  • Software Quality
  • Software Security
  • Static Analysis Tools

Publication forum classification

  • Publication forum level 1

ASJC Scopus subject areas

  • Information Systems
  • Economics and Econometrics
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Resolving Security Issues via Quality-Oriented Refactoring: A User Study'. Together they form a unique fingerprint.

Cite this