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 条
  • [41] Code Smells in Infrastructure as Code
    Schwarz, Julian
    Steffens, Andreas
    Lichter, Horst
    2018 11TH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY (QUATIC), 2018, : 220 - 228
  • [42] An empirical investigation into code smells rectifications through ADA_BOOSTER
    Sangeetha, M.
    Chandrasekar, C.
    AIN SHAMS ENGINEERING JOURNAL, 2019, 10 (03) : 549 - 553
  • [43] On the Diffuseness and the Impact on Maintainability of Code Smells: A Large Scale Empirical Investigation
    Palomba, Fabio
    Bavota, Gabriele
    Di Penta, Massimiliano
    Fasano, Fausto
    Oliveto, Rocco
    De Lucia, Andrea
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 482 - 482
  • [44] Code smells in pull requests: An exploratory study
    Azeem, Muhammad Ilyas
    Shafiq, Saad
    Mashkoor, Atif
    Egyed, Alexander
    SOFTWARE-PRACTICE & EXPERIENCE, 2024, 54 (03): : 419 - 436
  • [45] On the diffuseness and the impact on maintainability of code smells: a large scale empirical investigation
    Fabio Palomba
    Gabriele Bavota
    Massimiliano Di Penta
    Fausto Fasano
    Rocco Oliveto
    Andrea De Lucia
    Empirical Software Engineering, 2018, 23 : 1188 - 1221
  • [46] Evolution of Code Smells over Multiple Versions of Softwares: An Empirical Investigation
    Rani, Anshul
    Chhabra, Jitender Kumar
    2017 2ND INTERNATIONAL CONFERENCE FOR CONVERGENCE IN TECHNOLOGY (I2CT), 2017, : 1093 - 1098
  • [47] On the diffuseness and the impact on maintainability of code smells: a large scale empirical investigation
    Palomba, Fabio
    Bavota, Gabriele
    Di Penta, Massimiliano
    Fasano, Fausto
    Oliveto, Rocco
    De Lucia, Andrea
    EMPIRICAL SOFTWARE ENGINEERING, 2018, 23 (03) : 1188 - 1221
  • [48] Study of Code Smells: A Review and Research Agenda
    Tandon, Stuti
    Kumar, Vijay
    Singh, V. B.
    INTERNATIONAL JOURNAL OF MATHEMATICAL ENGINEERING AND MANAGEMENT SCIENCES, 2024, 9 (03) : 472 - 498
  • [49] On Finding Model Smells Based on Code Smells
    Eessaar, Erki
    Kaosaar, Ege
    SOFTWARE ENGINEERING AND ALGORITHMS IN INTELLIGENT SYSTEMS, 2019, 763 : 269 - 281
  • [50] Refactoring Android Source Code Smells From Android Applications
    Fawad, Muhammad
    Rasool, Ghulam
    Riaz, Muhammad Bilal
    IEEE ACCESS, 2025, 13 : 14122 - 14150