摘要 |
PURPOSE:To easily detect and delete a line not to be actually executed in a prepared program by providing a program removing means to decide the line not to be executed in the program based on the execution frequency of each line of the program and to remove the line. CONSTITUTION:An area setting part 1.2 for recording an execution frequency analyzes an original 2 of an objective program and secures areas 1.5-1.5.m corresponding to respective lines 2.1-2.m of the objective program. A program execution analyzing part 1.3 analyzes respective lines of the original 2 successively from the line 2.1 of the head, a prescribed processing is executed according to the analytic result, and the values of the areas to be corresponding among areas 1.5.1-1.5.m to respective lines of the objective program to be executed are counted up. A program removing part 1.4 investigates the counted values of respective areas 1.5.1-1.5.m, the lines, in which the execution frequency is not 0, are gathered, and an objective program 3 after the unexecuted part is removed is prepared. Thus, the line not to be actually executed in the prepared program can be easily detected and deleted.
|