Published October 2, 2016 | Version v1
Preprint Open

A security perspective on code review: The case of Chromium

  • 1. Software Improvement Group / Delft University of Technology
  • 2. Software Improvement Group
  • 3. Delft University of Technology

Description

Modern Code Review (MCR) is an established software development process that aims to improve software quality. Although evidence showed that higher levels of review coverage relates to less post-release bugs, it remains unknown the effectiveness of MCR at specifically finding security issues.
We present a work we conduct aiming to fill that gap by exploring the MCR process in the Chromium open source project. We manually analyzed large sets of registered (114 cases) and missed (71 cases) security issues by backtracking in the project’s issue, review, and code histories. This enabled us to qualify MCR in Chromium from the security perspective from several angles: Are security issues being discussed frequently? What categories of security issues are often missed or found? What characteristics of code reviews appear relevant to the discovery rate?
Within the cases we analyzed, MCR in Chromium addresses security issues at a rate of 1% of reviewers’ comments. Chromium code reviews mostly tend to miss language-specific issues (e.g., C++ issues and buffer overflows) and domain-specific ones (e.g., such as Cross-Site Scripting); when code reviews address issues, mostly they address those that pertain to the latter type. Initial evidence points to reviews conducted by more than 2 reviewers being more successful at finding security issues.

Files

TUD-SERG-2016-019.pdf

Files (913.3 kB)

Name Size Download all
md5:4a7f4ee837de5bc42e0e1ec564b0ce6e
913.3 kB Preview Download

Additional details

Funding

SENECA – Software ENgineering in Enterprise Cloud Applications systems 642954
European Commission