JP2006072670A - Software reliability prediction method, recording medium and apparatus recording the program - Google Patents
Software reliability prediction method, recording medium and apparatus recording the program Download PDFInfo
- Publication number
- JP2006072670A JP2006072670A JP2004254910A JP2004254910A JP2006072670A JP 2006072670 A JP2006072670 A JP 2006072670A JP 2004254910 A JP2004254910 A JP 2004254910A JP 2004254910 A JP2004254910 A JP 2004254910A JP 2006072670 A JP2006072670 A JP 2006072670A
- Authority
- JP
- Japan
- Prior art keywords
- software reliability
- equation
- software
- parameter
- distribution function
- 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
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、ソフトウェアシステムなどのシステムの信頼度を予測する技術に関するものである。 The present invention relates to a technique for predicting the reliability of a system such as a software system.
〔従来の技術1〕
ソフトウェアの完成後の品質を保証するために、一般的にシステムの動作確認試験を行う。動作確認試験において、ソフトウェアの最終段階での品質予測、いわゆる信頼性予測が行われる。この信頼性予測に関して、従来から各種の手法が提案されている。
[Prior art 1]
In order to guarantee the quality after completion of the software, a system operation check test is generally performed. In the operation confirmation test, quality prediction at the final stage of software, so-called reliability prediction is performed. Various methods have been proposed for the reliability prediction.
それらのうち、統計的手法として、ゴンペルツ曲線モデルやロジスティック曲線モデルなどを用いる方法が知られていて、ソフトウェアのバグ実績データから、各曲線モデルのパラメータを推測することにより、達成予測値(レベル),達成期間,予測曲線などを得ている。 Among them, methods that use Gompertz curve models, logistic curve models, etc. are known as statistical methods, and by predicting the parameters of each curve model from software bug record data, the predicted value (level) achieved , Achievement period, prediction curve, etc.
図3は、こうした統計的手法を用いて実績試験結果データから予測曲線を得る装置の構成概念図で、図4は、それによって得られる予測曲線の例を示した図である。図3において、31は信頼性予測装置、32は入力である試験実績データ、33は予測データを示しており、この装置により、実績データに基づく予測曲線が得られることを示している。 FIG. 3 is a conceptual diagram of a device for obtaining a prediction curve from performance test result data using such a statistical method, and FIG. 4 is a diagram showing an example of a prediction curve obtained thereby. In FIG. 3, 31 is a reliability prediction device, 32 is test result data which is an input, and 33 is prediction data. This device shows that a prediction curve based on the result data can be obtained.
また、図4において、予測曲線は初期時点で求められ、この予測曲線に基づいて予測値の飽和値等の推定が行われる。 In FIG. 4, the prediction curve is obtained at the initial time point, and the saturation value of the prediction value is estimated based on the prediction curve.
まず始めに、ゴンペルツ曲線モデルとそのパラメータの推定方法について説明する。ゴンペルツ曲線は、式(1)の関係式で与えられる曲線である。
なお、本明細書中では、例えば文字zに対して上付き記号^を付与する場合を、z^のように2文字に分けて記載するので、式との対応に注意されたい。
First, the Gompertz curve model and its parameter estimation method will be described. The Gompertz curve is a curve given by the relational expression (1).
In the present specification, for example, a case where a superscript symbol に 対 し て is given to the letter z is divided into two characters, such as ^, and attention should be paid to the correspondence with the formula.
ここで、tは時間(期間)であり、G(t)はtまでに発見される総バグ数、a,bは実績から求められるパラメータである。式(1)から、 Here, t is a time (period), G (t) is the total number of bugs discovered by t, and a and b are parameters obtained from results. From equation (1)
また、式(1)は微分方程式 Equation (1) is a differential equation
ここで、 here,
現実には、微分値 In reality, the differential value
ここで、Ynとして Where Y n
式(12)を回帰式として、回帰分析を行うことにより、A,Bの推定値A^,B^を求める。a,b,kの推定値a^,b^,k^は、 By performing regression analysis using equation (12) as a regression equation, estimated values A ^ and B ^ of A and B are obtained. Estimated values a ^, b ^, k ^ of a, b, k are
早期のデータによる推定結果は精度が悪いといわれており、少なくとも曲線モデルの変曲点を超えた時点のデータでパラメータ推定を行うことが必要である。三觜武:“ソフトウェアの品質評価法”日科技連(1981)によれば、ソフトウェアの潜在バグ数の推定値をk^として、ソフトウェアの累積バグ数をy−とすると、 The estimation result based on the early data is said to be inaccurate, and it is necessary to perform parameter estimation with data at the time when the inflection point of the curve model is exceeded. Takeshi Miso: According to “Software Quality Evaluation Method”, Nikka Giren (1981), if the estimated number of potential bugs in software is k ^ and the cumulative number of bugs in software is y−,
次に、ロジスティック曲線モデルについて説明する。ロジスティック曲線モデルは、式(18)の関係式で与えられる曲線である。 Next, the logistic curve model will be described. The logistic curve model is a curve given by the relational expression (18).
ゴンペルツ曲線モデルと同様にtは時間(期間)であり、L(t)はtまでに発見される総バグ数、m,αは実績から求められるパラメータである。式(18)より Similar to the Gompertz curve model, t is time (period), L (t) is the total number of bugs discovered by t, and m and α are parameters obtained from actual results. From equation (18)
式(18)は微分方程式 Equation (18) is the differential equation
改めて again
現実には、微分値 In reality, the differential value
式(30)を回帰式として、回帰分析を行うことにより、A,Bの推定値A^,B^を求める。m,k,αの推定値m^,k^,α^は、 By performing regression analysis using equation (30) as a regression equation, estimated values A ^ and B ^ of A and B are obtained. Estimated values m ^, k ^, α ^ of m, k, α are
ロジスティック曲線モデルについても、ゴンペルツ曲線と同様に、早期のデータによる推定結果は精度が悪いといわれており、少なくとも曲線モデルの変曲点を超えた時点のデータでパラメータ推定を行うことが必要である。どの時点までのデータでパラメータ推定を行うべきかについては、ゴンペルツ曲線と同様である。 As with the Gompertz curve, the logistic curve model is also said to be inaccurate in the estimation results based on early data, and it is necessary to perform parameter estimation at least when the curve model inflection point is exceeded. . It is the same as the Gompertz curve about which point of time should be used for parameter estimation.
〔従来の技術2〕
以上の説明では、微分方程式を差分方程式に書き直し、回帰式を得て、その回帰式から求めたいパラメータの推定値を得ている。これに対して、以下に説明する従来の技術2では、特許文献1,非特許文献1−3に従って、微分方程式を先に説明した従来の技術1とは異なった差分方程式に書き直す。
[Conventional technology 2]
In the above description, the differential equation is rewritten as a difference equation, the regression equation is obtained, and the estimated value of the parameter desired to be obtained from the regression equation is obtained. On the other hand, in the
ゴンペルツ曲線モデル1について説明する。再度、ゴンペルツ曲線の満たす微分方程式を次式に示す。 The Gompertz curve model 1 will be described. Again, the differential equation satisfied by the Gompertz curve is shown in the following equation.
δを差分間隔として、式(35)を次式のように差分化する。 Equation (35) is differentiated as in the following equation, where δ is the difference interval.
さらに further
上述の差分化の詳細は、以下のように行う。式(35)は次のように変形できる。 The details of the above-described differentiation are performed as follows. Equation (35) can be modified as follows.
ここで、差分化すると、式(125)は次のようになる。
Here, when differentiating, the formula (125) becomes as follows.
右辺の差分化は、以下に説明する。
まず、自然対数eの定義として、次のものがある。
The difference on the right side will be described below.
First, the definition of the natural logarithm e is as follows.
次に、非特許文献4のp.170の定理5.9で、同様の次の置き換え
Next, in theorem 5.9 of p.170 of
このことから、上述の式(37)のaの肩に乗っている部分を連続化すると、
From this, when the part on the shoulder of a in the above formula (37) is made continuous,
式(127)はさらに変形できて、 Equation (127) can be further transformed,
ここで、パラメータk,a,bを求めるために、式(36)の両辺の対数を2回とる。 Here, in order to obtain the parameters k, a, and b, the logarithm of both sides of Equation (36) is taken twice.
式(46)を使った回帰分析によって得られるA,Bの推定値をA^,B^とすると、a,b,kの推定値a^,b^,k^は、次のように求められる。 If the estimated values of A and B obtained by regression analysis using equation (46) are A ^ and B ^, the estimated values a ^, b ^, k ^ of a, b, k are obtained as follows. It is done.
ゴンペルツ曲線モデル2について説明する。
ゴンペルツ曲線モデルは、次式の微分方程式の解として表現することもできる。
The
The Gompertz curve model can also be expressed as a solution of the following differential equation.
式(50)の両辺をG(t)で割ると、 Dividing both sides of equation (50) by G (t),
ここで、差分化すると式(138)は次のようになる。 Here, when the difference is made, the equation (138) becomes as follows.
式(51)の厳密解は、 The exact solution of equation (51) is
パラメータk,a,bを求めるために、式(51)の両辺をGnで割り、さらに両辺の対数をとり、δ=1とおくと、
In order to obtain the parameters k, a, and b, divide both sides of the equation (51) by Gn , further take the logarithm of both sides, and set δ = 1.
ここで、 here,
式(57)を使った回帰分析によって得られるA,Bの推定値をA^,B^とすると、a,b,kの推定値a^,b^,k^は、次のように求められる。 If the estimated values of A and B obtained by regression analysis using Equation (57) are A ^ and B ^, the estimated values a ^, b ^, k ^ of a, b, k are obtained as follows. It is done.
次に、ロジスティック曲線モデルについて説明する。
再度、ロジスティック曲線が満たす微分方程式を、次式に示す。
Next, the logistic curve model will be described.
Again, the differential equation that the logistic curve satisfies is shown in the following equation.
厳密解は、 The exact solution is
式(64)は、δ→0で式(62)に一致する。さらに Expression (64) is equal to Expression (62) because δ → 0. further
また、δを差分間隔とすると、式(61)は次式のように差分化され、δ→0で式(62)に一致する。 Also, if δ is the difference interval, the equation (61) is differentiated as the following equation, and δ → 0, which matches the equation (62).
パラメータk,α,mを求めるために、tn=nδ、δ=1とおいて、式(63),式(67)を次のように書き換える。 In order to obtain the parameters k, α, m, the equations (63) and (67) are rewritten as follows with t n = nδ and δ = 1.
ここで、式(63)のときは、 Here, in equation (63),
式(69)を回帰式として回帰分析を行うことにより、A,Bの推定値A^,B^を求める。m,k,αの推定値m^,k^,α^は、式(63)の場合、次のように求められる。 By performing regression analysis using equation (69) as a regression equation, estimated values A ^ and B ^ of A and B are obtained. In the case of Equation (63), the estimated values m ^, k ^, α ^ of m, k, α are obtained as follows.
式(67)の場合には、 In the case of equation (67)
前記、従来の技術1では、試験早期での推定精度は低く、ある程度の精度を要求するには、変曲点を超えた時点までのデータが必要となる。また、実データが各曲線モデルに完全に一致していたとしても、試験開始間もないとき、すなわち潜在バグ件数に対して、発見されたバグ件数の割合が小さいときには正確なパラメータ推定ができず、そのため信頼性分析の結果の精度はかなり低いものとなっている。 In the conventional technique 1, the estimation accuracy at the early stage of the test is low, and data up to the time point beyond the inflection point is required to request a certain level of accuracy. In addition, even if the actual data completely matched each curve model, accurate parameter estimation could not be performed when the test was not started, that is, when the ratio of the number of bugs found to the number of potential bugs was small. Therefore, the accuracy of the reliability analysis results is quite low.
どの時点までのデータを利用してパラメータ推定を行うかの判定基準に、式(17)があるが、式(17)内のk^の精度そのものが低く、経験に頼った判定基準になっている。また、従来の技術1では、実データとモデルによる分析が一致しなかった場合には、パラメータ推定の精度が低いため、その原因はモデルの不適切によるものなのか、パラメータの推定制度によるものなのかがはっきりしなかった。 There is equation (17) as a criterion for parameter estimation using up to which point of time, but the accuracy of k ^ in equation (17) itself is low, and it becomes a criterion based on experience. Yes. In addition, in the case of the conventional technique 1, if the actual data and the analysis by the model do not match, the accuracy of parameter estimation is low, so the cause is due to the inappropriateness of the model or the parameter estimation system. I wasn't sure.
これに対して、従来の技術2では、従来の技術1の問題を解決し、バグ発見件数が少ない段階、試験開始間もない時点から、正確なパラメータ推定を行えるようになり、信頼性分析の結果の精度が向上し、実データとモデルによる分析が一致していなかったときに前記2つの原因の切り分けを可能にした。
On the other hand, in the
しかし、従来の技術2では、モデルそのものが決定論に基づいているため、推定結果の統計的解釈が不可能であるという問題、パラメータ推定に最尤法を用いることができず、最小二乗推定法しか用いることができず、仮に統計的性質が明らかになったとしても、その性質をパラメータ推定に活かすことが不可能であるという問題がある。
However, in the
本発明は上述のような事情に鑑みてなされたものであり、その目的とするところは、従来の技術2の利点を保持した上で、従来の技術2の持つ問題を解消することにある。
より具体的には、厳密解を持つ差分方程式を採用していることに加え、パラメータを確率変数とするため、最尤法によるパラメータ推定を行うことが可能であり、モデルに統計的な意味を持たせることができるソフトウェア信頼性予測技法を提供することを目的とするものである。
The present invention has been made in view of the above-described circumstances, and an object thereof is to solve the problems of the
More specifically, in addition to adopting a differential equation with an exact solution, since the parameter is a random variable, parameter estimation by the maximum likelihood method can be performed, and the model has a statistical meaning. The object is to provide a software reliability prediction technique that can be provided.
上記目的を達成するために、本発明は、従来の技術2が持つ利点である差分間隔0の極限で該ソフトウェア信頼性成長モデルと方程式,厳密解ともに一致する差分方程式をさらに拡張し、従来の技術2では定数であったパラメータを確率変数として扱い、そのサンプルパスに対して厳密解を持つような差分方程式を用いて、最小二乗法および確率変数であるパラメータの推定法には最尤法を用いることを最も主要な特徴とする。
すなわち、従来の技術2とは、モデルの回帰式として使用する差分方程式のパラメータが確率変数である点が異なる。
In order to achieve the above object, the present invention further extends the difference equation that matches the software reliability growth model and the equation and exact solution at the limit of the difference interval 0 which is an advantage of the
That is, it differs from the
より具体的には、本発明に係るソフトウェアの信頼性予測方法は、ソフトウェア信頼性成長モデルのパラメータを推定してソフトウェアの信頼性評価を行うソフトウェアの信頼性予測方法であって、データ入力手段と分布関数入力手段、並びに前記ソフトウェア信頼性成長モデルを用いて記述した予測条件の記憶手段を備えたコンピュータが、前記データ入力手段から入力されるソフトウェア信頼性に係る事象の発生情報を前記記憶手段に記憶するステップと、前記記憶手段に記憶された情報と、前記分布関数入力手段から入力される分布関数に基づき、前記ソフトウェア信頼性成長モデルのパラメータの一つが当該分布関数に従う確率変数とした差分方程式において、その差分方程式のパラメータを最尤法および最小二乗法を使って推定するパラメータ推定ステップとを有することを特徴とする。 More specifically, the software reliability prediction method according to the present invention is a software reliability prediction method for estimating software reliability by estimating parameters of a software reliability growth model, comprising: a data input unit; A computer having a distribution function input unit and a storage unit of a prediction condition described using the software reliability growth model, the event information related to the software reliability input from the data input unit is stored in the storage unit A difference equation in which one of the parameters of the software reliability growth model is a random variable according to the distribution function based on the step of storing, the information stored in the storage unit, and the distribution function input from the distribution function input unit Estimate the parameters of the difference equation using maximum likelihood and least squares And having a parameter estimation step.
また、本発明に係るソフトウェアの信頼性予測方法は、前記パラメータ推定に使用する差分方程式が、確率変数であるパラメータの各時間ステップごとのサンプルパスに対して厳密解を持つ差分方程式であって、前記パラメータ推定方法により、ソフトウェアのテスト時のバグ発生期日,件数のデータからソフトウェア信頼性成長モデルのパラメータ,各時間における累積バグ数推定値の分布を推定することを特徴とする。 Further, in the software reliability prediction method according to the present invention, the difference equation used for the parameter estimation is a difference equation having an exact solution for the sample path for each time step of the parameter that is a random variable, According to the parameter estimation method, the distribution of the parameter of the software reliability growth model and the estimated number of accumulated bugs at each time is estimated from the data of the bug occurrence date and the number of cases at the time of software testing.
また、本発明は、これをソフトウェアの信頼性予測装置として具体化することが可能である。 Further, the present invention can be embodied as a software reliability prediction apparatus.
すなわち、本発明に係るソフトウェアの信頼性予測装置は、ソフトウェア信頼性成長モデルのパラメータを推定してソフトウェアの信頼性評価を行うソフトウェアの信頼性予測装置であって、データ入力手段と分布関数入力手段、並びに前記ソフトウェア信頼性成長モデルを用いて記述した予測条件の記憶手段と、前記記憶手段に記憶された情報と、前記分布関数入力手段から入力される分布関数に基づき、前記ソフトウェア信頼性成長モデルのパラメータの一つが当該分布関数に従う確率変数とした差分方程式において、その差分方程式のパラメータを最尤法および最小二乗法を使って推定するパラメータ推定手段とを有することを特徴とする。 That is, the software reliability prediction apparatus according to the present invention is a software reliability prediction apparatus that estimates software reliability by estimating parameters of a software reliability growth model, and includes a data input unit and a distribution function input unit. And the software reliability growth model based on the storage function of the prediction condition described using the software reliability growth model, the information stored in the storage means, and the distribution function input from the distribution function input means And a parameter estimating means for estimating a parameter of the difference equation using a maximum likelihood method and a least square method.
また、本発明に係るソフトウェアの信頼性予測装置は、前記パラメータ推定に使用する差分方程式が、確率変数であるパラメータの各時間ステップごとのサンプルパスに対して厳密解を持つ差分方程式であって、前記パラメータ推定手段により、ソフトウェアのテスト時のバグ発生期日,件数のデータからソフトウェア信頼性成長モデルのパラメータ,各時間における累積バグ数推定値の分布を推定することを特徴とする。 Further, in the software reliability prediction apparatus according to the present invention, the difference equation used for the parameter estimation is a difference equation having an exact solution for the sample path for each time step of the parameter that is a random variable, The parameter estimation means estimates a parameter of the software reliability growth model and a distribution of the estimated number of accumulated bugs at each time from the data of the bug occurrence date and the number of cases at the time of software testing.
また、本発明に係るソフトウェアの信頼性予測方法は、これをコンピュータのプログラム制御により実行させることが可能であり、本発明は、そのためのプログラム並びにこのプログラムを記録したコンピュータ読み出し可能な記録媒体として具体化することが可能である。 The software reliability prediction method according to the present invention can be executed by computer program control, and the present invention is embodied as a program therefor and a computer-readable recording medium recording the program. It is possible to
従来の技術1では、既に示したようにパラメータ推定を行うための回帰分析の際、微分方程式で表されるソフトウェア信頼性成長モデルを差分方程式に書き直して回帰分析を行う。差分方程式はあくまで微分方程式の近似でしかない。通常用いる差分方程式は前進差分であり、これは元の微分方程式を差分間隔の何乗のオーダーで近似するかに主眼がおかれている。そのため解の形状、ここでは時間を無限大にしたときにバグの数が一定に収束するという性質などは一般的に保たれない。 In the prior art 1, as described above, when performing the regression analysis for parameter estimation, the software reliability growth model represented by the differential equation is rewritten to the differential equation and the regression analysis is performed. The difference equation is only an approximation of the differential equation. The difference equation that is usually used is a forward difference, which focuses on the order of the power of the difference interval to approximate the original differential equation. For this reason, the shape of the solution, here the property that the number of bugs converges to a constant when the time is infinite, is not generally maintained.
従来の技術2では厳密解を持ち、その解は差分間隔0の極限で微分方程式の解と一致するため、上記のような性質を保存することができる。これにより、従来の技術1よりも精度の高いパラメータ推定が可能となる。しかし、従来の技術2は、従来の技術1と同様に決定論に基づく差分方程式を採用しているために、パラメータを決定する上で、最小二乗法を用いる他なく、統計的な意味を持たない。
Since the
これに対して、本発明では、従来の技術2の持つ性質、すなわち、厳密解を持つ差分方程式を採用していることに加え、分布関数を導入することによりパラメータを確率変数とするため、最尤法によるパラメータ推定を行うことが可能であり、モデルに統計的な意味を持たせることができる。
On the other hand, in the present invention, in addition to adopting the characteristic of
以下に、添付の図面に示す好適実施形態に基づいて、本発明に係るソフトウェア信頼性予測方法を詳細に説明する。
なお、以下の説明においては、採用するモデルによらず共通している実施形態を、図1のブロック図と図2のフローチャートを用いて説明する。
Hereinafter, based on a preferred embodiment shown in the accompanying drawings, a software reliability prediction method according to the present invention will be described in detail.
In the following description, a common embodiment regardless of the model to be employed will be described using the block diagram of FIG. 1 and the flowchart of FIG.
図1に示すように、本実施形態に係るソフトウェア信頼性予測装置は、オペレータが、対象とする事象(ここでは、ソフトウェアにおけるバグ)のデータを入力するためのデータ入力装置11,入力されたデータを記憶する事象発生期日・件数保存部12,オペレータが、分布関数を入力するための分布関数入力装置13,入力された情報に基づいてパラメータの推定を行うパラメータ推定部14並びに推定結果を出力するための出力装置15から構成される。
As shown in FIG. 1, the software reliability prediction apparatus according to this embodiment includes a
なお、上記分布関数入力装置13は、具体的には、公知の分布関数(より具体的には、特に、パラメータが一つの場合に好適に適用し得る分布関数)を予め入力しておき、オペレータが、この中から、統計的に尤も適合すると考えるものを選択するように構成してもよい。
Specifically, the distribution
まず始めに、図1のブロック図のデータ入力装置11で対象とする事象(ここでは、ソフトウェアにおけるバグ)の発生期日、件数を一定の期間ごとに入力し、事象発生期日・件数保存部12にて保存する(図2のステップ21)。
First, the occurrence date and the number of events (in this case, bugs in software) to be processed by the
十分なデータ数が保存された後、モデルにおいて、確率変数列となっているパラメータの分布関数を、分布関数入力装置13で入力する(図2のステップ22)。このステップは、前述のように、最適と思われるものを選択する方法でもよい。
After the sufficient number of data is stored, the distribution function of the parameter that is a random variable string in the model is input by the distribution function input device 13 (
事象発生期日・件数保存部12にて保存されたデータおよび分布入力装置13で入力された分布関数から、図1のパラメータ推定部14でパラメータの推定を行う(図2のステップ23)。
The
推定されたパラメータを元に、出力装置15で潜在バグ数の推定値の表示,実績値および推定値の時系列表示などを行う(図2のステップ24)。
なお、パラメータ推定の詳細はモデルによって異なるため、以下の節で詳細に説明する。
Based on the estimated parameters, the
The details of parameter estimation differ depending on the model, and will be described in detail in the following sections.
〔実施例1〕ゴンペルツ曲線モデル
式(36)、式(51)では、パラメータが定数であったが、本発明では、パラメータが各時間ステップごとに異なる値を持つ差分方程式をモデルとして採用し、各時間ステップごとに異なる値を持つそのパラメータが確率変数列としてパラメータ推定を行う。まず始めに基となる決定論に基づくモデルをゴンペルツ曲線モデルとして説明を行う。
[Example 1] Gompertz curve model In the equations (36) and (51), the parameters were constants. However, in the present invention, a differential equation having different values for each time step is adopted as a model. The parameter having a different value at each time step is estimated as a random variable sequence. First, the model based on the determinism that is the basis is explained as a Gompertz curve model.
式(36)に対応する、パラメータが各時間ステップごとに異なる値を持つ差分方程式は、 The difference equation corresponding to equation (36) with different values for each time step is
厳密解は、
The exact solution is
また、式(51)に対応する式は、 Also, the equation corresponding to equation (51) is
厳密解は、
The exact solution is
まず始めに、式(82)に基づいたパラメータ推定を説明する。独立同一分布に従う確率変数列{Xn:n=1,2...}を First, parameter estimation based on equation (82) will be described. Sequence of random variables {X n : n = 1,2,. . . }
パラメータkは、以下の式から決定する。 The parameter k is determined from the following equation.
式(87)から、 From equation (87)
パラメータkは、式(89)から決定する。パラメータaは、以下の式から得られる。 The parameter k is determined from Expression (89). The parameter a is obtained from the following equation.
指数分布の分布関数は、 The distribution function of the exponential distribution is
パラメータkは、式(89)と式(121)から得られる。式(112)から The parameter k is obtained from Expression (89) and Expression (121). From formula (112)
次に、式(84)に基づいたパラメータ推定を説明する。独立同一分布に従う確率変数列{Xn:n=1,2,...}を Next, parameter estimation based on Expression (84) will be described. A random variable sequence {X n : n = 1,2,. . . }
パラメータkは、以下の式から決定する。
The parameter k is determined from the following equation.
ここで、 here,
独立同一分布に従う確率変数列{Xn:n=1,2,...}の対数尤度関数を A random variable sequence {X n : n = 1,2,. . . } Log likelihood function
パラメータkは、式(100)から決定する。パラメータaは、以下の式から得られる。 The parameter k is determined from the equation (100). The parameter a is obtained from the following equation.
ここで、例として、独立同一分布に従う確率変数列{Xn:n=1,2,...}の分布関数Fg(x)が指数分布の場合について説明する。他の分布に従う場合には、分布関数Fg(x)がその分布関数に置き換わるだけで、その他の手順は同じである。 Here, as an example, random variable sequences {X n : n = 1, 2,. . . } In the case where the distribution function Fg (x) is exponential. In the case of following another distribution, the distribution procedure Fg (x) is simply replaced with the distribution function, and the other procedures are the same.
指数分布の分布関数は、 The distribution function of the exponential distribution is
パラメータkは、式(100)と式(106)から得られる。式(97)から The parameter k is obtained from Equation (100) and Equation (106). From equation (97)
〔実施例2〕ロジスティック曲線モデル
ここで使用する差分方程式(108)および(110)は、下記の特許文献2および非特許文献5に掲載されているが、これら文献では、統計的性質を用いた、すなわち最尤法を用いたパラメータの推定方法については一切触れられていない。
[Example 2] Logistic curve model The difference equations (108) and (110) used here are listed in the following
特許文献2:特開2004-78780号公報
非特許文献5:D.Satoh:A Discrete Stochastic Logistic Equatoin and a Software Reliability Growth Model, Supplementary Proceedings of 13th International Symposium on Software Reliability Engineering, (IEEE Computer Sciety, Annapolis, November, 2002)141-142.
Patent Document 2: JP 2004-78780 A Non-Patent Document 5: D. Satoh: A Discrete Stochastic Logistic Equatoin and a Software Reliability Growth Model, Supplementary Proceedings of 13th International Symposium on Software Reliability Engineering, (IEEE Computer Sciety, Annapolis, (November, 2002) 141-142.
ゴンペルツ曲線モデルと同様に、パラメータが各時間ステップごとに異なる値を持つ差分方程式をモデルとして採用し、各時間ステップごとに異なる値を持つそのパラメータが確率変数列としてパラメータ推定を行う。式(63)に対応するパラメータが、各時間ステップごとに異なる値を持つ差分方程式は、 Similar to the Gompertz curve model, a differential equation having different values for each time step is adopted as a model, and the parameter having a different value for each time step is estimated as a random variable string. The difference equation in which the parameter corresponding to equation (63) has a different value for each time step is
ここで、{An:n=1,2,...}は、独立同一分布に従う確率変数列とする。
厳密解は、
Here, {A n : n = 1, 2,. . . } Is a random variable string following an independent identical distribution.
The exact solution is
次に、式(67)に対応する式は、 Next, the equation corresponding to equation (67) is
厳密解は、
The exact solution is
まず始めに、式(108)に基づいたパラメータ推定を説明する。独立同一分布に従う確率変数列{Xn:n=1,2,...}を First, parameter estimation based on Expression (108) will be described. A random variable sequence {X n : n = 1,2,. . . }
パラメータkは、以下の式から決定する。
The parameter k is determined from the following equation.
ここで、 here,
独立同一分布に従う確率変数列{Xn:n=1,2,...}の対数尤度関数を A random variable sequence {X n : n = 1,2,. . . } Log likelihood function
パラメータkは、式(115)から決定する。パラメータmは、以下の式から得られる。 The parameter k is determined from the equation (115). The parameter m is obtained from the following equation.
ここで、ゴンペルツ曲線モデルと同様に、例として、独立同一分布に従う確率変数列{Xn:n=1,2,...}の分布関数F(x)が指数分布の場合について説明する。他の分布に従う場合には、分布関数F(x)がその分布関数に置き換わるだけで、その他の手順は同じである。 Here, as in the Gompertz curve model, as an example, a random variable sequence {X n : n = 1,2,. . . } In the case where the distribution function F (x) is an exponential distribution. In the case of following another distribution, the distribution procedure F (x) is simply replaced with the distribution function, and the other procedures are the same.
指数分布の分布関数は、 The distribution function of the exponential distribution is
式(89)を式(120)に代入して、式(91)とすると、 Substituting equation (89) into equation (120) to form equation (91),
次に、式(110)に基づいたパラメータ推定を説明する。独立同一分布に従う確率変数列{Xn:n=1,2,...}を Next, parameter estimation based on equation (110) will be described. A random variable sequence {X n : n = 1,2,. . . }
以上説明したように、本発明に係る技術によれば、厳密解を持つ差分方程式を採用していることに加え、分布関数を導入することによりパラメータを確率変数とするため、最尤法によるパラメータ推定を行うことが可能であり、モデルに統計的な意味を持たせることができる。 As described above, according to the technique according to the present invention, in addition to adopting a differential equation having an exact solution, a parameter is set as a random variable by introducing a distribution function. Estimations can be made and the model can have statistical significance.
上記実施形態は、本発明の一例を示したものであり、本発明はこれに限定されるものではなく、本発明の趣旨を変更しない範囲内で適宜の変更・改良を行ってもよいことはいうまでもない。なお、上述したソフトウェア信頼性予測装置における各手段で実現される処理は、当該装置が備えるCPUおよびメモリによって行われる。そのためのプログラムは、CD−ROM,FD,DVDなどのコンピュータ読取可能な記録媒体に記録して頒布したり、インターネットなどのネットワークを介して頒布することにより、市場に普及させることができる。 The above embodiment shows an example of the present invention, and the present invention is not limited to this. It is possible to make appropriate changes and improvements within the scope not changing the gist of the present invention. Needless to say. In addition, the process implement | achieved by each means in the software reliability prediction apparatus mentioned above is performed by CPU and memory with which the said apparatus is provided. The program for this purpose can be distributed to the market by recording on a computer-readable recording medium such as a CD-ROM, FD, or DVD and distributing it through a network such as the Internet.
11 データ入力装置
12 事象期日・件数保存部
13 分布関数入力装置
14 パラメータ推定部
15 出力装置
21〜24 処理ステップ
31 信頼性予測装置
32 試験実績データ
33 予測データ
DESCRIPTION OF
Claims (6)
データ入力手段と分布関数入力手段、並びに前記ソフトウェア信頼性成長モデルを用いて記述した予測条件の記憶手段を備えたコンピュータが、
前記データ入力手段から入力されるソフトウェア信頼性に係る事象の発生情報を前記記憶手段に記憶するステップと、
前記記憶手段に記憶された情報と、前記分布関数入力手段から入力される分布関数に基づき、前記ソフトウェア信頼性成長モデルのパラメータの一つが当該分布関数に従う確率変数とした差分方程式において、その差分方程式のパラメータを最尤法および最小二乗法を使って推定するパラメータ推定ステップと
を有することを特徴とするソフトウェア信頼性予測方法。 A software reliability prediction method for estimating software reliability by estimating software reliability growth model parameters,
A computer comprising data input means, distribution function input means, and storage means for prediction conditions described using the software reliability growth model,
Storing the occurrence information of the event related to software reliability inputted from the data input means in the storage means;
Based on the information stored in the storage unit and the distribution function input from the distribution function input unit, one of the parameters of the software reliability growth model is a random variable according to the distribution function. And a parameter estimation step for estimating the parameters of the system using a maximum likelihood method and a least square method.
前記パラメータ推定方法により、ソフトウェアのテスト時のバグ発生期日,件数のデータからソフトウェア信頼性成長モデルのパラメータ,各時間における累積バグ数推定値の分布を推定することを特徴とする請求項1記載のソフトウェア信頼性予測方法。 The difference equation used for the parameter estimation is a difference equation having an exact solution with respect to a sample path for each time step of a parameter that is a random variable,
The parameter estimation method estimates a parameter of a software reliability growth model and a distribution of cumulative bug count estimation values at each time from bug occurrence date and count data at the time of software testing. Software reliability prediction method.
データ入力手段と分布関数入力手段、並びに前記ソフトウェア信頼性成長モデルを用いて記述した予測条件の記憶手段と、
前記記憶手段に記憶された情報と、前記分布関数入力手段から入力される分布関数に基づき、前記ソフトウェア信頼性成長モデルのパラメータの一つが当該分布関数に従う確率変数とした差分方程式において、その差分方程式のパラメータを最尤法および最小二乗法を使って推定するパラメータ推定手段と
を有することを特徴とするソフトウェア信頼性予測装置。 A software reliability prediction apparatus for estimating software reliability by estimating software reliability growth model parameters,
Data input means, distribution function input means, and storage means for prediction conditions described using the software reliability growth model;
Based on the information stored in the storage unit and the distribution function input from the distribution function input unit, one of the parameters of the software reliability growth model is a random variable according to the distribution function. And a parameter estimation means for estimating the parameters of the system using a maximum likelihood method and a least square method.
前記パラメータ推定手段により、ソフトウェアのテスト時のバグ発生期日,件数のデータからソフトウェア信頼性成長モデルのパラメータ,各時間における累積バグ数推定値の分布を推定することを特徴とする請求項3記載のソフトウェア信頼性予測装置。 The difference equation used for the parameter estimation is a difference equation having an exact solution with respect to a sample path for each time step of a parameter that is a random variable,
4. The parameter estimation unit estimates a parameter of a software reliability growth model and a distribution of an estimated number of accumulated bugs at each time from data on a bug occurrence date and the number of cases at the time of software testing. Software reliability prediction device.
ソフトウェアのテスト時にソフトウェアにバグが発生した期日およびバグ件数を入力する手段と、
入力されたバグ発生期日,バグ件数の情報から、任意の等期間内に発生したバグ件数を計数し直す手段と、
該当期間内に発生したバグ件数に基づいて、ソフトウェアに残存する要因によって発生するバグ数を請求項1または2記載の方法により推定する手段と、
前記バグが発生する期日を請求項1または2記載の方法により推定する手段と、
各時間における累積バグ数推定値の分布を請求項1または2記載の方法により推定する手段と
を、コンピュータに実行させるためのプログラム。 A program for causing a computer to execute a processing procedure of a method for estimating a parameter of a software reliability growth model in a software reliability prediction method,
A means to enter the date and number of bugs in the software during software testing,
A means of re-counting the number of bugs that occurred within an arbitrary period of time from the information on the entered bug occurrence date and the number of bugs;
A means for estimating the number of bugs caused by factors remaining in the software based on the number of bugs that occurred within the corresponding period by the method according to claim 1 or 2,
Means for estimating the date on which the bug occurs by the method according to claim 1 or 2,
A program for causing a computer to execute means for estimating the cumulative bug count distribution at each time by the method according to claim 1 or 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004254910A JP2006072670A (en) | 2004-09-01 | 2004-09-01 | Software reliability prediction method, recording medium and apparatus recording the program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004254910A JP2006072670A (en) | 2004-09-01 | 2004-09-01 | Software reliability prediction method, recording medium and apparatus recording the program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2006072670A true JP2006072670A (en) | 2006-03-16 |
Family
ID=36153240
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004254910A Pending JP2006072670A (en) | 2004-09-01 | 2004-09-01 | Software reliability prediction method, recording medium and apparatus recording the program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2006072670A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103258115A (en) * | 2013-04-12 | 2013-08-21 | 中国航天标准化研究所 | Method for assessing dynamic reliability of lithium ion batteries on the basis of polynomial fitting and life distribution |
| CN103678855A (en) * | 2012-09-26 | 2014-03-26 | 无锡南理工科技发展有限公司 | Model evaluation method based on multiple-index-dimension composite distance |
| JP2019040265A (en) * | 2017-08-22 | 2019-03-14 | 日本電信電話株式会社 | Prediction device, prediction method, and prediction program |
| CN115203059A (en) * | 2022-09-09 | 2022-10-18 | 中国西安卫星测控中心 | An evaluation method and evaluation system for reliability of aerospace measurement and control software |
| CN117851266A (en) * | 2024-03-05 | 2024-04-09 | 中国人民解放军海军工程大学 | Bayesian verification method and device for reliability of safety-critical software |
| CN119003358A (en) * | 2024-08-14 | 2024-11-22 | 中国人民解放军海军工程大学 | Discrete software reliability Bayesian verification method, system and equipment |
-
2004
- 2004-09-01 JP JP2004254910A patent/JP2006072670A/en active Pending
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103678855A (en) * | 2012-09-26 | 2014-03-26 | 无锡南理工科技发展有限公司 | Model evaluation method based on multiple-index-dimension composite distance |
| CN103258115A (en) * | 2013-04-12 | 2013-08-21 | 中国航天标准化研究所 | Method for assessing dynamic reliability of lithium ion batteries on the basis of polynomial fitting and life distribution |
| CN103258115B (en) * | 2013-04-12 | 2016-06-08 | 中国航天标准化研究所 | Based on the lithium ion battery dynamic reliability appraisal procedure that fitting of a polynomial and life-span are distributed |
| JP2019040265A (en) * | 2017-08-22 | 2019-03-14 | 日本電信電話株式会社 | Prediction device, prediction method, and prediction program |
| CN115203059A (en) * | 2022-09-09 | 2022-10-18 | 中国西安卫星测控中心 | An evaluation method and evaluation system for reliability of aerospace measurement and control software |
| CN115203059B (en) * | 2022-09-09 | 2022-12-09 | 中国西安卫星测控中心 | An evaluation method and evaluation system for the reliability of aerospace measurement and control software |
| CN117851266A (en) * | 2024-03-05 | 2024-04-09 | 中国人民解放军海军工程大学 | Bayesian verification method and device for reliability of safety-critical software |
| CN117851266B (en) * | 2024-03-05 | 2024-05-28 | 中国人民解放军海军工程大学 | Safety key software reliability Bayesian verification method and device |
| CN119003358A (en) * | 2024-08-14 | 2024-11-22 | 中国人民解放军海军工程大学 | Discrete software reliability Bayesian verification method, system and equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102208210B1 (en) | Dynamic outlier bias reduction system and method | |
| JP7152938B2 (en) | Machine learning model building device and machine learning model building method | |
| TWI757774B (en) | Machine learning techniques for estimating mechanical properties of materials | |
| Leisch et al. | Monitoring structural changes with the generalized fluctuation test | |
| JP5982489B2 (en) | Dynamic outlier bias reduction system and method | |
| US12400055B2 (en) | Methods and systems for the estimation of the computational cost of simulation | |
| EP2814218A1 (en) | Detecting anomalies in work practice data by combining multiple domains of information | |
| CN114970104B (en) | A reliability evaluation method, device and medium for parameter-dependent Gamma degradation model based on Bayes | |
| US20090271235A1 (en) | Apparatus and method for generating survival curve used to calculate failure probability | |
| JP2011257212A (en) | Neutralization depth prediction device of concrete structure and program for instructing computer to calculate neutralization depth | |
| JP4498666B2 (en) | Prediction device, prediction program, and recording medium | |
| US8694635B1 (en) | Time series technique for analyzing performance in an online professional network | |
| JP2006072670A (en) | Software reliability prediction method, recording medium and apparatus recording the program | |
| CN104035866B (en) | The software action appraisal procedure and device of analysis are called based on system | |
| JP2020181318A (en) | Optimization device, optimization method, and program | |
| JP5975225B2 (en) | Fault tree analysis system, fault tree analysis method and program | |
| CN106933834A (en) | A kind of data matching method and device | |
| JP2005063208A (en) | Software reliability growth model selection method, software reliability growth model selection device, software reliability growth model selection program, and program recording medium | |
| Singham et al. | Density estimation of simulation output using exponential epi-splines | |
| JP3612428B2 (en) | Software reliability prediction method and apparatus and recording medium | |
| JP2016520220A (en) | Hidden attribute model estimation device, method and program | |
| TW201833825A (en) | Causal relationship evaluation device, causal relationship evaluation system and causal relationship evaluation method | |
| Chen et al. | Bayesian analysis for lifetime delayed degradation process | |
| Baysse et al. | Hidden Markov Model for the detection of a degraded operating mode of optronic equipment | |
| JP6554916B2 (en) | Information processing apparatus and information processing method |