• DocumentCode
    3571914
  • Title

    Support vector machines for anti-pattern detection

  • Author

    Maiga, A. ; Ali, Nawazish ; Bhattacharya, Nilanjana ; Sabane, A. ; Gueheneuc, Y. ; Antoniol, Giuliano ; Aimeur, Esma

  • Author_Institution
    Univ. de Montreal, Montreal, QC, Canada
  • fYear
    2012
  • Firstpage
    278
  • Lastpage
    281
  • Abstract
    Developers may introduce anti-patterns in their software systems because of time pressure, lack of understanding, communication, and--or skills. Anti-patterns impede development and maintenance activities by making the source code more difficult to understand. Detecting anti-patterns in a whole software system may be infeasible because of the required parsing time and of the subsequent needed manual validation. Detecting anti-patterns on subsets of a system could reduce costs, effort, and resources. Researchers have proposed approaches to detect occurrences of anti-patterns but these approaches have currently some limitations: they require extensive knowledge of anti-patterns, they have limited precision and recall, and they cannot be applied on subsets of systems. To overcome these limitations, we introduce SVMDetect, a novel approach to detect anti-patterns, based on a machine learning technique---support vector machines. Indeed, through an empirical study involving three subject systems and four anti-patterns, we showed that the accuracy of SVMDetect is greater than of DETEX when detecting anti-patterns occurrences on a set of classes. Concerning, the whole system, SVMDetect is able to find more anti-patterns occurrences than DETEX.
  • Keywords
    learning (artificial intelligence); software maintenance; support vector machines; DETEX; SVMDetect; antipattern detection; machine learning technique; manual validation; parsing time; software systems; source code; support vector machines; Anti-pattern; empirical software engineering; program comprehension; program maintenance;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering (ASE), 2012 Proceedings of the 27th IEEE/ACM International Conference on
  • Print_ISBN
    978-1-4503-1204-2
  • Type

    conf

  • DOI
    10.1145/2351676.2351723
  • Filename
    6494935