Passer à la navigation principale Passer à la recherche Passer au contenu principal

Investigating the energy impact of Android smells

  • Antonin Carette
  • , Mehdi Adel Ait Younes
  • , Geoffrey Hecht
  • , Naouel Moha
  • , Romain Rouvoy
  • Université du Québec à Montréal
  • Université de Lille
  • IUF

Résultats de recherche: Chapitre dans un livre, rapport, actes de conférence › Participation à un ouvrage collectif lié à un colloque ou une conférence › Revue par des pairs

83 Citations (Scopus)

Résumé

Android code smells are bad implementation practices within Android applications (or apps) that may lead to poor software quality. These code smells are known to degrade the performance of apps and to have an impact on energy consumption. However, few studies have assessed the positive impact on energy consumption when correcting code smells. In this paper, we therefore propose a tooled and reproducible approach, called HOT-PEPPER, to automatically correct code smells and evaluate their impact on energy consumption. Currently, HOT-PEPPER is able to automatically correct three types of Android-specific code smells: Internal Getter/Setter, Member Ignoring Method, and HashMap Usage. HOT-PEPPER derives four versions of the apps by correcting each detected smell independently, and all of them at once. HOT-PEPPER is able to report on the energy consumption of each app version with a single user scenario test. Our empirical study on five open-source Android apps shows that correcting the three aforementioned Android code smells effectively and significantly reduces the energy consumption of apps. In particular, we observed a global reduction in energy consumption by 4,83% in one app when the three code smells are corrected. We also take advantage of the flexibility of HOT-PEPPER to investigate the impact of three picture smells (bad picture format, compression, and bitmap format) in sample apps. We observed that the usage of optimised JPG pictures with the Android default bitmap format is the most energy efficient combination in Android apps. We believe that developers can benefit from our approach and results to guide their refactoring, and thus improve the energy consumption of their mobile apps.

Langue originaleAnglais
titreSANER 2017 - 24th IEEE International Conference on Software Analysis, Evolution, and Reengineering
rédacteurs en chefGabriele Bavota, Martin Pinzger, Andrian Marcus
EditeurInstitute of Electrical and Electronics Engineers Inc.
Pages115-126
Nombre de pages12
ISBN (Electronique)9781509055012
Les DOIs
ÉtatPublié - 21 mars 2017
Modification externeOui
Evénement24th IEEE International Conference on Software Analysis, Evolution, and Reengineering, SANER 2017 - Klagenfurt, Autriche
Durée: 21 févr. 2017 → 24 févr. 2017

Série de publications

NomSANER 2017 - 24th IEEE International Conference on Software Analysis, Evolution, and Reengineering

Conférence

Conférence24th IEEE International Conference on Software Analysis, Evolution, and Reengineering, SANER 2017
Pays/TerritoireAutriche
La villeKlagenfurt
Période21/02/17 → 24/02/17

SDG des Nations Unies

Ce résultat contribue à ou aux Objectifs de développement durable suivants

  1. SDG 7 – Energie propre et d'un coût abordable
    SDG 7 – Energie propre et d'un coût abordable

Classification disciplinaire ASJC Scopus

  • Logiciel

Empreinte digitale

Voici les principaux termes ou expressions associés à « Investigating the energy impact of Android smells ». Ces libellés thématiques sont générés à partir du titre et du résumé de la publication. Ensemble, ils forment une empreinte digitale unique.

Citer cette ressource