JPH0243639A - Covering rate measuring instrument - Google Patents
Covering rate measuring instrumentInfo
- Publication number
- JPH0243639A JPH0243639A JP63195521A JP19552188A JPH0243639A JP H0243639 A JPH0243639 A JP H0243639A JP 63195521 A JP63195521 A JP 63195521A JP 19552188 A JP19552188 A JP 19552188A JP H0243639 A JPH0243639 A JP H0243639A
- Authority
- JP
- Japan
- Prior art keywords
- address information
- information
- address
- addresses
- stored
- 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
Links
- 238000005259 measurement Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 2
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は網羅率測定装置に関し、特に網羅されていない
アドレスを調査する網羅率測定装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a coverage measuring device, and particularly to a coverage measuring device that investigates addresses that are not covered.
従来、この種の網羅率測定装置は、被測定プログラム上
で実行されたファームウェアのアドレスの測定と、ある
指定された範囲のアドレスに対する網羅率しか演算して
いなかった。Conventionally, this type of coverage measuring device only measures addresses of firmware executed on a program under test and calculates coverage for addresses in a specified range.
上述した従来の網羅率測定装置は、アドレス情報として
通過したアドレスしかもっていないので、通過していな
いアドレスに対して、それが本当に通過していなかった
のか、または最初から実際に存在していないアドレスな
のか判別できなかった。また、どの命令で多く通過して
いないパターンがあるのかを調べたり、またリスト上で
の関係が出ていないので、通過していないアドレスをリ
スト上から探すのに多大な時間を要した。さらに、どの
分岐が通っていないのかを把握するのに容易でないとい
う欠点があった。The above-mentioned conventional coverage measuring device only has the addresses that have passed as address information, so for addresses that have not been passed, it is difficult to determine whether the addresses were really not passed or did not actually exist in the first place. I couldn't tell if it was an address. In addition, it took a lot of time to find out which instructions had a pattern in which the instructions were not being passed often, and to search the list for addresses that were not being passed since there were no relationships on the list. Furthermore, there is a drawback that it is not easy to grasp which branches are not being followed.
本発明の網羅率測定装置の構成は、被測定プログラム上
で実行されたファームウェアのアドレスを読み込んでメ
モリにその通過したアドレスをデータとして格納してお
く網羅率測定装置において、前記通過したアドレスと、
その通過アドレス数を情報テーブル1として格納してお
く第1の手段と、指定された範囲のアドレス情報を情報
テーブル2として格納しておく第2の手段と、前記被測
定プログラムのリスト上のシーケンシャル番号を各アド
レス毎に対応させてある制御情報を、テーブル3として
格納しておく第3の手段と、前記テーブル2のアドレス
情報から前記テーブル1のアドレス情報を除いたアドレ
ス情報を、情報テーブル4として格納しておく第4の手
段と、そのテーブル4のアドレス情報の中で前記テーブ
ル3に含まれているアドレス情報を、テーブル5として
生成する事を第5の手段として構成した事を特徴とする
。The coverage measurement device of the present invention has a configuration in which the coverage measurement device reads the address of firmware executed on the program under test and stores the passed address in the memory as data.
a first means for storing the number of addresses passed through as an information table 1; a second means for storing address information in a specified range as an information table 2; a third means for storing control information in which a number is associated with each address as a table 3; and an information table 4 for storing address information obtained by removing the address information in the table 1 from the address information in the table 2; and a fifth means for generating address information included in the table 3 among the address information in the table 4 as a table 5. do.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例のデータの流れを中心に示す
ブロック図である。FIG. 1 is a block diagram mainly showing the flow of data in one embodiment of the present invention.
中央処理装置1から取り込まれた通過アドレス情報は、
網羅率測定装置3内の網羅率測定制御部31はよって解
読され、通過アドレス情報として通過アドレス制御部3
2に格納される。The transit address information taken in from the central processing unit 1 is
The coverage rate measurement control unit 31 in the coverage rate measurement device 3 is thus decoded and passed through the passing address control unit 3 as passing address information.
2.
次に、そのアドレス情報と、入力制御装置2から取り込
まれ、指定アドレス制御部33に格納されである指定ア
ドレス情報とが一致したアドレス情報を、指定アドレス
情報から除き、除かれないアドレス情報、即ち未通過ア
ドレス情報を未通過アドレス情報部35に格納する。Next, the address information that matches the specified address information taken in from the input control device 2 and stored in the specified address control unit 33 is removed from the specified address information, and the address information that is not removed, i.e. The unpassed address information is stored in the unpassed address information section 35.
ラインナンバ付アドレス制御部34内に格納されである
あらかじめ入力制御装置2から取り込まれた被測定プロ
グラムのリスト上のシーケンシャルなラインナンバ付ア
ドレス情報と、未通過アドレス情報とを比較して、一致
したアドレス情報をラインナンバ付未通過アドレス制御
部36に格納する。The sequential line numbered address information on the list of programs to be measured stored in the line numbered address control unit 34 and imported from the input control device 2 in advance is compared with the unpassed address information, and a match is found. The address information is stored in the line numbered unpassed address control section 36.
最後に、ラインナンバ付未通過アドレス制御部36に格
納されであるアドレス情報を出力制御装置4を通して出
力する。Finally, the address information stored in the unpassed address control section 36 with line number is outputted through the output control device 4.
以上説明したように本発明は、実際に存在する通過して
いないアドレスを表示するので、以前の様に通過してい
ないアドレスが本当に存在しているか否かを調べる必要
がなく、また通過していないアドレスのリスト上での位
置(シーケンシャル番号)が表示されるので、その通過
しなかったアドレスを命令ごとに識別でき、どの命令で
網羅されていないアドレスが多いかがわかる。さらに、
リスト上でのシーケンシャル番号順にソートすることに
より、どの分岐から通過していないがなども、容易に知
ることができるという効果がある。As explained above, the present invention displays addresses that actually exist and have not passed through, so there is no need to check whether or not addresses that have not passed through actually exist, unlike in the past. Since the position (sequential number) of the address that is not covered on the list is displayed, the address that did not pass can be identified for each instruction, and it can be seen which instruction has a large number of addresses that are not covered. moreover,
By sorting the list in order of sequential numbers, it is possible to easily know which branch the branch has not been passed through.
第1図は本発明の一実施例のブロック図である。
1・・・中央処理装置、2・・・入力制御装置、3・・
・網羅率測定装置、4・・・出力制御装置、31・・・
網羅率測定制御部、32・・・通過アドレス制御部、3
3・・・指定アドレス制御部、34・・・ラインナンバ
付アドレス制御部、35・・・未通過アドレス制御部、
36・・・ラインナンバ付未通過アドレス制御部。FIG. 1 is a block diagram of one embodiment of the present invention. 1...Central processing unit, 2...Input control device, 3...
- Coverage rate measuring device, 4... Output control device, 31...
Coverage rate measurement control unit, 32... Passing address control unit, 3
3... Designated address control unit, 34... Address control unit with line number, 35... Unpassed address control unit,
36...Unpassed address control unit with line number.
Claims (1)
レスを読み込んでメモリにその通過したアドレスをデー
タとして格納しておく網羅率測定装置において、前記通
過したアドレスと、その通過アドレス数を情報テーブル
1として格納しておく第1の手段と、指定された範囲の
アドレス情報を情報テーブル2として格納しておく第2
の手段と、前記被測定プログラムのリスト上のシーケン
シャル番号を各アドレス毎に対応させてある制御情報を
、テーブル3として格納しておく第3の手段と、前記テ
ーブル2のアドレス情報から前記テーブル1のアドレス
情報を除いたアドレス情報を、情報テーブル4として格
納しておく第4の手段と、そのテーブル4のアドレス情
報の中で前記テーブル3に含まれているアドレス情報を
、テーブル5として生成する事を第5の手段として構成
した事を特徴とする網羅率測定装置。In a coverage measurement device that reads addresses of firmware executed on a program under test and stores the passed addresses in a memory as data, the passed addresses and the number of passed addresses are stored as an information table 1. A first means for storing address information in a specified range, and a second means for storing address information in a specified range as an information table 2.
means for storing, as a table 3, control information in which sequential numbers on the list of the program under test are associated with each address; a fourth means for storing address information excluding the address information of as an information table 4; and generating address information included in the table 3 among the address information of the table 4 as a table 5; A coverage measuring device characterized in that a fifth means is configured.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63195521A JPH0243639A (en) | 1988-08-04 | 1988-08-04 | Covering rate measuring instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63195521A JPH0243639A (en) | 1988-08-04 | 1988-08-04 | Covering rate measuring instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0243639A true JPH0243639A (en) | 1990-02-14 |
Family
ID=16342472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63195521A Pending JPH0243639A (en) | 1988-08-04 | 1988-08-04 | Covering rate measuring instrument |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0243639A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007327831A (en) * | 2006-06-07 | 2007-12-20 | Railway Technical Res Inst | Tester for vibration-proof body for railroad vehicle |
-
1988
- 1988-08-04 JP JP63195521A patent/JPH0243639A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007327831A (en) * | 2006-06-07 | 2007-12-20 | Railway Technical Res Inst | Tester for vibration-proof body for railroad vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0243639A (en) | Covering rate measuring instrument | |
JPS6413676A (en) | Clinical image diagnostic device | |
SU997073A1 (en) | Device for investigating on-line storage | |
JP2613917B2 (en) | Circuit analysis method | |
JPS59137721A (en) | Indicating device of abnormality in burner | |
SU1695363A1 (en) | Device for operator training | |
JPH03282641A (en) | Measuring method of executing time of data driving processor | |
JPH024128A (en) | Failure annunciator for apparatus | |
JPS6284500A (en) | Microcomputer | |
SU1263226A1 (en) | Apparatus for psychophysiologic investigations | |
SU1437897A1 (en) | Operator training device | |
SU590788A1 (en) | Device for programmable counting articles | |
JPH1048260A (en) | Waveform recorder | |
JPS6464008A (en) | Program generating device | |
JPS63285645A (en) | Firmware diagnostic device | |
JPS6355646A (en) | Controlling system for symbolic debugger | |
JPS6116368A (en) | Inspecting instrument of picture processor | |
JPS58181345A (en) | Communication device | |
JPH02212944A (en) | Logical simulation system | |
JPS61296441A (en) | Measuring instrument for bus line | |
JPS61269703A (en) | Programmable controller | |
JPH01229340A (en) | System for detecting execution address | |
JPH04120644A (en) | Storage device | |
JPH0371669B2 (en) | ||
JPH05289899A (en) | Measuring system for diagnostic program execution time of hardware |