JPH04100161A - Method and device for estimating software reliability - Google Patents

Method and device for estimating software reliability

Info

Publication number
JPH04100161A
JPH04100161A JP2217509A JP21750990A JPH04100161A JP H04100161 A JPH04100161 A JP H04100161A JP 2217509 A JP2217509 A JP 2217509A JP 21750990 A JP21750990 A JP 21750990A JP H04100161 A JPH04100161 A JP H04100161A
Authority
JP
Japan
Prior art keywords
curve
bug
cumulative
regression analysis
data group
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
JP2217509A
Other languages
Japanese (ja)
Inventor
Hiroshi Ushigome
牛込 博
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2217509A priority Critical patent/JPH04100161A/en
Publication of JPH04100161A publication Critical patent/JPH04100161A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To obtain high compatibility and reliability for wide-range software by graphing and outputting the cumulative curve of an obtained data group and optionally and visually selecting whether a regressive analysis is taken as a single curve or composite curve. CONSTITUTION:The cumulative curve G(X) of obtained bug data is divided into a phase G1(X) which starts at X0 and ends at X1 and a phase G2(X) which starts at X1 and ends at Xn and characteristic regression models F1(X) and F2(X) adapted to the respective phases to decrease an error and increase persuasive power. When the cumulative curve G(X) of the obtained bug data group is a monoton increasing function, the single curve is sufficient for the regression model. Thus, the cumulative curve of the obtained data group is graphed and outputted and whether the regressive analysis is taken as the single curve or composite curve can be selected visually and optionally, so the models can be adapted widely to cumulative curves of obtained data groups in various shapes.

Description

【発明の詳細な説明】 〔産業上の利用分野] この発明はソフトウェアの品質管理における信頼度の推
定方法および装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a method and apparatus for estimating reliability in software quality control.

〔従来の技術] 近年、計算機プログラムに代表されるソフトウェアの品
質管理において、バグ成長曲線を用いた信頼度の推定法
が盛んに用いられている。この技法は、ソフトウェアの
開発・試験工程で得られるバグのデータ群を回帰分析す
ることによって、科学的にその品質を把握することがで
きるため1便利テある。まづ、従来例について第1図お
よび第4図を用いて説明する。第1図で図中、(1)は
情報処理装置、(2)はコンピュータ(FDD付き)(
3)はティスプレィ、(4)はプリンタ、(5)はキー
ボード、(6)はフロッピー・ディスクである。
[Prior Art] In recent years, reliability estimation methods using bug growth curves have been widely used in quality control of software, typified by computer programs. This technique is useful because it allows us to scientifically understand the quality of software by performing regression analysis on bug data obtained during the software development and testing process. First, a conventional example will be explained using FIGS. 1 and 4. In Figure 1, (1) is an information processing device, (2) is a computer (with FDD) (
3) is a display, (4) is a printer, (5) is a keyboard, and (6) is a floppy disk.

プログラム・ルーチンか記憶されたフロッピディスク(
6)をコンピュータ(FDD付き)(2)に挿入し、オ
ペレーション・ソフトを駆動して情報処理装置(1)を
スタートさせる。フロンピー・ディスク(6)からプロ
グラム・ルーチンかロートされ、入力待ち状態となる。
A floppy disk containing program routines (
6) into the computer (with FDD) (2), run the operation software, and start the information processing device (1). A program routine is loaded from the floppy disk (6) and enters an input waiting state.

第4図は従来例の説明のためのフローチャートであり、
その動作を以下に示す。ステップ(50)はキーボード
(5)からのバグの取得データのキー人力であり1例え
ば、毎日得られたバグ数を連続的に入力する段階である
FIG. 4 is a flowchart for explaining the conventional example,
Its operation is shown below. Step (50) is a key manual input of the bug acquisition data from the keyboard (5), and is a step in which, for example, the number of bugs acquired every day is input continuously.

