Full metadata record
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Zampetti, Fiorella | - |
dc.contributor.author | Mudbhari, Saghan | - |
dc.contributor.author | Arnaoudova, Venera | - |
dc.contributor.author | Di Penta, Massimiliano | - |
dc.contributor.author | Panichella, Sebastiano | - |
dc.contributor.author | Antoniol, Giuliano | - |
dc.date.accessioned | 2022-02-10T14:52:52Z | - |
dc.date.available | 2022-02-10T14:52:52Z | - |
dc.date.issued | 2021 | - |
dc.identifier.issn | 1382-3256 | de_CH |
dc.identifier.issn | 1573-7616 | de_CH |
dc.identifier.uri | https://digitalcollection.zhaw.ch/handle/11475/24209 | - |
dc.description | Erworben im Rahmen der Schweizer Nationallizenzen (http://www.nationallizenzen.ch) | de_CH |
dc.description.abstract | Developers often use Static Code Analysis Tools (SCAT) to automatically detect different kinds of quality flaws in their source code. Since many warnings raised by SCATs may be irrelevant for a project/organization, it can be possible to leverage information from the project development history, to automatically configure which warnings a SCAT should raise, and which not. In this paper, we propose an automated approach (Auto-SCAT) to leverage (statement-level) code review comments for recommending SCAT warnings, or warning categories, to be enabled. To this aim, we trace code review comments onto SCAT warnings by leveraging their descriptions and messages, as well as review comments made in other different projects. We apply Auto-SCAT to study how CheckStyle, a well-known SCAT, can be configured in the context of six Java open source projects, all using Gerrit for handling code reviews. Our results show that, Auto-SCAT is able to classify code review comments into CheckStyle checks with a precision of 61% and a recall of 52%. While considering also the code review comments not related to CheckStyle warnings Auto-SCAT has a precision and a recall of ≈ 75%. Furthermore, Auto-SCAT can configuring CheckStyle with a precision of 72.7% at checks level and a precision of 96.3% at category level. Finally, our findings highlight that Auto-SCAT outperforms state-of-art baselines based on default CheckStyle configurations, or leveraging the history of previously-removed warnings. | de_CH |
dc.language.iso | en | de_CH |
dc.publisher | Springer | de_CH |
dc.relation.ispartof | Empirical Software Engineering | de_CH |
dc.rights | Licence according to publishing contract | de_CH |
dc.subject | Static analysis tool | de_CH |
dc.subject | Code review | de_CH |
dc.subject | Automated tool configuration | de_CH |
dc.subject.ddc | 005: Computerprogrammierung, Programme und Daten | de_CH |
dc.title | Using code reviews to automatically configure static analysis tools | de_CH |
dc.type | Beitrag in wissenschaftlicher Zeitschrift | de_CH |
dcterms.type | Text | de_CH |
zhaw.departement | School of Engineering | de_CH |
zhaw.organisationalunit | Institut für Informatik (InIT) | de_CH |
dc.identifier.doi | 10.1007/s10664-021-10076-4 | de_CH |
zhaw.funding.eu | info:eu-repo/grantAgreement/EC/H2020/957254//DevOps for Complex Cyber-physical Systems/COSMOS | de_CH |
zhaw.issue | 1 | de_CH |
zhaw.originated.zhaw | Yes | de_CH |
zhaw.pages.start | 28 | de_CH |
zhaw.publication.status | publishedVersion | de_CH |
zhaw.volume | 27 | de_CH |
zhaw.publication.review | Peer review (Publikation) | de_CH |
zhaw.webfeed | Software Systems | de_CH |
zhaw.funding.zhaw | COSMOS – DevOps for Complex Cyber-physical Systems of Systems | de_CH |
zhaw.author.additional | No | de_CH |
zhaw.display.portrait | Yes | de_CH |
Appears in collections: | Publikationen School of Engineering |
Files in This Item:
There are no files associated with this item.
Show simple item record
Zampetti, F., Mudbhari, S., Arnaoudova, V., Di Penta, M., Panichella, S., & Antoniol, G. (2021). Using code reviews to automatically configure static analysis tools. Empirical Software Engineering, 27(1), 28. https://doi.org/10.1007/s10664-021-10076-4
Zampetti, F. et al. (2021) ‘Using code reviews to automatically configure static analysis tools’, Empirical Software Engineering, 27(1), p. 28. Available at: https://doi.org/10.1007/s10664-021-10076-4.
F. Zampetti, S. Mudbhari, V. Arnaoudova, M. Di Penta, S. Panichella, and G. Antoniol, “Using code reviews to automatically configure static analysis tools,” Empirical Software Engineering, vol. 27, no. 1, p. 28, 2021, doi: 10.1007/s10664-021-10076-4.
ZAMPETTI, Fiorella, Saghan MUDBHARI, Venera ARNAOUDOVA, Massimiliano DI PENTA, Sebastiano PANICHELLA und Giuliano ANTONIOL, 2021. Using code reviews to automatically configure static analysis tools. Empirical Software Engineering. 2021. Bd. 27, Nr. 1, S. 28. DOI 10.1007/s10664-021-10076-4
Zampetti, Fiorella, Saghan Mudbhari, Venera Arnaoudova, Massimiliano Di Penta, Sebastiano Panichella, and Giuliano Antoniol. 2021. “Using Code Reviews to Automatically Configure Static Analysis Tools.” Empirical Software Engineering 27 (1): 28. https://doi.org/10.1007/s10664-021-10076-4.
Zampetti, Fiorella, et al. “Using Code Reviews to Automatically Configure Static Analysis Tools.” Empirical Software Engineering, vol. 27, no. 1, 2021, p. 28, https://doi.org/10.1007/s10664-021-10076-4.
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.