Lightweight Detection of Android-Specific Code Smells: The aDoctor Project

被引:0
|
作者
Palomba, Fabio [1 ,2 ]
Di Nucci, Dario [2 ]
Panichella, Annibale [3 ]
Zaidman, Andy [1 ]
De Lucia, Andrea [2 ]
机构
[1] Delft Univ Technol, Delft, Netherlands
[2] Univ Salerno, Fisciano, SA, Italy
[3] Univ Luxembourg, Luxembourg, Luxembourg
关键词
Android-specific Code Smells; Detection Tool; Empirical Study; IMPACT;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Code smells are symptoms of poor design solutions applied by programmers during the development of software systems. While the research community devoted a lot of effort to studying and devising approaches for detecting the traditional code smells defined by Fowler, little knowledge and support is available for an emerging category of Mobile app code smells. Recently, Reimann et al. proposed a new catalogue of Android-specific code smells that may be a threat for the maintainability and the efficiency in the context of Mobile apps provide limited support and, more importantly, are not available for developers interested in monitoring the quality of their apps. To overcome these limitations, we propose a fully automated tool, coined ADOCTOR, able to identify 15 Android-specific code smells from the catalogue by Reimann et al. An empirical study conducted on the source code of 18 Android applications reveals that the proposed tool reaches, on average, 98% of precision and 98% of recall. We made ADOCTOR publicly available.
引用
收藏
页码:487 / 491
页数:5
相关论文
共 50 条
  • [1] A systematic literature review on Android-specific smells
    Wu, Zhiqiang
    Chen, Xin
    Lee, Scott Uk-Jin
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 201
  • [2] Refactoring Android-specific Energy Smells: A Plugin for Android Studio
    Iannone, Emanuele
    Pecorelli, Fabiano
    Di Nucci, Dario
    Palomba, Fabio
    De Lucia, Andrea
    [J]. 2020 IEEE/ACM 28TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC, 2020, : 451 - 455
  • [3] A Lightweight Approach for Detection of Code Smells
    Ghulam Rasool
    Zeeshan Arshad
    [J]. Arabian Journal for Science and Engineering, 2017, 42 : 483 - 506
  • [4] A Lightweight Approach for Detection of Code Smells
    Rasool, Ghulam
    Arshad, Zeeshan
    [J]. ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2017, 42 (02) : 483 - 506
  • [5] An empirical study of Android behavioural code smells detection
    Prestat, Dimitri
    Moha, Naouel
    Villemaire, Roger
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (07)
  • [6] An empirical study of Android behavioural code smells detection
    Dimitri Prestat
    Naouel Moha
    Roger Villemaire
    [J]. Empirical Software Engineering, 2022, 27
  • [7] Characterizing Android-specific crash bugs
    Jha, Ajay Kumar
    Lee, Sunghee
    Lee, Woo Jin
    [J]. 2019 IEEE/ACM 6TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2019), 2019, : 111 - 122
  • [8] Security code smells in Android ICC
    Pascal Gadient
    Mohammad Ghafari
    Patrick Frischknecht
    Oscar Nierstrasz
    [J]. Empirical Software Engineering, 2019, 24 : 3046 - 3076
  • [9] Security code smells in Android ICC
    Gadient, Pascal
    Ghafari, Mohammad
    Frischknecht, Patrick
    Nierstrasz, Oscar
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (05) : 3046 - 3076
  • [10] Understanding Code Smells in Android Applications
    Mannan, Umme Ayda
    Ahmed, Iftekhar
    Almurshed, Rana Abdullah M.
    Dig, Danny
    Jensen, Carlos
    [J]. 2016 IEEE/ACM INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2016), 2016, : 225 - 236