Dissertation/Thesis Abstract

Automatic code refactoring techniques for Java programs
by Tran, Phuoc, M.S., California State University, Long Beach, 2016, 39; 10096073
Abstract (Summary)

According to Martin Fowler, refactoring is a controlled technique for improving the design of an existing code base. However, the tasks of refactoring are difficult, and they require a lot of effort and experience. The goal of this project is to develop a semi-automatic tool that can perform some refactoring techniques for codes written in Java. Seven refactoring methods are implemented: Remove Assignments to Parameter, Introduce Parameter Object, Extract Class, Inline Class, Extract Interface, Replace Data Value with Object, and Replace Type Code with State/Strategy. The implementation consists of two parts: Object-Oriented Program Information Extraction System and code refactoring functions. The information extraction system is built on ANTLR-based Java grammar rules to parse Java files. This system is developed to provide the detailed information about classes, fields, methods, variables, and instances that are helpful data for refactoring. Refactoring functions use these extracted information and users’ input to make decision on changing the code.

Indexing (document details)
Advisor: Hoffman, Michael
Commitee: Lam, Shui, Murgolo, Frank
School: California State University, Long Beach
Department: Computer Engineering and Computer Science
School Location: United States -- California
Source: MAI 55/04M(E), Masters Abstracts International
Source Type: DISSERTATION
Subjects: Computer science
Keywords: Antlr parser, Code refactoring, Java, Object-oriented program information
Publication Number: 10096073
ISBN: 978-1-339-60210-3
Copyright © 2019 ProQuest LLC. All rights reserved. Terms and Conditions Privacy Policy Cookie Policy
ProQuest