[FIR-TEST] Move analysis tests to separate module

This commit is contained in:
Dmitriy Novozhilov
2020-03-18 15:10:46 +03:00
parent 3a479d5d16
commit cc07ae96b3
1477 changed files with 1001 additions and 980 deletions
@@ -0,0 +1,304 @@
digraph tryCatch_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Try expression enter"];
subgraph cluster_2 {
color=blue
2 [label="Try main block enter"];
subgraph cluster_3 {
color=blue
3 [label="Enter block"];
4 [label="Const: Int(1)"];
5 [label="Variable declaration: lval x: R|kotlin/Int|"];
6 [label="Exit block"];
}
7 [label="Try main block exit"];
}
subgraph cluster_4 {
color=blue
8 [label="Catch enter"];
subgraph cluster_5 {
color=blue
9 [label="Enter block"];
10 [label="Const: Int(3)"];
11 [label="Variable declaration: lval z: R|kotlin/Int|"];
12 [label="Exit block"];
}
13 [label="Catch exit"];
}
subgraph cluster_6 {
color=blue
14 [label="Catch enter"];
subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Const: Int(2)"];
17 [label="Variable declaration: lval y: R|kotlin/Int|"];
18 [label="Exit block"];
}
19 [label="Catch exit"];
}
20 [label="Try expression exit"];
}
21 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {21 14 8 3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {20};
8 -> {21 9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {20};
14 -> {21 15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
subgraph cluster_8 {
color=red
22 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
23 [label="Try expression enter"];
subgraph cluster_10 {
color=blue
24 [label="Try main block enter"];
subgraph cluster_11 {
color=blue
25 [label="Enter block"];
26 [label="Const: Int(1)"];
27 [label="Exit block"];
}
28 [label="Try main block exit"];
}
subgraph cluster_12 {
color=blue
29 [label="Catch enter"];
subgraph cluster_13 {
color=blue
30 [label="Enter block"];
31 [label="Const: Int(2)"];
32 [label="Exit block"];
}
33 [label="Catch exit"];
}
34 [label="Try expression exit"];
}
35 [label="Variable declaration: lval x: R|kotlin/Int|"];
36 [label="Exit function test_2" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {36 29 25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {34};
29 -> {36 30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
subgraph cluster_14 {
color=red
37 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
38 [label="Enter while loop"];
subgraph cluster_16 {
color=blue
39 [label="Enter loop condition"];
40 [label="Const: Boolean(true)"];
41 [label="Exit loop condition"];
}
subgraph cluster_17 {
color=blue
42 [label="Enter loop block"];
subgraph cluster_18 {
color=blue
43 [label="Enter block"];
subgraph cluster_19 {
color=blue
44 [label="Try expression enter"];
subgraph cluster_20 {
color=blue
45 [label="Try main block enter"];
subgraph cluster_21 {
color=blue
46 [label="Enter block"];
subgraph cluster_22 {
color=blue
47 [label="Enter when"];
subgraph cluster_23 {
color=blue
48 [label="Enter when branch condition "];
49 [label="Access variable R|<local>/b|"];
50 [label="Exit when branch condition"];
}
51 [label="Synthetic else branch"];
52 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
53 [label="Enter block"];
54 [label="Jump: ^test_3 Unit"];
55 [label="Stub" style="filled" fillcolor=gray];
56 [label="Exit block" style="filled" fillcolor=gray];
}
57 [label="Exit when branch result" style="filled" fillcolor=gray];
58 [label="Exit when"];
}
59 [label="Const: Int(1)"];
60 [label="Variable declaration: lval x: R|kotlin/Int|"];
subgraph cluster_25 {
color=blue
61 [label="Enter when"];
subgraph cluster_26 {
color=blue
62 [label="Enter when branch condition "];
63 [label="Access variable R|<local>/b|"];
64 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
65 [label="Exit when branch condition"];
}
66 [label="Synthetic else branch"];
67 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
68 [label="Enter block"];
69 [label="Jump: break@@@[Boolean(true)] "];
70 [label="Stub" style="filled" fillcolor=gray];
71 [label="Exit block" style="filled" fillcolor=gray];
}
72 [label="Exit when branch result" style="filled" fillcolor=gray];
73 [label="Exit when"];
}
74 [label="Exit block"];
}
75 [label="Try main block exit"];
}
subgraph cluster_28 {
color=blue
76 [label="Catch enter"];
subgraph cluster_29 {
color=blue
77 [label="Enter block"];
78 [label="Jump: break@@@[Boolean(true)] "];
79 [label="Stub" style="filled" fillcolor=gray];
80 [label="Exit block" style="filled" fillcolor=gray];
}
81 [label="Catch exit" style="filled" fillcolor=gray];
}
subgraph cluster_30 {
color=blue
82 [label="Catch enter"];
subgraph cluster_31 {
color=blue
83 [label="Enter block"];
84 [label="Jump: continue@@@[Boolean(true)] "];
85 [label="Stub" style="filled" fillcolor=gray];
86 [label="Exit block" style="filled" fillcolor=gray];
}
87 [label="Catch exit" style="filled" fillcolor=gray];
}
88 [label="Try expression exit"];
}
89 [label="Const: Int(2)"];
90 [label="Variable declaration: lval y: R|kotlin/Int|"];
91 [label="Exit block"];
}
92 [label="Exit loop block"];
}
93 [label="Exit whileloop"];
}
94 [label="Const: Int(3)"];
95 [label="Variable declaration: lval z: R|kotlin/Int|"];
96 [label="Exit function test_3" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
41 -> {93} [style=dotted];
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {96 82 76 46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {52 51};
51 -> {58};
52 -> {53};
53 -> {54};
54 -> {96};
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {67 66};
66 -> {73};
67 -> {68};
68 -> {69};
69 -> {93};
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {73} [style=dotted];
73 -> {74};
74 -> {75};
75 -> {88};
76 -> {96 77};
77 -> {78};
78 -> {93};
78 -> {79} [style=dotted];
79 -> {80} [style=dotted];
80 -> {81} [style=dotted];
81 -> {88} [style=dotted];
82 -> {96 83};
83 -> {84};
84 -> {38};
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {39};
93 -> {94};
94 -> {95};
95 -> {96};
}