• DocumentCode
    1419130
  • Title

    Schedule of Bad Smell Detection and Resolution: A New Way to Save Effort

  • Author

    Liu, Hui ; Ma, Zhiyi ; Shao, Weizhong ; Niu, Zhendong

  • Author_Institution
    Sch. of Comput. Sci. & Technol., Beijing Inst. of Technol., Beijing, China
  • Volume
    38
  • Issue
    1
  • fYear
    2012
  • Firstpage
    220
  • Lastpage
    235
  • Abstract
    Bad smells are signs of potential problems in code. Detecting and resolving bad smells, however, remain time-consuming for software engineers despite proposals on bad smell detection and refactoring tools. Numerous bad smells have been recognized, yet the sequences in which the detection and resolution of different kinds of bad smells are performed are rarely discussed because software engineers do not know how to optimize sequences or determine the benefits of an optimal sequence. To this end, we propose a detection and resolution sequence for different kinds of bad smells to simplify their detection and resolution. We highlight the necessity of managing bad smell resolution sequences with a motivating example, and recommend a suitable sequence for commonly occurring bad smells. We evaluate this recommendation on two nontrivial open source applications, and the evaluation results suggest that a significant reduction in effort ranging from 17.64 to 20 percent can be achieved when bad smells are detected and resolved using the proposed sequence.
  • Keywords
    scheduling; software engineering; bad smell detection; bad smell resolution; detection sequence; open source applications; optimal sequence; resolution sequence; software engineers; Distance measurement; Feature extraction; Refactoring; Scheduling; Scheme; bad smell; detection; effort; schedule.; software refactoring;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2011.9
  • Filename
    5680918