JPH05303490A - System for measuring skeleton comprehension - Google Patents

System for measuring skeleton comprehension

Info

Publication number
JPH05303490A
JPH05303490A JP4129908A JP12990892A JPH05303490A JP H05303490 A JPH05303490 A JP H05303490A JP 4129908 A JP4129908 A JP 4129908A JP 12990892 A JP12990892 A JP 12990892A JP H05303490 A JPH05303490 A JP H05303490A
Authority
JP
Japan
Prior art keywords
checkpoint
skeleton
command
file
checkpoint information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4129908A
Other languages
Japanese (ja)
Inventor
Hidekazu Kimura
英一 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP4129908A priority Critical patent/JPH05303490A/en
Publication of JPH05303490A publication Critical patent/JPH05303490A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To measure the comprehension of a skeleton by setting up a check point on the skeleton and allowing compiler to judge the passage of the check point. CONSTITUTION:A check point is provided on skeleton data 101 to be used by a code forming part in the compiler 15, every passage of the check point is registered in a check point information registering file 16 and a check point information merging means 17 collects the registered information to update a check point information file 12 managing the check point of the skeleton for measuring its comprehension. The updated data are outputted as a check point information list 3 through a shaping output means 14. Consequently management such as the registration and deletion of the check point is easily executed and the totalization of data is automatically executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は情報処理におけるソース
プログラムの翻訳処理に関し、特に翻訳処理系のコード
生成部の検査処理に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a translation process of a source program in information processing, and more particularly to a check process of a code generator of a translation system.

【0002】[0002]

【従来の技術】従来この種の翻訳処理系のコード生成部
の検査処理では、スケルトンが選択された時点でその選
択されたスケルトン名を翻訳処理系が出力し、その出力
結果を手計算で集計していた。
2. Description of the Related Art Conventionally, in the inspection processing of the code generator of this type of translation processing system, when a skeleton is selected, the translation processing system outputs the selected skeleton name and the output results are manually calculated. Was.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のスケル
トンが選択された時点で選択されたスケルトン名を翻訳
処理系が出力していた方式では、翻訳処理を行なう毎に
出力されるスケルトン名をなんらかの方法で確保してお
き、検査処理終了後確保されていたスケルトン名をもと
に選択された回数と割合とを手動で計算しなければなら
ず、翻訳処理時に出力されるスケルトン名を検査終了時
まで人による管理を行なわなければならないという欠点
がある。
In the method in which the translation processing system outputs the skeleton name selected at the time when the above-mentioned conventional skeleton is selected, the skeleton name output every time the translation processing is performed. After the inspection process is completed, it is necessary to manually calculate the number of times and the ratio selected based on the skeleton name that was secured after the inspection process was completed. It has the disadvantage that it must be managed by people.

【0004】また、集計時には出力されたスケルトン名
の見間違いによる集計誤りや手計算による計算間違いが
あるという欠点がある。
In addition, there is a drawback in that there is a mistake in counting due to a mistake in the output of the skeleton name at the time of counting and a calculation error due to manual calculation.

【0005】本発明は上述の問題点に鑑みて、集計した
いスケルトンを特定して自動的に集計を行うことによ
り、集計時に出力されるスケルトン名の見まちがいや集
計誤り、計算誤りを生じないスケルトン網羅度測定方式
を提供することを目的とする。
In view of the above-mentioned problems, the present invention identifies a skeleton to be aggregated and automatically aggregates the skeleton so that the skeleton name output at the time of aggregation does not cause a misunderstanding, an aggregation error, or a calculation error. The purpose is to provide a coverage measurement method.

