Author(s):
Pereira, Rui ; Carcao, Tiago ; Couto, Marco ; Cunha, Jácome Miguel Costa ; Fernandes, João Paulo ; Saraiva, João
Date: 2017
Persistent ID: https://hdl.handle.net/1822/65250
Origin: RepositóriUM - Universidade do Minho
Subject(s): Green Computing; Program Optimization; Fault Localization
Description
This paper briefly proposes a technique to detect energy inefficient fragments in the source code of a software system. Test cases are executed to obtain energy consumption measurements, and a statistical method, based on spectrum-based fault localization, is introduced to relate energy consumption to the system's source code. The result of our technique is an energy ranking of source code fragments pointing developers to possible energy leaks in their code.