Font Size: a A A

Abstract Syntax Tree-Based Code Smell Detection and Refactorin

Posted on:2019-02-16Degree:M.SType:Thesis
University:California State University, Long BeachCandidate:Patodiya aka Patoliya, Aditi aka PalakFull Text:PDF
GTID:2448390002982159Subject:Computer Science
Abstract/Summary:
Software frameworks are the crux of the numerous businesses in giant technological industries. These software systems are growing in size, becoming more perplexing day by day. Besides, they are subject to frequent alterations that implement new features or resolve bugs. Due to time constraints, engineers do not have enough resources to plan and implement perfect solutions, which results in the occurrence of code smells in the software system.;With the increase of the size of software systems, it is strenuous to detect the code smells in the software and refactor the code manually. This thesis presents a framework that detects seven code smells (Switch case, Long parameter list, Middle man, Long method, Temporary fields, Message chains, and Data class) and provides refactoring suggestions for the code that contains these smells. These smells are detected with the help of metrics and software visualizations generated by an abstract syntax tree.
Keywords/Search Tags:Software, Code, Smells
Related items