【課題を解決するための手段】本発明のスケルトン網羅
度測定方式は、ソースプログラムの翻訳時における、コ
ード生成用のテーブルであるスケルトン群中の個々のス
ケルトンが選択された割合を集計する処理において、集
計するスケルトンを管理するためのコマンドを取得する
ためのコマンド入力手段と、前記コマンド入力手段で取
得したコマンドを解析するためのコマンド解析手段と、
前記コマンド解析手段で追加コマンドと判定された場
合、調査するスケルトンのソースファイルを入力するた
めのスケルトンソース入力手段と、前記スケルトンソー
ス入力手段で入力したスケルトンソースからチェックポ
イントを検出するためのチェックポイント判定手段と、
前記チェックポイント判定手段でチェックポイントと判
定された場合、そのチェックポイントをチェックポイン
ト情報ファイルに追加するためのチェックポイント情報
追加手段と、前記チェックポイント情報追加手段でチェ
ックポイントが追加されるチェックポイント情報ファイ
ルを有している。
According to the skeleton coverage measuring method of the present invention, in translating a source program, in a process of totaling the selection ratios of individual skeletons in a skeleton group which is a table for code generation. A command input means for obtaining a command for managing the skeleton to be aggregated, and a command analysis means for analyzing the command obtained by the command input means,
If it is determined to be an additional command by the command analysis means, a skeleton source input means for inputting a source file of a skeleton to be investigated, and a checkpoint for detecting a checkpoint from the skeleton source input by the skeleton source input means. Determination means,
Checkpoint information adding means for adding the checkpoint to the checkpoint information file when the checkpoint determining means determines the checkpoint, and checkpoint information for adding the checkpoint by the checkpoint information adding means Have files.

【0006】また、ソースプログラムの翻訳時におけ
る、コード生成用のテーブルであるスケルトン群中の個
々のスケルトンが選択された割合を集計する処理におい
て、集計するスケルトンを管理するためのコマンドを取
得するためのコマンド入力手段と前記コマンド入力手段
で取得したコマンドを解析するためのコマンド解析手段
と、前記コマンド解析手段で削除コマンドと判定された
場合、調査するスケルトンのソースファイルを入力する
ためのスケルトンソース入力手段と、前記スケルトンソ
ース入力手段で入力したスケルトンソースからチェック
ポイントを検出するためのチェックポイント判定手段
と、前記チェックポイント判定手段でチェックポイント
と判定された場合、そのチェックポイントをチェックポ
イント情報ファイルから削除するためのチェックポイン
ト情報削除手段と、前記チェックポイント情報削除手段
でチェックポイントが削除されるチェックポイント情報
ファイルを有している。
In order to obtain a command for managing the skeletons to be aggregated in the process of aggregating the proportions of the individual skeletons in the skeleton group, which is a table for code generation, when the source program is translated. Command input means, command analysis means for analyzing the command acquired by the command input means, and skeleton source input for inputting the source file of the skeleton to be investigated when the command analysis means determines the deletion command. Means, a checkpoint determination means for detecting a checkpoint from the skeleton source input by the skeleton source input means, and if the checkpoint determination means determines that the checkpoint is a checkpoint information file. And checkpoint information deleting means for deleting checkpoint by the checkpoint information deletion means has a check point information file to be deleted.

【0007】また、ソースプログラムの翻訳時におけ
る、コード生成用のテーブルであるスケルトン群中の個
々のスケルトンが選択された割合を集計する処理におい
て、集計するスケルトンを管理するためのコマンドを取
得するためのコマンド入力手段と、前記コマンド入力手
段で取得したコマンドを解析するためのコマンド解析手
段と、前記コマンド解析手段で集計結果出力コマンドと
判定された場合、集計結果をチェックポイント情報ファ
イルから入力するためのチェックポイント情報ファイル
入力手段と、前記チェックポイント情報ファイル入力手
段で入力した集計結果を整形し、印字するための整形出
力手段と、前記チェックポイント情報ファイル入力手段
で入力されるチェックポイント情報ファイルを有してい
る。
In order to obtain a command for managing the skeletons to be aggregated in the process of aggregating the ratios of the selected skeletons in the skeleton group that is a code generation table during the translation of the source program. Command input means, command analysis means for analyzing the command acquired by the command input means, and when the command analysis means determines that the totalization result output command is to input the totalization result from the checkpoint information file. Checkpoint information file input means, shaping output means for shaping and printing the counting result input by the checkpoint information file input means, and checkpoint information file input by the checkpoint information file input means. Have

