ABSTRACT
During the last few years, we can find a lot of developments in the software industry concerning customized applications. Most of the businesses are automated using Java programming language because of its objectoriented
features. The applications developed, might have undergone perennial need-based modifications. The original structure of the program is lost because of the need-based modifications and further, the program becomes ill-structured. This ill-structured program is not appropriate for the abstraction of design information.
In this paper, we are proposing a novel approach that takes executable java program as input and restructures the program without modifying its functionality. The proposed approach comprises the phases like appending the externals files to the main program, eliminating comment lines, blank lines, converting multistatement lines to the single statement, the multi-line statement to single statement line, physically allotting line numbers, and removing unused variables.
Keywords: - Restructuring, ill-structured, functionality, design information