摘要 |
PURPOSE:To automatically inspect the identity of program parts by performing the comparison between each instruction sentence included in a source code of a program parts to be registered and each instruction sentence of the parts extracted as the same candidate parts out of those registered program parts and then deciding the presence or absence of the corresponding relation among those instruction sentences. CONSTITUTION:A pre-processing part 1 evolves an optional defined sentence out of the program parts to be registered into the source code. The same candidate parts extracting part 2 analyzes the source code included in a pre-processed parts and extracts the registered program parts having the same program structure out of a data base. A variable extracting part 4 extracts the variables out of these parts respectively, and the same parts inspection part 5 compares the instruction sentences with each other between both program parts and decides that both program parts are equal to each other if both instruction sentences are equal to each other and simultaneously the corresponding relation are secured among all variables included in each instruction. Thus, the part 5 rejects the registration of the program parts. Then it is possible to automatically inspect whether the program parts having the same function as the registered program parts is already registered in the data base or not.
|