DocumentCode :
568561
Title :
Testing Method of Code Redundancy Simplification Based on Program Dependency Graph
Author :
Fan, Yang ; Huanguo, Zhang ; Fei, Yan ; Jian, Yang
Author_Institution :
Comput. Sch., Wuhan Univ., Wuhan, China
fYear :
2012
fDate :
25-27 June 2012
Firstpage :
1895
Lastpage :
1900
Abstract :
This paper presents a testing method of code redundancy simplification from the aspect of software static analysis. We study on the dependency relationships between the variables, branches and functions in source or intermediate code of the tested object by PDG (Program Dependence Graph). This method establishes an effective testing to discover and locate the redundant functional modules and the unreachable paths based on dependency relationship. Compared with the conventional code optimization which emphasizes the improvement of time efficiency, we compress the size of source code and object code, independent of the programming language the source program uses. Experimental results show that the source or object code size decreases by 1 to 3 percent approximately after our simplification, not only reducing the occupied space but also assuring the functional consistency.
Keywords :
graph theory; program compilers; program testing; PDG; code redundancy simplification; intermediate code; program dependence graph; program dependency graph; programming language; software static analysis; source code; testing method; Algorithm design and analysis; Educational institutions; Flow graphs; Optimization; Redundancy; Software; Testing; Code Redundancy Simplification; Program Dependency Graph; Static Analysis; Unreachable Path;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Trust, Security and Privacy in Computing and Communications (TrustCom), 2012 IEEE 11th International Conference on
Conference_Location :
Liverpool
Print_ISBN :
978-1-4673-2172-3
Type :
conf
DOI :
10.1109/TrustCom.2012.269
Filename :
6296219
Link To Document :
بازگشت