JPH02216547A - Program design system - Google Patents

Program design system

Info

Publication number
JPH02216547A
JPH02216547A JP1037404A JP3740489A JPH02216547A JP H02216547 A JPH02216547 A JP H02216547A JP 1037404 A JP1037404 A JP 1037404A JP 3740489 A JP3740489 A JP 3740489A JP H02216547 A JPH02216547 A JP H02216547A
Authority
JP
Japan
Prior art keywords
program
inspection item
chart
inspection
program design
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
JP1037404A
Other languages
Japanese (ja)
Inventor
Takahiro Yamaguchi
山口 孝浩
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 Solution Innovators Ltd
Original Assignee
NEC Software Chubu Ltd
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 Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP1037404A priority Critical patent/JPH02216547A/en
Publication of JPH02216547A publication Critical patent/JPH02216547A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To automatically prepare an inspection item table by retrieving the control flow of a program chart and extracting the condition of the control flow and a processing included in the control flow. CONSTITUTION:A program chart editing device 12 stores inputted and edited program design information in a storage device 14 as the program chart 14-1. The extraction part for inspection item 13-1 of an automatic preparing device for inspection item table 13 reads the program chart 14-1, extracts an inspection item being information required for inspection among the chart 14-1 and outputs it to a generation part for inspection item 13-2. It inputs the inspection item from the extraction part for inspection item 13-1, prepares the inspection item table from the inspection item to an inspection level which a user has designated and outputs it to an output device 15.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラム設計システムに関し、特にプログラ
ムの構造を図式によって表したプログラム用チャートの
作成支援を行ったり、プログラム用チャートからソース
・プログラムの生成を行ったりするプログラム設計シス
テムに関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a program design system, and in particular supports the creation of a program chart that graphically represents the structure of a program, and generates a source program from a program chart. It relates to a program design system that performs.

〔従来の技術〕[Conventional technology]

従来のこの種のプログラム設計システムにおいては、利
用者が、設計されて実行可能な形式となったプログラム
に誤りがないかを検査するため、プログラム設計システ
ムによって出力されたプログラム設計書から、検査項目
を記した検査項目表を人手によって作成するのが通例で
あった。
In conventional program design systems of this type, users check inspection items from the program design document output by the program design system in order to check whether there are any errors in the program that has been designed into an executable format. It was customary to manually create an inspection item list containing the following information.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプログラム設計システムでは、検査項目
を自動的に作成する手段はなく、利用者がそのシステム
によって出力されたプログラム設計書から人手によって
検査項目表を作成していたため、検査項目表を作成する
のに時閉がかがり、プログラムの設計が変更された場合
や検査をどのくらい詳しく行うかという検査レベルが変
更された場合、検査項目表も変更しなければならず、ま
た、検査項目の漏れが発生することが多いという欠点が
あった。
In the conventional program design system mentioned above, there was no means to automatically create inspection items, and the user had to manually create an inspection item list from the program design document output by the system, so it was difficult to create an inspection item list. If the design of the program is changed or the inspection level (how detailed the inspection is to be performed) is changed, the inspection item list must also be changed, and inspection items may be omitted. The disadvantage is that it often occurs.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のシステムは、プログラム設計情報を入力する入
力装置と、前記プログラム設計情報の編集を行うプログ
ラム用チャート編集装置とを含むプログラム設計システ
ムにおいて、 前記プログラム用チャート編集装置により作成されたプ
ログラム用チャートを格納する記憶装置と、 前記記憶装置に格納されたプログラム用チャートの制御
フローを検索し、その制御フローの条件とその制御フロ
ーに含まれる処理を抽出し検査項目表を自動生成する検
査項目表自動生成装置と、前記検査項目表を出力する出
力装置とを設けたことを特徴とする。
The system of the present invention is a program design system including an input device for inputting program design information, and a program chart editing device for editing the program design information, and a program chart created by the program chart editing device. and an inspection item table that searches the control flow of the program chart stored in the storage device, extracts the conditions of the control flow and the processes included in the control flow, and automatically generates an inspection item table. The present invention is characterized in that it includes an automatic generation device and an output device that outputs the inspection item list.