【0008】また、ソースプログラムの翻訳時におけ
る、コード生成用のテーブルであるスケルトン群中の個
々のスケルトンが選択された割合を集計する処理におい
て、コンパイル時にチェックポイントを通過したかどう
かを判定するためのチェックポイント通過判定手段と、
前記チェックポイント通過判定手段でチェックポイント
を通過したと判定された場合、そのチェックポイントを
チェックポイント情報登録ファイルに登録するためのチ
ェックポイント情報登録手段と、前記チェックポイント
情報登録手段によって通過したチェックポイントを登録
するためのチェックポイント情報登録ファイルと、前記
チェックポイント情報登録ファイルに登録されているチ
ェックポイントからおなじ名前のものを数え、その値を
チェックポイント情報ファイルにマージするチェックポ
イント情報マージ手段と、前記チェックポイント情報マ
ージ手段でマージされるチェックポイント情報ファイル
と、を有している。
Further, in the process of aggregating the selection ratios of the individual skeletons in the skeleton group, which is a table for code generation, at the time of compiling the source program, it is necessary to determine whether or not a checkpoint has been passed during compilation. Checkpoint passage determination means,
If the checkpoint passage determination means determines that the checkpoint has passed, the checkpoint information registration means for registering the checkpoint in the checkpoint information registration file, and the checkpoint passed by the checkpoint information registration means A checkpoint information registration file for registering, and a checkpoint information merging means for counting those having the same name from the checkpoints registered in the checkpoint information registration file and merging the value into the checkpoint information file, And a checkpoint information file merged by the checkpoint information merging means.

【0009】[0009]

【作用】上記構成によれば、コマンド入力手段が入力し
たコマンドをコマンド解析手段が解析して、指定された
コマンドが追加、あるいは削除、あるいは集計結果出力
かによって、追加又は削除の場合はスケルトン入力手段
によりスケルトンソースを読み込み、チェックポイント
判定手段がスケルトンのチェックポイントを判定したの
ち、チェックポイント情報追加手段またはチェックポイ
ント情報削除手段によって、チェックポイント情報ファ
イルにチェックポイントの追加または削除を行う。
According to the above configuration, the command analysis unit analyzes the command input by the command input unit, and the skeleton input is performed in the case of addition or deletion depending on whether the specified command is added or deleted, or whether the totalized result is output. After the skeleton source is read by the means and the checkpoint judging means judges the checkpoint of the skeleton, the checkpoint information adding means or the checkpoint information deleting means adds or deletes the checkpoint to the checkpoint information file.

【0010】スケルトンデータを参照しながらコード生
成を行うコンパイル時に、チェックポイント通過判定手
段によりチェックポイントを通過したかどうかを判定
し、判定したチェックポイントをチェックポイント情報
登録手段によって、チェックポント情報登録ファイルに
登録し、チェックポイント情報マージ手段により登録し
たチェックポイント情報を集計して、スケルトンのチェ
ックポイントを管理しているチェックポイント情報ファ
イルを更新する。
At the time of compilation in which code generation is performed with reference to skeleton data, the checkpoint passing determination means determines whether or not the checkpoint has passed, and the determined checkpoint is checked point information registration means by the checkpoint information registration file. The checkpoint information is registered by the checkpoint information merging unit, and the checkpoint information registered by the checkpoint information merging unit is aggregated to update the checkpoint information file managing the checkpoints of the skeleton.

【0011】このデータから、先のコマンドが集計結果
出力コマンドの場合、コマンド解析手段が解析して、チ
ェックポイント情報ファイル入力手段が、集計結果をチ
ェックポイント情報ファイルから入力し、整形出力手段
を介して印字出力するので、スケルトンにチェックポイ
ントを設定しコンパイラがそのチェックポイントの通過
を判定して網羅度が測定可能となる。
From this data, when the previous command is a totalization result output command, the command analysis means analyzes it, and the checkpoint information file input means inputs the totalization result from the checkpoint information file and outputs it via the shaping output means. Since it is printed out, the checkpoint is set on the skeleton, and the compiler can judge the passage of the checkpoint to measure the coverage.

【0012】[0012]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0013】図1は本発明のスケルトン網羅度測定方式
のブロック図である。本実施例のスケルトン網羅度測定
方式は、スケルトンソースファイル1とコマンドファイ
ル2とチェックポイント情報リスト3とソースファイル
4とオブジェクトファイル5とコマンド入力手段6とコ
マンド解析手段7とスケルトンソース入力手段8とチェ
ックポイント判定手段9とチェックポイント情報追加手
段10とチェックポイント情報削除手段11とチェック
ポイント情報ファイル12とチェックポイント情報ファ
イル入力手段13と整形出力手段14とコンパイラ15
とチェックポイント情報登録ファイル16とチェックポ
イント情報マージ手段17とで構成されている。
FIG. 1 is a block diagram of a skeleton coverage measuring method of the present invention. The skeleton coverage measuring method according to the present embodiment includes a skeleton source file 1, a command file 2, a checkpoint information list 3, a source file 4, an object file 5, a command input means 6, a command analysis means 7, and a skeleton source input means 8. Checkpoint determination means 9, checkpoint information addition means 10, checkpoint information deletion means 11, checkpoint information file 12, checkpoint information file input means 13, shaping output means 14, and compiler 15.
And a checkpoint information registration file 16 and a checkpoint information merging means 17.

