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

被引:1
|
作者
Gigante, Domenico [1 ]
Pecorelli, Fabiano [2 ,5 ]
Barletta, Vita Santa [1 ]
Janes, Andrea [3 ]
Lenarduzzi, Valentina [4 ]
Taibi, Davide [2 ,4 ]
Baldassarre, Maria Teresa [1 ]
机构
[1] Univ Bari Aldo Moro, Bari, Italy
[2] Tampere Univ, Tampere, Finland
[3] Vorarlberg Univ Appl Sci, Dornbirn, Austria
[4] Univ Oulu, Oulu, Finland
[5] Jheronimus Acad Data Engn, Shertogenbosch, Netherlands
关键词
Static Analysis Tools; Empirical Software Engineering; Software Quality; Software Security; SOFTWARE; TOOLS;
D O I
10.1109/TechDebt59074.2023.00016
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:82 / 91
页数:10
相关论文
共 31 条
  • [1] WEB APPLICATION EVALUATION AND REFACTORING: A QUALITY-ORIENTED IMPROVEMENT APPROACH
    Olsina, Luis
    Garrido, Alejandra
    Rossi, Gustavo
    Distante, Damiano
    Canfora, Gerardo
    [J]. JOURNAL OF WEB ENGINEERING, 2008, 7 (04): : 258 - 280
  • [2] Thinking on some issues in the practice of quality-oriented education
    Lin Xinglan
    [J]. PROCEEDINGS OF THE 1ST INTERNATIONAL CONFERENCE ON PRODUCT INNOVATION MANAGEMENT, 2006, : 399 - 403
  • [3] A user-driven and quality-oriented visualization for mining association rules
    Blanchard, J
    Guillet, F
    Briand, H
    [J]. THIRD IEEE INTERNATIONAL CONFERENCE ON DATA MINING, PROCEEDINGS, 2003, : 493 - 496
  • [4] Study on the Quality-Oriented English Education of College Students
    Zhang Fenghua
    [J]. PROCEEDINGS OF 2018 INTERNATIONAL SYMPOSIUM - REFORM AND INNOVATION OF HIGHER ENGINEERING EDUCATION, 2018, : 227 - 231
  • [5] Pushing the limits of solubility prediction via quality-oriented data selection
    Sorkun, Murat Cihan
    Koelman, J. M. Vianney A.
    Er, Suleyman
    [J]. ISCIENCE, 2021, 24 (01)
  • [6] IMPROVING CUSUM CONTROL CHARTS VIA QUALITY-ORIENTED STATISTICAL TOLERANCING
    Zhang, Yu
    Yang, Musheng
    [J]. PROCEEDINGS OF THE 38TH INTERNATIONAL CONFERENCE ON COMPUTERS AND INDUSTRIAL ENGINEERING, VOLS 1-3, 2008, : 394 - 399
  • [7] Assuring Process Quality with a Preset Confidence Probability via Quality-oriented Statistical Tolerancing
    Zhang, Yu
    Yang, Musheng
    Liu, Mingxia
    [J]. 2007 INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING, VOLS 1-15, 2007, : 5257 - 5260
  • [8] The Study on Application of Craftmanship Spirit to Adolescent Quality-oriented Education
    Li Yue
    [J]. PROCEEDINGS OF 2017 INTERNATIONAL SYMPOSIUM - QUALITY EDUCATION FOR TEENAGERS, 2017, : 170 - 173
  • [9] A comparison-based study of quality-oriented video on demand
    Muntean, Gabriel-Miro
    Perry, Philip
    Murphy, Liam
    [J]. IEEE TRANSACTIONS ON BROADCASTING, 2007, 53 (01) : 92 - 102
  • [10] A coordinate SPC model for assuring designated fit quality via quality-oriented statistical tolerancing
    Zhang, Yu
    Yang, Musheng
    [J]. COMPUTERS & INDUSTRIAL ENGINEERING, 2009, 57 (01) : 73 - 79