Back to Search
Start Over
Green software: Refactoring approach
- Source :
- Journal of King Saud University: Computer and Information Sciences, Vol 34, Iss 7, Pp 4635-4643 (2022)
- Publication Year :
- 2022
- Publisher :
- Elsevier, 2022.
-
Abstract
- An energy efficient information and communication system is a need of the day. Information technology related industries are making efforts to reduce power consumption by improvising both the hardware infrastructure and software systems. The hardware is driven by software; hence, design and development of software may have a significant impact energy need of the overall system. Many times it is observed that complex software performs useless tasks leading to power consumption, referred to as energy leak. The solution of energy leaks for mobile applications has attracted the interest of researchers, but still handling energy leaks issues for applications developed using Java-based technology need to be explored. While designing software during maintenance phase, code smells are introduced which not only reduce performance of the software also may lead to execution of useless code thus enhancing the energy leak. The common practice of the software industry to remove the code smells is use of refactoring strategy. The basic idea of this study is to understand the impact of refactoring on total energy consumption. To explore this hypothesis a set of Java based applications are selected, code smell present in these applications are discovered and a suitable refactoring strategy is applied to reduce the code smell. Power consumption is estimated using an open source tool Microsoft Joulemeter, it monitors energy usage by machine resources and estimates power consumption. The energy consumption before and after refactoring is recorded and statistical t-test is performed to validate the proposed concept.
Details
- Language :
- English
- ISSN :
- 13191578
- Volume :
- 34
- Issue :
- 7
- Database :
- Directory of Open Access Journals
- Journal :
- Journal of King Saud University: Computer and Information Sciences
- Publication Type :
- Academic Journal
- Accession number :
- edsdoj.6a36baf8e944f5eaf51512ce6b064ff
- Document Type :
- article
- Full Text :
- https://doi.org/10.1016/j.jksuci.2020.10.022