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 条
  • [21] On the use of static analysis to engage students with software quality improvement: An experience with PMD
    AlOmar, Eman Abdullah
    AlOmar, Salma Abdullah
    Mkaouer, Mohamed Wiem
    [J]. 2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING-SOFTWARE ENGINEERING EDUCATION AND TRAINING, ICSE-SEET, 2023, : 179 - 191
  • [22] Fixing of Security Vulnerabilities in Open Source Projects: A Case Study of Apache HTTP Server and Apache Tomcat
    Piantadosi, Valentina
    Scalabrino, Simone
    Oliveto, Rocco
    [J]. 2019 IEEE 12TH CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2019), 2019, : 68 - 78
  • [23] Software evolution in open source projects - a large-scale investigation
    Koch, Stefan
    [J]. JOURNAL OF SOFTWARE MAINTENANCE AND EVOLUTION-RESEARCH AND PRACTICE, 2007, 19 (06): : 361 - 382
  • [24] Teaching evolution of open-source projects in software engineering courses
    Buchta, Joseph
    Petrenko, Maksym
    Poshyvanyk, Denys
    Rajlich, Vaclav
    [J]. ICSM 2006: 22ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2006, : 136 - +
  • [25] Effects of Empowerment on Performance in Open-Source Software Projects
    Ke, Weiling
    Zhang, Ping
    [J]. IEEE TRANSACTIONS ON ENGINEERING MANAGEMENT, 2011, 58 (02) : 334 - 346
  • [26] Evolution in open source software: A case study
    Godfrey, MW
    Tu, Q
    [J]. INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2000, : 131 - 142
  • [27] Agility and Quality Attributes in Open Source Software Projects Release Practices
    Gomes da Silva, Antonio Cesar Brandao
    Carneiro, Glauco de Figueiredo
    Marcelino de Paula, Antonio Carlos
    Monteiro, Miguel Pessoa
    Brito e Abreu, Fernando
    [J]. PROCEEDINGS 2016 10TH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY (QUATIC), 2016, : 107 - 112
  • [28] A survey of quality assurance practices in biomedical open source software projects
    Koru, Guenes
    El Emam, Khaled
    Neisa, Angelica
    Umarji, Medha
    [J]. JOURNAL OF MEDICAL INTERNET RESEARCH, 2007, 9 (02) : e8
  • [29] Quantitative Evaluation of Software Quality Metrics in Open-Source Projects
    Barkmann, Henrike
    Lincke, Rudiger
    Lowe, Welf
    [J]. 2009 INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS WORKSHOPS: WAINA, VOLS 1 AND 2, 2009, : 1067 - 1072
  • [30] SIGVIEWER AND SIGNALSERVER - OPEN SOURCE SOFTWARE PROJECTS FOR BIOSIGNAL ANALYSIS
    Brunner, Clemens
    Breitwieser, Christian
    Mueller-Putz, Gernot R.
    [J]. BIOMEDICAL ENGINEERING-BIOMEDIZINISCHE TECHNIK, 2013, 58