Empirical Study on Code Smells in iOS Applications

被引:5
|
作者
Rahkema, Kristiina [1 ]
Pfahl, Dietmar [1 ]
机构
[1] Univ Tartu, Tartu, Estonia
关键词
Mobile applications; iOS; code smells; empirical study; IMPACT;
D O I
10.1145/3387905.3388597
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Code smells are recurring patterns in code that have been identified as bad practices. They have been analysed extensively in Java desktop applications. For mobile applications most of the research has been done for Android with very little research done for iOS. Although Android has the largest market share, iOS is a very popular platform. Our goal is to understand the distribution of code smells in iOS applications. For this analysis we used a collaborative list of open source iOS applications from GitHub. We combined code smells defined by Fowler and object oriented code smells studied on Android. We developed a tool that can detect these code smells in Swift applications. We discovered that iOS applications are most often affected by Lazy Class, Long Method and Message Chain code smells. Most often occurring code smells are Internal Duplication, Lazy Class and Long Method.
引用
收藏
页码:61 / 65
页数:5
相关论文
共 50 条
  • [21] An Empirical Study on the Occurrences of Code Smells in Open Source and Industrial Projects
    Rahman, Md. Masudur
    Satter, Abdus
    Joarder, Md. Mahbubul Alam
    Sakib, Kazi
    PROCEEDINGS OF THE16TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT, ESEM 2022, 2022, : 289 - 294
  • [22] Understanding Code Smells in Android Applications
    Mannan, Umme Ayda
    Ahmed, Iftekhar
    Almurshed, Rana Abdullah M.
    Dig, Danny
    Jensen, Carlos
    2016 IEEE/ACM INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2016), 2016, : 225 - 236
  • [23] A large-scale empirical study of code smells in Java']JavaScript projects
    Johannes, David
    Khomh, Foutse
    Antoniol, Giuliano
    SOFTWARE QUALITY JOURNAL, 2019, 27 (03) : 1271 - 1314
  • [24] An Analytical Study of Code Smells
    Bamizadeh, Lida
    Kumar, Binod
    Kumar, Ajay
    Shirwaikar, Shailaja
    TEHNICKI GLASNIK-TECHNICAL JOURNAL, 2021, 15 (01): : 121 - 126
  • [25] A longitudinal exploratory study on code smells in server side web applications
    Narjes Bessghaier
    Ali Ouni
    Mohamed Wiem Mkaouer
    Software Quality Journal, 2021, 29 : 901 - 941
  • [26] Empirical Software Evolvability - Code Smells and Human Evaluations
    Mantyla, Mika V.
    2010 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2010,
  • [27] A longitudinal exploratory study on code smells in server side web applications
    Bessghaier, Narjes
    Ouni, Ali
    Mkaouer, Mohamed Wiem
    SOFTWARE QUALITY JOURNAL, 2021, 29 (04) : 901 - 941
  • [28] On the Influence of Human Factors for Identifying Code Smells: A Multi-Trial Empirical Study
    de Mello, Rafael Maiani
    Oliveira, Roberto
    Garcia, Alessandro
    11TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM 2017), 2017, : 68 - 77
  • [29] Software Metric Based Impact Analysis of Code Smells - A Large Scale Empirical Study
    Rahman, Md. Masudur
    Satter, Abdus
    Joarder, Md. Mahbubul Alam
    Sakib, Kazi
    SOFTWARE-PRACTICE & EXPERIENCE, 2025,
  • [30] Building empirical knowledge on the relationship between code smells and design patterns: An exploratory study
    Santos, Jose Amancio M.
    Antunes Petronilo, Gadiel Xavier
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2022, 34 (09)