〔実施例〕〔Example〕

次に、本発明の詳細について図面を参照して説明する。 Next, details of the present invention will be explained with reference to the drawings.

第1図は、本発明の一実施例のプログラム設計システム
のブロック図である。
FIG. 1 is a block diagram of a program design system according to an embodiment of the present invention.

第1図において、本実施例のプログラム設計システムは
、プログラム設計情報及び検査レベルを入力する入力装
置11と、前記プログラム設計情報の作成、編集及び保
守等を行うプログラム用チョート編集装置12と、前記
プログラム用チャート編集装置12により作成されたプ
ログラム用チャートを格納する記憶装置14と、前記プ
ログラム用チャートから検査項目を抽出する検査項目抽
出部13−1ならびに前記検査項目抽出部13−1によ
り抽出された検査項目から検査項目表を生成する検査項
目表生成部13−2を含む検査項目表自動生成装置13
と、前記検査項目表自動生成装置13により生成された
検査項目表を出力する出力装置15により構成されてい
る。
In FIG. 1, the program design system of this embodiment includes an input device 11 for inputting program design information and inspection levels, a program short editing device 12 for creating, editing, and maintaining the program design information, and the program selection device 12 for creating, editing, and maintaining the program design information. A storage device 14 that stores the program chart created by the program chart editing device 12, a test item extraction unit 13-1 that extracts test items from the program chart, and a test item extraction unit 13-1 that extracts test items from the program chart. An automatic test item table generation device 13 including a test item table generation unit 13-2 that generates a test item table from the test items
and an output device 15 that outputs the test item table generated by the test item table automatic generation device 13.

プログラム用チャート編集装置12は、プログラム設計
情報をキーボード等に入力装置11を利用して入力し、
入力されたプログラム設計情報のブロックの移動、削除
等のプログラム用チャートの構造に基ずいた編集機能を
持っている。また、入力・編集されたプログラム設計情
報を記憶装置14にプログラム用チャート14−1とし
て格納する。
The program chart editing device 12 inputs program design information into a keyboard or the like using the input device 11,
It has editing functions based on the structure of the program chart, such as moving and deleting blocks of input program design information. Further, the input/edited program design information is stored in the storage device 14 as a program chart 14-1.

検査項目表自動生成装置13の検査項目抽出部13−1
は記憶装置14よりプログラム用チャー)14−1を読
み込み、その中から検査に必要な情報である検査項目を
抽出し、検査項目表生成部13−2へ出力する。
Test item extraction unit 13-1 of test item table automatic generation device 13
reads the program chart 14-1 from the storage device 14, extracts test items that are information necessary for the test from therein, and outputs them to the test item table generation section 13-2.

検査項目表生成部13−1は、検査項目抽出部13−1
から検査項目を入力し、利用者の指定した検査レベルま
での検査項目から検査項目表を生成し、出力装置15に
出力する。
The test item table generation unit 13-1 includes the test item extraction unit 13-1.
A test item table is generated from the test items up to the test level specified by the user, and is output to the output device 15.

以下、各部の機能・構成を第2図〜第7図により説明す
る。
The functions and configurations of each part will be explained below with reference to FIGS. 2 to 7.

第2図は、前記検査項目抽出部13−1の処理手順を示
している。
FIG. 2 shows the processing procedure of the inspection item extraction section 13-1.

