* ICSE 2018 *
Sun 27 May - Sun 3 June 2018 Gothenburg, Sweden
Wed 30 May 2018 12:00 - 12:20 at H2 room - Apps and App Stores I Chair(s): Jocelyn Simmonds

The boom in mobile apps has changed the traditional landscape of software development by introducing new challenges due to the limited resources of mobile devices, e.g., memory, CPU, network bandwidth and battery. The energy consumption of mobile apps is nowadays a hot topic and researchers are actively investigating the role of coding practices on energy consumption. Recent studies suggest that design quality can conflict with energy consumption. Therefore, it is important to take into account energy consumption when evolving the design of a mobile app. The research community has proposed approaches to detect and remove anti-patterns (i.e., poor solutions to design and implementation problems) in software systems but, to the best of our knowledge, none of these approaches have included anti-patterns that are specific to mobile apps and–or considered the energy consumption of apps. In this paper, we fill this gap in the literature by analyzing the impact of eight type of anti-patterns on a testbed of 20 android apps extracted from F-Droid. First, we (1) analyze the impact of anti-patterns in mobile apps with respect to energy consumption; then (2) we study the impact of different types of anti-patterns on energy consumption; and (3) propose EARMO, a novel anti-pattern correction approach that accounts for energy consumption when refactoring mobile anti-patterns. Next, (4) we evaluate EARMO using three multiobjective search-based algorithms. The obtained results show that EARMO can generate refactoring recommendations in less than a minute, and remove a median of 84% of anti-patterns. Moreover, EARMO extended the battery life by up to 29 minutes when running in isolation a refactored multimedia app with default settings (no Wi-Fi, no location services, minimum screen brightness). Finally, (5) we conducted a qualitative study with developers of our studied apps, to assess the refactoring recommendations made by EARMO. Developers found 68% of refactorings suggested by EARMO to be very relevant.

Wed 30 May

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

11:00 - 12:30
Apps and App Stores ITechnical Papers / Journal first papers at H2 room
Chair(s): Jocelyn Simmonds University of Chile
11:00
20m
Talk
Software Protection on the Go: A Large-Scale Empirical Study on Mobile App Obfuscation
Technical Papers
Pei Wang Pennsylvania State University, Qinkun Bao , Li Wang , Shuai Wang , Zhaofeng Chen , Tao Wei , Dinghao Wu
Pre-print Media Attached
11:20
20m
Talk
GUILeak: Tracing Privacy-Policy Claims on User Input Data for Android Applications
Technical Papers
Xiaoyin Wang University of Texas at San Antonio, USA, Xue Qin , Mitra Bokaei Hosseini , Rocky Slavin , Travis Breaux Carnegie Mellon University, Jianwei Niu
11:40
20m
Talk
Online App Review Analysis for Identifying Emerging Issues
Technical Papers
Cuiyun Gao Computer Science and Engineering, The Chinese University of Hong Kong, Jichuan Zeng , Michael Lyu , Irwin King
Pre-print
12:00
20m
Talk
EARMO: An Energy-Aware Refactoring Approach for Mobile Apps
Journal first papers
Rodrigo Morales Concordia University, Rubén Saborido Infantes , Foutse Khomh Polytechnique Montréal, Francisco Chicano , Giuliano Antoniol Polytechnique Montréal
Link to publication DOI Pre-print
12:20
10m
Talk
Q&A in groups
Technical Papers