摘要
软件行业的不断发展壮大,使得软件质量问题日益突出,复杂网络给软件系统的深入研究带来了崭新的视角。选取真实软件系统为研究对象,用复杂网络作为工具构建软件系统的复杂网络模型,证实了软件系统的复杂网络特性;同时依据软件测试结果,分析了单元测试阶段的测试代码覆盖率。结合复杂网络参数及测试代码覆盖率定义了测试优先度,提出了测试优先策略,对于提高软件稳定性给出新的见解。实例结果表明:该优先策略对于提高测试覆盖率,对及时查找出软件缺陷类是有效的,有利于软件测试效率的提高。
With the continuously growing of software industry,the quality of software has come to be a challenge for software engineers.The complex network brought a new perspective for in-depth research of software system.This paper selects the real software system as the object,using the complex network as a tool to construct the network model of this system.It is proved that the real software system has the characteristics of complex network.In combination with software testing results,the code coverage of the unit test is analyzed. Based on the complex network parameters and testing code coverage,the new parameter "test-first degree" is defined.Then a priority strategy for test, which is a new idea to improve the stability of software.Examples show that the priority strategy is effective to improve the test coverage,search out software defect class in time,and also helpful for improving the efficiency of software testing.
出处
《系统工程》
CSSCI
CSCD
北大核心
2011年第8期96-102,共7页
Systems Engineering
关键词
复杂网络
测试优先度
软件稳定性
软件测试
代码覆盖率
Complex Network
Test-first Degree
Software Stability
Software Testing
Code Coverage