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 条
  • [31] Incorporating Android Code Smells into Java']Java Static Code Metrics for Security Risk Prediction of Android Applications
    Gong, Ai
    Zhong, Yi
    Zou, Weiqin
    Shi, Yangyang
    Fang, Chunrong
    2020 IEEE 20TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY (QRS 2020), 2020, : 30 - 40
  • [32] Refactoring Opportunity Identification Methodology for Removing Long Method Smells and Improving Code Analyzability
    Meananeatra, Panita
    Rongviriyapanish, Songsakdi
    Apiwattanapong, Taweesup
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2018, E101D (07): : 1766 - 1779
  • [33] Lightweight Detection of Android-Specific Code Smells: The aDoctor Project
    Palomba, Fabio
    Di Nucci, Dario
    Panichella, Annibale
    Zaidman, Andy
    De Lucia, Andrea
    2017 IEEE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), 2017, : 487 - 491
  • [34] Droidlens: Robust and Fine-Grained Detection for Android Code Smells
    Mao, Chenguang
    Wang, Hao
    Han, Gaojie
    Zhang, Xiaofang
    2020 INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING (TASE 2020), 2020, : 161 - 168
  • [35] Code smells analysis for android applications and a solution for less battery consumption
    Gupta, Aakanshi
    Suri, Bharti
    Sharma, Deepanshu
    Misra, Sanjay
    Fernandez-Sanz, Luis
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [36] An Empirical Study on Code Smells Co-occurrences in Android Applications
    Hamdi, Oumayma
    Ouni, Ali
    AlOmar, Eman Abdullah
    Mkaouer, Mohamed Wiem
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS (ASEW 2021), 2021, : 26 - 33
  • [37] Refactoring Android Java']Java Code for On-Demand Computation Offloading
    Zhang, Ying
    Huang, Gang
    Liu, Xuanzhe
    Zhang, Wei
    Mei, Hong
    Yang, Shunxiang
    ACM SIGPLAN NOTICES, 2012, 47 (10) : 233 - 247
  • [38] Evaluating the impact of code smell refactoring on the energy consumption of Android applications
    Anwar, Hina
    Pfahl, Dietmar
    Srirama, Satish N.
    2019 45TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2019), 2019, : 82 - 86
  • [39] Automated Refactoring Suggestions Using the Results of Code Analysis Tools
    Herbold, Steffen
    Grabowski, Jens
    Neukirchen, Helmut
    2009 FIRST INTERNATIONAL CONFERENCE ON ADVANCES IN SYSTEM TESTING AND VALIDATION LIFECYCLE, 2009, : 104 - +
  • [40] Impact on energy consumption of design patterns, code smells and refactoring techniques: A systematic mapping study
    Poy, Olivia
    Angeles Moraga, Ma
    Garcia, Felix
    Calero, Coral
    JOURNAL OF SYSTEMS AND SOFTWARE, 2025, 222