【0014】そして、コンパイラ15は、スケルトンデ
ータ101とチェックポイント通過判定手段102とチ
ェックポイント情報登録手段103とで構成されてい
る。
The compiler 15 is composed of skeleton data 101, checkpoint passage judging means 102 and checkpoint information registration means 103.

【0015】図2は、図1に示すチェックポイント情報
登録ファイルの詳細を示す図である。
FIG. 2 is a diagram showing details of the checkpoint information registration file shown in FIG.

【0016】図3は、図1に示すチェックポイント情報
ファイルの詳細を示す図である。
FIG. 3 is a diagram showing details of the checkpoint information file shown in FIG.

【0017】図4は、図1に示すチェックポイント情報
ファイルの内容を管理するための処理の流れ図である。
FIG. 4 is a flow chart of processing for managing the contents of the checkpoint information file shown in FIG.

【0018】次に本実施例の全体的な動作を各図を参照
して具体的に説明する。
Next, the overall operation of this embodiment will be specifically described with reference to the drawings.

【0019】コマンドファイル2には追加、削除あるい
は集計結果の出力を指示するコマンドと、検査対象とす
るスケルトンの名前が指定されている。コマンド入力手
段6はコマンドファイル2から入力し、入力されたコマ
ンドがどのコマンドであるかを解析するために、コマン
ド解析手段7を起動する(ステップS40)−図4。コ
マンド解析手段7はコマンド入力手段6で入力したコマ
ンドを解析し、指定されたコマンドが追加コマンドある
いは削除コマンドの場合(ステップS41)、そのコマ
ンドと一緒に指定されたスケルトン群のソースを読み込
むためにスケルトンソース入力手段8を起動し、集計結
果出力コマンドの場合、チェックポイント情報ファイル
12から集計すべき情報を取得するためにチェックポイ
ント情報ファイル入力手段13を起動する。コマンド解
析手段7で解析されたコマンドが追加あるいは削除コマ
ンドの場合に起動されるスケルトンソース入力手段8は
コマンドファイル2で指定されたスケルトンに対応する
スケルトンソースファイル1から一行づつ読み込み、読
み込んだ行がそのスケルトンのチェックポイントである
かどうかを判定するために、チェックポイント判定手段
9を起動する(ステップS42)。チェックポイント判
定手段9はスケルトンソース入力手段8から読み込んだ
行がチェックポイントであるかどうかを判定し(ステッ
プS44)、チェックポイントであった場合、コマンド
解析手段7で追加コマンドであると判定されている場合
はそのチェックポイントをチェックポイント情報ファイ
ル12に追加するためにチェックポイント情報追加手段
10を起動し、コマンド解析手段7で削除コマンドであ
ると判定されている場合はそのチェックポイントをチェ
ックポイント情報ファイル12から削除するためにチェ
ックポイント情報削除手段11を起動する(ステップS
45)。コマンド解析手段7で追加コマンドと解析さ
れ、チェックポイント判定手段9でチェックポイントと
判定された場合に起動されるチェックポイント情報追加
手段10は、そのチェックポイントを図3に示すような
型式のチェックポイント情報ファイル12に追加する
(ステップS46)。コマンド解析手段7で削除コマン
ドと解析され、チェックポイント判定手段9でチェック
ポイントと判定された場合に起動されるチェックポイン
ト情報削除手段11は、そのチェックポイントをチェッ
クポイント情報ファイル12から削除する(ステップS
47)。これを読み込むソースが無くなるまで繰返す
(ステップS43)。
In the command file 2, a command for instructing the addition, deletion, or output of the aggregation result and the name of the skeleton to be inspected are specified. The command input means 6 inputs from the command file 2 and activates the command analysis means 7 in order to analyze which command the input command is (step S40) -FIG. The command analysis unit 7 analyzes the command input by the command input unit 6, and if the specified command is an addition command or a deletion command (step S41), in order to read the source of the skeleton group specified together with the command. The skeleton source input means 8 is activated, and in the case of the aggregation result output command, the checkpoint information file input means 13 is activated to acquire the information to be aggregated from the checkpoint information file 12. The skeleton source input means 8 that is started when the command analyzed by the command analysis means 7 is an addition or deletion command reads line by line from the skeleton source file 1 corresponding to the skeleton specified in the command file 2, and the read lines are The checkpoint determination means 9 is activated to determine whether the checkpoint is the checkpoint of the skeleton (step S42). The checkpoint determination means 9 determines whether the line read from the skeleton source input means 8 is a checkpoint (step S44), and if it is a checkpoint, the command analysis means 7 determines that it is an additional command. If so, the checkpoint information adding means 10 is started to add the checkpoint to the checkpoint information file 12, and if the command analyzing means 7 determines that the command is a delete command, the checkpoint information is added to the checkpoint information. The checkpoint information deleting means 11 is activated to delete from the file 12 (step S
45). The check point information adding unit 10 which is activated when the command analyzing unit 7 analyzes the additional command and the check point determining unit 9 determines that the check point is the check point is added to the check point information adding unit 10. It is added to the information file 12 (step S46). The command analysis unit 7 analyzes the deletion command, and the checkpoint information deletion unit 11 which is activated when the checkpoint determination unit 9 determines that the checkpoint is deleted, deletes the checkpoint from the checkpoint information file 12 (step S
47). This is repeated until there are no more sources to read (step S43).

