{"id":{"repo_id":"alberta","oai_identifier":"oai:ualberta.scholaris.ca:123456789/75834"},"canonical_url":"https://search.ndltd.org/etd/alberta/oai:ualberta.scholaris.ca:123456789/75834","repository":{"repo_id":"alberta","name":"University of Alberta","base_url":"https://era.library.ualberta.ca/oai"},"display":{"title":"Cost-effective Strategies to Develop Energy-Efficient Mobile Applications","abstract":"Smartphone users rely on mobile applications (apps) to perform various functionalities. However, if an app is developed inefficiently, such that it over-consumes energy, it could negatively impact user experience and lead to poor user reviews. To ensure that an app does not consume energy unnecessarily, app developers measure and optimize the energy consumption of their apps before releasing them to the end users. However, the current energy optimization and measurement techniques have certain limita- tions. API events consume 85% of the energy in an app [110], yet the current optimization tech- niques focus on developer-written instructions and system events only. Moreover, each API con- figuration may consume different amounts of energy, yet none of the current techniques guide developers on how a specific configuration may affect the energy consumption of their app. On the other hand, the current measurement techniques are cumbersome and require developers to generate test cases and execute them on sophisticated hardware. Hardware is expensive, test-case generation requires regular maintenance, and test-case execution costs time. Therefore, it is im- practical for the developers to execute test cases after each code modification, such as declaring a new variable or adding a new method call. As a solution to the aforementioned problems, this thesis explores a new direction of using static-analysis to optimize and estimate smartphone-app energy consumption, making four key contributions. The first contribution evaluates the practicality of current state-of-the-art techniques, such as search-based energy optimization and test-case execution-based energy measurement. The second contribution introduces an open-source hardware-based energy-measurement framework for iOS applications. The third contribution focuses on providing guidelines on how to config- ure and use an API in an energy-efficient manner, specifically the Core Location Framework API. The fourth and final contribution provides an energy-estimation model that helps identify energy- inefficient API usage in code without test case execution. The proposed energy-efficient guidelines reduce the energy consumption of real-world iOS apps by 26.91%. Additionally, the energy es- timation model can estimate energy consumption and provide information on energy-inefficient usage at an app’s version and method-level within 20% mean absolute error. The techniques presented in this thesis are helpful when developers do not have test cases readily available or hardware to run them on. Moreover, this thesis is particularly useful in an Integrated Development Environment (IDE) or a Continuous Integration/Continuous Deployment (CI/CD) pipeline. In such scenarios, developers cannot wait for test-case execution after each code modification and may require energy insights in real-time.","abstract_html":"Smartphone users rely on mobile applications (apps) to perform various functionalities. However, if an app is developed inefficiently, such that it over-consumes energy, it could negatively impact user experience and lead to poor user reviews. To ensure that an app does not consume energy unnecessarily, app developers measure and optimize the energy consumption of their apps before releasing them to the end users. However, the current energy optimization and measurement techniques have certain limita- tions. API events consume 85% of the energy in an app [110], yet the current optimization tech- niques focus on developer-written instructions and system events only. Moreover, each API con- figuration may consume different amounts of energy, yet none of the current techniques guide developers on how a specific configuration may affect the energy consumption of their app. On the other hand, the current measurement techniques are cumbersome and require developers to generate test cases and execute them on sophisticated hardware. Hardware is expensive, test-case generation requires regular maintenance, and test-case execution costs time. Therefore, it is im- practical for the developers to execute test cases after each code modification, such as declaring a new variable or adding a new method call. As a solution to the aforementioned problems, this thesis explores a new direction of using static-analysis to optimize and estimate smartphone-app energy consumption, making four key contributions. The first contribution evaluates the practicality of current state-of-the-art techniques, such as search-based energy optimization and test-case execution-based energy measurement. The second contribution introduces an open-source hardware-based energy-measurement framework for iOS applications. The third contribution focuses on providing guidelines on how to config- ure and use an API in an energy-efficient manner, specifically the Core Location Framework API. The fourth and final contribution provides an energy-estimation model that helps identify energy- inefficient API usage in code without test case execution. The proposed energy-efficient guidelines reduce the energy consumption of real-world iOS apps by 26.91%. Additionally, the energy es- timation model can estimate energy consumption and provide information on energy-inefficient usage at an app’s version and method-level within 20% mean absolute error. The techniques presented in this thesis are helpful when developers do not have test cases readily available or hardware to run them on. Moreover, this thesis is particularly useful in an Integrated Development Environment (IDE) or a Continuous Integration/Continuous Deployment (CI/CD) pipeline. In such scenarios, developers cannot wait for test-case execution after each code modification and may require energy insights in real-time.","abstract_has_math":false,"creators":["Bangash, Abdul Ali"],"institution":"University of Alberta","degree_name":"Doctor of Philosophy","degree_level":"Doctoral","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Hindle, Abram (Computing Science)","Ali, Karim (Computing Science)"],"committee_chairs":[],"committee_members":[],"year":2023,"date_issued":"2023-11","date_published":"2023-11","updated_at":"2026-11-26T21:09:39Z","subjects":["Software Engineering","Mobile Applications","Static Analysis"],"languages":["en"],"rights":["This thesis is made available by the University of Alberta Libraries 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/r3-dpgs-9f50","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.7939/r3-dpgs-9f50","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%2F75834","prefix":"oai_dc"},"source_record":{"url":"https://era.library.ualberta.ca/oai?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aualberta.scholaris.ca%3A123456789%2F75834","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Hindle, Abram (Computing Science)","Ali, Karim (Computing Science)"]},{"key":"dc:creator","label":"Author","values":["Bangash, Abdul Ali"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-05-28T20:38:11Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-05-28T20:38:11Z"]},{"key":"dc:date.issued","label":"Date","values":["2023-11"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"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":["Software Engineering","Mobile Applications","Static Analysis"]}]},{"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 Libraries 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/r3-dpgs-9f50"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Smartphone users rely on mobile applications (apps) to perform various functionalities. However, if an app is developed inefficiently, such that it over-consumes energy, it could negatively impact user experience and lead to poor user reviews. To ensure that an app does not consume energy unnecessarily, app developers measure and optimize the energy consumption of their apps before releasing them to the end users. However, the current energy optimization and measurement techniques have certain limita- tions. API events consume 85% of the energy in an app [110], yet the current optimization tech- niques focus on developer-written instructions and system events only. Moreover, each API con- figuration may consume different amounts of energy, yet none of the current techniques guide developers on how a specific configuration may affect the energy consumption of their app. On the other hand, the current measurement techniques are cumbersome and require developers to generate test cases and execute them on sophisticated hardware. Hardware is expensive, test-case generation requires regular maintenance, and test-case execution costs time. Therefore, it is im- practical for the developers to execute test cases after each code modification, such as declaring a new variable or adding a new method call. As a solution to the aforementioned problems, this thesis explores a new direction of using static-analysis to optimize and estimate smartphone-app energy consumption, making four key contributions. The first contribution evaluates the practicality of current state-of-the-art techniques, such as search-based energy optimization and test-case execution-based energy measurement. The second contribution introduces an open-source hardware-based energy-measurement framework for iOS applications. The third contribution focuses on providing guidelines on how to config- ure and use an API in an energy-efficient manner, specifically the Core Location Framework API. The fourth and final contribution provides an energy-estimation model that helps identify energy- inefficient API usage in code without test case execution. The proposed energy-efficient guidelines reduce the energy consumption of real-world iOS apps by 26.91%. Additionally, the energy es- timation model can estimate energy consumption and provide information on energy-inefficient usage at an app’s version and method-level within 20% mean absolute error. The techniques presented in this thesis are helpful when developers do not have test cases readily available or hardware to run them on. Moreover, this thesis is particularly useful in an Integrated Development Environment (IDE) or a Continuous Integration/Continuous Deployment (CI/CD) pipeline. In such scenarios, developers cannot wait for test-case execution after each code modification and may require energy insights in real-time."]},{"key":"dc:title","label":"Title","values":["Cost-effective Strategies to Develop Energy-Efficient Mobile Applications"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Hindle, Abram (Computing Science)","Ali, Karim (Computing Science)"],"dc:creator":["Bangash, Abdul Ali"],"dc:date.accessioned":["2025-05-28T20:38:11Z"],"dc:date.available":["2025-05-28T20:38:11Z"],"dc:date.issued":["2023-11"],"dc:description.abstract":["Smartphone users rely on mobile applications (apps) to perform various functionalities. However, if an app is developed inefficiently, such that it over-consumes energy, it could negatively impact user experience and lead to poor user reviews. To ensure that an app does not consume energy unnecessarily, app developers measure and optimize the energy consumption of their apps before releasing them to the end users. However, the current energy optimization and measurement techniques have certain limita- tions. API events consume 85% of the energy in an app [110], yet the current optimization tech- niques focus on developer-written instructions and system events only. Moreover, each API con- figuration may consume different amounts of energy, yet none of the current techniques guide developers on how a specific configuration may affect the energy consumption of their app. On the other hand, the current measurement techniques are cumbersome and require developers to generate test cases and execute them on sophisticated hardware. Hardware is expensive, test-case generation requires regular maintenance, and test-case execution costs time. Therefore, it is im- practical for the developers to execute test cases after each code modification, such as declaring a new variable or adding a new method call. As a solution to the aforementioned problems, this thesis explores a new direction of using static-analysis to optimize and estimate smartphone-app energy consumption, making four key contributions. The first contribution evaluates the practicality of current state-of-the-art techniques, such as search-based energy optimization and test-case execution-based energy measurement. The second contribution introduces an open-source hardware-based energy-measurement framework for iOS applications. The third contribution focuses on providing guidelines on how to config- ure and use an API in an energy-efficient manner, specifically the Core Location Framework API. The fourth and final contribution provides an energy-estimation model that helps identify energy- inefficient API usage in code without test case execution. The proposed energy-efficient guidelines reduce the energy consumption of real-world iOS apps by 26.91%. Additionally, the energy es- timation model can estimate energy consumption and provide information on energy-inefficient usage at an app’s version and method-level within 20% mean absolute error. The techniques presented in this thesis are helpful when developers do not have test cases readily available or hardware to run them on. Moreover, this thesis is particularly useful in an Integrated Development Environment (IDE) or a Continuous Integration/Continuous Deployment (CI/CD) pipeline. In such scenarios, developers cannot wait for test-case execution after each code modification and may require energy insights in real-time."],"dc:identifier.doi":["https://doi.org/10.7939/r3-dpgs-9f50"],"dc:language.iso":["en"],"dc:rights":["This thesis is made available by the University of Alberta Libraries 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":["Software Engineering","Mobile Applications","Static Analysis"],"dc:title":["Cost-effective Strategies to Develop Energy-Efficient Mobile Applications"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["Doctoral"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["University of Alberta"]},"updated_at":"2026-11-26T21:09:39Z"}