THE PROGRAM DEPENDENCE GRAPH IN STATIC PROGRAM TESTING

被引:32
作者
KOREL, B [1 ]
机构
[1] OAKLAND UNIV,SCH ENGN & COMP SCI,ROCHESTER,MI 48063
基金
美国国家科学基金会;
关键词
COMPUTER SOFTWARE - Testing;
D O I
10.1016/0020-0190(87)90102-5
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, new techniques for static program testing are presented. The techniques are based on the program dependence graph, which models the structure of the program in terms of data and control dependences between program instructions. First, a new approach for redundant code detection is proposed. The main idea is based on the observation that each program instruction should have influence on the output of the program, otherwise it is considered redundant. Second, an input-output relationship analysis, which reflects the influence of specific input data on specific output data of the program, is proposed. It is shown that the presented techniques can increase the number of detectable errors as compared with error detection through data flow analysis alone.
引用
收藏
页码:103 / 108
页数:6
相关论文
共 13 条
[1]  
Aho A. V., 1977, PRINCIPLES COMPILER
[2]   CERTIFICATION OF PROGRAMS FOR SECURE INFORMATION-FLOW [J].
DENNING, DE ;
DENNING, PJ .
COMMUNICATIONS OF THE ACM, 1977, 20 (07) :504-513
[3]  
FOSDICK LD, 1976, COMPUT SURV, V8, P305, DOI 10.1145/356674.356676
[4]  
Hecht Matthew S., 1977, FLOW ANAL COMPUTER P
[5]   LOGICAL ANALYSIS OF PROGRAMS [J].
KATZ, S ;
MANNA, Z .
COMMUNICATIONS OF THE ACM, 1976, 19 (04) :188-206
[6]  
KOREL B, 1984, CISBK84101 OAKL U SC
[7]   A DATA FLOW ORIENTED PROGRAM TESTING STRATEGY [J].
LASKI, JW ;
KOREL, B .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1983, 9 (03) :347-354
[8]  
Lengauer Thomas, 1979, ACM T PROGR LANG SYS, V1, P121, DOI [DOI 10.1145/357062.357071, 10.1145/357062.357071]
[9]   AUTOMATIC PROGRAM IMPROVEMENT - VARIABLE USAGE TRANSFORMATIONS [J].
MAHER, B ;
SLEEMAN, DH .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1983, 5 (02) :236-264
[10]  
Osterweil L. J., 1976, Software - Practice and Experience, V6, P473, DOI 10.1002/spe.4380060405