【0020】また、コマンド解析手段7で集計結果出力
コマンドと解析された場合に(ステップS48)、起動
されるチェックポイント情報ファイル入力手段13は、
チェックポイント情報ファイル12からチェックポイン
ト通過状況のデータを入力し(ステップS49)、表形
式でチェックポイント情報リストに印字するために整形
出力手段14を起動する。整形出力手段14はチェック
ポイント情報ファイル入力手段13で入力した情報を表
形式に整形し(ステップS50)、その表形式をチェッ
クポイント情報リスト3に印字する(ステップS5
1)。コンパイラ15はソースファイル4を入力し、ス
ケルトンデータ101を参照しながらコード生成を行な
い、最終的にオブジェクトファイル5を出力する。ここ
で、スケルトンデータ101を参照しながらコード生成
を行なうとき、スケルトンデータ101中にあるチェッ
クポイントを参照したかどうかを判定するためにチェッ
クポイント通過判定手段102を起動する。チェックポ
イント通過判定手段102は参照したスケルトンデータ
101がチェックポイントであるかどうかを判定し、チ
ェックポイントを参照していると判定された場合、その
参照されたチェックポイントを図2に示すような型式の
チェックポイント情報登録ファイル16に登録するため
にチェックポイント情報登録手段103を起動する。チ
ェックポイント情報登録手段103はチェックポイント
通過判定手段102でチェックポイントを通過したと判
定されたときに起動され、そのチェックポイントをチェ
ックポイント情報登録ファイル16に登録する。チェッ
クポイント情報マージ手段17はチェックポイント情報
登録手段103で登録されるチェックポイント情報登録
ファイル16に登録されている個々のチェックポイント
の数を数え、その数値をチェックポイント情報ファイル
12に登録されているチェックポイントの通過回数とし
てマージする。
The checkpoint information file input means 13 which is activated when the command analysis means 7 analyzes the totalization result output command (step S48),
The checkpoint passing status data is input from the checkpoint information file 12 (step S49), and the shaping output means 14 is activated to print the checkpoint information list in a table format. The shaping output means 14 shapes the information input by the checkpoint information file input means 13 into a table format (step S50) and prints the table format on the checkpoint information list 3 (step S5).
1). The compiler 15 inputs the source file 4, generates code while referring to the skeleton data 101, and finally outputs the object file 5. Here, when code generation is performed with reference to the skeleton data 101, the checkpoint passage determination means 102 is activated to determine whether or not a checkpoint in the skeleton data 101 is referred to. The checkpoint passage determining means 102 determines whether or not the referred skeleton data 101 is a checkpoint, and when it is determined that the skeleton data 101 refers to the checkpoint, the referred checkpoint is represented by a model as shown in FIG. The checkpoint information registration means 103 is activated in order to register in the checkpoint information registration file 16. The checkpoint information registration means 103 is activated when the checkpoint passage determination means 102 determines that the checkpoint has been passed, and registers the checkpoint in the checkpoint information registration file 16. The checkpoint information merging means 17 counts the number of individual checkpoints registered in the checkpoint information registration file 16 registered by the checkpoint information registration means 103, and the numerical value is registered in the checkpoint information file 12. Merge as the number of checkpoint passes.

