Define Never Used Variables Within C++ Static Testing

Xu Xiwei · Computer Programming Skills & Maintenance · 2009

Software testing can be classified as two categories,static testing and dynamic.Static testing that is never through the execution of the program to find the defect which maybe within the program.Take the C ++ language as an example,there are may be many variables which have been defined in functions but never be referenced then.It is not a good programming style even a common defect model,this article gave a static testing method to find such defect through the analysis of the problem namedvariable that is defined but never used.

Read the paper · More papers on PaperTik