{"id":{"repo_id":"alberta","oai_identifier":"oai:ualberta.scholaris.ca:123456789/107697"},"canonical_url":"https://search.ndltd.org/etd/alberta/oai:ualberta.scholaris.ca:123456789/107697","repository":{"repo_id":"alberta","name":"University of Alberta","base_url":"https://era.library.ualberta.ca/oai"},"display":{"title":"Selective Instrumentation for Runtime Code Coverage in AAA C++ Games","abstract":"Code 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.","abstract_html":"Code 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.","abstract_has_math":false,"creators":["Gauk, Ian"],"institution":"University of Alberta","degree_name":"Master of Science","degree_level":"Master's","degree_discipline":"Software Engineering and Intelligent Systems","degree_department":null,"school":null,"contributors":[],"advisors":["Cor-Paul, Bezemer"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-11","date_published":"2026-11","updated_at":"2026-11-26T21:59:41Z","subjects":["Computer Games","Software Testing and Debugging"],"languages":["en"],"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."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.7939/86203","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.7939/86203","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aalberta%3Aoai%3Aualberta.scholaris.ca%3A123456789%2F107697","prefix":"oai_dc"},"source_record":{"url":"https://era.library.ualberta.ca/oai?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aualberta.scholaris.ca%3A123456789%2F107697","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Cor-Paul, Bezemer"]},{"key":"dc:creator","label":"Author","values":["Gauk, Ian"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-11-16T14:09:26Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-11"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Software Engineering and Intelligent Systems"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master's"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Alberta"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer Games","Software Testing and Debugging"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.7939/86203"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Code 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."]},{"key":"dc:title","label":"Title","values":["Selective Instrumentation for Runtime Code Coverage in AAA C++ Games"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Cor-Paul, Bezemer"],"dc:creator":["Gauk, Ian"],"dc:date.accessioned":["2026-11-16T14:09:26Z"],"dc:date.issued":["2026-11"],"dc:description.abstract":["Code 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."],"dc:identifier.doi":["https://doi.org/10.7939/86203"],"dc:language.iso":["en"],"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."],"dc:subject":["Computer Games","Software Testing and Debugging"],"dc:title":["Selective Instrumentation for Runtime Code Coverage in AAA C++ Games"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_discipline":["Software Engineering and Intelligent Systems"],"thesis:degree_level":["Master's"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["University of Alberta"]},"updated_at":"2026-11-26T21:59:41Z"}