Title :
Application of pre-function information in software testing based on defect patterns
Author :
Dahai, Jin ; Yunzhan, Gong ; Qing, Xiao ; Zhaohong, Yang
Author_Institution :
State Key Lab. of Networking & Switching Technol., Beijing Univ. of Posts & Telecommun., Beijing, China
Abstract :
In order to improve precision of software static testing based on defect patterns, inter-function information was extended and applied in software static testing. Pre-function information includes two parts, the effect of context to invoked function and the constraint of invoked function to context, which can be used to detect the common defects, such as null pointer defect, un-initial defect, dangling pointer defect, illegal operation defect, out of bounds defect and so on. Experiments show that, pre-function information can reduce false negative in software static testing effectively.
Keywords :
program diagnostics; program testing; dangling pointer defect; defect patterns; illegal operation defect; interfunction information; null pointer defect; out of bounds defect; prefunction information; software static testing; uninitial defect; Algorithm design and analysis; Application software; Flow graphs; Information analysis; Laboratories; Pattern analysis; Runtime; Software measurement; Software testing; Telecommunication switching; defect patterns; pre-function information; software testing; static testing;
Conference_Titel :
Test and Measurement, 2009. ICTM '09. International Conference on
Conference_Location :
Hong Kong
Print_ISBN :
978-1-4244-4699-5
DOI :
10.1109/ICTM.2009.5412894