Empirical Study on Code Smells in iOS Applications

被引:5
作者
Rahkema, Kristiina [1 ]
Pfahl, Dietmar [1 ]
机构
[1] Univ Tartu, Tartu, Estonia
来源
2020 IEEE/ACM 7TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS, MOBILESOFT | 2020年
关键词
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] Code smells detection via modern code review: a study of the OpenStack and Qt communities
    Han, Xiaofeng
    Tahir, Amjed
    Liang, Peng
    Counsell, Steve
    Blincoe, Kelly
    Li, Bing
    Luo, Yajing
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (06)
  • [32] 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
  • [33] Do code reviews lead to fewer code smells?
    Tuna, Erdem
    Seaman, Carolyn
    Tuzun, Eray
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 215
  • [34] 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
  • [35] 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
  • [36] 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
  • [37] An empirical study into the relationship between class features and test smells
    Tahir, Amjed
    Counsell, Steve
    MacDonell, Stephen G.
    2016 23RD ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2016), 2016, : 137 - 144
  • [38] Detecting Bad Smells with Machine Learning Algorithms: an Empirical Study
    Cruz, Daniel
    Santana, Amanda
    Figueiredo, Eduardo
    2020 IEEE/ACM INTERNATIONAL CONFERENCE ON TECHNICAL DEBT, TECHDEBT, 2020, : 31 - 40
  • [39] Assessing the capability of code smells to explain maintenance problems: an empirical study combining quantitative and qualitative data
    Aiko Yamashita
    Empirical Software Engineering, 2014, 19 : 1111 - 1143
  • [40] On the Survival of Android Code Smells in the Wild
    Habchi, Sarra
    Rouvoy, Romain
    Moha, Naouel
    2019 IEEE/ACM 6TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2019), 2019, : 87 - 98