Do energy-oriented changes hinder maintainability?

Luis Cruz, Rui Abreu, John Grundy, Li Li, Xin Xia

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

Energy efficiency is a crucial quality requirement for mobile applications. However, improving energy efficiency is far from trivial as developers lack the knowledge and tools to aid in this activity. In this paper we study the impact of changes to improve energy efficiency on the maintainability of Android applications. Using a dataset containing 539 energy efficiency-oriented commits, we measure maintainability- A s computed by the Software Improvement Group's web-based source code analysis service Better Code Hub (BCH)-before and after energy efficiency-related code changes. Results show that in general improving energy efficiency comes with a significant decrease in maintainability. This is particularly evident in code changes to accommodate the Power Save Mode and Wakelock Addition energy patterns. In addition, we perform manual analysis to assess how real examples of energy-oriented changes affect maintainability. Our results help mobile app developers to 1) avoid common maintainability issues when improving the energy efficiency of their apps; and 2) adopt development processes to build maintainable and energy-efficient code. We also support researchers by identifying challenges in mobile app development that still need to be addressed.

Original languageEnglish
Title of host publicationProceedings - 2019 IEEE International Conference on Software Maintenance and Evolution, ICSME 2019
EditorsMiryung Kim, Árpád Beszédes
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages29-40
Number of pages12
ISBN (Electronic)9781728130941
ISBN (Print)9781728130958
DOIs
Publication statusPublished - 2019
EventIEEE International Conference on Software Maintenance and Evolution 2019 - Cleveland, United States of America
Duration: 30 Sep 20194 Oct 2019
https://icsme2019.github.io/

Conference

ConferenceIEEE International Conference on Software Maintenance and Evolution 2019
Abbreviated titleICSME 2019
CountryUnited States of America
CityCleveland
Period30/09/194/10/19
Internet address

Keywords

  • Energy Efficiency
  • Mobile Computing
  • Software Maintenance

Cite this

Cruz, L., Abreu, R., Grundy, J., Li, L., & Xia, X. (2019). Do energy-oriented changes hinder maintainability? In M. Kim, & Á. Beszédes (Eds.), Proceedings - 2019 IEEE International Conference on Software Maintenance and Evolution, ICSME 2019 (pp. 29-40). [8919169] Piscataway NJ USA: IEEE, Institute of Electrical and Electronics Engineers. https://doi.org/10.1109/ICSME.2019.00013
Cruz, Luis ; Abreu, Rui ; Grundy, John ; Li, Li ; Xia, Xin. / Do energy-oriented changes hinder maintainability?. Proceedings - 2019 IEEE International Conference on Software Maintenance and Evolution, ICSME 2019. editor / Miryung Kim ; Árpád Beszédes. Piscataway NJ USA : IEEE, Institute of Electrical and Electronics Engineers, 2019. pp. 29-40
@inproceedings{a2d0e2cba2b64888a6e146fea349c7c2,
title = "Do energy-oriented changes hinder maintainability?",
abstract = "Energy efficiency is a crucial quality requirement for mobile applications. However, improving energy efficiency is far from trivial as developers lack the knowledge and tools to aid in this activity. In this paper we study the impact of changes to improve energy efficiency on the maintainability of Android applications. Using a dataset containing 539 energy efficiency-oriented commits, we measure maintainability- A s computed by the Software Improvement Group's web-based source code analysis service Better Code Hub (BCH)-before and after energy efficiency-related code changes. Results show that in general improving energy efficiency comes with a significant decrease in maintainability. This is particularly evident in code changes to accommodate the Power Save Mode and Wakelock Addition energy patterns. In addition, we perform manual analysis to assess how real examples of energy-oriented changes affect maintainability. Our results help mobile app developers to 1) avoid common maintainability issues when improving the energy efficiency of their apps; and 2) adopt development processes to build maintainable and energy-efficient code. We also support researchers by identifying challenges in mobile app development that still need to be addressed.",
keywords = "Energy Efficiency, Mobile Computing, Software Maintenance",
author = "Luis Cruz and Rui Abreu and John Grundy and Li Li and Xin Xia",
year = "2019",
doi = "10.1109/ICSME.2019.00013",
language = "English",
isbn = "9781728130958",
pages = "29--40",
editor = "Kim, {Miryung } and Besz{\'e}des, {{\'A}rp{\'a}d }",
booktitle = "Proceedings - 2019 IEEE International Conference on Software Maintenance and Evolution, ICSME 2019",
publisher = "IEEE, Institute of Electrical and Electronics Engineers",
address = "United States of America",

}

