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 条
  • [1] Visualizing Code Bad Smells
    Hammad, Maen
    Alsofriya, Sabah
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2019, 10 (05) : 281 - 286
  • [2] Identifying Code Smells with Collaborative Practices: A Controlled Experiment
    Oliveira, Roberto
    Estacio, Bernardo
    Garcia, Alessandro
    Marczak, Sabrina
    Prikladnicki, Rafael
    Kalinowski, Marcos
    Lucena, Carlos
    [J]. PROCEEDINGS OF 2016 X BRAZILIAN SYMPOSIUM ON SOFTWARE COMPONENTS, ARCHITECTURES AND REUSE (SBCARS), 2016, : 61 - 70
  • [3] On the Assessment of Interactive Detection of Code Smells in Practice: A Controlled Experiment
    Albuquerque, Danyllo
    Guimaraes, Everton
    Perkusich, Mirko
    Rique, Thiago
    Cunha, Felipe
    Almeida, Hyggo
    Perkusich, Angelo
    [J]. IEEE ACCESS, 2023, 11 : 84589 - 84606
  • [4] Code Smells in Infrastructure as Code
    Schwarz, Julian
    Steffens, Andreas
    Lichter, Horst
    [J]. 2018 11TH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY (QUATIC), 2018, : 220 - 228
  • [5] Are Relevant the Code Smells on Maintainability Effort? A Laboratory Experiment
    Ancan, Oscar
    Cares, Carlos
    [J]. 2018 IEEE INTERNATIONAL CONFERENCE ON AUTOMATION/XXIII CONGRESS OF THE CHILEAN ASSOCIATION OF AUTOMATIC CONTROL (ICA-ACCA), 2018,
  • [6] Survey on Code Smells
    Tian, Ying-Chen
    Li, Ke-Jun
    Wang, Tai-Ming
    Jiao, Qing-Qing
    Li, Guang-Jie
    Zhang, Yu-Xia
    Liu, Hui
    [J]. Ruan Jian Xue Bao/Journal of Software, 2023, 34 (01): : 150 - 170
  • [7] On Finding Model Smells Based on Code Smells
    Eessaar, Erki
    Kaosaar, Ege
    [J]. SOFTWARE ENGINEERING AND ALGORITHMS IN INTELLIGENT SYSTEMS, 2019, 763 : 269 - 281
  • [8] Do code reviews lead to fewer code smells?
    Tuna, Erdem
    Seaman, Carolyn
    Tuzun, Eray
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 215
  • [9] An Analytical Study of Code Smells
    Bamizadeh, Lida
    Kumar, Binod
    Kumar, Ajay
    Shirwaikar, Shailaja
    [J]. TEHNICKI GLASNIK-TECHNICAL JOURNAL, 2021, 15 (01): : 121 - 126
  • [10] CODE-SMELLS IN AOP
    Draganescu, Serban
    Tapus, Nicolae
    [J]. UNIVERSITY POLITEHNICA OF BUCHAREST SCIENTIFIC BULLETIN SERIES C-ELECTRICAL ENGINEERING AND COMPUTER SCIENCE, 2010, 72 (04): : 3 - 12