 |
Understand code in less
time with flowcharts
View
Demo |
|
| |
|
|
| |
|
|  |
I love the software. It allowed me to decipher a program of 46,000 lines of spaghetti C code across 63 files. Your code-formatting is by far the best I have seen.
 |
|
|
| -
P.Hart, Los-Angeles |
|
| |
|
|
Data Flows for Data Objects
|
|
Home
Overview
Data Flow |
| |
|

Enlarge View |
|
Understand how a data-object is used:
DataFlow is a flowchart-like view of how an object is used.
a)
Suppose you wish to view the DataFlow of a local variable.
The DataFlow will consist of:
- all statements that use or modify that variable
- plus any control-flow constructs such as if-else,
for-loop etc.that directly affect those statements
The DataFlow will be a filtered version of the function's flowchart;
with the focus on that local variable.
b)
Now suppose that the local variable is used as an argument
in a call to another function
That function-call will be displayed in the DataFlow.
(Since the function-call contains an occurrence of the variable.)
A double-click on the function-call will expand the DataFlow.
The expansion will show how the corresponding parameter
is used in the called function.
c)
Similarly, you can view the DataFlow of a global variable,
a structure member etc.
You can expand all functions wherever the object is used.
|
|
|
| |
|
When you modify existing code, quite often you need to review how a certain object is used in various parts of the code.
The old way:
1.
You would perform grep to obtain the list of all lines in the code where the object is used.
2.
Then you would double-click on each line to go to the actual line in the code.
3.
Browse in the code to review how the object is used.
4.
Repeat the steps 1. through 3. for each line in the list.
If the object is passed as an argument and used with a different name in the called-function
then your task becomes even more tedious.
With DataFlow:
You can view all the occurrences of the object in a flowchart-like form.
It shows actual statements together with any if-else, loops etc. that control those statements.
The DataFlow automatically detects if an object is passed as an argument and used with a different name in the called function.
You can print or export the DataFlow as documentation for future reference.
With DataFlow you get a complete view and a better understanding of how the data objects are used.
Print and Export
Print and Export only what you need to analyze, discuss, understand or document. No need of going
through code or print-outs of several functions or files - when you get the information about all in a single DataFlow.
|
|