• DocumentCode
    3686465
  • Title

    Code Bad Smell Detection through Evolutionary Data Mining

  • Author

    Shizhe Fu;Beijun Shen

  • Author_Institution
    Sch. of Software, Shanghai Jiao Tong Univ., Shanghai, China
  • fYear
    2015
  • Firstpage
    1
  • Lastpage
    9
  • Abstract
    The existence of code bad smell has a severe impact on the software quality. Numerous researches show that ignoring code bad smells can lead to failure of a software system. Thus, the detection of bad smells has drawn the attention of many researchers and practitioners. Quite a few approaches have been proposed to detect code bad smells. Most approaches are solely based on structural information extracted from source code. However, we have observed that some code bad smells have the evolutionary property, and thus propose a novel approach to detect three code bad smells by mining software evolutionary data: duplicated code, shotgun surgery, and divergent change. It exploits association rules mined from change history of software systems, upon which we define heuristic algorithms to detect the three bad smells. The experimental results on five open source projects demonstrate that the proposed approach achieves higher precision, recall and F-measure.
  • Keywords
    "Software systems","History","Association rules","Surgery","Couplings"
  • Publisher
    ieee
  • Conference_Titel
    Empirical Software Engineering and Measurement (ESEM), 2015 ACM/IEEE International Symposium on
  • Type

    conf

  • DOI
    10.1109/ESEM.2015.7321194
  • Filename
    7321194