Resolving Security Issues via Quality-Oriented Refactoring: A User Study
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.
Sun 14 MayDisplayed time zone: Hobart change
15:45 - 17:15 | |||
15:45 25mResearch paper | Identifying Code Changes for Architecture Decay via a Metric Forest Structure Technical Papers Wuxia Jin Xi'an Jiaotong University, Yuyun Zhang Xi'an Jiaotong University, Jiaowei Shang Xi'an Jiaotong University, Yi Hou Xi'an Jiaotong University, Ming Fan Xi'an Jiaotong University, Ting Liu Xi'an Jiaotong University | ||
16:10 25mResearch paper | Resolving Security Issues via Quality-Oriented Refactoring: A User Study Technical Papers Domenico Gigante SER&Practices and University of Bari, Fabiano Pecorelli Jheronimus Academy of Data Science, Vita Santa Barletta University of Bari, Andrea Janes FHV Vorarlberg University of Applied Sciences, Valentina Lenarduzzi University of Oulu, Davide Taibi Tampere University , Maria Teresa Baldassarre Department of Computer Science, University of Bari | ||
16:35 25mResearch paper | Towards identifying and minimizing customer-facing documentation debt Technical Papers Lakmal Silva Blekinge Institute of Technology, Michael Unterkalmsteiner Blekinge Institute of Technology, Krzysztof Wnuk | ||
17:00 15mLive Q&A | Open Q&A Plenary |