Bad smells -: Humans as code critics

被引:54
|
作者
Mäntylä, MV [1 ]
Vanhanen, J [1 ]
Lassenius, C [1 ]
机构
[1] Aalto Univ, Software Business & Engn Inst, FIN-02015 Helsinki, Finland
关键词
D O I
10.1109/ICSM.2004.1357825
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents the results of an initial empirical study on the subjective evaluation of bad code smells, which identify poor structures in software. Based on a case study in a Finnish software product company, we make two contributions. First, we studied the evaluator effect when subjectively evaluating the existence of smells in code modules. We found that the use of smells for code evaluation purposes is hard due to conflicting perceptions of different evaluators. Second, we applied source code metrics for identifying three smells and compared these results to the subjective evaluations. Surprisingly, the metrics and smell evaluations did not correlate.
引用
收藏
页码:399 / 408
页数:10
相关论文
共 50 条
  • [1] Visualizing Code Bad Smells
    Hammad, Maen
    Alsofriya, Sabah
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2019, 10 (05) : 281 - 286
  • [2] Code Bad Smells: a review of current knowledge
    Zhang, Min
    Hall, Tracy
    Baddoo, Nathan
    JOURNAL OF SOFTWARE MAINTENANCE AND EVOLUTION-RESEARCH AND PRACTICE, 2011, 23 (03): : 179 - 202
  • [3] A detection tool for code bad smells in java source code
    Gupta, Aakanshi
    Suri, Bharti
    Wadhwa, Bimlesh
    Advances in Intelligent Systems and Computing, 2021, 1086 : 479 - 488
  • [4] Automatic detection of bad smells in code: An experimental assessment
    Fontana, Francesca Arcelli
    Braione, Pietro
    Zanoni, Marco
    JOURNAL OF OBJECT TECHNOLOGY, 2012, 11 (02):
  • [5] A taxonomy and an initial empirical study of bad smells in code
    Mäntylä, M
    Vanhanen, J
    Lassenius, C
    INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2003, : 381 - 384
  • [6] Do they Really Smell Bad? A Study on Developers' Perception of Bad Code Smells
    Palomba, Fabio
    Bavota, Gabriele
    Di Penta, Massimiliano
    Oliveto, Rocco
    De Lucia, Andrea
    2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2014, : 101 - 110
  • [7] A Systematic Literature Review: Code Bad Smells in Java']Java Source Code
    Gupta, Aakanshi
    Suri, Bharti
    Misra, Sanjay
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2017, PT V, 2017, 10408 : 665 - 682
  • [8] Grading Code Quality of Programming Assignments Based on Bad Smells
    Chen, Woei-Kae
    Tu, Pin-Ying
    2011 24TH IEEE-CS CONFERENCE ON SOFTWARE ENGINEERING EDUCATION AND TRAINING (CSEET), 2011, : 559 - 559
  • [9] The Effect of Lexicon Bad Smells on Concept Location in Source Code
    Abebe, Surafel Lemma
    Haiduc, Sonia
    Tonella, Paolo
    Marcus, Andrian
    11TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2011), 2011, : 125 - 134
  • [10] Analyzing Code Evolution to Uncover Relations between Bad Smells
    Lozano, Angela
    Mens, Kim
    Portugal, Jawira
    2015 IEEE 2ND INTERNATIONAL WORKSHOP ON PATTERNS PROMOTION AND ANTI-PATTERNS PREVENTION (PPAP), 2015, : 1 - 4