Code Smells in iOS Apps: How Do They Compare to Android?

Sarra Habchi, Geoffrey Hecht, Romain Rouvoy, Naouel Moha
{"title":"Code Smells in iOS Apps: How Do They Compare to Android?","authors":"Sarra Habchi, Geoffrey Hecht, Romain Rouvoy, Naouel Moha","doi":"10.1109/mobilesoft.2017.11","DOIUrl":null,"url":null,"abstract":"With billions of app downloads, the Apple App Store and Google Play Store succeeded to conquer mobile devices. However, this success also challenges app developers to publish high-quality apps to keep attracting and satisfying end-users. In particular, taming the ever-growing complexity of mobile apps to cope with maintenance and evolution tasks under such a pressure may lead to bad development choices. While these bad choices, a.k.a. code smells, are widely studied in object-oriented software, their study in the context of mobile apps, and in particular iOS apps, remains in its infancy. Therefore, in this paper, we consider the presence of object-oriented and iOS-specific code smells by analyzing 279 open-source iOS apps. As part of this empirical study, we extended the Paprika toolkit, which was previously designed to analyze Android apps, in order to support the analysis of iOS apps developed in Objective-C or Swift. We report on the results of this analysis as well as a comparison between iOS and Android apps. We comment our findings related to the quality of apps in these two ecosystems. Interestingly, we observed that iOS apps tend to contain the same proportions of code smells regardless of the development language, but they seem to be less prone to code smells compared to Android apps.","PeriodicalId":281934,"journal":{"name":"2017 IEEE/ACM 4th International Conference on Mobile Software Engineering and Systems (MOBILESoft)","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-05-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"37","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE/ACM 4th International Conference on Mobile Software Engineering and Systems (MOBILESoft)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/mobilesoft.2017.11","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 37

Abstract

With billions of app downloads, the Apple App Store and Google Play Store succeeded to conquer mobile devices. However, this success also challenges app developers to publish high-quality apps to keep attracting and satisfying end-users. In particular, taming the ever-growing complexity of mobile apps to cope with maintenance and evolution tasks under such a pressure may lead to bad development choices. While these bad choices, a.k.a. code smells, are widely studied in object-oriented software, their study in the context of mobile apps, and in particular iOS apps, remains in its infancy. Therefore, in this paper, we consider the presence of object-oriented and iOS-specific code smells by analyzing 279 open-source iOS apps. As part of this empirical study, we extended the Paprika toolkit, which was previously designed to analyze Android apps, in order to support the analysis of iOS apps developed in Objective-C or Swift. We report on the results of this analysis as well as a comparison between iOS and Android apps. We comment our findings related to the quality of apps in these two ecosystems. Interestingly, we observed that iOS apps tend to contain the same proportions of code smells regardless of the development language, but they seem to be less prone to code smells compared to Android apps.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
iOS应用程序的代码气味:与Android相比如何?
凭借数十亿的应用下载量,苹果app Store和谷歌Play Store成功征服了移动设备。然而,这种成功也给应用开发者带来了挑战,他们必须发布高质量的应用,以不断吸引和满足终端用户。特别是,在这种压力下,为了应对日益复杂的移动应用程序的维护和发展任务,可能会导致糟糕的开发选择。虽然这些糟糕的选择,又称代码气味,在面向对象的软件中得到了广泛的研究,但在移动应用,尤其是iOS应用的背景下,它们的研究仍处于起步阶段。因此,在本文中,我们通过分析279个开源iOS应用程序来考虑面向对象和iOS特定代码气味的存在。作为实证研究的一部分,我们扩展了之前设计用于分析Android应用程序的Paprika工具包,以支持用Objective-C或Swift开发的iOS应用程序的分析。我们报告了这一分析结果以及iOS和Android应用程序之间的比较。我们的研究结果与这两个生态系统中的应用质量有关。有趣的是,我们发现无论使用何种开发语言,iOS应用都倾向于包含相同比例的代码异味,但与Android应用相比,iOS应用似乎更不容易出现代码异味。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Same App, Different App Stores: A Comparative Study Predicting Android Application Security and Privacy Risk with Static Code Metrics A Set of Metrics for the Effort Estimation of Mobile Apps Assessing the Impact of Service Workers on the Energy Efficiency of Progressive Web Apps Towards Mobile Twin Peaks for App Development
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1