University of Alberta
Selective Instrumentation for Runtime Code Coverage in AAA C++ Games
Abstract
dc:description.abstractCode coverage is a valuable tool for testing, but in the case of AAA games, collecting coverage is challenging due to the conflict between performance requirements and instrumentation overhead. We propose a selective instrumentation approach tailored to C++ based game engines that reduces the scope of instrumentation while preserving coverage data attributable to developer commits. We integrate this instrumentation approach into the build and test pipeline of our industry partner, enabling developers to receive coverage feedback on tests executed against their changes. The compilation overhead introduced by our approach is minimal, remaining below a 5% increase in compilation time even for large commits. In performance evaluations, even the worst-case scenario maintains frame rates above 50% of the non-instrumented baseline. In practice, our framework allows commit-level or build-level coverage measurement with minimal runtime and performance overhead.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- Master's
- Discipline thesis:degree_discipline
- Software Engineering and Intelligent Systems
- Grantor
- University of Alberta
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Gauk, Ian
- Advisor dc:contributor.advisor
-
- Cor-Paul, Bezemer
Subjects
dc:subject × 2Rights
dc:rights- Statement dc:rights
-
- This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- DOI dc:identifier.doi
- https://doi.org/10.7939/86203