
You have already added 0 works in your ORCID record related to the merged Research product.
You have already added 0 works in your ORCID record related to the merged Research product.
<script type="text/javascript">
<!--
document.write('<div id="oa_widget"></div>');
document.write('<script type="text/javascript" src="https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=undefined&type=result"></script>');
-->
</script>
Empirical Evaluation of the Energy Impact of Refactoring Code Smells

doi: 10.29007/dz83
Empirical Evaluation of the Energy Impact of Refactoring Code Smells
Software energy efficiency has gained increasing attention of the research community. How to improve it, however, still lacks evidence. Specifically, the impact of code smell refactoring on energy efficiency has been scarcely investigated. In the pilot study here reported, we investigate the impact on performance and energy consumption of refactoring well-known code smells on Java software applications. In order to understand if software metrics can be used as indicators of the energy impact of refactoring, we also measured the variation caused by refactoring on a set of well-established software metrics. We conducted a controlled experiment using state-of-the-art power measurement equipment. Statistical hypothesis testing and effect size estimation were performed on the experimental results. Results show that in one out of three applications, refactoring each smell significantly impacted power- and energy consumption. Specifically, refactoring Feature Envy and Long Method smells led to a 49% energy efficiency improvement. No software metrics significantly correlated with execution time, power or energy consumption. In conclusion, refactoring code smells can significantly improve software energy efficiency. The magnitude of the impact may depend on application properties, e.g. size or age. Further research is needed to understand the relationship between software metrics and energy efficiency.
- Vrije Universiteit Amsterdam Netherlands
- National Institute for Nuclear Physics Italy
- Gran Sasso Science Institute Italy
- Amsterdam UMC, location VUmc Netherlands
- Gran Sasso Science Institute Italy
Software Engineering, sustainability, Green IT, Connected World, SDG 7 - Affordable and Clean Energy, Science for Sustainability, Empirical Software Engineering, Energy Efficiency, Code Smells, energy efficiency
Software Engineering, sustainability, Green IT, Connected World, SDG 7 - Affordable and Clean Energy, Science for Sustainability, Empirical Software Engineering, Energy Efficiency, Code Smells, energy efficiency
1 Research products, page 1 of 1
- IsRelatedTo
citations This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).19 popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.Top 10% influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).Top 10% impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.Top 10%
