A Developer-Oriented Framework for Assessing Power Consumption in Mobile Applications: Android Energy Smells Case Study

被引:1
|
作者
Groza, Claudiu [1 ]
Dumitru-Cristian, Apostol [1 ]
Marcu, Marius [1 ]
Bogdan, Razvan [1 ]
机构
[1] Polyethn Univ Timisoara, Fac Automat & Comp, Timisoara 300006, Romania
关键词
power consumption; software design patterns; bad patterns; energy code smells;
D O I
10.3390/s24196469
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
Currently, people spend a lot of time using their mobile devices. With such ubiquity of mobile devices in our daily life, battery capacity and quality are of utmost importance. Running software applications (called apps) are one of the major factors influencing the power consumption in mobile devices. In order to meet user needs, mobile apps are becoming inherently complex and resource greedy. Therefore, fulfilling these requirements at the pace imposed by the market may degrade software construction quality and insert so-called energy code smells: bad patterns in the source code of an app that indicate a deeper problem and adversely affect power consumption. This work proposes a developer-oriented framework for identifying and fixing patterns via analyzing different application code flavors in a user-driven test scenario. A special app was designed in order to validate the Android implementation of the proposed methodology. The study results have shown significant improvement regarding energy efficiency after correcting one or more energy code smells, with a 4 to 30 percent decrease in battery drain. Additionally, the power consumption signature term is defined in the context of mobile applications. This paper presents a developer-oriented framework for assessing power consumption in mobile applications. Our key contributions include identifying significant energy code smells, demonstrating their impact on power consumption, and providing a toolset for developers to improve energy efficiency.
引用
收藏
页数:15
相关论文
共 50 条
  • [1] Developer-Oriented Correctness Proofs A Case Study of Cheney's Algorithm
    Gast, Holger
    FORMAL METHODS AND SOFTWARE ENGINEERING, 2011, 6991 : 489 - 504
  • [2] On the impact of code smells on the energy consumption of mobile applications
    Palomba, Fabio
    Di Nucci, Dario
    Panichella, Annibale
    Zaidman, Andy
    De Lucia, Andrea
    INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 105 : 43 - 55
  • [3] Assessing Network Energy Consumption of Mobile Applications
    Chan, Chien Aun
    Li, Wenwen
    Bian, Sen
    Chih-Lin, I
    Gygax, Andre F.
    Leckie, Christopher
    Yan, Ming
    Hinton, Kerry
    IEEE COMMUNICATIONS MAGAZINE, 2015, 53 (11) : 182 - 191
  • [4] Assessing Performance and Energy Consumption in Mobile Applications
    Mendonca, Julio
    Lima, Ricardo
    Andrade, Ermeson
    Callou, Gustavo
    2015 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC 2015): BIG DATA ANALYTICS FOR HUMAN-CENTRIC SYSTEMS, 2015, : 74 - 79
  • [5] An Empirical Study of the Energy Consumption of Android Applications
    Li, Ding
    Hao, Shuai
    Gui, Jiaping
    Halfond, William G. J.
    2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2014, : 121 - 130
  • [6] The Recognition of Fingerprints on Mobile Applications: An Android Case Study
    Dospinescu, Octavian
    Lisii, Ilinca
    INNOVATION VISION 2020: FROM REGIONAL DEVELOPMENT SUSTAINABILITY TO GLOBAL ECONOMIC GROWTH, VOL I-VI, 2015, : 2638 - 2647
  • [7] An exploratory study on assessing the energy impact of logging on Android applications
    Shaiful Chowdhury
    Silvia Di Nardo
    Abram Hindle
    Zhen Ming (Jack) Jiang
    Empirical Software Engineering, 2018, 23 : 1422 - 1456
  • [8] An exploratory study on assessing the energy impact of logging on Android applications
    Chowdhury, Shaiful
    Di Nardo, Silvia
    Hindle, Abram
    Jiang, Zhen Ming
    EMPIRICAL SOFTWARE ENGINEERING, 2018, 23 (03) : 1422 - 1456
  • [9] Use Case Set Optimization in Android Mobile Platform Considering Energy Consumption
    Yang, Peixing
    Zhou, Di
    PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON MECHATRONICS, MATERIALS, CHEMISTRY AND COMPUTER ENGINEERING 2015 (ICMMCCE 2015), 2015, 39 : 1315 - 1318
  • [10] Assessing mobile applications performance and energy consumption through experiments and Stochastic models
    Mendonca, Julio
    Andrade, Ermeson
    Lima, Ricardo
    COMPUTING, 2019, 101 (12) : 1789 - 1811