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 条
  • [31] An Empirical Examination of the Relationship Between Code Smells and Merge Conflicts
    Ahmed, Iftekhar
    Brindescu, Caius
    Mannan, Umme Ayda
    Jensen, Carlos
    Sarma, Anita
    11TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM 2017), 2017, : 58 - 67
  • [32] An empirical investigation of the relationship between pattern grime and code smells
    Alharbi, Maha
    Alshayeb, Mohammad
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (09)
  • [33] An empirical catalog of code smells for the presentation layer of Android apps
    Suelen Goularte Carvalho
    Maurício Aniche
    Júlio Veríssimo
    Rafael S. Durelli
    Marco Aurélio Gerosa
    Empirical Software Engineering, 2019, 24 : 3546 - 3586
  • [34] An empirical catalog of code smells for the presentation layer of Android apps
    Carvalho, Suelen Goularte
    Aniche, Mauricio
    Verissimo, Julio
    Durelli, Rafael S.
    Gerosa, Marco Aurelio
    EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (06) : 3546 - 3586
  • [35] On the impact of code smells on the energy consumption of mobile applications
    Palomba, Fabio
    Di Nucci, Dario
    Panichella, Annibale
    Zaidman, Andy
    De Lucia, Andrea
    INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 105 : 43 - 55
  • [36] Detection of Embedded Code Smells in Dynamic Web Applications
    Hung Viet Nguyen
    Hoan Anh Nguyen
    Tung Thanh Nguyen
    Anh Tuan Nguyen
    Nguyen, Tien N.
    2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 282 - 285
  • [37] An empirical study on the evolution of design smells
    Aversano L.
    Carpenito U.
    Iammarino M.
    Information (Switzerland), 2020, 11 (11)
  • [38] An Empirical Study on the Evolution of Design Smells
    Aversano, Lerina
    Carpenito, Umberto
    Iammarino, Martina
    INFORMATION, 2020, 11 (07)
  • [39] Empirical Study about Class Change Proneness Prediction using Software Metrics and Code Smells
    Forte Martins, Antonio Diogo
    Melo, Cristiano
    Monteiro, Jose Maria
    Machado, Javam de Castro
    PROCEEDINGS OF THE 22ND INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS (ICEIS), VOL 1, 2020, : 140 - 147
  • [40] Fixing Dockerfile smells: an empirical study
    Rosa, Giovanni
    Zappone, Federico
    Scalabrino, Simone
    Oliveto, Rocco
    EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (05)