Code Smells in iOS Apps: How do they compare to Android?

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.
Type de document :
Communication dans un congrès
MOBILESoft'17 - 4th IEEE/ACM International Conference on Mobile Software Engineering and Systems , May 2017, Buenos Aires, Argentina. Proceedings of the 4th IEEE/ACM International Conference on Mobile Software Engineering and Systems. 〈http://mobilesoftconf.org/2017〉
Liste complète des métadonnées

Littérature citée [62 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01471294
Contributeur : Romain Rouvoy <>
Soumis le : mercredi 26 avril 2017 - 10:33:06
Dernière modification le : mardi 3 juillet 2018 - 11:35:55
Document(s) archivé(s) le : jeudi 27 juillet 2017 - 12:21:43

Fichier

Mobilesoft17-Habchi.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01471294, version 1

Citation

Sarra Habchi, Geoffrey Hecht, Romain Rouvoy, Naouel Moha. Code Smells in iOS Apps: How do they compare to Android?. MOBILESoft'17 - 4th IEEE/ACM International Conference on Mobile Software Engineering and Systems , May 2017, Buenos Aires, Argentina. Proceedings of the 4th IEEE/ACM International Conference on Mobile Software Engineering and Systems. 〈http://mobilesoftconf.org/2017〉. 〈hal-01471294〉

Partager

Métriques

Consultations de la notice

675

Téléchargements de fichiers

2650