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 条
  • [41] A Novel Tree-based Neural Network for Android Code Smells Detection
    Yu, Jing
    Mao, Chenguang
    Ye, Xiaojun
    2021 IEEE 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2021), 2021, : 738 - 748
  • [42] The impact of the code smells of the presentation layer on the diffuseness of aesthetic defects of Android apps
    Mabrouka Chouchane
    Makram Soui
    Khaled Ghedira
    Automated Software Engineering, 2021, 28
  • [43] Sniffing Android Code Smells: An Association Rules Mining-based Approach
    Rubin, Jehan
    Henniche, Adel Nassim
    Moha, Naouel
    Bouguessa, Mohamed
    Bousbia, Nabila
    2019 IEEE/ACM 6TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2019), 2019, : 123 - 127
  • [44] The impact of the code smells of the presentation layer on the diffuseness of aesthetic defects of Android apps
    Chouchane, Mabrouka
    Soui, Makram
    Ghedira, Khaled
    AUTOMATED SOFTWARE ENGINEERING, 2021, 28 (02)
  • [45] An Empirical Investigation on the Effect of Code Smells on Resource Usage of Android Mobile Applications
    Alkandari, Mohammad A.
    Kelkawi, Ali
    Elish, Mahmoud O.
    IEEE ACCESS, 2021, 9 : 61853 - 61863
  • [46] ANN Modelling on Vulnerabilities Detection in Code Smells-Associated Android Applications
    Gupta, Aakanshi
    Sharma, Deepanshu
    Phulli, Kritika
    FOUNDATIONS OF COMPUTING AND DECISION SCIENCES, 2022, 47 (01) : 3 - 26
  • [47] Ensemble Deep Network for Secured Refactoring Framework by Predicting Code-Bad Smells in Software Projects
    Pandiyavathi, T.
    Sivakumar, B.
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2025, 37 (02)
  • [48] MORE: A multi-objective refactoring recommendation approach to introducing design patterns and fixing code smells
    Ouni, Ali
    Kessentini, Marouane
    Cinneide, Mel O.
    Sahraoui, Houari
    Deb, Kalyanmoy
    Inoue, Katsuro
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2017, 29 (05)
  • [49] Code Coverage Measurement for Android Dynamic Analysis Tools
    Huang, Chun-Ying
    Chiu, Ching-Hsiang
    Lin, Chih-Hung
    Tzeng, Han-Wei
    2015 IEEE THIRD INTERNATIONAL CONFERENCE ON MOBILE SERVICES MS 2015, 2015, : 209 - 216
  • [50] Fixing Your Own Smells: Adding a Mistake-Based Familiarisation Step When Teaching Code Refactoring
    Tan, Ivan
    Poskitt, Christopher M.
    PROCEEDINGS OF THE 55TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, SIGCSE 2024, VOL. 1, 2024, : 1307 - 1313