期刊文献+

基于程序不变量计算软件可靠性 被引量:4

Computing Software Reliability Based on Program Invariants
下载PDF
导出
摘要 现有的计算软件可靠性的方法采用测试的输入/输出结果,但这些数据并不能真实地反映软件内部的真实行为,如测试中会出现假性正确的情况以及测试不能显示一个输入有多个错误的输出情况.试图通过程序不变量来计算软件的可靠性,程序不变量可以描述程序的性质.首先选取测试用例集,动态地获取程序不变量,再从这些不变量中提取失效数据,最后,基于Nelson模型计算软件的可靠性.作为实验,对西门子程序包计算软件的可靠性.采用随机、分支覆盖和分块覆盖这3种不同的测试方法得到程序不变量,据此计算程序的可靠性.为了检查结果的可行性,采用传统方法计算这些软件的可靠性.两种可靠性比较后显示:它们的差别很小,而且不依赖于对测试方法的选择.通过进一步的方差分析得知,用所提出的方法计算的可靠性比用现有的方法计算的可靠性具有更小的波动,即更平稳.因此,前者更接近系统的真实可靠性.结论说明,可用程序不变量来计算软件的可靠性. Existing methods to compute software reliability use the testing data of input and output. However, the data cannot truly reflect the behaviors of the software. For examples, it is possible that testing has false positive outputs, and one input with multiple faults cannot be revealed in the testing. This paper attempts to use program invariants to compute software reliability. First, test cases are selected to dynamically obtain program invariants. Then, the failure data from these invariants are extracted. Finally, the software reliabilities is computed based on Nelson model. In experiments, the reliabilities of the software in the Siemens set are computed. Program invariants are obtained by applying three different testing methods: random, branch coverage and block coverage. The reliabilities are computed next based on these invariants. To check the correctness of the results, software reliabilities are also computed with traditional methods. A comparison shows that the differences between two types of reliabilities are small no matter which testing method is selected. Further variance analysis shows that reliabilities by the proposed method have lower fluctuation, i.e., more stable, than those with existing methods, thus is closer to the real reliability of the system. This suggests that software reliability can be computed based on program invariants.
作者 周远 丁佐华
出处 《软件学报》 EI CSCD 北大核心 2015年第12期3075-3087,共13页 Journal of Software
基金 国家自然科学基金(61210004 61170015)~~
关键词 测试用例集 程序不变量 失效数据 Nelson模型 软件可靠性 testing case program invariant failure data Nelson model software reliability
  • 相关文献

参考文献4

二级参考文献32

  • 1赵靖,刘宏伟,崔刚,杨孝宗.考虑测试与运行差别的软件可靠性增长模型[J].计算机研究与发展,2006,43(3):503-508. 被引量:9
  • 2赵靖,刘宏伟,崔刚,杨孝宗.考虑测试环境和实际运行环境的软件可靠性增长模型[J].计算机研究与发展,2006,43(5):881-887. 被引量:12
  • 3[1]Hamlet D, Mason D, Woit D. Theory of software reliability based on components. In: Proc. of the 3rd Int'l. Workshop on Component-Based Software Engineering. Toronto: IEEE Computer Society, 2001. 361~370. 被引量:1
  • 4[2]Goseva-Popstojanova K, Trivedi K, Mathur AP. How different architecture based software reliability models are related? In: Proc. of the Fast Abstracts 11th IEEE Int'l. Symp. on Software Reliability Engineering (ISSRE 2000). San Jose, California, 2000. http://www.chillarege.com/fastabstracts/issre2000/2000103.pdf 被引量:1
  • 5[3]Goseva-Popstojanova K, Trivedi K. Architecture-Based approach to reliability assessment of software systems. Performance Evaluation, 2001,45(2-3):179~204. 被引量:1
  • 6[4]Gokhale S, Lyu M, Trivedi K. Reliability simulation of component based software systems. In: Proc. of the 9th Intl. Symp. on Software Reliability Engineering (ISSRE'98). Paderborn: IEEE Computer Society, 1998. 192~201. 被引量:1
  • 7[5]Krishnamurthy S, Mathur AP. On the estimation of reliability of a software system using reliabilities of its components. In: Proc. of the 8th Int'l. Symp. on Software Reliability Engineering (ISSRE'97). Albuquerque, NM: IEEE Computer Society, 1997. 146~155. 被引量:1
  • 8[6]Mason D. Probabilistic analysis for component reliability composition. In: Crnkovic I, Schmidt H, Stafford J, Wallnau K, eds. Proc. of the 5th ICSE Workshop on Component-Based Software Engineering: Benchmarks for Predictable Assembly. Orlando, 2002. 被引量:1
  • 9[7]May J. Component-Based software reliability analysis. Technical Report, CSTR-02-002, Department of Computer Science, University of Bristol, 2002. 被引量:1
  • 10[8]Gokhale S, Wong W E, Trivedi K, Horgan JR. An analytical approach to architecture based software reliability prediction. In: Proc. of the 3rd Int'l. Computer Performance & Dependability Symp. (IPDS'98). Durham: IEEE Computer Society, 1998. 13~22. 被引量:1

共引文献105

同被引文献17

引证文献4

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部