【0021】このように、本実施例では、スケルトンに
チェックポイントを設定し、コンパイラのコード生成に
おいてチェックポイントの通過を判定して、自動的な集
計処理により網羅度測定が可能となる。
As described above, in this embodiment, it is possible to set a checkpoint in the skeleton, determine whether the checkpoint has passed in the code generation of the compiler, and measure the coverage by the automatic counting process.

【0022】[0022]

【発明の効果】以上説明したように本発明は、ソースプ
ログラムの翻訳処理時のコード生成部を検査する処理に
おいて、スケルトンのチェックポイントを登録し、その
登録されたチェックポイントが実際に選択された回数と
割合とを自動的に集計することにより、翻訳処理を行な
う毎に出力されるスケルトン名をなんらかの方法で確保
しておき、検査処理終了後確保されていたスケルトン名
をもとに選択された回数と割合とを手動で計算していた
場合より、集計したいスケルトンを特定して自動的に集
計が行なえるので、翻訳処理時に出力されるスケルトン
名を検査終了時まで人による管理を行う必要がなくな
り、集計時に出力されたスケルトン名の見間違いによる
集計誤りや手計算による計算間違いがなくなるという効
果がある。
As described above, according to the present invention, skeleton checkpoints are registered and the registered checkpoints are actually selected in the process of inspecting the code generator during the translation process of the source program. By automatically counting the number of times and the ratio, the skeleton name that is output each time the translation process is performed is secured by some method, and it is selected based on the skeleton name that was secured after the inspection process was completed. It is possible to specify the skeleton to be aggregated and perform the aggregation automatically compared to the case where the number of times and the ratio are calculated manually.Therefore, it is necessary to manage the skeleton name output during translation processing by humans until the end of the inspection. There is an effect that the skeleton name output at the time of counting is not miscalculated due to a mistake in the skeleton name or a calculation error by manual calculation.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明のスケルトン網羅度測定方式のブロック
図である。
FIG. 1 is a block diagram of a skeleton coverage measuring method of the present invention.

【図2】図1に示すチェックポイント情報登録ファイル
の詳細を示す図である。
FIG. 2 is a diagram showing details of a checkpoint information registration file shown in FIG.

【図3】図1に示すチェックポイント情報ファイルの詳
細を示す図である。
FIG. 3 is a diagram showing details of a checkpoint information file shown in FIG.

【図4】図1のチェックポイント情報ファイルの内容を
管理するための処理の流れ図である。
FIG. 4 is a flow chart of processing for managing the contents of the checkpoint information file of FIG.