先ず、記憶装置14に格納されたプログラム用チャート
14−1を1行づつ入力する(ステップ21)、プログ
ラム用チャート14−1が最後まで入力されていれば終
了する(ステップ22のYes)、もし、なお入力する
行があれば(ステップ22のNo)、その行が分岐、繰
り返しなどのプログラムの実行の流れを指定する制御行
がどうかを調べる(ステップ23)。もし、制御行でな
ければ項目として検査項目表生成部23−2へ出力しく
ステップ25)、プログラム用チャートの1行人力(ス
テップ21)から繰り返す(ステップ23のNo)。も
し、制御行であれば見出し作成部を呼び出しな後(ステ
ップ24)、プログラム用チャートの終了判定(ステッ
プ22)から繰り返す〈ステップ23でYes)。
First, the program chart 14-1 stored in the storage device 14 is input line by line (step 21). If the program chart 14-1 has been input to the end, the process ends (Yes in step 22). If there is a line to be input (No in step 22), it is checked whether that line is a control line that specifies the flow of program execution, such as branching or repetition (step 23). If it is not a control line, it is output as an item to the inspection item table generation unit 23-2 (step 25), and the process is repeated from the first line of the program chart manually (step 21) (No in step 23). If it is a control line, call the heading creation section (step 24) and repeat from the end determination of the program chart (step 22) (Yes in step 23).

第3図は、前記見出し作成部(ステップ24)の処理手
順を示している。
FIG. 3 shows the processing procedure of the heading creation section (step 24).

本見出し作成部を呼び出す要因となった制御行の条件を
見出しとして検査項目表生成部13−2へ出力する(ス
テップ31)、ついで、プログラム用チャート14−1
を1行ずつ入力する(ステツブ32)、もし、その行が
前記本見出し作成部を呼び出す要因となった制御行の分
岐、繰り返しなどの実行の流れの制御がおよんでいる制
御範囲でなければ終了する(ステップ33でNo)、も
し、その行が制御範囲であれば(ステップ33でYes
)、その行が制御行かどうかを調べる(ステップ34)
、もし、制御行でなければ項目として検査項目生成部1
3−2へ出力しくステップ36)、プログラム用チャー
トの1行入力(ステップ32)から繰り返す(ステップ
34のNO)。
The condition of the control line that caused the main heading creation section to be called is output as a heading to the inspection item table generation section 13-2 (step 31), and then the program chart 14-1
is input one line at a time (Step 32). If the line does not fall within the control range that controls the flow of execution, such as branching or repeating the control line that caused the main heading creation section to be called, the process ends. (No in step 33), if the row is within the control range (Yes in step 33)
), check whether the line is a control line (step 34)
, if it is not a control line, check item generation unit 1 as an item.
3-2 (step 36), and repeat from inputting one line of the program chart (step 32) (NO in step 34).

もし、制御行であれば本見出し作成部自身を再帰的に呼
び出しくステップ35)、制御範囲かどうかの判断から
繰゛り返すくステップ34でYes)。
If it is a control line, the main heading creation unit itself is called recursively in step 35), and the process is repeated to determine whether it is within the control range (Yes in step 34).

第4図〜第6図は、上記の各機能により生成された各デ
ータをイメージ化して示している。
FIGS. 4 to 6 show images of each data generated by each of the above functions.

第4図は、プログラム用チャート14−1の1部である
。第5図は、プログラム用チャート41の3ステツプ目
「ファイルの内容をプリンタに出力する」をさらに詳細
に表したものであり、これもプログラム用チャート14
−1に含まれている。
FIG. 4 is a part of the program chart 14-1. FIG. 5 shows in more detail the third step of the program chart 41, ``outputting the contents of the file to the printer,'' which is also shown in the program chart 14.
-1 included.

第6図は、検査項目抽出部13−1がプログラム用チャ
ート14−1から生成した検査項目の一部でありプログ
ラム用チャート51に相当する部分である。この検査項
目は、属性として見出しと項目を持っており、レベルと
してその制御行の入れ子のレベルを持っている。
FIG. 6 shows a part of the test items generated from the program chart 14-1 by the test item extraction unit 13-1, and corresponds to the program chart 51. This inspection item has a heading and an item as attributes, and a nesting level of its control line as a level.

