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 条
  • [41] Are test smells really harmful? An empirical study
    Bavota, Gabriele
    Qusef, Abdallah
    Oliveto, Rocco
    De Lucia, Andrea
    Binkley, Dave
    EMPIRICAL SOFTWARE ENGINEERING, 2015, 20 (04) : 1052 - 1094
  • [42] Evolution patterns of software-architecture smells: An empirical study of intra- and inter-version smells
    Gnoyke, Philipp
    Schulze, Sandro
    Krueger, Jacob
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 217
  • [43] Survey on Code Smells
    Tian Y.-C.
    Li K.-J.
    Wang T.-M.
    Jiao Q.-Q.
    Li G.-J.
    Zhang Y.-X.
    Liu H.
    Ruan Jian Xue Bao/Journal of Software, 2023, 34 (01): : 150 - 170
  • [44] How Do Community Smells Influence Code Smells?
    Palomba, Fabio
    Tamburri, Damian A.
    Serebrenik, Alexander
    Zaidman, Andy
    Fontana, Francesca Arcelli
    Oliveto, Rocco
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 240 - 241
  • [45] Do they Really Smell Bad? A Study on Developers' Perception of Bad Code Smells
    Palomba, Fabio
    Bavota, Gabriele
    Di Penta, Massimiliano
    Oliveto, Rocco
    De Lucia, Andrea
    2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2014, : 101 - 110
  • [46] Beyond Technical Aspects: How Do Community Smells Influence the Intensity of Code Smells?
    Palomba, Fabio
    Tamburri, Damian Andrew
    Fontana, Francesca Arcelli
    Oliveto, Rocco
    Zaidman, Andy
    Serebrenik, Alexander
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2021, 47 (01) : 108 - 129
  • [47] Detecting Code Smells in Python']Python Programs
    Chen, Zhifei
    Chen, Lin
    Ma, Wanwangying
    Xu, Baowen
    2016 INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, TESTING AND EVOLUTION (SATE 2016), 2016, : 18 - 23
  • [48] Mining Version Histories for Detecting Code Smells
    Palomba, Fabio
    Bavota, Gabriele
    Di Penta, Massimiliano
    Oliveto, Rocco
    Poshyvanyk, Denys
    De Lucia, Andrea
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (05) : 462 - 489
  • [49] Code smells analysis for android applications and a solution for less battery consumption
    Gupta, Aakanshi
    Suri, Bharti
    Sharma, Deepanshu
    Misra, Sanjay
    Fernandez-Sanz, Luis
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [50] Code Smells for Multi-language Systems
    Abidi, Mouna
    Grichi, Manel
    Khomh, Foutse
    Gueheneuc, Yann-Gael
    PROCEEDINGS OF THE 24TH EUROPEAN CONFERENCE ON PATTERN LANGUAGES OF PROGRAMS (EUROPLOP 2019), 2019,