[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
Vendored
+143
@@ -0,0 +1,143 @@
|
||||
digraph functionCallBound_kt {
|
||||
graph [nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
4 [label="Delegated constructor call: super<R|Base|>()"];
|
||||
5 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
6 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
7 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
8 [label="Enter property" style="filled" fillcolor=red];
|
||||
9 [label="Access variable R|<local>/data|"];
|
||||
10 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
11 [label="Enter function isOk" style="filled" fillcolor=red];
|
||||
12 [label="Const: Boolean(true)"];
|
||||
13 [label="Jump: ^isOk Boolean(true)"];
|
||||
14 [label="Stub" style="filled" fillcolor=gray];
|
||||
15 [label="Exit function isOk" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {15};
|
||||
13 -> {14} [style=dotted];
|
||||
14 -> {15} [style=dotted];
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
16 [label="Enter function check" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
17 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
18 [label="Enter when branch condition "];
|
||||
19 [label="Access variable R|<local>/base|"];
|
||||
20 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
|
||||
21 [label="Enter safe call"];
|
||||
22 [label="Function call: (R|<local>/base| as? R|Sub|)?.R|/isOk|()"];
|
||||
23 [label="Exit safe call"];
|
||||
24 [label="Const: Boolean(true)"];
|
||||
25 [label="Operator =="];
|
||||
26 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
27 [label="Enter when branch condition else"];
|
||||
28 [label="Exit when branch condition"];
|
||||
}
|
||||
29 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
30 [label="Enter block"];
|
||||
31 [label="Access variable R|<local>/base|"];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit when branch result"];
|
||||
34 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
35 [label="Enter block"];
|
||||
36 [label="Access variable R|<local>/base|"];
|
||||
37 [label="Access variable R|/Sub.data|"];
|
||||
38 [label="Exit block"];
|
||||
}
|
||||
39 [label="Exit when branch result"];
|
||||
40 [label="Exit when"];
|
||||
}
|
||||
41 [label="Jump: ^check when () {
|
||||
==((R|<local>/base| as? R|Sub|)?.R|/isOk|(), Boolean(true)) -> {
|
||||
R|<local>/base|.R|/Sub.data|
|
||||
}
|
||||
else -> {
|
||||
R|<local>/base|
|
||||
}
|
||||
}
|
||||
"];
|
||||
42 [label="Stub" style="filled" fillcolor=gray];
|
||||
43 [label="Exit function check" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21 23};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {34 27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {40};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {43};
|
||||
41 -> {42} [style=dotted];
|
||||
42 -> {43} [style=dotted];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user