Yazarlar |
Dr. Öğr. Üyesi İbrahim ŞANLIALP
Kırşehir Ahi Evran Üniversitesi, Türkiye |
Muhammed Maruf Öztürk
Türkiye |
Tuncay Yiğit
Türkiye |
Özet |
Code refactoring is a time-consuming and effort-intensive process that is applied for making improvements to source codes. There exist several refactoring techniques to improve software quality. Some of them aim to reduce the energy consumption of the software. However, the combination of applied refactoring techniques is crucial to the success rate. In addition, to provide sustainable services on portable devices such as mobile phones and laptops, which rely on batteries, improving and optimizing the energy efficiency is important. This study focuses on examining the effect of code refactoring techniques on energy consumption. A total of 25 different source codes of applications programmed in the C# and Java languages are selected for the study, and combinations obtained from refactoring techniques are applied to these source codes. The combinations applied are analyzed using the maintainability index. Power consumption estimation tools are used to measure the energy consumption of the original and refactored codes. The results show that the combinations significantly improve the software’s energy efficiency. The results will provide a better understanding of the relationship between the energy efficiency of software and refactoring techniques. Moreover, they will help developers to improve their object-oriented code in terms of both energy efficiency and sustainability. |
Anahtar Kelimeler |
Code refactoring | Energy consumption | Energy efficiency | Green and sustainable software | Maintainability index | Object-oriented code | Sustainability |
Makale Türü | Özgün Makale |
Makale Alt Türü | SSCI, AHCI, SCI, SCI-Exp dergilerinde yayımlanan tam makale |
Dergi Adı | Electronics |
Dergi ISSN | 2079-9292 |
Dergi Tarandığı Indeksler | SCI-Expanded |
Makale Dili | Türkçe |
Basım Tarihi | 01-2022 |
Cilt No | 11 |
Sayı | 3 |
Doi Numarası | 10.3390/electronics11030442 |
Makale Linki | http://dx.doi.org/10.3390/electronics11030442 |