A Methodology for Relating Software Structure with Energy Consumption

被引:8
作者
Bangash, Abdul A. [1 ]
Sahar, Hareem [1 ]
Beg, Mirza O. [1 ]
机构
[1] Natl Univ Comp & Emerging Sci, Dept Comp Sci, Islamabad, Pakistan
来源
2017 IEEE 17TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM) | 2017年
关键词
energy; energy consumption; mining software repositories; software metrics; sustainable-software; static-analysis; EMPIRICAL VALIDATION; QUALITY; METRICS;
D O I
10.1109/SCAM.2017.18
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
With the widespread use of mobile devices relying on limited battery power, the burden of optimizing applications for energy has shifted towards the application developers. In their quest to develop energy efficient applications, developers face the hurdle of measuring the effect of software change on energy consumption. A naive solution to this problem would be to have an exhaustive suite of test cases that are executed upon every change to measure their effect on energy consumption. This method is inefficient and also suffers from environment dependent inconsistencies. A more generalized method would be to relate software structural metrics with its energy consumption behavior. Previous attempts to relate change in objectoriented metrics to their effects on energy consumption have been inconclusive. We observe that structural information is global and executed tests are rarely comprehensive in their coverage, this approach is prone to errors. In this paper, we present a methodology to relate software energy consumption with software structural metrics considering the test case execution traces. Furthermore, we demonstrate that software structural metrics can be reliably related to energy consumption behavior of programs using several versions of three open-source iteratively developed android applications. We discover that by using our approach we are able to identify strong correlations between several software metrics and energy consumption behavior.
引用
收藏
页码:111 / 120
页数:10
相关论文
共 36 条
[11]  
da Silva W. G., 2010, 1.Workshop de Sistemas Embarcados, P145
[12]  
Dong Mian., 2011, MobiSys '11, P335, DOI DOI 10.1145/1999995.2000027
[13]   Assisting Non-Specialist Developers to Build Energy-Efficient Software [J].
Fernandes, Benito ;
Pinto, Gustavo ;
Castor, Fernando .
PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, :158-160
[14]  
Fioravanti F, 2001, FIFTH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING, PROCEEDINGS, P121, DOI 10.1109/CSMR.2001.914976
[15]   Empirical validation of object-oriented metrics on open source software for fault prediction [J].
Gyimóthy, T ;
Ferenc, R ;
Siket, I .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2005, 31 (10) :897-910
[16]   Energy Profiles of Java']Java Collections Classes [J].
Hasan, Samir ;
King, Zachary ;
Hafiz, Munawar ;
Sayagh, Mohammed ;
Adams, Bram ;
Hindle, Abram .
2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, :225-236
[17]  
Hindle A., 2012, 2012 9th IEEE Working Conference on Mining Software Repositories (MSR 2012), P78, DOI 10.1109/MSR.2012.6224303
[18]  
Hindle A., 2014, 11 WORK C MIN SOFT W, P12
[19]   Green Software Engineering: The Curse of Methodology [J].
Hindle, Abram .
2016 IEEE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), VOL 5, 2016, :46-55
[20]   Green mining: a methodology of relating software change and configuration to power consumption [J].
Hindle, Abram .
EMPIRICAL SOFTWARE ENGINEERING, 2015, 20 (02) :374-409