Cruz, L, Abreu, R, Grundy, J, Li, L & Xia, X 2019, Do energy-oriented changes hinder maintainability? in M Kim & Á Beszédes (eds), Proceedings - 2019 IEEE International Conference on Software Maintenance and Evolution, ICSME 2019., 8919169, IEEE, Institute of Electrical and Electronics Engineers, Piscataway NJ USA, pp. 29-40, IEEE International Conference on Software Maintenance and Evolution 2019, Cleveland, United States of America, 30/09/19. https://doi.org/10.1109/ICSME.2019.00013

Do energy-oriented changes hinder maintainability? / Cruz, Luis; Abreu, Rui; Grundy, John; Li, Li; Xia, Xin.

Proceedings - 2019 IEEE International Conference on Software Maintenance and Evolution, ICSME 2019. ed. / Miryung Kim; Árpád Beszédes. Piscataway NJ USA : IEEE, Institute of Electrical and Electronics Engineers, 2019. p. 29-40 8919169.

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

TY - GEN

T1 - Do energy-oriented changes hinder maintainability?

AU - Cruz, Luis

AU - Abreu, Rui

AU - Grundy, John

AU - Li, Li

AU - Xia, Xin

PY - 2019

Y1 - 2019

N2 - Energy efficiency is a crucial quality requirement for mobile applications. However, improving energy efficiency is far from trivial as developers lack the knowledge and tools to aid in this activity. In this paper we study the impact of changes to improve energy efficiency on the maintainability of Android applications. Using a dataset containing 539 energy efficiency-oriented commits, we measure maintainability- A s computed by the Software Improvement Group's web-based source code analysis service Better Code Hub (BCH)-before and after energy efficiency-related code changes. Results show that in general improving energy efficiency comes with a significant decrease in maintainability. This is particularly evident in code changes to accommodate the Power Save Mode and Wakelock Addition energy patterns. In addition, we perform manual analysis to assess how real examples of energy-oriented changes affect maintainability. Our results help mobile app developers to 1) avoid common maintainability issues when improving the energy efficiency of their apps; and 2) adopt development processes to build maintainable and energy-efficient code. We also support researchers by identifying challenges in mobile app development that still need to be addressed.

AB - Energy efficiency is a crucial quality requirement for mobile applications. However, improving energy efficiency is far from trivial as developers lack the knowledge and tools to aid in this activity. In this paper we study the impact of changes to improve energy efficiency on the maintainability of Android applications. Using a dataset containing 539 energy efficiency-oriented commits, we measure maintainability- A s computed by the Software Improvement Group's web-based source code analysis service Better Code Hub (BCH)-before and after energy efficiency-related code changes. Results show that in general improving energy efficiency comes with a significant decrease in maintainability. This is particularly evident in code changes to accommodate the Power Save Mode and Wakelock Addition energy patterns. In addition, we perform manual analysis to assess how real examples of energy-oriented changes affect maintainability. Our results help mobile app developers to 1) avoid common maintainability issues when improving the energy efficiency of their apps; and 2) adopt development processes to build maintainable and energy-efficient code. We also support researchers by identifying challenges in mobile app development that still need to be addressed.

KW - Energy Efficiency

KW - Mobile Computing

KW - Software Maintenance

UR - http://www.scopus.com/inward/record.url?scp=85077221538&partnerID=8YFLogxK

U2 - 10.1109/ICSME.2019.00013

DO - 10.1109/ICSME.2019.00013

M3 - Conference Paper

AN - SCOPUS:85077221538

SN - 9781728130958

SP - 29

EP - 40

BT - Proceedings - 2019 IEEE International Conference on Software Maintenance and Evolution, ICSME 2019

A2 - Kim, Miryung

A2 - Beszédes, Árpád

PB - IEEE, Institute of Electrical and Electronics Engineers

CY - Piscataway NJ USA

ER -

Cruz L, Abreu R, Grundy J, Li L, Xia X. Do energy-oriented changes hinder maintainability? In Kim M, Beszédes Á, editors, Proceedings - 2019 IEEE International Conference on Software Maintenance and Evolution, ICSME 2019. Piscataway NJ USA: IEEE, Institute of Electrical and Electronics Engineers. 2019. p. 29-40. 8919169 https://doi.org/10.1109/ICSME.2019.00013