• DocumentCode
    1637155
  • Title

    Textual Analysis for Code Smell Detection

  • Author

    Palomba, Fabio

  • Author_Institution
    Dept. of Manage. & Inf. Technol., Univ. of Salerno, Fisciano, Italy
  • Volume
    2
  • fYear
    2015
  • Firstpage
    769
  • Lastpage
    771
  • Abstract
    The negative impact of smells on the quality of a software systems has been empirical investigated in several studies. This has recalled the need to have approaches for the identification and the removal of smells. While approaches to remove smells have investigated the use of both structural and conceptual information extracted from source code, approaches to identify smells are based on structural information only. In this paper, we bridge the gap analyzing to what extent conceptual information, extracted using textual analysis techniques, can be used to identify smells in source code. The proposed textual-based approach for detecting smells in source code, coined as TACO (Textual Analysis for Code smell detectiOn), has been instantiated for detecting the Long Method smell and has been evaluated on three Java open source projects. The results indicate that TACO is able to detect between 50% and 77% of the smell instances with a precision ranging between 63% and 67%. In addition, the results show that TACO identifies smells that are not identified by approaches based on solely structural information.
  • Keywords
    Java; information retrieval; Java open source projects; TACO; long method smell; software systems; structural information; textual analysis for code smell detection; textual analysis techniques; Accuracy; Conferences; Data mining; Societies; Software engineering; Software systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
  • Conference_Location
    Florence
  • Type

    conf

  • DOI
    10.1109/ICSE.2015.244
  • Filename
    7203065