摘要 |
<P>PROBLEM TO BE SOLVED: To provide a method for analyzing a program and a method for creating a program, capable of dividing a program, even when it is not structurally programmed, into reusable component units. Ž<P>SOLUTION: A word/symbol/figure unit extraction part 2 extract program sentences from a plurality of source programs 1, and a common element extraction part 3 extracts a program sentence which is present only within each source program and is common to all the source programs as a common element. A common element-to-common element program sentence extraction part 4 extracts a program sentence which is present between continued common elements within each source program. A quasi-common element extraction part 5 compares these program sentences, and extracts a matched program sentence as a quasi-common element. A non-common element extraction part 6 extracts a program sentence other than the common element and the quasi-common element as a non-common element, whereby program sentences of an appropriable unit are stored. Ž<P>COPYRIGHT: (C)2010,JPO&INPIT Ž
|