最後に、第7図は検査項目抽出部13−1により出力さ
れた検査項目から、検査項目表生成部13−2が検査レ
ベルをプログラム用チャート14−1によって示された
レベルまでのものを書式を整えて生成した検査項目表の
一部であり、出力袋・置15に出力されたものである。
Finally, FIG. 7 shows a format in which the test item table generator 13-2 converts the test levels from the test items output by the test item extractor 13-1 to the level indicated by the program chart 14-1. This is a part of the inspection item table generated by arranging and outputting it to the output bag/box 15.

このようにすることにより、本プログラム設計システム
に入力されたプログラム設計情報からプログラム設計書
を作成するのと同時に、検査項目表を自動的に生成する
ことができる。
By doing so, the inspection item list can be automatically generated at the same time as the program design document is created from the program design information input to the program design system.

なお、以上の実施例に対しては検査項目表自動生成装置
13については検査項目抽出部13−1と検査項目表生
成部13−2を含むものとしたが、これとは異なる構成
になっているものも考えられる。
In addition, in the above embodiment, the test item table automatic generation device 13 was assumed to include the test item extraction section 13-1 and the test item table generation section 13-2, but it has a different configuration from this. It is possible that there are some.

同様に、第2図、第3図の処理手順においても、検査項
目表自動生成装置13にプログラム用チャート14−1
が入力されて検査項目表を出力するということを除いて
は、他の処理手順であっても同様の目的を達成する手順
が容易に考えられるであろう。
Similarly, in the processing procedures shown in FIGS. 2 and 3, the program chart 14-1 is added to the inspection item table automatic generation device 13.
It is easy to think of other processing procedures that achieve the same purpose, except that the test item list is output based on input data.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、プログラム設計システム
でプログラム用チャートから検査に必要な項目を抽出す
ることにより、自動的に検査項目表を作成することがで
きる。よって、プログラムの設計が変更された場合でも
、同時に検査項目表を変更できる。また、生成レベルを
設定することにより、任意のレベルまでの検査項目表を
作成することができる。更に、本システムにより自動生
成させることによって、プログラム用チャートと検査項
目表との整合性がとれ、検査項目漏れのない高品質の検
査項目表を作成できる。
As explained above, the present invention can automatically create an inspection item table by extracting items necessary for inspection from a program chart using a program design system. Therefore, even if the program design is changed, the inspection item list can be changed at the same time. Furthermore, by setting the generation level, it is possible to create an inspection item list up to an arbitrary level. Furthermore, by automatically generating the chart using this system, consistency between the program chart and the inspection item table can be ensured, and a high-quality inspection item table without omission of inspection items can be created.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のプログラム設計システムの
ブロック図、第2図と第3図は、第1図の検査項目抽出
部13−1の動作を示すフローチャート、第4図と第5
図は本プログラム設計システムで扱うプログラム用チャ
ート、第6図は検査項目抽出部13−1により抽出され
た検査項目の一部、第7図は検査項目表生成部13−2
により生成された出力装置15に出力された検査項目表
である。 11・・・入力装置、12・・・プログラム用チャート
編集装置、13・・・検査項目表自動生成装置、14・
・・記憶装置、15・・・出力装置、13−1・・・検
査項目抽出部、13−2・・・検査項目表生成部。
FIG. 1 is a block diagram of a program design system according to an embodiment of the present invention, FIGS. 2 and 3 are flowcharts showing the operation of the inspection item extraction unit 13-1 in FIG. 1, and FIGS.
The figure shows a chart for a program handled by this program design system, FIG. 6 shows a part of the test items extracted by the test item extractor 13-1, and FIG. 7 shows the test item table generator 13-2.
This is an inspection item table generated by and output to the output device 15. DESCRIPTION OF SYMBOLS 11... Input device, 12... Program chart editing device, 13... Inspection item table automatic generation device, 14.
... Storage device, 15... Output device, 13-1... Test item extraction section, 13-2... Test item table generation section.

Claims (1)

