Do you see any problem? On the Developers' Perceptions in Test Smells Detection

被引:0
|
作者
Lima, Rodrigo [1 ]
Costa, Keila [1 ]
Souza, Jairo [1 ]
Teixeira, Leopoldo [1 ]
Fonseca, Baldoino [1 ,2 ]
D'Amorim, Marcelo
Ribeiro, Marcio [2 ]
Miranda, Breno [1 ]
机构
[1] Univ Fed Pernambuco, Recife, PE, Brazil
[2] Univ Fed Alagoas, Maceio, Alagoas, Brazil
来源
PROCEEDINGS OF THE 22TH BRAZILIAN SYMPOSIUM ON SOFTWARE QUALITY | 2023年
关键词
Test Smells; Open Source; Human Factors; Empirical Study;
D O I
10.1145/3629479.3629485
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Developers are continuously implementing changes to meet demands coming from users. In the context of test-driven development, before any new code is added, a test case should be written to make sure new changes do not introduce bugs. During this process, developers and testers might adopt bad design choices, which may lead to the introduction of the so-called Test Smells in the code. Test Smells are bad solutions for implementing or designing test code. We perform a broader study to investigate the participants' perceptions about the presence of Test Smells. We analyze whether certain factors related to the participant' profiles concerning background and experience may influence their perception of Test Smells. Also, we analyze if the heuristics adopted by developers influence their perceptions about the existence of Test Smells. We analyze commits of open source projects to identify the introduction of Test Smells. Then, we conduct an empirical study with 25 participants that evaluate instances of 10 different smell types. For each Test Smell type, we analyze the agreement among participants, and we assess the influence of different factors on the participants' evaluations. Altogether, more than 1250 evaluations were made. The results indicate that participants present a low agreement on detecting all 10 Test Smells types analyzed in our study. The results also suggest that factors related to background and experience do not have a consistent effect on the agreement among the participants. On the other hand, the results indicate that the agreement is consistently influenced by specific heuristics employed by participants. Our findings reveal that the participants detect Test Smells in significantly different ways. As a consequence, these findings introduce some questions concerning the results of previous studies that do not consider the different perceptions of participants on detecting Test Smells.
引用
收藏
页码:21 / 30
页数:10
相关论文
共 35 条
  • [21] Do You See What I See? Longitudinal Associations Between Mothers’ and Adolescents’ Perceptions of Their Relationship and Adolescent Internalizing Symptoms
    Stefanie A. Nelemans
    Stefanos Mastrotheodoros
    Leyla Çiftçi
    Wim Meeus
    Susan Branje
    Research on Child and Adolescent Psychopathology, 2023, 51 : 177 - 192
  • [22] Do you see what I see? Variation in detection, identification and enumeration of mammals during transect surveys
    Goodenough, Anne E.
    Berry, Danielle L.
    Carpenter, William S.
    Dawson, Melissa
    Furlong, Natasha
    Lamb, Rachel J.
    Mactavish, Lynne
    O'Reilly, Niall
    Toms, Hannah
    Whitehead, Lauren H.
    Hart, Adam G.
    AFRICAN JOURNAL OF ECOLOGY, 2024, 62 (01)
  • [23] What do you see? Understanding perceptions of police use of force videos as a function of the camera perspective
    Korva, Natasha
    Bennell, Craig
    Lalumiere, Martin L.
    Karimullah, Mirza
    BEHAVIORAL SCIENCES & THE LAW, 2022, 40 (03) : 480 - 503
  • [24] Do You See What I Am? How Observers' Backgrounds Affect Their Perceptions of Multiracial Faces
    Herman, Melissa R.
    SOCIAL PSYCHOLOGY QUARTERLY, 2010, 73 (01) : 58 - 78
  • [25] HOW MUCH INEQUITY DO YOU SEE? STRUCTURAL POWER, PERCEPTIONS OF GENDER AND RACIAL INEQUITY, AND SUPPORT FOR DIVERSITY INITIATIVES
    To, Christopher
    Sherf, Elad N.
    Kouchaki, Maryam
    ACADEMY OF MANAGEMENT JOURNAL, 2024, 67 (01): : 126 - 149
  • [26] I see something you do not: Eye movement modelling examples do not improve anomaly detection in interpreting medical images
    Eder, Thesese F.
    Scheiter, Katharina
    Richter, Juliane
    Keutel, Constanze
    Huettig, Fabian
    JOURNAL OF COMPUTER ASSISTED LEARNING, 2022, 38 (02) : 379 - 391
  • [27] THE PRESENT STATE OF AMERICAN-POETRY .3. - THE CURRENT POETRY SCENE, THROUGH ALL THAT SMOKE, DO YOU SEE ANY FIRE
    GLAZE, A
    NEW YORK QUARTERLY, 1986, (29): : 107 - 113
  • [28] Do you get what you see? Insights of using mAP to select architectures of pretrained neural networks for automated aerial animal detection
    Moreni, Mael
    Theau, Jerome
    Foucher, Samuel
    PLOS ONE, 2023, 18 (04):
  • [29] Question of the month - Do you see any conflict between the desire to provide high-quality dental care and the desire to run an efficient profitable business?
    Lund, AE
    JOURNAL OF THE AMERICAN DENTAL ASSOCIATION, 2004, 135 (06): : 725 - 725
  • [30] Do you see the problem? Visualising a generalised 'complex local system' of antibiotic prescribing across the United Kingdom using qualitative interview data
    Glover, Rebecca E.
    Mays, Nicholas B.
    Fraser, Alec
    CRITICAL PUBLIC HEALTH, 2023, 33 (04) : 459 - 471