摘要 |
PURPOSE: A method for automatically creating a data flowchart for a software maintenance is provided to enable a user to understand a data flow structure of a source code easily by automatically creating data flow structure information of the source code as a hierarchical directed graph and to analyze a source code for maintenance by supplying measuring information such as a program complexity and a structure chart using data use/definition information in each function. CONSTITUTION: A translation unit compiles and translates a source code stored in a source program storage, extracts a medium language, and stores the medium language in a medium language storage(100). An extraction unit extracts function information necessary for creating a data flowchart from the medium language stored in the medium language storage and stores the function information in a reverse engineering information integrated file storage. In addition, the extraction unit searches function data flow information such as node and edges necessary for creating a data flowchart stored in the reverse engineering information integrated file and stores the information in a data flowchart information model storage(102). Levels of each node are decided using a level algorithm in a data flowchart creating unit(104). The data flowchart creating unit decides each edge label and a kind of an edge(105). The data flowchart creating unit decides an upper-centroid sequential and a lower-centroid sequential of a data flowchart layout using a sequential algorithm(106,108). The data flowchart creating unit decides an upper-centroid position of the data flowchart layout(110), and creates a coordinate of a node and edge of the data flowchart layout(112,114).
|