{"id":{"repo_id":"alberta","oai_identifier":"oai:ualberta.scholaris.ca:123456789/107389"},"canonical_url":"https://search.ndltd.org/etd/alberta/oai:ualberta.scholaris.ca:123456789/107389","repository":{"repo_id":"alberta","name":"University of Alberta","base_url":"https://era.library.ualberta.ca/oai"},"display":{"title":"Adapting Static Textual Code Metrics for Visual Programming Language Complexity Analysis","abstract":"Visual programming languages (VPLs) such as Unreal Engine Blueprints (Blueprints) and Unity Visual Scripting (UVS) are increasingly used in video game development to construct gameplay logic through the manipulation of graphical node-and-edge-based elements. Despite increasing adoption of game development VPLs, there is a lack of code metrics for developers to measure, monitor, and maintain their VPL codebase. This thesis adapts three textual code metrics for node-and-edge-based Blueprints and UVS: (1) Source Lines of Code, which we adapt into a new size metric, Size of Code (SOC), to measure magnitude; (2) Halstead Volume (HV) to measure the amount of information contained within the code; and (3) Cyclomatic Complexity (CC) to quantify branching complexity. These adapted code metrics are applied to the source code of Blueprints from 10,000 Unreal Engine GitHub repositories and UVS from 1,355 Unity GitHub repositories, and the results are statistically compared with the textual code metrics of the C++ source code in the Unreal Engine repositories and the C\\# source code in the Unity repositories. We find that, across both Unreal Engine and Unity, VPL source code exhibits significantly lower measured size under the respective size metrics (SOC for visual source code and SLOC for textual source code), as well as lower information content measured by HV and lower branching complexity measured by CC, than textual source code. The size finding requires separate interpretation because SOC and SLOC quantify different structural elements and are not directly comparable in magnitude. Our proposed game development VPL metrics enable game developers to measure the size, information, and branching complexity of visual source code, the properties used to gauge maintainability in textual source code.","abstract_html":"Visual programming languages (VPLs) such as Unreal Engine Blueprints (Blueprints) and Unity Visual Scripting (UVS) are increasingly used in video game development to construct gameplay logic through the manipulation of graphical node-and-edge-based elements. Despite increasing adoption of game development VPLs, there is a lack of code metrics for developers to measure, monitor, and maintain their VPL codebase. This thesis adapts three textual code metrics for node-and-edge-based Blueprints and UVS: (1) Source Lines of Code, which we adapt into a new size metric, Size of Code (SOC), to measure magnitude; (2) Halstead Volume (HV) to measure the amount of information contained within the code; and (3) Cyclomatic Complexity (CC) to quantify branching complexity. These adapted code metrics are applied to the source code of Blueprints from 10,000 Unreal Engine GitHub repositories and UVS from 1,355 Unity GitHub repositories, and the results are statistically compared with the textual code metrics of the C++ source code in the Unreal Engine repositories and the C\\# source code in the Unity repositories. We find that, across both Unreal Engine and Unity, VPL source code exhibits significantly lower measured size under the respective size metrics (SOC for visual source code and SLOC for textual source code), as well as lower information content measured by HV and lower branching complexity measured by CC, than textual source code. The size finding requires separate interpretation because SOC and SLOC quantify different structural elements and are not directly comparable in magnitude. Our proposed game development VPL metrics enable game developers to measure the size, information, and branching complexity of visual source code, the properties used to gauge maintainability in textual source code.","abstract_has_math":false,"creators":["Guo, Ziyuan"],"institution":"University of Alberta","degree_name":"Master of Science","degree_level":"Master's","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Hindle, Abram (Computing Science)"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-11","date_published":"2026-11","updated_at":"2026-11-26T20:55:14Z","subjects":["Visual programming language","Software metric","Static code analysis","Unreal Engine Blueprints","Unity Visual Scripting","Cyclomatic complexity","Halstead Volume","Source Lines of Code"],"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/85895","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.7939/85895","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%2F107389","prefix":"oai_dc"},"source_record":{"url":"https://era.library.ualberta.ca/oai?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aualberta.scholaris.ca%3A123456789%2F107389","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Hindle, Abram (Computing Science)"]},{"key":"dc:creator","label":"Author","values":["Guo, Ziyuan"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-11-16T14:06:35Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-11"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"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":["Visual programming language","Software metric","Static code analysis","Unreal Engine Blueprints","Unity Visual Scripting","Cyclomatic complexity","Halstead Volume","Source Lines of Code"]}]},{"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/85895"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Visual programming languages (VPLs) such as Unreal Engine Blueprints (Blueprints) and Unity Visual Scripting (UVS) are increasingly used in video game development to construct gameplay logic through the manipulation of graphical node-and-edge-based elements. Despite increasing adoption of game development VPLs, there is a lack of code metrics for developers to measure, monitor, and maintain their VPL codebase. This thesis adapts three textual code metrics for node-and-edge-based Blueprints and UVS: (1) Source Lines of Code, which we adapt into a new size metric, Size of Code (SOC), to measure magnitude; (2) Halstead Volume (HV) to measure the amount of information contained within the code; and (3) Cyclomatic Complexity (CC) to quantify branching complexity. These adapted code metrics are applied to the source code of Blueprints from 10,000 Unreal Engine GitHub repositories and UVS from 1,355 Unity GitHub repositories, and the results are statistically compared with the textual code metrics of the C++ source code in the Unreal Engine repositories and the C\\# source code in the Unity repositories. We find that, across both Unreal Engine and Unity, VPL source code exhibits significantly lower measured size under the respective size metrics (SOC for visual source code and SLOC for textual source code), as well as lower information content measured by HV and lower branching complexity measured by CC, than textual source code. The size finding requires separate interpretation because SOC and SLOC quantify different structural elements and are not directly comparable in magnitude. Our proposed game development VPL metrics enable game developers to measure the size, information, and branching complexity of visual source code, the properties used to gauge maintainability in textual source code."]},{"key":"dc:title","label":"Title","values":["Adapting Static Textual Code Metrics for Visual Programming Language Complexity Analysis"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Hindle, Abram (Computing Science)"],"dc:creator":["Guo, Ziyuan"],"dc:date.accessioned":["2026-11-16T14:06:35Z"],"dc:date.issued":["2026-11"],"dc:description.abstract":["Visual programming languages (VPLs) such as Unreal Engine Blueprints (Blueprints) and Unity Visual Scripting (UVS) are increasingly used in video game development to construct gameplay logic through the manipulation of graphical node-and-edge-based elements. Despite increasing adoption of game development VPLs, there is a lack of code metrics for developers to measure, monitor, and maintain their VPL codebase. This thesis adapts three textual code metrics for node-and-edge-based Blueprints and UVS: (1) Source Lines of Code, which we adapt into a new size metric, Size of Code (SOC), to measure magnitude; (2) Halstead Volume (HV) to measure the amount of information contained within the code; and (3) Cyclomatic Complexity (CC) to quantify branching complexity. These adapted code metrics are applied to the source code of Blueprints from 10,000 Unreal Engine GitHub repositories and UVS from 1,355 Unity GitHub repositories, and the results are statistically compared with the textual code metrics of the C++ source code in the Unreal Engine repositories and the C\\# source code in the Unity repositories. We find that, across both Unreal Engine and Unity, VPL source code exhibits significantly lower measured size under the respective size metrics (SOC for visual source code and SLOC for textual source code), as well as lower information content measured by HV and lower branching complexity measured by CC, than textual source code. The size finding requires separate interpretation because SOC and SLOC quantify different structural elements and are not directly comparable in magnitude. Our proposed game development VPL metrics enable game developers to measure the size, information, and branching complexity of visual source code, the properties used to gauge maintainability in textual source code."],"dc:identifier.doi":["https://doi.org/10.7939/85895"],"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":["Visual programming language","Software metric","Static code analysis","Unreal Engine Blueprints","Unity Visual Scripting","Cyclomatic complexity","Halstead Volume","Source Lines of Code"],"dc:title":["Adapting Static Textual Code Metrics for Visual Programming Language Complexity Analysis"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["Master's"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["University of Alberta"]},"updated_at":"2026-11-26T20:55:14Z"}