【符号の説明】 1 スケルトンソースファイル 2 コマンドファイル 3 チェックポイント情報リスト 4 ソースファイル 5 オブジェクトファイル 6 コマンド入力手段 7 コマンド解析手段 8 スケルトンソース入力手段 9 チェックポイント判定手段 10 チェックポイント情報追加手段 11 チェックポイント情報削除手段 12 チェックポイント情報ファイル 13 チェックポイント情報ファイル入力手段 14 整形出力手段 15 コンパイラ 16 チェックポイント情報登録ファイル 17 チェックポイント情報マージ手段 101 スケルトンデータ 102 チェックポイント通過判定手段 103 チェックポイント情報登録手段[Description of symbols] 1 skeleton source file 2 command file 3 checkpoint information list 4 source file 5 object file 6 command input means 7 command analysis means 8 skeleton source input means 9 checkpoint determination means 10 checkpoint information addition means 11 checkpoints Information deletion means 12 Checkpoint information file 13 Checkpoint information file input means 14 Formatting output means 15 Compiler 16 Checkpoint information registration file 17 Checkpoint information merging means 101 Skeleton data 102 Checkpoint passage determination means 103 Checkpoint information registration means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ソースプログラムの翻訳時における、コ
ード生成用のテーブルであるスケルトン群中の個々のス
ケルトンが選択された割合を集計する処理において、集
計するスケルトンを管理するためのコマンドを取得する
ためのコマンド入力手段と、前記コマンド入力手段で取
得したコマンドを解析するためのコマンド解析手段と、
前記コマンド解析手段で追加コマンドと判定された場
合、調査するスケルトンのソースファイルを入力するた
めのスケルトンソース入力手段と、前記スケルトンソー
ス入力手段で入力したスケルトンソースからチェックポ
イントを検出するためのチェックポイント判定手段と、
前記チェックポイント判定手段でチェックポイントと判
定された場合、該チェックポイントをチェックポイント
情報ファイルに追加するためのチェックポイント情報追
加手段と、前記チェックポイント情報追加手段でチェッ
クポイントが追加されるチェックポイント情報ファイル
とを有することを特徴とするスケルトン網羅度測定方
式。
1. To obtain a command for managing a skeleton to be aggregated in a process of aggregating a ratio of selection of individual skeletons in a skeleton group which is a code generation table when translating a source program. Command input means, and command analysis means for analyzing the command acquired by the command input means,
If it is determined to be an additional command by the command analysis means, a skeleton source input means for inputting a source file of a skeleton to be investigated, and a checkpoint for detecting a checkpoint from the skeleton source input by the skeleton source input means. Determination means,
Checkpoint information adding means for adding the checkpoint to the checkpoint information file when the checkpoint determining means determines the checkpoint, and checkpoint information for adding the checkpoint by the checkpoint information adding means A skeleton coverage measuring method characterized by having a file and.
【請求項2】 ソースプログラムの翻訳時における、コ
ード生成用のテーブルであるスケルトン群中の個々のス
ケルトンが選択された割合を集計する処理において、集
計するスケルトンを管理するためのコマンドを取得する
ためのコマンド入力手段と、前記コマンド入力手段で取
得したコマンドを解析するためのコマンド解析手段と、
前記コマンド解析手段で削除コマンドと判定された場
合、調査するスケルトンのソースファイルを入力するた
めのスケルトンソース入力手段と、前記スケルトンソー
ス入力手段で入力したスケルトンソースからチェックポ
イントを検出するためのチェックポイント判定手段と、
前記チェックポイント判定手段でチェックポイントと判
定された場合、該チェックポイントをチェックポイント
情報ファイルから削除するためのチェックポイント情報
削除手段と、前記チェックポイント情報削除手段でチェ
ックポイントが削除されるチェックポイント情報ファイ
ルとを有することを特徴とするスケルトン網羅度測定方
式。
2. To obtain a command for managing the skeletons to be aggregated in the process of aggregating the ratios of selected individual skeletons in the skeleton group that is a code generation table when translating a source program. Command input means, and command analysis means for analyzing the command acquired by the command input means,
If it is determined to be a deletion command by the command analysis unit, a skeleton source input unit for inputting a source file of a skeleton to be investigated, and a checkpoint for detecting a checkpoint from the skeleton source input by the skeleton source input unit. Determination means,
Checkpoint information deleting means for deleting the checkpoint from the checkpoint information file when the checkpoint judging means judges the checkpoint, and checkpoint information for deleting the checkpoint by the checkpoint information deleting means. A skeleton coverage measuring method characterized by having a file and.
【請求項3】 ソースプログラムの翻訳時における、コ
ード生成用のテーブルであるスケルトン群中の個々のス
ケルトンが選択された割合を集計する処理において、集
計するスケルトンを管理するためのコマンドを取得する
ためのコマンド入力手段と、前記コマンド入力手段で取
得したコマンドを解析するためのコマンド解析手段と、
前記コマンド解析手段で集計結果出力コマンドと判定さ
れた場合、集計結果をチェックポイント情報ファイルか
ら入力するためのチェックポイント情報ファイル入力手
段と、前記チェックポイント情報ファイル入力手段で入
力した集計結果を整形し、印字するための整形出力手段
と、前記チェックポイント情報ファイル入力手段で入力
されるチェックポイント情報ファイルとを有することを
特徴とするスケルトン網羅度測定方式。
3. To obtain a command for managing the skeletons to be aggregated in the process of aggregating the ratios of selected individual skeletons in the skeleton group that is a code generation table during the translation of the source program. Command input means, and command analysis means for analyzing the command acquired by the command input means,
If the command analysis unit determines that the totalization result output command is issued, the checkpoint information file input unit for inputting the totalization result from the checkpoint information file and the totalization result input by the checkpoint information file input unit are shaped. A skeleton coverage measuring method comprising: a shaping output unit for printing and a checkpoint information file input by the checkpoint information file input unit.
【請求項4】 ソースプログラムの翻訳時における、コ
ード生成用のテーブルであるスケルトン群中の個々のス
ケルトンが選択された割合を集計する処理において、コ
ンパイル時にチェックポイントを通過したかどうかを判
定するためのチェックポイント通過判定手段と、前記チ
ェックポイント通過判定手段でチェックポイントを通過
したと判定された場合、該チェックポイントをチェック
ポイント情報登録ファイルに登録するためのチェックポ
イント情報登録手段と、前記チェックポイント情報登録
手段によって通過したチェックポイントを登録するため
のチェックポイント情報登録ファイルと、前記チェツク
ポイント情報登録ファイルに登録されているチェックポ
イントからおなじ名前のものを数え、その値をチェック
ポイント情報ファイルにマージするチェックポイント情
報マージ手段と、前記チェックポイント情報マージ手段
でマージされるチェックポイント情報ファイルとを有す
ることを特徴とするスケルトン網羅度測定方式。
4. To determine whether or not a checkpoint has been passed at compile time in the process of aggregating the selection ratios of individual skeletons in the skeleton group that is a code generation table during source program translation. Checkpoint passage determining means, and when the checkpoint passage determining means determines that the checkpoint has been passed, the checkpoint information registration means for registering the checkpoint in the checkpoint information registration file, and the checkpoint The checkpoint information registration file for registering the checkpoints passed by the information registration means and the checkpoints with the same name from the checkpoints registered in the checkpoint information registration file are counted, and the value is checkedpoint information file. A skeleton coverage measuring method comprising: a checkpoint information merging unit for merging with a checkpoint information merger; and a checkpoint information file merged by the checkpoint information merging unit.
JP4129908A 1992-04-24 1992-04-24 System for measuring skeleton comprehension Pending JPH05303490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4129908A JPH05303490A (en) 1992-04-24 1992-04-24 System for measuring skeleton comprehension

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4129908A JPH05303490A (en) 1992-04-24 1992-04-24 System for measuring skeleton comprehension

