Parasoft .TEST, Write better C# Code Using Data Flow Analysis
1. Parasoft .TEST Write better C# Code Using Data Flow Analysis www.parasoft.com
2.
3.
4.
5.
6. So What is it Data Flow Analysis? Data-flow analysis is a technique for gathering information about the possible set of values calculated at various points in a computer program . A program's control flow graph (CFG) is used to determine those parts of a program to which a particular value assigned to a variable might propagate. The information gathered is often used by compilers when optimizing a program. A canonical example of a data-flow analysis is reaching definitions .
7.
8. C++test - Static analysis Bug Detective Array out of boundaries detection using Reaching Definition d1 i = 0 d2 j = n d3 k = a[i] B1 B2 B3 B4 d4 i = i + 1 d5 j = j - 1 d6 i = 0 d7 k = a[i] DEDef = 4,5 DEFKill = 1,2,7 DEDef = 1,2,3 DEFKill = 4,5,6,7 DEDef = 7 DEFKill = 3 DEDef = 6 DEFKill = 1,4 int a[10] From Course 236800 Technion - Parasoft® C++test by Alon Bialik
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22. Team-based Workflow Scheduled Test Server Developer Machines Architect / Technical lead CVS / VSS / ClearCase code & tests Concerto Team Server Global Reporting System Visual Studio .TEST CLI (Batch Mode) Visual Studio Team Practices Test Results Test Results