很少有软件成本模型会考虑测试的实际情况,因此不能够准确地反映测试过程中成本的实际消耗以及当测试情况需要发生改变时对软件成本需求的变化。绝大多数的软件测试存在着不完全排错和学习过程等现象,这些现象通常反映了实际测试的成本使用情况。本文提出了一个反映实际测试情况的测试级别,在此基础上构造了一个新的软件成本模型,并讨论了基于最低软件成本的最优发布策略。实验证明该成本模型更符合软件测试的实际情况,软件开发者可以利用该模型实现对测试成本科学的管理。
Since few software cost models take into account the actual cost of software testing, they can not reflect actual consumption of cost and the needed cost when the testing circumstance changes. Imperfect debugging and learning process exist in most software testing processes which usually reflect the actual cost in software testing process. In this paper, a testing level function which reflects actual testing circumstance is proposed, and a new software cost model is developed based on the testing level function. The optimal release polices to minimize the expected total software cost are discussed. Numerical experiments are presented and the results show that software cost model based on the testing level reflect the consumption of the testing resources more realistically. By using this model, software developers can manage testing cost scientifically.