[FIR] Add checker for uninitialized properties

This commit is contained in:
Dmitriy Novozhilov
2020-06-17 11:51:15 +03:00
parent 25621d699b
commit 26458875d5
96 changed files with 1476 additions and 1358 deletions
@@ -5,19 +5,19 @@ digraph annotatedLocalClass_kt {
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 [label="Enter class Ann" style="filled" fillcolor=red];
1 [label="Exit class Ann" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
3 [label="Enter class Ann" style="filled" fillcolor=red];
4 [label="Exit class Ann" style="filled" fillcolor=red];
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
4 [label="Exit function <init>" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
2 -> {3};
3 -> {4};
subgraph cluster_2 {
color=red
@@ -5,17 +5,17 @@ digraph complex_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function close" style="filled" fillcolor=red];
1 [label="Exit function close" style="filled" fillcolor=red];
0 [label="Enter class AutoCloseable" style="filled" fillcolor=red];
1 [label="Exit class AutoCloseable" style="filled" fillcolor=red];
}
0 -> {1};
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
2 [label="Enter class AutoCloseable" style="filled" fillcolor=red];
3 [label="Exit class AutoCloseable" style="filled" fillcolor=red];
2 [label="Enter function close" style="filled" fillcolor=red];
3 [label="Exit function close" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
2 -> {3};
subgraph cluster_2 {
color=red
@@ -5,81 +5,81 @@ digraph initBlock_kt {
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
9 [label="Enter class Foo" style="filled" fillcolor=red];
subgraph cluster_2 {
0 [label="Enter class Foo" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
3 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_3 {
2 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
4 [label="Enter block"];
5 [label="Const: Int(1)"];
6 [label="Variable declaration: lval x: R|kotlin/Int|"];
7 [label="Exit block"];
3 [label="Enter block"];
4 [label="Const: Int(1)"];
5 [label="Variable declaration: lval x: R|kotlin/Int|"];
6 [label="Exit block"];
}
8 [label="Exit init block" style="filled" fillcolor=red];
7 [label="Exit init block" style="filled" fillcolor=red];
}
10 [label="Exit class Foo" style="filled" fillcolor=red];
1 [label="Exit class Foo" style="filled" fillcolor=red];
}
9 -> {3} [color=green];
0 -> {2} [color=green];
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {10} [color=green];
7 -> {1} [color=green];
subgraph cluster_3 {
color=red
8 [label="Enter function <init>" style="filled" fillcolor=red];
9 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
10 [label="Exit function <init>" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
subgraph cluster_4 {
color=red
11 [label="Enter function <init>" style="filled" fillcolor=red];
12 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
13 [label="Exit function <init>" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
subgraph cluster_5 {
color=red
25 [label="Enter class Bar" style="filled" fillcolor=red];
subgraph cluster_6 {
11 [label="Enter class Bar" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
14 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_7 {
13 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
15 [label="Enter block"];
16 [label="Const: Int(1)"];
17 [label="Variable declaration: lval x: R|kotlin/Int|"];
18 [label="Function call: R|java/lang/Exception.Exception|()"];
19 [label="Throw: throw R|java/lang/Exception.Exception|()"];
20 [label="Stub" style="filled" fillcolor=gray];
21 [label="Const: Int(2)" style="filled" fillcolor=gray];
22 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray];
23 [label="Exit block" style="filled" fillcolor=gray];
14 [label="Enter block"];
15 [label="Const: Int(1)"];
16 [label="Variable declaration: lval x: R|kotlin/Int|"];
17 [label="Function call: R|java/lang/Exception.Exception|()"];
18 [label="Throw: throw R|java/lang/Exception.Exception|()"];
19 [label="Stub" style="filled" fillcolor=gray];
20 [label="Const: Int(2)" style="filled" fillcolor=gray];
21 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray];
22 [label="Exit block" style="filled" fillcolor=gray];
}
24 [label="Exit init block" style="filled" fillcolor=red];
23 [label="Exit init block" style="filled" fillcolor=red];
}
26 [label="Exit class Bar" style="filled" fillcolor=red];
12 [label="Exit class Bar" style="filled" fillcolor=red];
}
25 -> {14} [color=green];
11 -> {13} [color=green];
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {24};
18 -> {23};
18 -> {19} [style=dotted];
19 -> {20} [style=dotted];
20 -> {21} [style=dotted];
21 -> {22} [style=dotted];
22 -> {23} [style=dotted];
23 -> {24} [style=dotted];
24 -> {26} [color=green];
23 -> {12} [color=green];
subgraph cluster_7 {
color=red
24 [label="Enter function <init>" style="filled" fillcolor=red];
25 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
26 [label="Exit function <init>" style="filled" fillcolor=red];
}
24 -> {25};
25 -> {26};
}
@@ -12,86 +12,86 @@ digraph initBlockAndInPlaceLambda_kt {
subgraph cluster_1 {
color=red
2 [label="Enter function getter" style="filled" fillcolor=red];
3 [label="Exit function getter" style="filled" fillcolor=red];
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
2 -> {3};
2 -> {3} [color=green];
subgraph cluster_2 {
color=red
4 [label="Enter class A" style="filled" fillcolor=red];
5 [label="Exit class A" style="filled" fillcolor=red];
4 [label="Enter function getter" style="filled" fillcolor=red];
5 [label="Exit function getter" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter function <init>" style="filled" fillcolor=red];
7 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
8 [label="Exit function <init>" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
subgraph cluster_4 {
color=red
29 [label="Enter class C" style="filled" fillcolor=red];
subgraph cluster_5 {
6 [label="Enter class C" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
16 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 {
8 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
17 [label="Enter block"];
18 [label="Access variable R|<local>/a|"];
19 [label="Access variable R|/A.b|"];
20 [label="Enter safe call"];
21 [label="Postponed enter to lambda"];
subgraph cluster_7 {
9 [label="Enter block"];
10 [label="Access variable R|<local>/a|"];
11 [label="Access variable R|/A.b|"];
12 [label="Enter safe call"];
13 [label="Postponed enter to lambda"];
subgraph cluster_6 {
color=blue
9 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_8 {
21 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
10 [label="Enter block"];
11 [label="Access variable R|<local>/a|"];
12 [label="Access variable R|<local>/it|"];
13 [label="Function call: R|/C.C|(...)"];
14 [label="Exit block"];
22 [label="Enter block"];
23 [label="Access variable R|<local>/a|"];
24 [label="Access variable R|<local>/it|"];
25 [label="Function call: R|/C.C|(...)"];
26 [label="Exit block"];
}
15 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
27 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
22 [label="Call arguments union" style="filled" fillcolor=yellow];
23 [label="Postponed exit from lambda"];
24 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)"];
25 [label="Exit safe call"];
26 [label="Variable declaration: lval c: R|C?|"];
27 [label="Exit block"];
14 [label="Call arguments union" style="filled" fillcolor=yellow];
15 [label="Postponed exit from lambda"];
16 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)"];
17 [label="Exit safe call"];
18 [label="Variable declaration: lval c: R|C?|"];
19 [label="Exit block"];
}
28 [label="Exit init block" style="filled" fillcolor=red];
20 [label="Exit init block" style="filled" fillcolor=red];
}
30 [label="Exit class C" style="filled" fillcolor=red];
7 [label="Exit class C" style="filled" fillcolor=red];
}
29 -> {16} [color=green];
6 -> {8} [color=green];
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12 17};
12 -> {13};
13 -> {21};
13 -> {15} [color=red];
14 -> {16} [color=red];
15 -> {16} [color=green];
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20 25};
20 -> {21};
21 -> {9};
21 -> {23} [color=red];
22 -> {24} [color=red];
23 -> {24} [color=green];
19 -> {20};
20 -> {7} [color=green];
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {30} [color=green];
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {23} [color=green];
15 -> {22} [color=red];
27 -> {15} [color=green];
27 -> {14} [color=red];
subgraph cluster_8 {
color=red
28 [label="Enter function <init>" style="filled" fillcolor=red];
29 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
30 [label="Exit function <init>" style="filled" fillcolor=red];
}
28 -> {29};
29 -> {30};
}
@@ -14,33 +14,33 @@ digraph innerClassInAnonymousObject_kt {
subgraph cluster_1 {
color=red
3 [label="Enter function <init>" style="filled" fillcolor=red];
4 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
5 [label="Exit function <init>" style="filled" fillcolor=red];
3 [label="Enter class Nested" style="filled" fillcolor=red];
4 [label="Exit class Nested" style="filled" fillcolor=red];
}
3 -> {4};
4 -> {5};
3 -> {4} [color=green];
subgraph cluster_2 {
color=red
6 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
7 [label="Enter block"];
8 [label="Exit block"];
}
9 [label="Exit function foo" style="filled" fillcolor=red];
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
7 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
subgraph cluster_4 {
subgraph cluster_3 {
color=red
10 [label="Enter class Nested" style="filled" fillcolor=red];
11 [label="Exit class Nested" style="filled" fillcolor=red];
8 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
9 [label="Enter block"];
10 [label="Exit block"];
}
11 [label="Exit function foo" style="filled" fillcolor=red];
}
10 -> {11} [color=green];
8 -> {9};
9 -> {10};
10 -> {11};
subgraph cluster_5 {
color=red
@@ -61,7 +61,7 @@ digraph innerClassInAnonymousObject_kt {
18 [label="Exit property" style="filled" fillcolor=red];
}
16 -> {17};
16 -> {0 3 6} [color=red];
16 -> {0 5 8} [color=red];
17 -> {18};
12 -> {13} [color=green];
@@ -33,19 +33,19 @@ digraph lambdaReturningObject_kt {
subgraph cluster_4 {
color=red
8 [label="Enter function <init>" style="filled" fillcolor=red];
9 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
10 [label="Exit function <init>" style="filled" fillcolor=red];
8 [label="Enter class IrStarProjectionImpl" style="filled" fillcolor=red];
9 [label="Exit class IrStarProjectionImpl" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
8 -> {9} [color=green];
subgraph cluster_5 {
color=red
11 [label="Enter class IrStarProjectionImpl" style="filled" fillcolor=red];
12 [label="Exit class IrStarProjectionImpl" style="filled" fillcolor=red];
10 [label="Enter function <init>" style="filled" fillcolor=red];
11 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
12 [label="Exit function <init>" style="filled" fillcolor=red];
}
11 -> {12} [color=green];
10 -> {11};
11 -> {12};
subgraph cluster_6 {
color=red
@@ -5,111 +5,111 @@ digraph postponedLambdaInConstructor_kt {
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 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Exit class A" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
3 [label="Enter class A" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red];
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
4 [label="Exit function <init>" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
2 -> {3};
3 -> {4};
subgraph cluster_2 {
color=red
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Access variable R|<local>/s|"];
7 [label="Postponed enter to lambda"];
5 [label="Enter class B" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
13 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
14 [label="Enter block"];
15 [label="Postponed enter to lambda"];
subgraph cluster_5 {
color=blue
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
20 [label="Enter block"];
21 [label="Access variable R|<local>/it|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
16 [label="Postponed exit from lambda"];
17 [label="Exit block"];
}
18 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
7 [label="Enter property" style="filled" fillcolor=red];
8 [label="Access variable R|<local>/s|"];
9 [label="Exit property" style="filled" fillcolor=red];
}
8 [label="Postponed exit from lambda"];
9 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
10 [label="Call arguments union" style="filled" fillcolor=yellow];
11 [label="Delegated constructor call: super<R|A|>(...)"];
12 [label="Exit function <init>" style="filled" fillcolor=red];
6 [label="Exit class B" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
7 -> {13};
7 -> {8} [color=red];
5 -> {7} [color=green];
7 -> {8};
8 -> {9};
9 -> {10};
9 -> {6} [color=green];
subgraph cluster_4 {
color=red
10 [label="Enter function <init>" style="filled" fillcolor=red];
11 [label="Access variable R|<local>/s|"];
12 [label="Postponed enter to lambda"];
subgraph cluster_5 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
19 [label="Enter block"];
20 [label="Postponed enter to lambda"];
subgraph cluster_7 {
color=blue
24 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
25 [label="Enter block"];
26 [label="Access variable R|<local>/it|"];
27 [label="Exit block"];
}
28 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
21 [label="Postponed exit from lambda"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
13 [label="Postponed exit from lambda"];
14 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
15 [label="Call arguments union" style="filled" fillcolor=yellow];
16 [label="Delegated constructor call: super<R|A|>(...)"];
17 [label="Exit function <init>" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
12 -> {18};
12 -> {13} [color=red];
13 -> {14};
14 -> {15};
15 -> {16 19};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {8} [color=green];
18 -> {10} [color=red];
18 -> {19};
19 -> {20};
20 -> {21};
20 -> {21 24};
21 -> {22};
22 -> {23};
subgraph cluster_7 {
color=red
24 [label="Enter function getter" style="filled" fillcolor=red];
25 [label="Exit function getter" style="filled" fillcolor=red];
}
23 -> {13} [color=green];
23 -> {15} [color=red];
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
subgraph cluster_8 {
subgraph cluster_9 {
color=red
29 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
30 [label="Enter block"];
31 [label="Function call: this@R|/B|.R|/B.foo|()"];
32 [label="Exit block"];
}
33 [label="Exit function foo" style="filled" fillcolor=red];
29 [label="Enter function getter" style="filled" fillcolor=red];
30 [label="Exit function getter" style="filled" fillcolor=red];
}
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
subgraph cluster_10 {
color=red
34 [label="Enter class B" style="filled" fillcolor=red];
31 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
26 [label="Enter property" style="filled" fillcolor=red];
27 [label="Access variable R|<local>/s|"];
28 [label="Exit property" style="filled" fillcolor=red];
32 [label="Enter block"];
33 [label="Function call: this@R|/B|.R|/B.foo|()"];
34 [label="Exit block"];
}
35 [label="Exit class B" style="filled" fillcolor=red];
35 [label="Exit function foo" style="filled" fillcolor=red];
}
34 -> {26} [color=green];
26 -> {27};
27 -> {28};
28 -> {35} [color=green];
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
}
@@ -12,35 +12,35 @@ digraph returnValuesFromLambda_kt {
subgraph cluster_1 {
color=red
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
4 [label="Exit function <init>" style="filled" fillcolor=red];
2 [label="Enter class B" style="filled" fillcolor=red];
3 [label="Exit class B" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
2 -> {3} [color=green];
subgraph cluster_2 {
color=red
5 [label="Enter class B" style="filled" fillcolor=red];
6 [label="Exit class B" style="filled" fillcolor=red];
4 [label="Enter function <init>" style="filled" fillcolor=red];
5 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
6 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {6} [color=green];
4 -> {5};
5 -> {6};
subgraph cluster_3 {
color=red
7 [label="Enter function <init>" style="filled" fillcolor=red];
8 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
9 [label="Exit function <init>" style="filled" fillcolor=red];
7 [label="Enter class C" style="filled" fillcolor=red];
8 [label="Exit class C" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9};
7 -> {8} [color=green];
subgraph cluster_4 {
color=red
10 [label="Enter class C" style="filled" fillcolor=red];
11 [label="Exit class C" style="filled" fillcolor=red];
9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
11 [label="Exit function <init>" style="filled" fillcolor=red];
}
10 -> {11} [color=green];
9 -> {10};
10 -> {11};
subgraph cluster_5 {
color=red
@@ -5,31 +5,31 @@ digraph safeCalls_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Exit class A" style="filled" fillcolor=red];
}
0 -> {1};
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
2 [label="Enter function bar" style="filled" fillcolor=red];
3 [label="Exit function bar" style="filled" fillcolor=red];
2 [label="Enter function foo" style="filled" fillcolor=red];
3 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3};
subgraph cluster_2 {
color=red
4 [label="Enter class A" style="filled" fillcolor=red];
5 [label="Exit class A" style="filled" fillcolor=red];
4 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter function getter" style="filled" fillcolor=red];
7 [label="Exit function getter" style="filled" fillcolor=red];
6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red];
}
6 -> {7};
6 -> {7} [color=green];
subgraph cluster_4 {
color=red
@@ -40,10 +40,10 @@ digraph safeCalls_kt {
subgraph cluster_5 {
color=red
10 [label="Enter class B" style="filled" fillcolor=red];
11 [label="Exit class B" style="filled" fillcolor=red];
10 [label="Enter function getter" style="filled" fillcolor=red];
11 [label="Exit function getter" style="filled" fillcolor=red];
}
10 -> {11} [color=green];
10 -> {11};
subgraph cluster_6 {
color=red