Data-flow analysis

Updated: 12/31/2022 by Computer Hope
Control flow graph

Data-flow analysis is a technique used by software engineers to analyze the way values of variables change over time as a program is executed. The data gained from this process may be used for optimizing or debugging the software.

Data-flow analysis often employs a CFG (control flow graph), similar to a flow chart, showing all possible paths of data through the program.

Algorithm, Data flow, Programming terms