Visualizing code and coverage changes for code review

Conference Paper (2016)
Author(s)

Sebastiaan Oosterwaal (External organisation)

A. van Deursen (TU Delft - Software Technology)

Roberta Coelho (Universidade Federal do Rio Grande do Norte)

Anand Ashok Sawant (TU Delft - Software Engineering)

A Bacchelli (TU Delft - Software Engineering)

Department
Software Technology
Copyright
© 2016 Sebastiaan Oosterwaal, A. van Deursen, R. De Souza Coelho, A.A. Sawant, A. Bacchelli
DOI related publication
https://doi.org/10.1145/2950290.2983929
More Info
expand_more
Publication Year
2016
Language
English
Copyright
© 2016 Sebastiaan Oosterwaal, A. van Deursen, R. De Souza Coelho, A.A. Sawant, A. Bacchelli
Department
Software Technology
Pages (from-to)
1038-1041
ISBN (electronic)
978-1-4503-4218-6
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

One of the tasks of reviewers is to verify that code modifications are well tested. However, current tools offer little support in understanding precisely how changes to the code relate to changes to the tests. In particular, it is hard to see whether (modified) test code covers the changed code. To mitigate this problem, we developed OPERIAS, a tool that provides a combined visualization of fine-grained source code differences and coverage impact. OPERIAS works both as a stand-Alone tool on specific project versions and as a service hooked to GitHub. In the latter case, it provides automated reports for each new pull request, which reviewers can use to assess the code contribution. OPERIAS works for any Java project that works with maven and its standard Cobertura coverage plugin. We present how OPERIAS could be used to identify test-related problems in real-world pull requests. OPERIAS is open source and available on GitHub with a demo video: https://github.com/SERG-Delft/operias.

Files

Fse2016td.pdf
(pdf | 2.78 Mb)
License info not available