【特許請求の範囲】 プログラム設計情報を入力する入力装置と、前記プログ
ラム設計情報の編集を行うプログラム用チャート編集装
置とを含むプログラム設計システムにおいて、 前記プログラム用チャート編集装置により作成されたプ
ログラム用チャートを格納する記憶装置と、 前記記憶装置に格納されたプログラム用チャートの制御
フローを検索し、その制御フローの条件とその制御フロ
ーに含まれる処理を抽出し検査項目表を自動生成する検
査項目表自動生成装置と、前記検査項目表を出力する出
力装置とを設けたことを特徴とするプログラム設計シス
テム。
[Scope of Claim] A program design system including an input device for inputting program design information and a program chart editing device for editing the program design information, comprising a program chart created by the program chart editing device. and an inspection item table that searches the control flow of the program chart stored in the storage device, extracts the conditions of the control flow and the processes included in the control flow, and automatically generates an inspection item table. A program design system comprising: an automatic generation device; and an output device that outputs the inspection item list.
JP1037404A 1989-02-17 1989-02-17 Program design system Pending JPH02216547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1037404A JPH02216547A (en) 1989-02-17 1989-02-17 Program design system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1037404A JPH02216547A (en) 1989-02-17 1989-02-17 Program design system

Publications (1)

Publication Number Publication Date
JPH02216547A true JPH02216547A (en) 1990-08-29

Family

ID=12496592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1037404A Pending JPH02216547A (en) 1989-02-17 1989-02-17 Program design system

Country Status (1)

Country Link
JP (1) JPH02216547A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04147351A (en) * 1990-10-09 1992-05-20 Nec Corp Test coverage situation setting method
EP0528237A2 (en) * 1991-08-08 1993-02-24 Hitachi, Ltd. A method for preparing control program and a preparing apparatus thereof
EP1262868A1 (en) * 2001-06-01 2002-12-04 Alliance pour les Technologies de l'Informatique, ALITEC Method and system for software production

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63127332A (en) * 1986-11-17 1988-05-31 Matsushita Electric Ind Co Ltd Software development aid equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63127332A (en) * 1986-11-17 1988-05-31 Matsushita Electric Ind Co Ltd Software development aid equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04147351A (en) * 1990-10-09 1992-05-20 Nec Corp Test coverage situation setting method
EP0528237A2 (en) * 1991-08-08 1993-02-24 Hitachi, Ltd. A method for preparing control program and a preparing apparatus thereof
EP0528237A3 (en) * 1991-08-08 1994-05-04 Hitachi Ltd
EP1262868A1 (en) * 2001-06-01 2002-12-04 Alliance pour les Technologies de l'Informatique, ALITEC Method and system for software production
FR2825487A1 (en) * 2001-06-01 2002-12-06 Alliance Pour Les Technologies SOFTWARE PRODUCTION PROCESS AND EQUIPMENT

Similar Documents

Publication Publication Date Title
JPH02216547A (en) Program design system
CN103106639A (en) Prototype volume data accelerating system and method
JP2005032047A (en) Device, method, program and storage medium for automatically generating file
JPH0785239B2 (en) Electronic document processor
JPH04326122A (en) Process concept plotting device
JPH05334325A (en) Document preparing system of data processor
JPH0756920A (en) Structured document processor
Hong et al. Integrated software development environment based on CCITT/SDL for telecommunication systems
JP2811804B2 (en) Variable output range specification method
JPH0635643A (en) Screen output method for data
JPH06242933A (en) Program document maintenance device
JP2005242751A (en) Test support device
JPH10269068A (en) Software development method for automatically generating graphical document
JP3005352B2 (en) File name extraction device
JPH0498533A (en) Automatic program generating device with macroblock diagram processing function
JPH0589103A (en) Document editing processor
JPH06168011A (en) Program generating device
JPH03259369A (en) Character input device
JP2001084136A (en) System and method for preparing test specification
JPH0580992A (en) Output system for procedure-function relation chart
JPH01239640A (en) High speed generating system for plural object programs
JPH07175940A (en) Correction data processor
JPH0588865A (en) Software design supporting device
JPS63156254A (en) Control method for intermediate text by interpreter
JPH0449421A (en) File editing system