Exploiting the Progress of OO Refactoring Tools with Android Code Smells

被引:3
|
作者
Gattal, Abderraouf [1 ]
Hammache, Abir [1 ]
Bousbia, Nabila [1 ]
Henniche, Adel Nassim [1 ]
机构
[1] Ecole Natl Super Informat Oued Smar, LMCS ESI, Algiers, Algeria
关键词
Code Smells; Refactoring; Android; !text type='Java']Java[!/text; Mobile Application;
D O I
10.1145/3412841.3442129
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Mobile applications market is facing a stronger demand continuously, due to the growing popularity of mobile phones. A demand that forces developers to rush the implementation process and shorten the conception phase, leading to poor conception and implementation choices known as code smells. These smells have a negative effect on both device and application's performance, and must therefore be corrected to ensure the quality of mobile applications and the smoothness of their users' experience. This task requires the identification of the infected entities and their refactoring. Most existing refactoring approaches and techniques are focused on object-oriented applications' code smells while only a few of them are destined to Android specific code smells. In this paper, we present a tool, named RAndroid, that handles automatic refactoring for four different Android specific code smells, and gives recommendations on how to manually refactor a fifth one. RAndroid is built as an Android Studio plugin adapting the logic of the well-known oriented-object refactoring tool "JDeodorant" [13] as it's first layer. We evaluated RAndroid on 52 real-world open-source Android applications, developed by both experts and beginners, covering 194 code smell instances.
引用
收藏
页码:1580 / 1583
页数:4
相关论文
共 50 条
  • [1] Android code smells: From introduction to refactoring
    Habchi, Sarra
    Moha, Naouel
    Rouvoy, Romain
    JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 177
  • [2] Refactoring Android Source Code Smells From Android Applications
    Fawad, Muhammad
    Rasool, Ghulam
    Riaz, Muhammad Bilal
    IEEE ACCESS, 2025, 13 : 14122 - 14150
  • [3] An approach to prioritize code smells for refactoring
    Santiago A. Vidal
    Claudia Marcos
    J. Andrés Díaz-Pace
    Automated Software Engineering, 2016, 23 : 501 - 532
  • [4] An approach to prioritize code smells for refactoring
    Vidal, Santiago A.
    Marcos, Claudia
    Andres Diaz-Pace, J.
    AUTOMATED SOFTWARE ENGINEERING, 2016, 23 (03) : 501 - 532
  • [5] Refactoring Android-specific Energy Smells: A Plugin for Android Studio
    Iannone, Emanuele
    Pecorelli, Fabiano
    Di Nucci, Dario
    Palomba, Fabio
    De Lucia, Andrea
    2020 IEEE/ACM 28TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC, 2020, : 451 - 455
  • [6] Detecting and refactoring code smells in spreadsheet formulas
    Hermans, Felienne
    Pinzger, Martin
    van Deursen, Arie
    EMPIRICAL SOFTWARE ENGINEERING, 2015, 20 (02) : 549 - 575
  • [7] Revisiting the Relationship Between Code Smells and Refactoring
    Yoshida, Norihiro
    Saika, Tsubasa
    Choi, Eunjong
    Ouni, Ali
    Inoue, Katsuro
    2016 IEEE 24TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2016,
  • [8] Detecting and refactoring code smells in spreadsheet formulas
    Felienne Hermans
    Martin Pinzger
    Arie van Deursen
    Empirical Software Engineering, 2015, 20 : 549 - 575
  • [9] Security code smells in Android ICC
    Pascal Gadient
    Mohammad Ghafari
    Patrick Frischknecht
    Oscar Nierstrasz
    Empirical Software Engineering, 2019, 24 : 3046 - 3076
  • [10] Security code smells in Android ICC
    Gadient, Pascal
    Ghafari, Mohammad
    Frischknecht, Patrick
    Nierstrasz, Oscar
    EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (05) : 3046 - 3076