高级检索
金大海, 宫云战, 杨朝红, 肖庆. 过程约束信息在软件静态测试中的应用[J]. 计算机辅助设计与图形学学报, 2011, 23(3): 534-542.
引用本文: 金大海, 宫云战, 杨朝红, 肖庆. 过程约束信息在软件静态测试中的应用[J]. 计算机辅助设计与图形学学报, 2011, 23(3): 534-542.
Jin Dahai, Gong Yunzhan, Yang Chaohong, Xiao Qing. The Application of Constraint-Procedure Information in Software Static Testing[J]. Journal of Computer-Aided Design & Computer Graphics, 2011, 23(3): 534-542.
Citation: Jin Dahai, Gong Yunzhan, Yang Chaohong, Xiao Qing. The Application of Constraint-Procedure Information in Software Static Testing[J]. Journal of Computer-Aided Design & Computer Graphics, 2011, 23(3): 534-542.

过程约束信息在软件静态测试中的应用

The Application of Constraint-Procedure Information in Software Static Testing

  • 摘要: 为了在软件静态测试中检测上下文相关的过程间故障, 提出一种应用过程约束信息的方法.首先通过约束模式状态机描述过程间故障模式, 并在此基础上定义过程外部向量及约束向量;然后在相关数据流方程的基础上给出过程外部向量和约束向量的生成算法, 以及约束向量的传播和使用算法;最后在现有实验环境软件缺陷检测系统 (DTS) 的基础上, 对比应用过程约束信息前后对测试结果的影响.实验结果表明, 过程约束信息可以在一定程度上提高软件静态测试的准确性.

     

    Abstract: In order to detect context-sensitive inter-procedural defect with static analysis, a method using constraint-procedure information (CPI) was proposed.The context-sensitive defect was defined via the state machine with constraint models, based on this, external information and constraint information were defined for CPI.According to the data flow equation, some algorithms for generating and propagating CPI were described respectively.Based on a defect test system (DTS), the CPI was used in it for necessary inter-procedural information.Experimental results show that the precision of software static testing in DTS can be improved by this method.

     

/

返回文章
返回