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.
Access to the requested content is limited to institutions that have purchased or subscribe to SPIE eBooks.
You are receiving this notice because your organization may not have SPIE eBooks access.*
*Shibboleth/Open Athens users─please
sign in
to access your institution's subscriptions.
To obtain this item, you may purchase the complete book in print or electronic format on
SPIE.org.
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.