Visualizing Code Smells: Tables or Code Cities? A Controlled Experiment

被引:1
|
作者
Galperin, Falko [1 ]
Koschke, Rainer [1 ]
Steinbeck, Marcel [1 ]
机构
[1] Univ Bremen, Bremen, Germany
关键词
software visualization; code cities; tabular representation; code smells; controlled experiment; VIRTUAL-REALITY; TRAVEL;
D O I
10.1109/VISSOFT55257.2022.00014
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents a study in which we compared the visualization of code smells in Code Cities with classical tabular representations. We conducted a controlled experiment with 20 participants who had to solve six tasks in both environments. We evaluated the results of our experiment statistically and came to the following conclusions: In four tasks the completion time was significantly lower when using Code Cities (the remaining two tasks did not show any statistically significant differences for any of the two environments). Also, the perceived effort was significantly lower in three tasks when the participants used Code Cities over the tabular representation (again, the remaining tasks did not show any statistically significant differences). However, with regard to the perceived usability (which was measured across all tasks) and the correctness of the supplied answers, the tabular representation performed better. In particular, in two tasks the correctness was significantly better in the tabular environment and in one task the correctness was significantly better in the Code Cities environment. Based on our results, our verdict is as follows: Code Cities are better suited to get a quick overview of the code smells of a software, whereas tabular representations are better suited to analyze code smells in more detail. Experiment data, evaluation scripts and supplemental material: https://github.com/uni-bremen- agst/VISSOFT2022/archive/refs/tags/1.0.0.zip (see README.md in the ZIP archive)
引用
收藏
页码:51 / 62
页数:12
相关论文
共 50 条
  • [21] Security code smells in Android ICC
    Gadient, Pascal
    Ghafari, Mohammad
    Frischknecht, Patrick
    Nierstrasz, Oscar
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (05) : 3046 - 3076
  • [22] Understanding Code Smells in Android Applications
    Mannan, Umme Ayda
    Ahmed, Iftekhar
    Almurshed, Rana Abdullah M.
    Dig, Danny
    Jensen, Carlos
    [J]. 2016 IEEE/ACM INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2016), 2016, : 225 - 236
  • [23] Taxonomy of inline code comment smells
    Jabrayilzade, Elgun
    Yurtoglu, Ayda
    Tuzun, Eray
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (03)
  • [24] Towards a taxonomy of code review smells
    Doğan, Emre
    Tüzün, Eray
    [J]. Information and Software Technology, 2022, 142
  • [25] A Lightweight Approach for Detection of Code Smells
    Ghulam Rasool
    Zeeshan Arshad
    [J]. Arabian Journal for Science and Engineering, 2017, 42 : 483 - 506
  • [26] Detecting Code Smells in Spreadsheet Formulas
    Hermans, Felienne
    Pinzger, Martin
    van Deursen, Arie
    [J]. 2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 409 - 418
  • [27] An approach to prioritize code smells for refactoring
    Santiago A. Vidal
    Claudia Marcos
    J. Andrés Díaz-Pace
    [J]. Automated Software Engineering, 2016, 23 : 501 - 532
  • [28] On the Survival of Android Code Smells in the Wild
    Habchi, Sarra
    Rouvoy, Romain
    Moha, Naouel
    [J]. 2019 IEEE/ACM 6TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2019), 2019, : 87 - 98
  • [29] An approach to prioritize code smells for refactoring
    Vidal, Santiago A.
    Marcos, Claudia
    Andres Diaz-Pace, J.
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2016, 23 (03) : 501 - 532
  • [30] Code Smells, Micro Patterns and their Relations
    Fontana, Francesca Arcelli
    Zanoni, Marco
    Walter, Bartosz
    Martenka, Pawel
    [J]. ERCIM NEWS, 2012, (88): : 33 - 33