Skip to main navigation Skip to search Skip to main content

Software smell detection based on machine learning and its empirical study

  • Yongfeng Yin
  • , Qingran Su*
  • , Lijun Liu
  • *Corresponding author for this work
  • Beihang University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

As an important maintenance measure, software reconfiguration is the key to detect the unreasonable part of the code module, namely code smell. Traditional detection methods rely on the experience of engineers, and the location efficiency of reconfiguration points is low. The existing automatic detection tools identify code smell with limited accuracy. Aiming at the problem that the number of reconstructed points in software system is huge and various, and the automation of reconstructed activities is low and difficult to optimize, the research framework of software smell prediction based on machine learning is studied and designed. Taking four common code smells as the research object, the classification algorithm and detection model of the best code smell are established, and the dimension reduction method of feature extraction is further improved. The highest accuracy rate is 89.8%, which can improve the automation level of software smell detection.

Original languageEnglish
Title of host publicationSecond Target Recognition and Artificial Intelligence Summit Forum
EditorsWang Tianran, Chai Tianyou, Fan Huitao, Yu Qifeng
PublisherSPIE
ISBN (Electronic)9781510636316
DOIs
StatePublished - 2020
Event2nd Target Recognition and Artificial Intelligence Summit Forum 2019 - Shenyang, China
Duration: 28 Aug 201930 Aug 2019

Publication series

NameProceedings of SPIE - The International Society for Optical Engineering
Volume11427
ISSN (Print)0277-786X
ISSN (Electronic)1996-756X

Conference

Conference2nd Target Recognition and Artificial Intelligence Summit Forum 2019
Country/TerritoryChina
CityShenyang
Period28/08/1930/08/19

Keywords

  • Code smell
  • Machine learning
  • Software refactoring

Fingerprint

Dive into the research topics of 'Software smell detection based on machine learning and its empirical study'. Together they form a unique fingerprint.

Cite this