ステップ(53)はこれらのデータ群を回帰分析し回帰
モデル(ゴンペルツ曲線やロジスティック曲線なと)の
へスト・フィツト係数を算出する処理段階である。ステ
ップ(56)はデータ群の累積曲線と回帰分析結果を同
一画面上に表示する段階であり、ステップ(57)は図
化表示内容およびデータ処理によって得られた所要の項
目をプリント出力する段階である。デイスプレィ(3)
は上記ステップ(56)のハードウェアであり、プリン
タ(4)は上記ステップ(57)のハードウェアに相当
する。上述したように従来のソフトウェア信頼(社)の
推定方法および装置のおいては1回帰モデルを一本の曲
線と限定して回帰分析しており、取得されたデータ群の
累積曲線に必ずしも優れた適合性を示してはいなかった
Step (53) is a processing stage in which a regression analysis is performed on these data groups and a hest fit coefficient of a regression model (such as a Gompertz curve or a logistic curve) is calculated. Step (56) is the step of displaying the cumulative curve of the data group and the regression analysis results on the same screen, and step (57) is the step of printing out the plotted display contents and the required items obtained by data processing. be. Display (3)
is the hardware in step (56) above, and printer (4) corresponds to the hardware in step (57) above. As mentioned above, in the conventional estimation method and equipment of Software Trust Co., Ltd., regression analysis is performed by limiting one regression model to one curve, and the cumulative curve of the acquired data group is not necessarily superior. There was no indication of suitability.

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

以上説明したように、従来のものでは必ず回帰分析結果
は得られるものの、複数の曲線群なとから構成されるよ
うなデータ群の累積曲線に対し適合性に欠けるのが欠点
であった。
As explained above, although the conventional methods always provide regression analysis results, the drawback is that they lack compatibility with cumulative curves of data groups consisting of multiple curve groups.

〔課題を解決するための手段] この発明によるソフトウェア信頼度の推定方法および装
置は、まづ手始めに取得したデータ群の累積曲線を図化
出力し、目視によって単一曲線として回帰分析するかも
しくは複合曲線として回帰分析するかを任意:に選択で
きるようにしたものである。
[Means for Solving the Problems] The method and apparatus for estimating software reliability according to the present invention first plots and outputs a cumulative curve of an acquired data group, and visually performs regression analysis as a single curve, or It is possible to arbitrarily select whether to perform regression analysis as a composite curve.

〔作用] 複合曲線としての回帰分析を選択できるということは、
様々な形状を示す取得したデータ群の累積曲線に対し1
幅広く適合させることかiJ能となる。
[Effect] Being able to select regression analysis as a compound curve means that
1 for the cumulative curve of the acquired data group showing various shapes.
It becomes iJ Noh if it is widely adapted.

〔実施例〕〔Example〕

第1図、第2図および第3図はこの発明のソフトウェア
信頼度の推定方法および装置の実施例を説明するための
図であり、第1図で、(1)は情報処理装置、(2)は
コンピュータ(F I) D付き)。
FIG. 1, FIG. 2, and FIG. 3 are diagrams for explaining an embodiment of the software reliability estimation method and device of the present invention. In FIG. 1, (1) is an information processing device; ) is a computer (F I) with D).

(3)はデイスプレィ、(4)はプリンタ、(5)はキ
ーホード、(6)はフロッピー・ディスクである。
(3) is a display, (4) is a printer, (5) is a keyboard, and (6) is a floppy disk.

この発明のハードウェア構成は従来例と変わらずプログ
ラム・ルーチンが記憶されたフロッピディスク(b)を
コンピュータ(FDD付き)(2)i:挿入t、  オ
ペレーション・ソフトを駆動して情報処理装置(1)を
スタートさせる。フログラム・ルーチンがロードされ、
入力待ちの状態となる。
The hardware configuration of this invention is the same as that of the conventional example. A floppy disk (b) on which programs and routines are stored is inserted into a computer (with FDD) (2), and the operation software is driven to operate the information processing device (1). ). The program routine is loaded and
It will be in a state of waiting for input.

