Impact on energy consumption of design patterns, code smells and refactoring techniques: A systematic mapping study

被引:1
作者
Poy, Olivia [1 ]
Angeles Moraga, Ma [1 ]
Garcia, Felix [1 ]
Calero, Coral [1 ]
机构
[1] Univ Castilla La Mancha, Inst Technol & Informat Syst, Paseo Univ 4, Castilla La Mancha 13071, Spain
关键词
Design patterns; Code smells; Refactoring techniques; Green software; Energy efficiency; EFFICIENCY;
D O I
10.1016/j.jss.2024.112303
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software energy efficiency is an increasingly relevant aspect that should be taken into account during software development and some of the most common design and coding decisions include the use of design patterns, the removal of code smells and the use of refactoring techniques. Therefore, the aim of this systematic mapping study is to provide an overview on the impact that design patterns, code smells, and refactoring techniques have on the energy consumption of software. This may assist practitioners in developing energy-efficient software as well as the research community in undertaking further research on the topic. The results of the primary studies showed that design patterns, code smells and refactoring techniques impact software energy consumption. However, not all of them have a clear positive or negative effect, which requires further study. Overall, the use of design patterns seems to have a negative impact on energy consumption, the removal of code smells tends to have a more positive impact. We found no conclusive result on the relationship between using refactoring techniques and energy consumption.
引用
收藏
页数:23
相关论文
共 85 条
[1]   Evolution of Kotlin Apps in terms of Energy Consumption: An Exploratory Study [J].
Ahmed, Hesham ;
Boshchenko, Alina ;
Khan, Niaz Ali ;
Knyajev, Dmitriy ;
Garifollina, Dinara ;
Scoccia, Gian Luca ;
Martinez, Matias ;
Malavolta, Ivano .
2023 INTERNATIONAL CONFERENCE ON ICT FOR SUSTAINABILITY, ICT4S, 2023, :46-56
[2]  
Akhter Nazneen, 2021, Proceedings of 2021 International Conference on Information and Communication Technology for Sustainable Development (ICICT4SD), P356, DOI 10.1109/ICICT4SD50815.2021.9396937
[3]   Interactions between environmental sustainability goals and software product quality: A mapping study [J].
Alberto Garcia-Mireles, Gabriel ;
Angeles Moraga, Ma ;
Garcia, Felix ;
Calero, Coral ;
Piattini, Mario .
INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 95 :108-129
[4]   Integrating Interactive Detection of Code Smells into Scrum: Feasibility, Benefits, and Challenges [J].
Albuquerque, Danyllo ;
Guimaraes, Everton ;
Perkusich, Mirko ;
Almeida, Hyggo ;
Perkusich, Angelo .
APPLIED SCIENCES-BASEL, 2023, 13 (15)
[5]   Bad Smells of Gang of Four Design Patterns: A Decade Systematic Literature Review [J].
Almadi, Sara H. S. ;
Hooshyar, Danial ;
Ahmad, Rodina Binti .
SUSTAINABILITY, 2021, 13 (18)
[6]   Evaluating the impact of code smell refactoring on the energy consumption of Android applications [J].
Anwar, Hina ;
Pfahl, Dietmar ;
Srirama, Satish N. .
2019 45TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2019), 2019, :82-86
[7]   Trends in Data Centre Energy Consumption under the European Code of Conduct for Data Centre Energy Efficiency [J].
Avgerinou, Maria ;
Bertoldi, Paolo ;
Castellazzi, Luca .
ENERGIES, 2017, 10 (10)
[8]   Energy efficiency of the Visitor Pattern: contrasting Java']Java and C plus plus implementations [J].
Bree, Deaglan Connolly ;
O Cinneide, Mel .
EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (06)
[9]   Removing Decorator to Improve Energy Efficiency [J].
Bree, Deaglan Connolly ;
Cinneide, Mel O. .
2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, :902-912
[10]  
Bunse Christian., 2013, EASED@ BUIS, P7