Is well-tested code more energy efficient? - Archive ouverte HAL
Communication Dans Un Congrès Année : 2022

Is well-tested code more energy efficient?

Résumé

Software testing plays an important role in building quality software and improving maintainability. However, there are no research studies to analyze its impact on energy efficiency. In this paper, we conduct a preliminary study on the impact of unit tests and code coverage on the energy consumption of software. Our empirical study analyzes the energy consumption of multiple JSON libraries and the relation of their energy efficiency to test metrics. Although our study has limitations in the size of the data set, we found that there are hints for a positive correlation between line coverage and energy consumption.
Fichier principal
Vignette du fichier
noureddine-worie-2022.pdf (152.95 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03635797 , version 1 (08-04-2022)

Identifiants

Citer

Adel Noureddine, Matias Martinez, Houssam Kanso, Noëlle Bru. Is well-tested code more energy efficient?. 11th Workshop on the Reliability of Intelligent Environments, Jun 2022, Biarritz, France. ⟨10.3233/AISE220044⟩. ⟨hal-03635797⟩
118 Consultations
320 Téléchargements

Altmetric

Partager

More