キーボード(5)からキー人力すれば、プログラム・ル
ーチンが動作し、デイスプレィ(3)に処理結果の図表
を表示し、また、プリンタ(4)に処理結果のプリント
出力を出すことになる。ここで、いわゆる回帰分析につ
いて簡単に説明しよう。第3図は分析結果の説明図であ
る。既知のようにソフトウェアの開発・試験工程でデパ
ック作業が行なわれるが、これはソフトウェアの品質を
向上させるためのバグ取り作業であり、よこ軸Xに時間
・期間をとり、たて軸yに取得したバグ数をとる図をバ
グ成長曲線と称している。日々、取得したバグ・デーゾ
の累積曲線G (X)をいろいろ見ているとXoから始
めてX1付近で一度収束状態を示すものの1点Pを境に
再びバグか出てきてX。で再度収束状態となるような場
面にしばしば出会う。このような形状は、この分野では (1)点Pでテスト・フェーズが変化した。
By manually pressing a key on the keyboard (5), the program routine will operate, displaying a diagram of the processing results on the display (3), and outputting a printout of the processing results on the printer (4). Here, I will briefly explain what is called regression analysis. FIG. 3 is an explanatory diagram of the analysis results. As is known, depacking work is carried out in the software development and testing process, but this is a bug removal work to improve the quality of the software. The graph that calculates the number of bugs that occur is called a bug growth curve. Every day, when I look at the cumulative curve G (X) of the bug deso that I have acquired, I start from Xo and once it shows a convergence state around X1, but after 1 point P, a bug appears again and I get X. We often encounter situations where the state of convergence occurs again. In this field, such a shape has (1) a test phase change at point P;

(2)点Pで仕様に変更か生した。(2) A change was made to the specifications at point P.

