1 AIT Asian Institute of Technology

Contextual analysis of refactoring on software quality in code evolution

AuthorChaklam Silpasuwanchai
Call NumberAIT Thesis no.CS-11-04
Subject(s)Computer software---Quality control

NoteA thesis submitted in partial fulfillment of the requirements for the degree of Master of Engineering in Computer Science,School of Engineering and Technology
PublisherAsian Institute of Technology
Series StatementThesis ; no. CS-11-04
AbstractRefactoring is a simple method to continuously maintaining a code by reorganizing the code in such a way that it becomes easier to read and understand. The underlying concept aims to make changes in the internal structure of the code such as redistributing classes and methods so to informally improve the system’s maintainability, modifiability, readability, and reusability without altering the way it behaves. Anyhow, the actual benefits of refactoring has few been measured scientifically. By understanding its actual benefits and drawbacks, software engineers could better utilize it in a more proper way. Due to the recent researches which show that refactoring has adverse effect on quality, as a result, it motivates more researches in this area into its actual effect as well as its contextual analysis. In this thesis, impact of refactoring on quality has been analyzed and contextual analysis has been performed to synthesize what is behind the refactoring effectiveness against quality. Results show that refactoring has a positive effect on reusability while having an adverse effect on maintainability, since most of the refactoring adds additional requirement to the system code. Also, observations show that refactoring slightly increase readability as well. Experiment on the context has been performed and statistics shows that metrics and refactoring behavior are the main context that affects refactoring impact on quality. Finally, this thesis had generalized an algorithm for predicting a class quality when two refactoring type, Pull up method/field and Inline subclass, has been performed on a class based on its context.
Year2011
Corresponding Series Added EntryAsian Institute of Technology. Thesis : no. CS-11-04
TypeThesis
SchoolSchool of Engineering and Technology (SET)
DepartmentDepartment of Information and Communications Technologies (DICT)
Academic Program/FoSComputer Science (CS)
Chairperson(s)Janecek, Paul;
Examination Committee(s)Dailey, Matthew;Duboz, Raphael;
Scholarship Donor(s)Royal Thai Government Fellowship;
DegreeThesis (M. Eng.) - Asian Institute of Technology, 2011


Usage Metrics
View Detail0
Read PDF0
Download PDF0