A longitudinal study of static analysis warning evolution and the effects of PMD on software quality in Apache open source projects

被引:0
|
作者
Alexander Trautsch
Steffen Herbold
Jens Grabowski
机构
[1] University of Goettingen,Institute of Computer Science
来源
关键词
Static code analysis; Quality evolution; Software metrics; Software quality;
D O I
暂无
中图分类号
学科分类号
摘要
Automated static analysis tools (ASATs) have become a major part of the software development workflow. Acting on the generated warnings, i.e., changing the code indicated in the warning, should be part of, at latest, the code review phase. Despite this being a best practice in software development, there is still a lack of empirical research regarding the usage of ASATs in the wild. In this work, we want to study ASAT warning trends in software via the example of PMD as an ASAT and its usage in open source projects. We analyzed the commit history of 54 projects (with 112,266 commits in total), taking into account 193 PMD rules and 61 PMD releases. We investigate trends of ASAT warnings over up to 17 years for the selected study subjects regarding changes of warning types, short and long term impact of ASAT use, and changes in warning severities. We found that large global changes in ASAT warnings are mostly due to coding style changes regarding braces and naming conventions. We also found that, surprisingly, the influence of the presence of PMD in the build process of the project on warning removal trends for the number of warnings per lines of code is small and not statistically significant. Regardless, if we consider defect density as a proxy for external quality, we see a positive effect if PMD is present in the build configuration of our study subjects.
引用
收藏
页码:5137 / 5192
页数:55
相关论文
共 50 条
  • [1] A longitudinal study of static analysis warning evolution and the effects of PMD on software quality in Apache open source projects
    Trautsch, Alexander
    Herbold, Steffen
    Grabowski, Jens
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (06) : 5137 - 5192
  • [2] Are automated static analysis tools worth it? An investigation into relative warning density and external software quality on the example of Apache open source projects
    Alexander Trautsch
    Steffen Herbold
    Jens Grabowski
    [J]. Empirical Software Engineering, 2023, 28
  • [3] Are automated static analysis tools worth it? An investigation into relative warning density and external software quality on the example of Apache open source projects
    Trautsch, Alexander
    Herbold, Steffen
    Grabowski, Jens
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (03)
  • [4] Understanding the motivations, participation, and performance of open source software developers: A longitudinal study of the Apache projects
    Roberts, Jeffrey A.
    Hann, Il-Horn
    Slaughter, Sandra A.
    [J]. MANAGEMENT SCIENCE, 2006, 52 (07) : 984 - 999
  • [5] Evolution of Apache Open Source Software
    Wen, Haoran
    D'Souza, Raissa M.
    Saul, Zachary M.
    Filkov, Vladimir
    [J]. DYNAMICS ON AND OF COMPLEX NETWORKS: APPLICATIONS TO BIOLOGY, COMPUTER SCIENCE, AND THE SOCIAL SCIENCES, 2009, : 199 - 215
  • [6] Intensive Metrics for the Study of the Evolution of Open Source Projects: Case Studies from Apache Software Foundation Projects
    Gala-Perez, Santiago
    Robles, Gregorio
    Gonzalez-Barahona, Jesus M.
    Herraiz, Israel
    [J]. 2013 10TH IEEE WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2013, : 159 - 168
  • [7] Analysing the Quality Evolution of Open Source Software Projects
    Aversano, Lerina
    Guardabascio, Daniela
    Tortorella, Maria
    [J]. SOFTWARE QUALITY: COMPLEXITY AND CHALLENGES OF SOFTWARE ENGINEERING IN EMERGING TECHNOLOGIES, 2017, 269 : 117 - 129
  • [8] Aspects of software quality assurance in open source software projects: Two case studies from Apache project
    Wahyudin, Dindin
    Schatten, Alexander
    Winkler, Dietmar
    Biffl, Stefan
    [J]. SEAA 2007: 33RD EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS, PROCEEDINGS, 2007, : 229 - +
  • [9] Inequalities in Open Source Software Development: Analysis of Contributor's Commits in Apache Software Foundation Projects
    Chelkowski, Tadeusz
    Gloor, Peter
    Jemielniak, Dariusz
    [J]. PLOS ONE, 2016, 11 (04):
  • [10] Social Community Evolution Analysis and Visualization in Open Source Software Projects
    Zhang, Jierui
    Wang, Liang
    Zheng, Zhiwen
    Tao, Xianping
    [J]. WEB INFORMATION SYSTEMS ENGINEERING - WISE 2022, 2022, 13724 : 38 - 45