なとと判断することが多い。すなわち、単一の回帰モデ
ルF (X)で回帰分析しては誤差が大きくなり都合が
悪い。そこで、取得したバグ・デーゾの累積曲線G (
X)を ・Xoから始まりXlで終わるフェーズG +(X)・
Xlから始まりX、、で終わるフェーズG2(X)に分
割し、各々のフェーズに独自の回帰モデルF(X)およ
びF2(x)を適合させれ、ば、誤差も小さくなり、ま
た、説得力も大きくなる。なお、取得したバグ・データ
群の累積曲線G (X)が単調増加関数であったなら1
回帰モデルも単一曲線とすれば充分である。
I often judge that. That is, performing regression analysis using a single regression model F (X) increases errors and is inconvenient. Therefore, the cumulative curve G (
Phase G + (X) starting from Xo and ending at Xl
If it is divided into phases G2(X) starting from Xl and ending at growing. In addition, if the cumulative curve G (X) of the acquired bug data group is a monotonically increasing function, then 1
It is sufficient if the regression model is also a single curve.

第2図はこの発明の詳細な説明するためのフローチャー
トであり、その動作を順を追って説明する。ステップ(
50)はバグの取得データのキー人力段階であり、ステ
ップ(51)はデータ群の累積曲線の初期表示段階、ス
テップ(52)はコントロール・キャラクタJ。を零と
するか?もしくはJ。を1とする判定段階、ステップ(
54)はコントロール・キャラクタJ。が1の場合、複
合数に応じた分岐部のデータ番号なとを入力する段階、
ステップ(53a)、 (53b)、 (53c)は回
帰モデルのベスト・フィツト係数を算出する処理段階、
ステップ(56)はブタ群の累積曲線と回帰分析結果を
同一画面上に表示する段階であり、そして、ステップ(
57)は図化表示内容およびデータ処理によって得られ
た所要の項目をプリント出力する段階である。
FIG. 2 is a flowchart for explaining the present invention in detail, and its operation will be explained step by step. Step (
50) is the key manual stage of bug acquisition data, step (51) is the initial display stage of the cumulative curve of the data group, and step (52) is the control character J. Should it be zero? Or J. A judgment stage where 1 is set, step (
54) is the control character J. If is 1, the step of inputting the data number of the branch part according to the composite number,
Steps (53a), (53b), and (53c) are processing steps for calculating the best fit coefficients of the regression model;
Step (56) is a step of displaying the cumulative curve of the pig group and the regression analysis results on the same screen, and step (
Step 57) is a step of printing out the plotted display contents and the required items obtained by data processing.

なお、説明においてはデータ群の累積曲線か2つのフェ
ーズに分割される例について述べたがこの発明はこの限
りでなく、複数の分割に対しても適用することができる
In the description, an example has been described in which the cumulative curve of the data group is divided into two phases, but the present invention is not limited to this and can be applied to a plurality of divisions.

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

以」二説明したように、この発明のソフトウェア信頼度
の推定方法および装置によれば、まづ、取得したデータ
群の累積曲線を図化出力し、目視によって単一曲線とし
て回帰分析するかもしくは複合曲線として回帰分析する
かを任意に選択できるように構成したため、小規模な機
器の組込みソフトウェアや、大規模かつ複雑な情報処理
ソフトウェアなと幅広いソフトウェアに対し、より高い
適合性と信頼性を提供することができる。
As explained above, according to the method and apparatus for estimating software reliability of the present invention, first, the cumulative curve of the acquired data group is plotted and output, and regression analysis is performed visually as a single curve, or Because it is configured so that regression analysis can be selected as a composite curve, it provides higher compatibility and reliability with a wide range of software, including small-scale device embedded software and large-scale, complex information processing software. can do.

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

第1図はこの発明の実施例によるシステム構成図、第2
図はこの発明の詳細な説明するためのフローチャート、
第3図はこの発明の詳細な説明するための説明図、第4
図は従来例を示すフローチャートである。 図中、(1)は情報処理装置、(2)はコンピュータ(
FDD付き)、(3)はデイスプレィ、(4)はプリン
タ、(5)はキーホード、(6)はフロッピーディスク
、 (50)はキー人力段階、 (51)は初期表示段
階、 (52)は判定段階、 (53a)、 (53b
)、 (53c)はデータ処理段階、 (54)は複合
曲線を選択した場合の分岐点の指示段階、 (56)は
表示段階、 (57)はプリント段階である。 なお1図中、同一あるいは相当部分には同一符号を付し
て示しである。
FIG. 1 is a system configuration diagram according to an embodiment of the present invention, and FIG.
The figure is a flowchart for explaining the invention in detail,
FIG. 3 is an explanatory diagram for explaining the invention in detail, and FIG.
The figure is a flowchart showing a conventional example. In the figure, (1) is an information processing device, (2) is a computer (
(with FDD), (3) is display, (4) is printer, (5) is key fob, (6) is floppy disk, (50) is key manual stage, (51) is initial display stage, (52) is judgment Stage, (53a), (53b
), (53c) is a data processing stage, (54) is a branch point instruction stage when a compound curve is selected, (56) is a display stage, and (57) is a printing stage. In FIG. 1, the same or corresponding parts are designated by the same reference numerals.

Claims (2)

【特許請求の範囲】[Claims] (1)ソフトウェアの試験工程で発生するバグを回帰分
析し、その分析結果を用いて品質状況を把握するソフト
ウェア信頼度の推定方法において、前記取得されたバグ
・データ群の累積曲線の形状に応じて、前記累積曲線を
単一曲線として取り扱うか、もしくは複合曲線として取
り扱うかを任意に選択できるとともに、前者の単一曲線
としての取り扱いを選択した場合、取得されたバグ・デ
ータ群の全てを用いた回帰分析を実施し、また、後者の
複合曲線としての取り扱いを選択した場合、取得された
バグ・データ群を複数のユニットに分割し、各々のユニ
ットを独自に回帰分析して再び各ユニットの重合を実施
することを特徴とするソフトウェア信頼度の推定方法。
(1) In a software reliability estimation method that performs regression analysis on bugs that occur in the software testing process and uses the analysis results to understand the quality status, You can arbitrarily choose whether to treat the cumulative curve as a single curve or as a compound curve, and if you choose to treat the cumulative curve as a single curve, you can use all of the acquired bug data. If you choose to treat the latter as a compound curve, divide the obtained bug data group into multiple units, perform regression analysis on each unit independently, and then perform a regression analysis on each unit again. A software reliability estimation method characterized by performing polymerization.
(2)ディスプレイ・ユニットと、キーボードと、プリ
ンタと、以下のプログラム・ルーチンが記憶されるメモ
リと、このメモリの内容に従つて実行する中央処理装置
とを備え、入力されたバグ・データ群を回帰分析し、そ
の処理結果を前記ディスプレイ・ユニットで目視すると
ともに、前記プリンタのプリント出力として得られるよ
うに構成したことを特徴とするソフトウェア信頼度の推
定装置。 (イ)前記、入力されたバグ・データ群を用いてバグの
累積曲線を図化表示する第1のプロ グラム・ルーチン。 (ロ)前記、バグの累積曲線を目視し、単一曲線として
処理するかまたは複合曲線として処 理するかを判定し、複合曲線としての処理 を選択した場合、分岐点のデータ番号など を入力する第2のプログラム・ルーチン。 (ハ)所定のバグ・データ数(単一曲線ならば全て、複
合曲線ならば複数のユニット)を用 いて回帰分析し、各回帰モデルのベスト・ フイツト係数を決める第3のプログラム・ ルーチン。 (ニ)前記、入力されたバグ・データ群の累積曲線と、
回帰分析によつて得られた単一もし くは複数の重合された回帰モデルとを同一 画面上に図化表示する第4のプログラム・ ルーチン。 (ホ)前記、同一画面上に図化表示した内容およびデー
タ処理によつて得られた所要の項目 をプリント出力する第5のプログラム・ル ーチン。
(2) It is equipped with a display unit, a keyboard, a printer, a memory in which the following program routines are stored, and a central processing unit that executes according to the contents of this memory, and is capable of processing input bug data groups. An apparatus for estimating software reliability, characterized in that the software reliability estimation apparatus is configured to perform regression analysis, visually observe the processing result on the display unit, and obtain it as a printout of the printer. (a) A first program routine for graphically displaying a bug accumulation curve using the input bug data group. (b) Visually check the cumulative bug curve, determine whether to process it as a single curve or a compound curve, and if you select processing as a compound curve, enter the data number of the branching point, etc. Second program routine. (c) A third program routine that performs regression analysis using a predetermined number of bug data (all units for a single curve, multiple units for a compound curve) and determines the best fit coefficient for each regression model. (d) the cumulative curve of the input bug data group;
A fourth program routine for graphically displaying the single or multiple superimposed regression models obtained by regression analysis on the same screen. (E) A fifth program routine that prints out the content graphically displayed on the same screen and the required items obtained by data processing.
JP2217509A 1990-08-18 1990-08-18 Method and device for estimating software reliability Pending JPH04100161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2217509A JPH04100161A (en) 1990-08-18 1990-08-18 Method and device for estimating software reliability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2217509A JPH04100161A (en) 1990-08-18 1990-08-18 Method and device for estimating software reliability

Publications (1)

Publication Number Publication Date
JPH04100161A true JPH04100161A (en) 1992-04-02

Family

ID=16705349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2217509A Pending JPH04100161A (en) 1990-08-18 1990-08-18 Method and device for estimating software reliability

Country Status (1)

Country Link
JP (1) JPH04100161A (en)

Similar Documents

Publication Publication Date Title
JPH0756892A (en) Computer having vector arithmetic unit with mask
JPH04100161A (en) Method and device for estimating software reliability
JPH0674877A (en) Automatic quality inspector for parts
US7086054B2 (en) Method and device for reconstructing the process sequence of a control program
JP2731572B2 (en) Logic simulation method
JPH0713809A (en) Program evaluation system
JP2006202102A (en) Simulation apparatus
JPS61251966A (en) Image processor
JP2004005288A (en) Batch performance evaluating method and device
JP2001273168A (en) System for automatically testing software
JPH0421027A (en) Method for changing set environment
JP4087296B2 (en) Document processing device
JPH06348542A (en) Computer system test assisting device
JP2699436B2 (en) Parameter inspection processing method
JPH02113343A (en) Generation system for test program execution control procedure
JPH03189517A (en) Display system
JPH07254003A (en) Structure analysis system for elastic lock pawl
JPH01270151A (en) Program test system
JPH03189832A (en) Testing system for device
JPH0314180A (en) Logical simulation system
JPH02294841A (en) Logical simulation system
JPH05204712A (en) Program test system
JPH07200351A (en) Program debug method and program debug support device
JPS63205760A (en) Test coverage system for logical simulation
JPH04101240A (en) Testing system for replaceable software