2016
DOI: 10.4018/978-1-4666-9916-8.ch009
|View full text |Cite
|
Sign up to set email alerts
|

An Analysis of the Effects of Bad Smell-Driven Refactorings in Mobile Applications on Battery Usage

Abstract: Mobile devices are the most popular kind of computational device in the world. These devices have more limited resources than personal computers and battery consumption is always under user's eye since mobile devices rely on their battery as energy supply. On the other hand, nowadays most applications are developed using object-oriented paradigm, which has some inherent features, like object creation, that consume important amounts of energy in the context of mobile development. These features are responsible … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
7
0

Year Published

2016
2016
2020
2020

Publication Types

Select...
3
2
1

Relationship

1
5

Authors

Journals

citations
Cited by 7 publications
(7 citation statements)
references
References 20 publications
0
7
0
Order By: Relevance
“…We are also exploiting these ideas for mobile device programming. Preliminary works studied the rate at which micro-benchmarks versions deplete batteries [36] and the trade-off between code smell-free OO designs versus the inherent energy costs [37] in Java-based Android applications. The motivation of these works is that mobile devices can act as resource providers in edge environments to run scientific applications [20], so coding energy-aware tasks becomes crucial.…”
Section: Discussionmentioning
confidence: 99%
“…We are also exploiting these ideas for mobile device programming. Preliminary works studied the rate at which micro-benchmarks versions deplete batteries [36] and the trade-off between code smell-free OO designs versus the inherent energy costs [37] in Java-based Android applications. The motivation of these works is that mobile devices can act as resource providers in edge environments to run scientific applications [20], so coding energy-aware tasks becomes crucial.…”
Section: Discussionmentioning
confidence: 99%
“…While code smells may be an indicator of poor programming practice in object-oriented programming, there is no evidence to suggest that the removal of all traditional code smells should result in a reduction in energy consumption. The opposite is sometimes true [16,18]. We hypothesise that the practices followed in typical object-oriented design, where clear structure, reusability of code, and long-term maintenance are key, results in greater redundancy and unnecessary energy consumption.…”
Section: Challengesmentioning
confidence: 97%
“…Rodriguez et al [18] also measured the impact of code smells on energy consumption, employing several mobile applications in their experiments. For each mobile application, they created one version where all code smells were removed and another version where smells were left and accessor methods were removed (to reduce energy consumption).…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…However, in such application areas, runtime qualities, such as energy consumption, matter most. The trade-off between object-oriented design quality, as reflected in the number of smells and energy consumption has been the focus of the study by Rodriguez et al [51]. In particular, the authors studied on four mobile applications the energy impact of refactorings on Java source code and JDeodorant has been used to identify refactoring opportunities.…”
Section: Width Represents the Number Of Studies Height Represents Nummentioning
confidence: 99%