Visualizing code and coverage changes for code review

Sebastiaan Oosterwaal, Arie Van Deursen, Roberta De Souza Coelho, Anand Ashok Sawant, Alberto Bacchelli

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

5 Citations (Scopus)
182 Downloads (Pure)

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.

Original languageEnglish
Title of host publicationFSE 2016
Subtitle of host publicationProceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering
Place of PublicationNew York, NY
PublisherAssociation for Computing Machinery (ACM)
Pages1038-1041
Number of pages4
ISBN (Electronic)978-1-4503-4218-6
DOIs
Publication statusPublished - 1 Nov 2016
Event24th ACM SIGSOFT International Symposium on Foundations of Software Engineering, FSE 2016 - Seattle, United States
Duration: 13 Nov 201618 Nov 2016

Conference

Conference24th ACM SIGSOFT International Symposium on Foundations of Software Engineering, FSE 2016
Country/TerritoryUnited States
CitySeattle
Period13/11/1618/11/16

Keywords

  • Code review
  • Software evolution
  • Software testing

Fingerprint

Dive into the research topics of 'Visualizing code and coverage changes for code review'. Together they form a unique fingerprint.

Cite this