主权项 |
1. A program information display system capable of displaying program information based on program structure information, the system comprising:
an input unit configured to input the program structure information; a processing unit configured to create display information for visualizing the program information from the program structure information; and a display unit configured to display the program information, wherein the program structure information includes one or more pieces of interval information, the one or more pieces of interval information include first information and second information, the first information is information indicating a successive region on a source code of a target program, the second information is information for specifying the other interval information having an inclusive relationship with interval information including own interval information, the second information included in first interval information includes third information indicating whether second interval information exists or whether third interval information exists, a successive region indicated by the first information included in the first interval information includes a successive region indicated by first information included in the second interval information, the successive region indicated by the first information included in the first interval information is included in a successive region indicated by first information included in the third interval information, when at least one of the second and third interval information exists, the second information includes at least one of fourth information for specifying the second interval information and fifth information for specifying the third interval information, the fourth information does not include fourth interval information including a successive region indicated by the first information included in a successive region indicated by the first information included in the second interval information, the fifth information does not include fifth interval information including a successive region indicated by the first information including a successive region indicated by the first information included in the third interval information, the program structure information includes at least one piece of interval information including a successive region indicated by the first information not included in any of all interval information, interval information including the successive region indicated by the first information not included in any of all interval information is defined as a reference interval, the processing unit specifies the number of pieces of interval information counted during tracing the fourth information included in each interval information from the reference interval to each interval information or the number of pieces of interval information counted during tracing the fifth information included in each interval information from each interval information to the reference interval as a depth of each interval information from the reference interval, interval information with the same depth do not have an inclusive relationship with each other, the processing unit creates, by arranging the one or more interval information on a coordinate system defined by a first axis representing a depth from the reference interval and a second axis representing the inclusive relationship based on a depth from the reference interval and the second information, the display information in which, with respect to the first axis, pieces of interval information with the same depth from the reference interval are arranged on the same position on the first axis in order of depth, and with respect to the second axis, pieces of interval information specified by all fourth information included in the first interval information are arranged within a range represented by the first interval information or the first interval information is arranged within a range represented by interval information specified by the fifth information included in the first interval information, and the display unit displays the program information based on the created display information. |