Publications (1)

Publication Number Publication Date
JPH05303490A true JPH05303490A (en) 1993-11-16

Family

ID=15021371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4129908A Pending JPH05303490A (en) 1992-04-24 1992-04-24 System for measuring skeleton comprehension

Country Status (1)

Country Link
JP (1) JPH05303490A (en)

Similar Documents

Publication Publication Date Title
US7882493B2 (en) Software test management program software test management apparatus and software test management method
JPH04148242A (en) Trace processing method for load module execution
CN103294594A (en) Test based static analysis misinformation eliminating method
JPH0683598A (en) Job flow specification automatic generating method
CN115357501B (en) Automatic testing method and system for aerospace measurement and control software
JPH05303490A (en) System for measuring skeleton comprehension
JPH09244921A (en) Automation system for software test
JP2001014365A (en) Method for evaluating verification coverage of logic circuit
Papakitsos Robust Software Quality Assurance
JP3036667B2 (en) Data cleaning system for medical examination room
JP2002229818A (en) Program execution time analytical method and its device
JP2752827B2 (en) Debugger processing method
JP3657097B2 (en) Test program generation system
CN113419739B (en) Node map difference detection method and device, electronic equipment and storage medium
JPH09101880A (en) Program analyzer
Ho et al. Using COSMIC-FFP to Quantify Functional Reuse in Software Development
CN111143221B (en) Test method and device
JP2795332B2 (en) Loop processing error detection device
JPH05120065A (en) Testing and verifying method for computer program
JPH08105770A (en) Inspecting device
JPH09138818A (en) Drawing management system
JPH06259245A (en) Instrument and method for measuring performance of program
JPH09319611A (en) Program development supporter
JPH05165678A (en) Software inspection result display method
WO2000039681A1 (en) Method for detecting date-related faults in computer programs