* 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
Times are displayed in 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 SimmondsUniversity of Chile
11:00 - 11:20
Software Protection on the Go: A Large-Scale Empirical Study on Mobile App Obfuscation
Technical Papers
Pre-print Media Attached
11:20 - 11:40
GUILeak: Tracing Privacy-Policy Claims on User Input Data for Android Applications
Technical Papers
Xiaoyin WangUniversity of Texas at San Antonio, USA, Xue Qin, Mitra Bokaei Hosseini, Rocky Slavin, Travis BreauxCarnegie Mellon University, Jianwei Niu
11:40 - 12:00
Online App Review Analysis for Identifying Emerging Issues
Technical Papers
Cuiyun GaoComputer Science and Engineering, The Chinese University of Hong Kong, Jichuan Zeng, Michael Lyu, Irwin King
12:00 - 12:20
EARMO: An Energy-Aware Refactoring Approach for Mobile Apps
Journal first papers
Rodrigo MoralesConcordia University, Rubén Saborido Infantes, Foutse KhomhPolytechnique Montréal, Francisco Chicano, Giuliano AntoniolPolytechnique Montréal
Link to publication DOI Pre-print
12:20 - 12:30
Q&A in groups
Technical Papers