针对目前软件测试过程中可靠性度量方法匮乏的不足,提出了一种新的基于贝叶斯理论的软件可靠度评估方法,该方法通过分析软件模块间的影响关系构建贝叶斯网络,利用贝叶斯方法和经验数据评估贝叶斯网络中各节点的可靠度.给出了可靠度计算的详细推导过程,并通过一个具体实例解释了计算过程.该方法能重用已有的测试结果,计算速度快,简单易行.通过对每个模块提供数值可靠度估算,可以作为测试用例选择的依据,降低了测试成本,从而很好地为软件测试提供支持.
Since lack of reliability metrics in software testing process,a new software reliability assessment method was proposed based on Bayesian theory.An analysis was made of the relationship between software modules and Bayesian networks was established,and then the empirical data were adopted to assess the reliability of each node.The detailed steps to calculate numerical reliability of software modules were introduced and the calculation process was illustrated by a specific example.With the method,the existing test results could be resorted to and the calculation became faster.Numerical reliability assessment for each module provided the basis of test case selection and the test cost reduced,as a result,a good support for software testing was offered.