The document discusses measuring and visualizing energy consumption within software code. It proposes instrumenting source code to collect metrics on energy usage during execution. A spectrum-based fault localization technique would be adapted to identify energy leaks by analyzing the metrics collected from different tests. The information would then be represented and presented to developers to help them optimize energy efficiency during the development process.