The impact of the code smells of the presentation layer on the diffuseness of aesthetic defects of Android apps

被引:9
作者
Chouchane, Mabrouka [1 ]
Soui, Makram [2 ]
Ghedira, Khaled [3 ]
机构
[1] Natl Sch Comp Sci, Manouba, Tunisia
[2] Saudi Elect Univ, Coll Comp & Informat, Riyadh, Saudi Arabia
[3] Private Higher Sch Engn & Technol, Ariana, Tunisia
关键词
Graphical android user interface; Aesthetic metrics; Presentation layer; Android apps; FAULT-PRONENESS; SOFTWARE; BAD;
D O I
10.1007/s10515-021-00297-8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Recently, the number of Android apps has witnessed an ever-increase that is becoming a ubiquitous presence in our daily lives. These apps are evolving fast by offering new characteristics and functionalities. These ongoing improvements often affect app quality due to bad design practices and poor coding, known as Android code smells. In this context, the recent works highlighted the importance of the design quality of mobile application. To this end, many methods and tools are proposed to assess the quality of graphical user interface (GUI) and source code of Android apps, such as heuristic evaluation and field-testing, etc. In addition, the features and design of these Android apps may introduce bad design practices, that can highly decrease the quality and the performance of these Android applications. In this paper, we empirically study the diffuseness of GUI aesthetic defects and the code smells of the presentation layer of Android apps. Then, we investigate the impact of the appearance of code smells on the aesthetic of Android apps. To this end, we use two evaluation tools. The first one is called PLAIN which consists of detecting aesthetic defects by measuring a set of structural metrics of GUI. The second one is Android UI Detector which aims to identify the presentation layer code smells of Android apps. This analysis study is based on 8480 GUIs of 120 Android apps. The obtained results confirm that code smells of the presentation layer of Android apps have an impact on GUI aesthetic defects.
引用
收藏
页数:29
相关论文
共 55 条
[1]   An Empirical Study of the Impact of Two Antipatterns, Blob and Spaghetti Code, On Program Comprehension [J].
Abbes, Marwen ;
Khomh, Foutse ;
Gueheneuc, Yann-Gael ;
Antoniol, Giuliano .
2011 15TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2011, :181-190
[2]  
AlOmar EA, 2019, INT SYMP EMP SOFTWAR, P42
[3]  
[Anonymous], 2014, C4 5 PROGRAMS MACHIN
[4]  
[Anonymous], 1921, Biometrika, DOI 10.1093/biomet/13.2-3.263
[5]  
[Anonymous], 1997, Software Metrics: A Rigorous and Practical Approach
[6]  
Arcoverde R., 2011, P 4 WORKSHOP REFACTO, P33, DOI DOI 10.1145/1984732.1984740
[7]   An experimental investigation on the innate relationship between quality and refactoring [J].
Bavota, Gabriele ;
De Lucia, Andrea ;
Di Penta, Massimiliano ;
Oliveto, Rocco ;
Palomba, Fabio .
JOURNAL OF SYSTEMS AND SOFTWARE, 2015, 107 :1-14
[8]  
Bavota G, 2012, 2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), P56, DOI 10.1109/ICSM.2012.6405253
[9]   Random forests [J].
Breiman, L .
MACHINE LEARNING, 2001, 45 (01) :5-32
[10]  
Brown W. H., 1998, ANTIPATTERNS REFACTO, V1st