SOURCE CODE ANALYSIS SYSTEM AND SOURCE CODE ANALYSIS METHOD

To provide a source code analysis system capable of easily grasping a source code.SOLUTION: A source code analysis system includes a determination part for determining identification information for identifying a block composed of one or more lines included in the start and the end of a control synt...

Full description

Saved in:
Bibliographic Details
Main Authors IIJIMA MICHIO, AZUMA DAIKI
Format Patent
LanguageEnglish
Japanese
Published 07.10.2021
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:To provide a source code analysis system capable of easily grasping a source code.SOLUTION: A source code analysis system includes a determination part for determining identification information for identifying a block composed of one or more lines included in the start and the end of a control syntax in a source code on the basis of information showing the control syntax of a prescribed computer language and a source code of a program, a setting part for setting granularity information showing that granularity is rougher as the depth of a nest of the control syntax is shallower in each block to be identified by the identification information determined by the determination part, and an output part for outputting block information showing a block corresponding to a prescribed granularity and a block whose granularity is rougher than the prescribed granularity in association with the source code on the basis of the granularity information set by the setting part.SELECTED DRAWING: Figure 1 【課題】ソースコードを容易に把握し得るソースコード解析システムを提供する。【解決手段】所定のコンピュータ言語の制御構文を示す情報と、プログラムのソースコードとに基づいて、ソースコードにおいて、制御構文の開始と終了とに含まれる一または複数の行からなるブロックを識別するための識別情報を特定する特定部と、特定部により特定された識別情報により識別される各ブロックに、制御構文のネストの深さが浅いほど粒度が粗いことを示す粒度情報を設定する設定部と、設定部により設定された粒度情報に基づいて、所定の粒度に対応するブロックと、所定の粒度よりも粒度が粗いブロックとを示すブロック情報をソースコードに対応させて出力する出力部とを設けるようにした。【選択図】図1
Bibliography:Application Number: JP20200054858