Test: FIR CFA: sort edges by style & target node id

This commit is contained in:
pyos
2022-11-29 15:12:05 +01:00
committed by Dmitriy Novozhilov
parent 7ee1b75e43
commit faf0129a5d
89 changed files with 662 additions and 694 deletions
@@ -88,7 +88,7 @@ digraph complexPostponedCfg_kt {
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {18 11};
9 -> {11 18};
9 -> {10} [style=dotted];
9 -> {18} [style=dashed];
10 -> {11};
@@ -104,8 +104,8 @@ digraph complexPostponedCfg_kt {
20 -> {22 25};
20 -> {21} [style=dotted];
20 -> {25} [style=dashed];
21 -> {11} [color=red];
21 -> {22} [color=green];
21 -> {11} [color=red];
22 -> {23};
23 -> {24};
24 -> {10};
@@ -116,7 +116,7 @@ digraph complexPostponedCfg_kt {
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {37 34};
32 -> {34 37};
32 -> {33} [style=dotted];
32 -> {37} [style=dashed];
33 -> {34};
@@ -34,7 +34,7 @@ digraph callsInPlace_kt {
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {10 5};
3 -> {5 10};
3 -> {4} [style=dotted];
3 -> {10} [style=dashed];
4 -> {5};
@@ -77,7 +77,7 @@ digraph callsInPlace_kt {
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20 24 21};
19 -> {20 21 24};
19 -> {24} [style=dashed];
20 -> {21};
20 -> {19} [color=green style=dashed];
@@ -117,7 +117,7 @@ digraph callsInPlace_kt {
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33 37 34};
32 -> {33 34 37};
32 -> {37} [style=dashed];
33 -> {34};
33 -> {32} [color=green style=dashed];
@@ -161,7 +161,7 @@ digraph callsInPlace_kt {
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {50 47};
45 -> {47 50};
45 -> {46} [style=dotted];
45 -> {50} [style=dashed];
46 -> {47};
@@ -209,7 +209,7 @@ digraph callsInPlace_kt {
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {67 64};
62 -> {64 67};
62 -> {63} [style=dotted];
62 -> {67} [style=dashed];
63 -> {64};
@@ -281,7 +281,7 @@ digraph callsInPlace_kt {
}
82 -> {83};
83 -> {84};
84 -> {86 85 90 95 87};
84 -> {85 86 87 90 95};
84 -> {90 95} [style=dashed];
85 -> {87};
85 -> {84} [color=green style=dashed];
@@ -338,7 +338,7 @@ digraph callsInPlace_kt {
}
100 -> {101};
101 -> {102};
102 -> {104 103 108 113 105};
102 -> {103 104 105 108 113};
102 -> {108 113} [style=dashed];
103 -> {105};
103 -> {102} [color=green style=dashed];
@@ -399,7 +399,7 @@ digraph callsInPlace_kt {
}
123 -> {124};
124 -> {125};
125 -> {126 130 127};
125 -> {126 127 130};
125 -> {130} [style=dashed];
126 -> {127};
127 -> {128};
@@ -115,7 +115,7 @@ digraph conditionalEffects_kt {
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {40 36};
35 -> {36 40};
36 -> {37};
37 -> {38};
38 -> {39};
@@ -185,7 +185,7 @@ digraph conditionalEffects_kt {
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {64 56};
55 -> {56 64};
56 -> {57};
57 -> {58};
58 -> {59};
@@ -269,7 +269,7 @@ digraph conditionalEffects_kt {
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {97 85};
84 -> {85 97};
85 -> {86};
86 -> {87};
87 -> {88};
@@ -37,8 +37,8 @@ digraph inAnonymousObject_kt {
2 -> {3};
3 -> {4};
3 -> {37 40 43 49} [color=red];
4 -> {5} [color=red];
4 -> {13} [color=green];
4 -> {5} [color=red];
4 -> {13} [style=dashed];
5 -> {6};
5 -> {37 49} [color=green];
@@ -50,11 +50,11 @@ digraph inAnonymousObject_kt {
10 -> {11};
11 -> {12};
13 -> {14} [color=green];
14 -> {15} [style=dotted];
14 -> {40} [color=green];
14 -> {15} [style=dotted];
14 -> {40} [style=dashed];
15 -> {16} [style=dotted];
15 -> {43} [color=green];
15 -> {16} [style=dotted];
15 -> {43} [style=dashed];
16 -> {5} [color=green];
@@ -35,18 +35,18 @@ digraph inLocalClass_kt {
3 -> {4};
3 -> {38 41 47 53} [color=red];
4 -> {5};
4 -> {41 53 10} [color=green];
4 -> {41 53 10} [style=dashed];
4 -> {10 41 53} [color=green];
4 -> {10 41 53} [style=dashed];
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
10 -> {11} [color=green];
11 -> {12} [style=dotted];
11 -> {38} [color=green];
11 -> {12} [style=dotted];
11 -> {38} [style=dashed];
12 -> {13} [style=dotted];
12 -> {47} [color=green];
12 -> {13} [style=dotted];
12 -> {47} [style=dashed];
subgraph cluster_4 {
@@ -38,7 +38,7 @@ digraph inLocalFunction_kt {
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {9 5};
4 -> {5 9};
4 -> {9} [style=dashed];
5 -> {6};
6 -> {7};
@@ -78,7 +78,7 @@ digraph toLocalVariables_kt {
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {21 12};
11 -> {12 21};
12 -> {13};
13 -> {14};
14 -> {15};
@@ -80,7 +80,7 @@ digraph atLeastOnce_kt {
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {40 35};
33 -> {35 40};
33 -> {34} [style=dotted];
33 -> {40} [style=dashed];
34 -> {35};
@@ -127,7 +127,7 @@ digraph atLeastOnce_kt {
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {56 51};
49 -> {51 56};
49 -> {50} [style=dotted];
49 -> {56} [style=dashed];
50 -> {51};
@@ -80,7 +80,7 @@ digraph atMostOnce_kt {
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34 40 35};
33 -> {34 35 40};
33 -> {40} [style=dashed];
34 -> {35};
35 -> {36};
@@ -125,7 +125,7 @@ digraph atMostOnce_kt {
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50 56 51};
49 -> {50 51 56};
49 -> {56} [style=dashed];
50 -> {51};
51 -> {52};
@@ -71,7 +71,7 @@ digraph contractsUsage_kt {
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {25 24};
23 -> {24 25};
24 -> {31};
25 -> {26};
26 -> {27};
@@ -131,7 +131,7 @@ digraph contractsUsage_kt {
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {51 50};
49 -> {50 51};
50 -> {61};
51 -> {52};
52 -> {53};
@@ -80,7 +80,7 @@ digraph exactlyOnce_kt {
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {40 35};
33 -> {35 40};
33 -> {34} [style=dotted];
33 -> {40} [style=dashed];
34 -> {35};
@@ -126,7 +126,7 @@ digraph exactlyOnce_kt {
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {56 51};
49 -> {51 56};
49 -> {50} [style=dotted];
49 -> {56} [style=dashed];
50 -> {51};
@@ -50,7 +50,7 @@ digraph flow_kt {
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {9 8};
7 -> {8 9};
8 -> {17};
9 -> {10};
10 -> {11};
@@ -218,7 +218,7 @@ digraph flow_kt {
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {67 38};
37 -> {38 67};
38 -> {39};
39 -> {40};
40 -> {41};
@@ -226,7 +226,7 @@ digraph flow_kt {
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {58 46};
45 -> {46 58};
46 -> {47};
47 -> {48};
48 -> {49};
@@ -261,7 +261,7 @@ digraph flow_kt {
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {89 80};
79 -> {80 89};
80 -> {81};
81 -> {82};
82 -> {83};
@@ -287,8 +287,8 @@ digraph flow_kt {
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106} [style=dotted];
105 -> {97} [color=green style=dashed];
105 -> {106} [style=dotted];
106 -> {107} [style=dotted];
107 -> {108} [style=dotted];
@@ -45,7 +45,7 @@ digraph inPlaceLambda_kt {
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {9 8};
7 -> {8 9};
8 -> {14};
9 -> {10};
10 -> {11};
@@ -90,7 +90,7 @@ digraph inPlaceLambda_kt {
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31 35 32};
30 -> {31 32 35};
30 -> {35} [style=dashed];
31 -> {32};
32 -> {33};
@@ -76,7 +76,7 @@ digraph simple_kt {
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {27 26};
25 -> {26 27};
26 -> {32};
27 -> {28};
28 -> {29};
@@ -80,7 +80,7 @@ digraph unknown_kt {
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34 40 35};
33 -> {34 35 40};
33 -> {40} [style=dashed];
34 -> {35};
34 -> {33} [color=green style=dashed];
@@ -126,7 +126,7 @@ digraph unknown_kt {
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50 56 51};
49 -> {50 51 56};
49 -> {56} [style=dashed];
50 -> {51};
50 -> {49} [color=green style=dashed];
@@ -37,10 +37,10 @@ digraph delegateWithAnonymousObject_kt {
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {13} [label=onUncaughtException];
8 -> {13} [label="onUncaughtException"];
8 -> {9} [style=dotted];
9 -> {10} [style=dotted];
10 -> {13 11} [style=dotted];
10 -> {11 13} [style=dotted];
11 -> {12} [style=dotted];
12 -> {13} [style=dotted];
@@ -104,8 +104,8 @@ digraph delegateWithAnonymousObject_kt {
26 -> {27};
27 -> {28};
27 -> {35 38 45} [color=red];
28 -> {29} [color=red];
28 -> {33} [color=green];
28 -> {29} [color=red];
28 -> {33} [style=dashed];
29 -> {30};
29 -> {35 38 45} [color=green];
@@ -231,8 +231,8 @@ digraph delegateWithAnonymousObject_kt {
71 -> {72};
72 -> {73 74};
72 -> {26} [style=dashed];
73 -> {77} [color=red];
73 -> {74} [color=green];
73 -> {77} [color=red];
74 -> {75};
75 -> {76};
76 -> {77};
@@ -246,8 +246,8 @@ digraph delegateWithAnonymousObject_kt {
81 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red];
}
79 -> {80} [color=green];
80 -> {81} [style=dotted];
80 -> {71} [color=green];
80 -> {81} [style=dotted];
80 -> {71} [style=dashed];
}
@@ -35,12 +35,12 @@ digraph plusAssignWithLambdaInRhs_kt {
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {11} [label=onUncaughtException];
3 -> {11} [label="onUncaughtException"];
3 -> {4} [style=dotted];
4 -> {5} [style=dotted];
5 -> {6} [style=dotted];
6 -> {7} [style=dotted];
7 -> {8 12 9} [style=dotted];
7 -> {8 9 12} [style=dotted];
7 -> {12} [style=dashed];
8 -> {9} [style=dotted];
9 -> {10} [style=dotted];
@@ -76,8 +76,8 @@ digraph plusAssignWithLambdaInRhs_kt {
25 [label="Exit class A" style="filled" fillcolor=red];
}
23 -> {24} [color=green];
24 -> {25} [style=dotted];
24 -> {20} [color=green];
24 -> {25} [style=dotted];
24 -> {20} [style=dashed];
subgraph cluster_7 {
@@ -133,7 +133,7 @@ digraph plusAssignWithLambdaInRhs_kt {
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31 37 32};
30 -> {31 32 37};
30 -> {37} [style=dashed];
31 -> {32};
32 -> {33};
@@ -144,7 +144,7 @@ digraph plusAssignWithLambdaInRhs_kt {
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41 45 42};
40 -> {41 42 45};
40 -> {45} [style=dashed];
41 -> {42};
42 -> {43};
@@ -101,11 +101,11 @@ finally {
11 -> {12};
12 -> {13};
13 -> {14};
13 -> {22} [label=onUncaughtException];
13 -> {22} [label="onUncaughtException"];
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 31 19};
17 -> {18 19 31};
17 -> {31} [style=dashed];
18 -> {19};
18 -> {17} [color=green style=dashed];
@@ -116,7 +116,7 @@ finally {
23 -> {24};
24 -> {25};
25 -> {26};
25 -> {30} [label=onUncaughtException];
25 -> {30} [label="onUncaughtException"];
26 -> {27};
27 -> {30};
27 -> {28} [style=dotted];
@@ -191,11 +191,11 @@ finally {
36 -> {37};
37 -> {38};
38 -> {39};
38 -> {47} [label=onUncaughtException];
38 -> {47} [label="onUncaughtException"];
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43 56 44};
42 -> {43 44 56};
42 -> {56} [style=dashed];
43 -> {44};
44 -> {45};
@@ -205,7 +205,7 @@ finally {
48 -> {49};
49 -> {50};
50 -> {51};
50 -> {55} [label=onUncaughtException];
50 -> {55} [label="onUncaughtException"];
51 -> {52};
52 -> {55};
52 -> {53} [style=dotted];