[FIR] Add edge kinds to control flow graph
Another changes: - Remove useless CFG plain text renderer - Refactor CFG .dot renderer - Add checking of consistency control flow graph
This commit is contained in:
+6
-1
@@ -709,6 +709,11 @@ abstract class FirDataFlowAnalyzer<FLOW : Flow>(
|
||||
|
||||
val flow = node.mergeIncomingFlow().flow
|
||||
|
||||
/*
|
||||
* TODO: Here we should handle case when one of arguments is dead (e.g. in cases `false && expr` or `true || expr`)
|
||||
* But since conditions with const are rare it can be delayed
|
||||
*/
|
||||
|
||||
val leftVariable = variableStorage.getOrCreateVariable(binaryLogicExpression.leftOperand)
|
||||
val rightVariable = variableStorage.getOrCreateVariable(binaryLogicExpression.rightOperand)
|
||||
val operatorVariable = variableStorage.getOrCreateVariable(binaryLogicExpression)
|
||||
@@ -795,7 +800,7 @@ abstract class FirDataFlowAnalyzer<FLOW : Flow>(
|
||||
val previousFlows = if (node.isDead)
|
||||
node.previousNodes.map { it.flow }
|
||||
else
|
||||
node.previousNodes.mapNotNull { prev -> prev.takeIf { !it.isDead }?.flow }
|
||||
node.previousNodes.mapNotNull { prev -> prev.takeIf { node.incomingEdges[it] != EdgeKind.Dead }?.flow }
|
||||
val flow = logicSystem.joinFlow(previousFlows)
|
||||
if (updateReceivers) {
|
||||
logicSystem.updateAllReceivers(flow)
|
||||
|
||||
+23
-3
@@ -24,13 +24,34 @@ class ControlFlowGraph(val name: String, val kind: Kind) {
|
||||
}
|
||||
}
|
||||
|
||||
enum class EdgeKind {
|
||||
Simple, Dead
|
||||
}
|
||||
|
||||
sealed class CFGNode<out E : FirElement>(val owner: ControlFlowGraph, val level: Int, private val id: Int) {
|
||||
companion object {
|
||||
fun addEdge(from: CFGNode<*>, to: CFGNode<*>, kind: EdgeKind, propagateDeadness: Boolean) {
|
||||
from.followingNodes += to
|
||||
to.previousNodes += from
|
||||
if (kind != EdgeKind.Simple) {
|
||||
from.outgoingEdges[to] = kind
|
||||
to.incomingEdges[from] = kind
|
||||
}
|
||||
if (propagateDeadness && kind == EdgeKind.Dead) {
|
||||
to.isDead = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
init {
|
||||
owner.nodes += this
|
||||
}
|
||||
|
||||
val previousNodes = mutableListOf<CFGNode<*>>()
|
||||
val followingNodes = mutableListOf<CFGNode<*>>()
|
||||
val previousNodes: MutableList<CFGNode<*>> = mutableListOf()
|
||||
val followingNodes: MutableList<CFGNode<*>> = mutableListOf()
|
||||
|
||||
val incomingEdges = mutableMapOf<CFGNode<*>, EdgeKind>().withDefault { EdgeKind.Simple }
|
||||
val outgoingEdges = mutableMapOf<CFGNode<*>, EdgeKind>().withDefault { EdgeKind.Simple }
|
||||
|
||||
val firstPreviousNode: CFGNode<*> get() = previousNodes.first()
|
||||
|
||||
@@ -47,7 +68,6 @@ sealed class CFGNode<out E : FirElement>(val owner: ControlFlowGraph, val level:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
interface EnterNode
|
||||
interface ExitNode
|
||||
|
||||
|
||||
+7
-19
@@ -314,7 +314,7 @@ class ControlFlowGraphBuilder {
|
||||
val conditionExitNode = createLoopConditionExitNode(loop.condition)
|
||||
addNewSimpleNode(conditionExitNode)
|
||||
val conditionConstBooleanValue = conditionExitNode.booleanConstValue
|
||||
addEdge(conditionExitNode, loopExitNodes.top(), isDead = conditionConstBooleanValue == true)
|
||||
addEdge(conditionExitNode, loopExitNodes.top(), propagateDeadness = false, isDead = conditionConstBooleanValue == true)
|
||||
val loopBlockEnterNode = createLoopBlockEnterNode(loop)
|
||||
addNewSimpleNode(loopBlockEnterNode, conditionConstBooleanValue == false)
|
||||
levelCounter++
|
||||
@@ -431,11 +431,11 @@ class ControlFlowGraphBuilder {
|
||||
|
||||
val leftExitNode = createBinaryOrExitLeftOperandNode(binaryLogicExpression).also {
|
||||
addEdge(previousNode, it)
|
||||
addEdge(it, binaryOrExitNodes.top(), isDead = leftBooleanValue == false)
|
||||
addEdge(it, binaryOrExitNodes.top(), propagateDeadness = false, isDead = leftBooleanValue == false)
|
||||
}
|
||||
|
||||
val rightExitNode = createBinaryOrEnterRightOperandNode(binaryLogicExpression).also {
|
||||
addEdge(leftExitNode, it, isDead = leftBooleanValue == true)
|
||||
addEdge(leftExitNode, it, propagateDeadness = true, isDead = leftBooleanValue == true)
|
||||
lastNodes.push(it)
|
||||
levelCounter++
|
||||
}
|
||||
@@ -639,13 +639,14 @@ class ControlFlowGraphBuilder {
|
||||
fun exitSafeCall(qualifiedAccess: FirQualifiedAccess): ExitSafeCallNode {
|
||||
return exitSafeCallNodes.pop().also {
|
||||
addNewSimpleNode(it)
|
||||
it.markAsDeadIfNecessary()
|
||||
}
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
private fun CFGNode<*>.markAsDeadIfNecessary() {
|
||||
isDead = previousNodes.all { it.isDead }
|
||||
isDead = incomingEdges.size == previousNodes.size && incomingEdges.values.all { it == EdgeKind.Dead }
|
||||
}
|
||||
|
||||
private fun addNodeThatReturnsNothing(node: CFGNode<*>) {
|
||||
@@ -674,22 +675,9 @@ class ControlFlowGraphBuilder {
|
||||
return oldNode
|
||||
}
|
||||
|
||||
private fun addDeadEdge(from: CFGNode<*>, to: CFGNode<*>, propagateDeadness: Boolean) {
|
||||
val stub = createStubNode()
|
||||
addEdge(from, stub)
|
||||
addEdge(stub, to, propagateDeadness = propagateDeadness)
|
||||
}
|
||||
|
||||
private fun addEdge(from: CFGNode<*>, to: CFGNode<*>, propagateDeadness: Boolean = true, isDead: Boolean = false) {
|
||||
if (isDead) {
|
||||
addDeadEdge(from, to, propagateDeadness)
|
||||
return
|
||||
}
|
||||
if (propagateDeadness && from.isDead) {
|
||||
to.isDead = true
|
||||
}
|
||||
from.followingNodes += to
|
||||
to.previousNodes += from
|
||||
val kind = if (isDead || from.isDead || to.isDead) EdgeKind.Dead else EdgeKind.Simple
|
||||
CFGNode.addEdge(from, to, kind, propagateDeadness)
|
||||
}
|
||||
|
||||
private val FirFunction<*>.invocationKind: InvocationKind?
|
||||
|
||||
+122
-58
@@ -5,6 +5,7 @@
|
||||
|
||||
package org.jetbrains.kotlin.fir.resolve.dfa.cfg
|
||||
|
||||
import org.jetbrains.kotlin.fir.FirElement
|
||||
import org.jetbrains.kotlin.fir.FirRenderer
|
||||
import org.jetbrains.kotlin.fir.declarations.*
|
||||
import org.jetbrains.kotlin.fir.expressions.FirDoWhileLoop
|
||||
@@ -12,75 +13,125 @@ import org.jetbrains.kotlin.fir.expressions.FirLoop
|
||||
import org.jetbrains.kotlin.fir.expressions.FirWhileLoop
|
||||
import org.jetbrains.kotlin.fir.expressions.impl.FirElseIfTrueCondition
|
||||
import org.jetbrains.kotlin.fir.psi
|
||||
import org.jetbrains.kotlin.fir.references.FirControlFlowGraphReference
|
||||
import org.jetbrains.kotlin.fir.render
|
||||
import org.jetbrains.kotlin.fir.resolve.dfa.FirControlFlowGraphReferenceImpl
|
||||
import org.jetbrains.kotlin.fir.visitors.FirVisitorVoid
|
||||
import org.jetbrains.kotlin.utils.DFS
|
||||
import org.jetbrains.kotlin.utils.Printer
|
||||
import java.util.*
|
||||
|
||||
private const val INDENT = " "
|
||||
private const val DEAD = "[DEAD]"
|
||||
class FirControlFlowGraphRenderVisitor(
|
||||
builder: StringBuilder,
|
||||
) : FirVisitorVoid() {
|
||||
companion object {
|
||||
private const val EDGE = " -> "
|
||||
private const val RED = "red"
|
||||
private const val BLUE = "blue"
|
||||
|
||||
|
||||
fun List<CFGNode<*>>.indicesMap(): Map<CFGNode<*>, Int> = mapIndexed { i, node -> node to i }.toMap()
|
||||
|
||||
fun ControlFlowGraph.sortNodes(): List<CFGNode<*>> {
|
||||
return DFS.topologicalOrder(
|
||||
nodes
|
||||
) {
|
||||
val result = if (it !is WhenBranchConditionExitNode || it.followingNodes.size < 2) {
|
||||
it.followingNodes
|
||||
} else {
|
||||
it.followingNodes.sortedBy { node -> if (node is BlockEnterNode) 1 else 0 }
|
||||
}
|
||||
result
|
||||
}
|
||||
}
|
||||
|
||||
fun ControlFlowGraph.renderToStringBuilder(builder: StringBuilder) {
|
||||
val sortedNodes = sortNodes()
|
||||
|
||||
val indices = sortedNodes.indicesMap()
|
||||
val notVisited = sortedNodes.toMutableSet()
|
||||
val maxLineNumberSize = sortedNodes.size.toString().length
|
||||
|
||||
fun List<CFGNode<*>>.renderEdges(nodeIsDead: Boolean): String = map {
|
||||
indices.getValue(it) to it.isDead
|
||||
}.sortedBy { it.first }.joinToString(", ") { (index, isDead) ->
|
||||
index.toString() + if (isDead && !nodeIsDead) DEAD else ""
|
||||
private val EDGE_STYLE = EnumMap(
|
||||
mapOf(
|
||||
EdgeKind.Simple to "",
|
||||
EdgeKind.Dead to "[style=dotted]",
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
fun StringBuilder.renderNode(node: CFGNode<*>, index: Int) {
|
||||
append(index.toString().padStart(maxLineNumberSize))
|
||||
append(": ")
|
||||
append(INDENT.repeat(node.level))
|
||||
append(node.render())
|
||||
append(" -> ")
|
||||
append(node.followingNodes.renderEdges(node.isDead))
|
||||
if (node.previousNodes.isNotEmpty()) {
|
||||
append(" | <- ")
|
||||
append(node.previousNodes.renderEdges(node.isDead))
|
||||
}
|
||||
appendln()
|
||||
private val printer = Printer(builder)
|
||||
|
||||
private var indexOffset = 0
|
||||
private var clusterCounter = 0
|
||||
|
||||
override fun visitFile(file: FirFile) {
|
||||
printer
|
||||
.println("digraph ${file.name.replace(".", "_")} {")
|
||||
.pushIndent()
|
||||
.println("graph [splines=ortho nodesep=3]")
|
||||
.println("node [shape=box penwidth=2]")
|
||||
.println("edge [penwidth=2]")
|
||||
.println()
|
||||
visitElement(file)
|
||||
printer
|
||||
.popIndent()
|
||||
.println("}")
|
||||
}
|
||||
|
||||
with(builder) {
|
||||
sortedNodes.forEachIndexed { i, node ->
|
||||
notVisited.remove(node)
|
||||
renderNode(node, i)
|
||||
}
|
||||
override fun visitElement(element: FirElement) {
|
||||
element.acceptChildren(this)
|
||||
}
|
||||
|
||||
if (notVisited.isNotEmpty()) {
|
||||
appendln("Not visited nodes:")
|
||||
notVisited.forEach { node ->
|
||||
renderNode(node, indices.getValue(node))
|
||||
override fun visitControlFlowGraphReference(controlFlowGraphReference: FirControlFlowGraphReference) {
|
||||
val controlFlowGraph = (controlFlowGraphReference as? FirControlFlowGraphReferenceImpl)?.controlFlowGraph ?: return
|
||||
indexOffset = controlFlowGraph.dotRenderToStringBuilder(printer)
|
||||
printer.println()
|
||||
}
|
||||
|
||||
private fun Printer.enterCluster(color: String) {
|
||||
println("subgraph cluster_${clusterCounter++} {")
|
||||
pushIndent()
|
||||
println("color=$color")
|
||||
}
|
||||
|
||||
private fun Printer.exitCluster() {
|
||||
popIndent()
|
||||
println("}")
|
||||
}
|
||||
|
||||
private fun ControlFlowGraph.dotRenderToStringBuilder(printer: Printer): Int {
|
||||
with(printer) {
|
||||
val graph = this@dotRenderToStringBuilder
|
||||
val sortedNodes = graph.sortNodes()
|
||||
val indices = sortedNodes.indicesMap().mapValues { (_, index) -> index + indexOffset }
|
||||
|
||||
var color = RED
|
||||
sortedNodes.forEach {
|
||||
if (it is EnterNode) {
|
||||
enterCluster(color)
|
||||
color = BLUE
|
||||
}
|
||||
val attributes = mutableListOf<String>()
|
||||
attributes += "label=\"${it.render().replace("\"", "")}\""
|
||||
if (it == enterNode || it == exitNode) {
|
||||
attributes += "style=\"filled\""
|
||||
attributes += "fillcolor=red"
|
||||
}
|
||||
if (it.isDead) {
|
||||
attributes += "style=\"filled\""
|
||||
attributes += "fillcolor=gray"
|
||||
}
|
||||
println(indices.getValue(it), attributes.joinToString(separator = " ", prefix = " [", postfix = "];"))
|
||||
if (it is ExitNode) {
|
||||
exitCluster()
|
||||
}
|
||||
}
|
||||
}
|
||||
println()
|
||||
|
||||
appendln()
|
||||
sortedNodes.forEachIndexed { i, node ->
|
||||
if (node.followingNodes.isEmpty()) return@forEachIndexed
|
||||
|
||||
fun renderEdges(kind: EdgeKind) {
|
||||
val edges = node.followingNodes.filter { node.outgoingEdges.getValue(it) == kind }
|
||||
if (edges.isEmpty()) return
|
||||
print(
|
||||
i + indexOffset,
|
||||
EDGE,
|
||||
edges.joinToString(prefix = "{", postfix = "}", separator = " ") { indices.getValue(it).toString() }
|
||||
)
|
||||
EDGE_STYLE.getValue(kind).takeIf { it.isNotBlank() }?.let { printWithNoIndent(" $it") }
|
||||
printlnWithNoIndent(";")
|
||||
}
|
||||
|
||||
for (kind in EdgeKind.values()) {
|
||||
renderEdges(kind)
|
||||
}
|
||||
}
|
||||
|
||||
return indexOffset + sortedNodes.size
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun ControlFlowGraph.render(): String = buildString { renderToStringBuilder(this) }
|
||||
|
||||
fun CFGNode<*>.render(): String =
|
||||
private fun CFGNode<*>.render(): String =
|
||||
buildString {
|
||||
append(
|
||||
when (this@render) {
|
||||
@@ -114,7 +165,7 @@ fun CFGNode<*>.render(): String =
|
||||
|
||||
is ConstExpressionNode -> "Const: ${fir.render()}"
|
||||
is VariableDeclarationNode ->
|
||||
"Variable declaration: ${buildString { FirRenderer(this).visitCallableDeclaration(fir)} }"
|
||||
"Variable declaration: ${buildString { FirRenderer(this).visitCallableDeclaration(fir) }}"
|
||||
|
||||
is VariableAssignmentNode -> "Assignmenet: ${fir.lValue.render()}"
|
||||
is FunctionCallNode -> "Function call: ${fir.render()}"
|
||||
@@ -154,7 +205,7 @@ fun CFGNode<*>.render(): String =
|
||||
is ExitSafeCallNode -> "Exit safe call"
|
||||
|
||||
else -> TODO(this@render.toString())
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
@@ -171,4 +222,17 @@ private fun FirLoop.type(): String = when (this) {
|
||||
is FirWhileLoop -> "while"
|
||||
is FirDoWhileLoop -> "do-while"
|
||||
else -> throw IllegalArgumentException()
|
||||
}
|
||||
}
|
||||
|
||||
private fun ControlFlowGraph.sortNodes(): List<CFGNode<*>> {
|
||||
return DFS.topologicalOrder(nodes) {
|
||||
val result = if (it !is WhenBranchConditionExitNode || it.followingNodes.size < 2) {
|
||||
it.followingNodes
|
||||
} else {
|
||||
it.followingNodes.sortedBy { node -> if (node is BlockEnterNode) 1 else 0 }
|
||||
}
|
||||
result
|
||||
}
|
||||
}
|
||||
|
||||
private fun List<CFGNode<*>>.indicesMap(): Map<CFGNode<*>, Int> = mapIndexed { i, node -> node to i }.toMap()
|
||||
+227
-227
@@ -1,240 +1,240 @@
|
||||
digraph binaryOperations_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
3 [label="Enter ||"];
|
||||
4 [label="Access variable R|<local>/b1|"];
|
||||
5 [label="Exit left part of ||"];
|
||||
6 [label="Enter right part of ||"];
|
||||
7 [label="Access variable R|<local>/b2|"];
|
||||
8 [label="Exit ||"];
|
||||
}
|
||||
9 [label="Exit when branch condition"];
|
||||
}
|
||||
10 [label="Synthetic else branch"];
|
||||
11 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Const: IntegerLiteral(1)"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit when branch result"];
|
||||
16 [label="Exit when"];
|
||||
}
|
||||
17 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {8 6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {11 10};
|
||||
10 -> {16};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
18 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
19 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
20 [label="Enter when branch condition "];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
21 [label="Enter &&"];
|
||||
22 [label="Access variable R|<local>/b1|"];
|
||||
23 [label="Exit left part of &&"];
|
||||
24 [label="Enter right part of &&"];
|
||||
25 [label="Access variable R|<local>/b2|"];
|
||||
26 [label="Exit &&"];
|
||||
}
|
||||
27 [label="Exit when branch condition"];
|
||||
}
|
||||
28 [label="Synthetic else branch"];
|
||||
29 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
30 [label="Enter block"];
|
||||
31 [label="Const: IntegerLiteral(1)"];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit when branch result"];
|
||||
34 [label="Exit when"];
|
||||
}
|
||||
35 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {26 24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {29 28};
|
||||
28 -> {34};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
36 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
37 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
38 [label="Enter when branch condition "];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
39 [label="Enter ||"];
|
||||
subgraph cluster_14 {
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
40 [label="Enter &&"];
|
||||
41 [label="Access variable R|<local>/b1|"];
|
||||
42 [label="Exit left part of &&"];
|
||||
43 [label="Enter right part of &&"];
|
||||
44 [label="Access variable R|<local>/b2|"];
|
||||
45 [label="Exit &&"];
|
||||
}
|
||||
46 [label="Exit left part of ||"];
|
||||
47 [label="Enter right part of ||"];
|
||||
48 [label="Access variable R|<local>/b3|"];
|
||||
49 [label="Exit ||"];
|
||||
1 [label="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
3 [label="Enter ||"];
|
||||
4 [label="Access variable R|<local>/b1|"];
|
||||
5 [label="Exit left part of ||"];
|
||||
6 [label="Enter right part of ||"];
|
||||
7 [label="Access variable R|<local>/b2|"];
|
||||
8 [label="Exit ||"];
|
||||
}
|
||||
9 [label="Exit when branch condition"];
|
||||
}
|
||||
10 [label="Synthetic else branch"];
|
||||
11 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Const: IntegerLiteral(1)"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit when branch result"];
|
||||
16 [label="Exit when"];
|
||||
}
|
||||
50 [label="Exit when branch condition"];
|
||||
}
|
||||
51 [label="Synthetic else branch"];
|
||||
52 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
53 [label="Enter block"];
|
||||
54 [label="Const: IntegerLiteral(1)"];
|
||||
55 [label="Exit block"];
|
||||
}
|
||||
56 [label="Exit when branch result"];
|
||||
57 [label="Exit when"];
|
||||
17 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
58 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {45 43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {49 47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {52 51};
|
||||
51 -> {57};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {8 6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {11 10};
|
||||
10 -> {16};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
|
||||
subgraph cluster_16 {
|
||||
color=red
|
||||
59 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
60 [label="Enter when"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
61 [label="Enter when branch condition "];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
62 [label="Enter ||"];
|
||||
63 [label="Access variable R|<local>/b1|"];
|
||||
64 [label="Exit left part of ||"];
|
||||
65 [label="Enter right part of ||"];
|
||||
subgraph cluster_20 {
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
18 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
66 [label="Enter &&"];
|
||||
67 [label="Access variable R|<local>/b2|"];
|
||||
68 [label="Exit left part of &&"];
|
||||
69 [label="Enter right part of &&"];
|
||||
70 [label="Access variable R|<local>/b3|"];
|
||||
71 [label="Exit &&"];
|
||||
}
|
||||
72 [label="Exit ||"];
|
||||
19 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
20 [label="Enter when branch condition "];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
21 [label="Enter &&"];
|
||||
22 [label="Access variable R|<local>/b1|"];
|
||||
23 [label="Exit left part of &&"];
|
||||
24 [label="Enter right part of &&"];
|
||||
25 [label="Access variable R|<local>/b2|"];
|
||||
26 [label="Exit &&"];
|
||||
}
|
||||
27 [label="Exit when branch condition"];
|
||||
}
|
||||
28 [label="Synthetic else branch"];
|
||||
29 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
30 [label="Enter block"];
|
||||
31 [label="Const: IntegerLiteral(1)"];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit when branch result"];
|
||||
34 [label="Exit when"];
|
||||
}
|
||||
73 [label="Exit when branch condition"];
|
||||
}
|
||||
74 [label="Synthetic else branch"];
|
||||
75 [label="Enter when branch result"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
76 [label="Enter block"];
|
||||
77 [label="Const: IntegerLiteral(1)"];
|
||||
78 [label="Exit block"];
|
||||
}
|
||||
79 [label="Exit when branch result"];
|
||||
80 [label="Exit when"];
|
||||
35 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
81 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {72 65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {71 69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {75 74};
|
||||
74 -> {80};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {26 24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {29 28};
|
||||
28 -> {34};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
36 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
37 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
38 [label="Enter when branch condition "];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
39 [label="Enter ||"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
40 [label="Enter &&"];
|
||||
41 [label="Access variable R|<local>/b1|"];
|
||||
42 [label="Exit left part of &&"];
|
||||
43 [label="Enter right part of &&"];
|
||||
44 [label="Access variable R|<local>/b2|"];
|
||||
45 [label="Exit &&"];
|
||||
}
|
||||
46 [label="Exit left part of ||"];
|
||||
47 [label="Enter right part of ||"];
|
||||
48 [label="Access variable R|<local>/b3|"];
|
||||
49 [label="Exit ||"];
|
||||
}
|
||||
50 [label="Exit when branch condition"];
|
||||
}
|
||||
51 [label="Synthetic else branch"];
|
||||
52 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
53 [label="Enter block"];
|
||||
54 [label="Const: IntegerLiteral(1)"];
|
||||
55 [label="Exit block"];
|
||||
}
|
||||
56 [label="Exit when branch result"];
|
||||
57 [label="Exit when"];
|
||||
}
|
||||
58 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {45 43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {49 47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {52 51};
|
||||
51 -> {57};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
|
||||
subgraph cluster_16 {
|
||||
color=red
|
||||
59 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
60 [label="Enter when"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
61 [label="Enter when branch condition "];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
62 [label="Enter ||"];
|
||||
63 [label="Access variable R|<local>/b1|"];
|
||||
64 [label="Exit left part of ||"];
|
||||
65 [label="Enter right part of ||"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
66 [label="Enter &&"];
|
||||
67 [label="Access variable R|<local>/b2|"];
|
||||
68 [label="Exit left part of &&"];
|
||||
69 [label="Enter right part of &&"];
|
||||
70 [label="Access variable R|<local>/b3|"];
|
||||
71 [label="Exit &&"];
|
||||
}
|
||||
72 [label="Exit ||"];
|
||||
}
|
||||
73 [label="Exit when branch condition"];
|
||||
}
|
||||
74 [label="Synthetic else branch"];
|
||||
75 [label="Enter when branch result"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
76 [label="Enter block"];
|
||||
77 [label="Const: IntegerLiteral(1)"];
|
||||
78 [label="Exit block"];
|
||||
}
|
||||
79 [label="Exit when branch result"];
|
||||
80 [label="Exit when"];
|
||||
}
|
||||
81 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {72 65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {71 69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {75 74};
|
||||
74 -> {80};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
|
||||
}
|
||||
|
||||
+391
-399
@@ -1,434 +1,426 @@
|
||||
digraph booleanOperatorsWithConsts_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
3 [label="Enter ||"];
|
||||
4 [label="Access variable R|<local>/b|"];
|
||||
5 [label="Exit left part of ||"];
|
||||
6 [label="Enter right part of ||"];
|
||||
7 [label="Const: Boolean(false)"];
|
||||
8 [label="Exit ||"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
3 [label="Enter ||"];
|
||||
4 [label="Access variable R|<local>/b|"];
|
||||
5 [label="Exit left part of ||"];
|
||||
6 [label="Enter right part of ||"];
|
||||
7 [label="Const: Boolean(false)"];
|
||||
8 [label="Exit ||"];
|
||||
}
|
||||
9 [label="Exit when branch condition"];
|
||||
}
|
||||
10 [label="Synthetic else branch"];
|
||||
11 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Const: IntegerLiteral(1)"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit when branch result"];
|
||||
16 [label="Exit when"];
|
||||
}
|
||||
9 [label="Exit when branch condition"];
|
||||
}
|
||||
10 [label="Synthetic else branch"];
|
||||
11 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Const: IntegerLiteral(1)"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit when branch result"];
|
||||
16 [label="Exit when"];
|
||||
17 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
17 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {8 6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {11 10};
|
||||
10 -> {16};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {8 6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {11 10};
|
||||
10 -> {16};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
18 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
19 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
20 [label="Enter when branch condition "];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
21 [label="Enter ||"];
|
||||
22 [label="Const: Boolean(false)"];
|
||||
23 [label="Exit left part of ||"];
|
||||
24 [label="Enter right part of ||"];
|
||||
25 [label="Access variable R|<local>/b|"];
|
||||
26 [label="Stub" style="filled" fillcolor=gray];
|
||||
27 [label="Exit ||"];
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
18 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
19 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
20 [label="Enter when branch condition "];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
21 [label="Enter ||"];
|
||||
22 [label="Const: Boolean(false)"];
|
||||
23 [label="Exit left part of ||"];
|
||||
24 [label="Enter right part of ||"];
|
||||
25 [label="Access variable R|<local>/b|"];
|
||||
26 [label="Exit ||"];
|
||||
}
|
||||
27 [label="Exit when branch condition"];
|
||||
}
|
||||
28 [label="Synthetic else branch"];
|
||||
29 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
30 [label="Enter block"];
|
||||
31 [label="Const: IntegerLiteral(1)"];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit when branch result"];
|
||||
34 [label="Exit when"];
|
||||
}
|
||||
28 [label="Exit when branch condition"];
|
||||
}
|
||||
29 [label="Synthetic else branch"];
|
||||
30 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
31 [label="Enter block"];
|
||||
32 [label="Const: IntegerLiteral(1)"];
|
||||
33 [label="Exit block"];
|
||||
}
|
||||
34 [label="Exit when branch result"];
|
||||
35 [label="Exit when"];
|
||||
35 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
36 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
23 -> {26} [style=dotted];
|
||||
24 -> {25};
|
||||
25 -> {27};
|
||||
26 -> {27} [style=dotted];
|
||||
27 -> {28};
|
||||
28 -> {30 29};
|
||||
29 -> {35};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
23 -> {26} [style=dotted];
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {29 28};
|
||||
28 -> {34};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
37 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
38 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
39 [label="Enter when branch condition "];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
40 [label="Enter ||"];
|
||||
41 [label="Access variable R|<local>/b|"];
|
||||
42 [label="Exit left part of ||"];
|
||||
43 [label="Enter right part of ||"];
|
||||
44 [label="Const: Boolean(true)"];
|
||||
45 [label="Exit ||"];
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
36 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
37 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
38 [label="Enter when branch condition "];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
39 [label="Enter ||"];
|
||||
40 [label="Access variable R|<local>/b|"];
|
||||
41 [label="Exit left part of ||"];
|
||||
42 [label="Enter right part of ||"];
|
||||
43 [label="Const: Boolean(true)"];
|
||||
44 [label="Exit ||"];
|
||||
}
|
||||
45 [label="Exit when branch condition"];
|
||||
}
|
||||
46 [label="Synthetic else branch"];
|
||||
47 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
48 [label="Enter block"];
|
||||
49 [label="Const: IntegerLiteral(1)"];
|
||||
50 [label="Exit block"];
|
||||
}
|
||||
51 [label="Exit when branch result"];
|
||||
52 [label="Exit when"];
|
||||
}
|
||||
46 [label="Exit when branch condition"];
|
||||
}
|
||||
47 [label="Synthetic else branch"];
|
||||
48 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
49 [label="Enter block"];
|
||||
50 [label="Const: IntegerLiteral(1)"];
|
||||
51 [label="Exit block"];
|
||||
}
|
||||
52 [label="Exit when branch result"];
|
||||
53 [label="Exit when"];
|
||||
53 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
54 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {45 43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {48 47};
|
||||
47 -> {53};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {44 42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {47 46};
|
||||
46 -> {52};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
55 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
56 [label="Enter when"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
57 [label="Enter when branch condition "];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
58 [label="Enter ||"];
|
||||
59 [label="Const: Boolean(true)"];
|
||||
60 [label="Exit left part of ||"];
|
||||
61 [label="Stub" style="filled" fillcolor=gray];
|
||||
62 [label="Enter right part of ||" style="filled" fillcolor=gray];
|
||||
63 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
|
||||
64 [label="Exit ||"];
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
54 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
55 [label="Enter when"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
56 [label="Enter when branch condition "];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
57 [label="Enter ||"];
|
||||
58 [label="Const: Boolean(true)"];
|
||||
59 [label="Exit left part of ||"];
|
||||
60 [label="Enter right part of ||" style="filled" fillcolor=gray];
|
||||
61 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
|
||||
62 [label="Exit ||"];
|
||||
}
|
||||
63 [label="Exit when branch condition"];
|
||||
}
|
||||
64 [label="Synthetic else branch"];
|
||||
65 [label="Enter when branch result"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
66 [label="Enter block"];
|
||||
67 [label="Const: IntegerLiteral(1)"];
|
||||
68 [label="Exit block"];
|
||||
}
|
||||
69 [label="Exit when branch result"];
|
||||
70 [label="Exit when"];
|
||||
}
|
||||
65 [label="Exit when branch condition"];
|
||||
}
|
||||
66 [label="Synthetic else branch"];
|
||||
67 [label="Enter when branch result"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
68 [label="Enter block"];
|
||||
69 [label="Const: IntegerLiteral(1)"];
|
||||
70 [label="Exit block"];
|
||||
}
|
||||
71 [label="Exit when branch result"];
|
||||
72 [label="Exit when"];
|
||||
71 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
73 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {64};
|
||||
60 -> {61} [style=dotted];
|
||||
61 -> {62} [style=dotted];
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64} [style=dotted];
|
||||
64 -> {65};
|
||||
65 -> {67 66};
|
||||
66 -> {72};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {62};
|
||||
59 -> {60} [style=dotted];
|
||||
60 -> {61} [style=dotted];
|
||||
61 -> {62} [style=dotted];
|
||||
62 -> {63};
|
||||
63 -> {65 64};
|
||||
64 -> {70};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
74 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
75 [label="Enter when"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
76 [label="Enter when branch condition "];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
77 [label="Enter &&"];
|
||||
78 [label="Access variable R|<local>/b|"];
|
||||
79 [label="Exit left part of &&"];
|
||||
80 [label="Enter right part of &&"];
|
||||
81 [label="Const: Boolean(false)"];
|
||||
82 [label="Exit &&"];
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
72 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
73 [label="Enter when"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
74 [label="Enter when branch condition "];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
75 [label="Enter &&"];
|
||||
76 [label="Access variable R|<local>/b|"];
|
||||
77 [label="Exit left part of &&"];
|
||||
78 [label="Enter right part of &&"];
|
||||
79 [label="Const: Boolean(false)"];
|
||||
80 [label="Exit &&"];
|
||||
}
|
||||
81 [label="Exit when branch condition"];
|
||||
}
|
||||
82 [label="Synthetic else branch"];
|
||||
83 [label="Enter when branch result"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
84 [label="Enter block"];
|
||||
85 [label="Const: IntegerLiteral(1)"];
|
||||
86 [label="Exit block"];
|
||||
}
|
||||
87 [label="Exit when branch result"];
|
||||
88 [label="Exit when"];
|
||||
}
|
||||
83 [label="Exit when branch condition"];
|
||||
}
|
||||
84 [label="Synthetic else branch"];
|
||||
85 [label="Enter when branch result"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
86 [label="Enter block"];
|
||||
87 [label="Const: IntegerLiteral(1)"];
|
||||
88 [label="Exit block"];
|
||||
}
|
||||
89 [label="Exit when branch result"];
|
||||
90 [label="Exit when"];
|
||||
89 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
91 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {82 80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {85 84};
|
||||
84 -> {90};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {80 78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {83 82};
|
||||
82 -> {88};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
|
||||
subgraph cluster_25 {
|
||||
color=red
|
||||
92 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
93 [label="Enter when"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
94 [label="Enter when branch condition "];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
95 [label="Enter &&"];
|
||||
96 [label="Const: Boolean(false)"];
|
||||
97 [label="Exit left part of &&"];
|
||||
98 [label="Stub" style="filled" fillcolor=gray];
|
||||
99 [label="Enter right part of &&" style="filled" fillcolor=gray];
|
||||
100 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
|
||||
101 [label="Exit &&"];
|
||||
subgraph cluster_25 {
|
||||
color=red
|
||||
90 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
91 [label="Enter when"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
92 [label="Enter when branch condition "];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
93 [label="Enter &&"];
|
||||
94 [label="Const: Boolean(false)"];
|
||||
95 [label="Exit left part of &&"];
|
||||
96 [label="Enter right part of &&" style="filled" fillcolor=gray];
|
||||
97 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
|
||||
98 [label="Exit &&"];
|
||||
}
|
||||
99 [label="Exit when branch condition"];
|
||||
}
|
||||
100 [label="Synthetic else branch"];
|
||||
101 [label="Enter when branch result"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
102 [label="Enter block"];
|
||||
103 [label="Const: IntegerLiteral(1)"];
|
||||
104 [label="Exit block"];
|
||||
}
|
||||
105 [label="Exit when branch result"];
|
||||
106 [label="Exit when"];
|
||||
}
|
||||
102 [label="Exit when branch condition"];
|
||||
}
|
||||
103 [label="Synthetic else branch"];
|
||||
104 [label="Enter when branch result"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
105 [label="Enter block"];
|
||||
106 [label="Const: IntegerLiteral(1)"];
|
||||
107 [label="Exit block"];
|
||||
}
|
||||
108 [label="Exit when branch result"];
|
||||
109 [label="Exit when"];
|
||||
107 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
110 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {101};
|
||||
97 -> {98} [style=dotted];
|
||||
98 -> {99} [style=dotted];
|
||||
99 -> {100} [style=dotted];
|
||||
100 -> {101} [style=dotted];
|
||||
101 -> {102};
|
||||
102 -> {104 103};
|
||||
103 -> {109};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {98};
|
||||
95 -> {96} [style=dotted];
|
||||
96 -> {97} [style=dotted];
|
||||
97 -> {98} [style=dotted];
|
||||
98 -> {99};
|
||||
99 -> {101 100};
|
||||
100 -> {106};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
|
||||
subgraph cluster_30 {
|
||||
color=red
|
||||
111 [label="Enter function test_7" style="filled" fillcolor=red];
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
112 [label="Enter when"];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
113 [label="Enter when branch condition "];
|
||||
subgraph cluster_33 {
|
||||
color=blue
|
||||
114 [label="Enter &&"];
|
||||
115 [label="Access variable R|<local>/b|"];
|
||||
116 [label="Exit left part of &&"];
|
||||
117 [label="Enter right part of &&"];
|
||||
118 [label="Const: Boolean(true)"];
|
||||
119 [label="Exit &&"];
|
||||
subgraph cluster_30 {
|
||||
color=red
|
||||
108 [label="Enter function test_7" style="filled" fillcolor=red];
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
109 [label="Enter when"];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
110 [label="Enter when branch condition "];
|
||||
subgraph cluster_33 {
|
||||
color=blue
|
||||
111 [label="Enter &&"];
|
||||
112 [label="Access variable R|<local>/b|"];
|
||||
113 [label="Exit left part of &&"];
|
||||
114 [label="Enter right part of &&"];
|
||||
115 [label="Const: Boolean(true)"];
|
||||
116 [label="Exit &&"];
|
||||
}
|
||||
117 [label="Exit when branch condition"];
|
||||
}
|
||||
118 [label="Synthetic else branch"];
|
||||
119 [label="Enter when branch result"];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
120 [label="Enter block"];
|
||||
121 [label="Const: IntegerLiteral(1)"];
|
||||
122 [label="Exit block"];
|
||||
}
|
||||
123 [label="Exit when branch result"];
|
||||
124 [label="Exit when"];
|
||||
}
|
||||
120 [label="Exit when branch condition"];
|
||||
}
|
||||
121 [label="Synthetic else branch"];
|
||||
122 [label="Enter when branch result"];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
123 [label="Enter block"];
|
||||
124 [label="Const: IntegerLiteral(1)"];
|
||||
125 [label="Exit block"];
|
||||
}
|
||||
126 [label="Exit when branch result"];
|
||||
127 [label="Exit when"];
|
||||
125 [label="Exit function test_7" style="filled" fillcolor=red];
|
||||
}
|
||||
128 [label="Exit function test_7" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {119 117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {122 121};
|
||||
121 -> {127};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {116 114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {119 118};
|
||||
118 -> {124};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
|
||||
subgraph cluster_35 {
|
||||
color=red
|
||||
129 [label="Enter function test_8" style="filled" fillcolor=red];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
130 [label="Enter when"];
|
||||
subgraph cluster_37 {
|
||||
color=blue
|
||||
131 [label="Enter when branch condition "];
|
||||
subgraph cluster_38 {
|
||||
color=blue
|
||||
132 [label="Enter &&"];
|
||||
133 [label="Const: Boolean(true)"];
|
||||
134 [label="Exit left part of &&"];
|
||||
135 [label="Enter right part of &&"];
|
||||
136 [label="Access variable R|<local>/b|"];
|
||||
137 [label="Stub" style="filled" fillcolor=gray];
|
||||
138 [label="Exit &&"];
|
||||
subgraph cluster_35 {
|
||||
color=red
|
||||
126 [label="Enter function test_8" style="filled" fillcolor=red];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
127 [label="Enter when"];
|
||||
subgraph cluster_37 {
|
||||
color=blue
|
||||
128 [label="Enter when branch condition "];
|
||||
subgraph cluster_38 {
|
||||
color=blue
|
||||
129 [label="Enter &&"];
|
||||
130 [label="Const: Boolean(true)"];
|
||||
131 [label="Exit left part of &&"];
|
||||
132 [label="Enter right part of &&"];
|
||||
133 [label="Access variable R|<local>/b|"];
|
||||
134 [label="Exit &&"];
|
||||
}
|
||||
135 [label="Exit when branch condition"];
|
||||
}
|
||||
136 [label="Synthetic else branch"];
|
||||
137 [label="Enter when branch result"];
|
||||
subgraph cluster_39 {
|
||||
color=blue
|
||||
138 [label="Enter block"];
|
||||
139 [label="Const: IntegerLiteral(1)"];
|
||||
140 [label="Exit block"];
|
||||
}
|
||||
141 [label="Exit when branch result"];
|
||||
142 [label="Exit when"];
|
||||
}
|
||||
139 [label="Exit when branch condition"];
|
||||
}
|
||||
140 [label="Synthetic else branch"];
|
||||
141 [label="Enter when branch result"];
|
||||
subgraph cluster_39 {
|
||||
color=blue
|
||||
142 [label="Enter block"];
|
||||
143 [label="Const: IntegerLiteral(1)"];
|
||||
144 [label="Exit block"];
|
||||
}
|
||||
145 [label="Exit when branch result"];
|
||||
146 [label="Exit when"];
|
||||
143 [label="Exit function test_8" style="filled" fillcolor=red];
|
||||
}
|
||||
147 [label="Exit function test_8" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {132};
|
||||
132 -> {133};
|
||||
133 -> {134};
|
||||
134 -> {135};
|
||||
134 -> {137} [style=dotted];
|
||||
135 -> {136};
|
||||
136 -> {138};
|
||||
137 -> {138} [style=dotted];
|
||||
138 -> {139};
|
||||
139 -> {141 140};
|
||||
140 -> {146};
|
||||
141 -> {142};
|
||||
142 -> {143};
|
||||
143 -> {144};
|
||||
144 -> {145};
|
||||
145 -> {146};
|
||||
146 -> {147};
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {132};
|
||||
131 -> {134} [style=dotted];
|
||||
132 -> {133};
|
||||
133 -> {134};
|
||||
134 -> {135};
|
||||
135 -> {137 136};
|
||||
136 -> {142};
|
||||
137 -> {138};
|
||||
138 -> {139};
|
||||
139 -> {140};
|
||||
140 -> {141};
|
||||
141 -> {142};
|
||||
142 -> {143};
|
||||
|
||||
}
|
||||
|
||||
+388
-388
@@ -1,252 +1,252 @@
|
||||
digraph complex_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function fetchPluginReleaseDate" style="filled" fillcolor=red];
|
||||
1 [label="Const: String(https://plugins.jetbrains.com/api/plugins/)"];
|
||||
2 [label="Access variable R|<local>/pluginId|"];
|
||||
3 [label="Access variable <Unresolved name: idString>#"];
|
||||
4 [label="Function call: R|<local>/pluginId|.<Unresolved name: idString>#.R|kotlin/toString|()"];
|
||||
5 [label="Const: String(/updates?version=)"];
|
||||
6 [label="Access variable R|<local>/version|"];
|
||||
7 [label="Function call: R|<local>/version|.R|kotlin/Any.toString|()"];
|
||||
8 [label="Variable declaration: lval url: R|kotlin/String|"];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
9 [label="Try expression enter"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
10 [label="Try main block enter"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
12 [label="Access variable <Unresolved name: HttpRequests>#"];
|
||||
13 [label="Access variable R|<local>/url|"];
|
||||
14 [label="Access variable R|<local>/url|"];
|
||||
15 [label="Access variable R|<local>/url|"];
|
||||
16 [label="Function call: <Unresolved name: HttpRequests>#.<Unresolved name: request>#(R|<local>/url|)"];
|
||||
17 [label="Function call: <Unresolved name: HttpRequests>#.<Unresolved name: request>#(R|<local>/url|).<Unresolved name: connect>#(<L> = connect@fun <anonymous>(): R|ERROR CLASS: Unresolved name: fromJson| {
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function fetchPluginReleaseDate" style="filled" fillcolor=red];
|
||||
1 [label="Const: String(https://plugins.jetbrains.com/api/plugins/)"];
|
||||
2 [label="Access variable R|<local>/pluginId|"];
|
||||
3 [label="Access variable <Unresolved name: idString>#"];
|
||||
4 [label="Function call: R|<local>/pluginId|.<Unresolved name: idString>#.R|kotlin/toString|()"];
|
||||
5 [label="Const: String(/updates?version=)"];
|
||||
6 [label="Access variable R|<local>/version|"];
|
||||
7 [label="Function call: R|<local>/version|.R|kotlin/Any.toString|()"];
|
||||
8 [label="Variable declaration: lval url: R|kotlin/String|"];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
9 [label="Try expression enter"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
10 [label="Try main block enter"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
12 [label="Access variable <Unresolved name: HttpRequests>#"];
|
||||
13 [label="Access variable R|<local>/url|"];
|
||||
14 [label="Access variable R|<local>/url|"];
|
||||
15 [label="Access variable R|<local>/url|"];
|
||||
16 [label="Function call: <Unresolved name: HttpRequests>#.<Unresolved name: request>#(R|<local>/url|)"];
|
||||
17 [label="Function call: <Unresolved name: HttpRequests>#.<Unresolved name: request>#(R|<local>/url|).<Unresolved name: connect>#(<L> = connect@fun <anonymous>(): R|ERROR CLASS: Unresolved name: fromJson| {
|
||||
<Unresolved name: GsonBuilder>#().<Unresolved name: create>#().<Unresolved name: fromJson>#(<Unresolved name: it>#.<Unresolved name: inputStream>#.<Ambiguity: reader, [kotlin/io/reader, kotlin/io/reader, kotlin/io/reader]>#(), <getClass>(Q|kotlin/Array|).R|kotlin/jvm/java|)
|
||||
}
|
||||
)"];
|
||||
18 [label="Exit block"];
|
||||
}
|
||||
19 [label="Try main block exit"];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
20 [label="Catch enter"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Const: String(Can't parse json response)"];
|
||||
23 [label="Access variable R|<local>/syntaxException|"];
|
||||
24 [label="Access variable R|<local>/syntaxException|"];
|
||||
25 [label="Access variable R|<local>/syntaxException|"];
|
||||
26 [label="Function call: <Unresolved name: ResponseParseException>#(String(Can't parse json response), R|<local>/syntaxException|)"];
|
||||
27 [label="Throw: throw <Unresolved name: ResponseParseException>#(String(Can't parse json response), R|<local>/syntaxException|)"];
|
||||
28 [label="Stub" style="filled" fillcolor=gray];
|
||||
29 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
30 [label="Catch exit" style="filled" fillcolor=gray];
|
||||
}
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
31 [label="Catch enter"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
32 [label="Enter block"];
|
||||
33 [label="Access variable R|<local>/ioException|"];
|
||||
34 [label="Access variable R|<local>/ioException|"];
|
||||
35 [label="Access variable R|<local>/ioException|"];
|
||||
36 [label="Function call: <Unresolved name: IOException>#(R|<local>/ioException|)"];
|
||||
37 [label="Throw: throw <Unresolved name: IOException>#(R|<local>/ioException|)"];
|
||||
38 [label="Stub" style="filled" fillcolor=gray];
|
||||
39 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
40 [label="Catch exit" style="filled" fillcolor=gray];
|
||||
}
|
||||
41 [label="Try expression exit"];
|
||||
}
|
||||
42 [label="Variable declaration: lval pluginDTOs: R|kotlin/Array<ERROR CLASS: Symbol not found, for `PluginDTO`>|"];
|
||||
43 [label="Exit function fetchPluginReleaseDate" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
44 [label="Enter annotation"];
|
||||
45 [label="Access variable <Unresolved name: IOException>#"];
|
||||
46 [label="Access variable <Unresolved name: ResponseParseException>#"];
|
||||
47 [label="Exit annotation"];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {43 31 20 11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {41};
|
||||
20 -> {43 21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {43};
|
||||
27 -> {28} [style=dotted];
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
30 -> {41} [style=dotted];
|
||||
31 -> {43 32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {43};
|
||||
37 -> {38} [style=dotted];
|
||||
38 -> {39} [style=dotted];
|
||||
39 -> {40} [style=dotted];
|
||||
40 -> {41} [style=dotted];
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
48 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
49 [label="Function call: <Unresolved name: GsonBuilder>#()"];
|
||||
50 [label="Function call: <Unresolved name: GsonBuilder>#().<Unresolved name: create>#()"];
|
||||
51 [label="Access variable <Unresolved name: it>#"];
|
||||
52 [label="Access variable <Unresolved name: inputStream>#"];
|
||||
53 [label="Function call: <Unresolved name: it>#.<Unresolved name: inputStream>#.<Ambiguity: reader, [kotlin/io/reader, kotlin/io/reader, kotlin/io/reader]>#()"];
|
||||
54 [label="Access variable R|kotlin/jvm/java|"];
|
||||
55 [label="Access variable R|kotlin/jvm/java|"];
|
||||
56 [label="Access variable R|kotlin/jvm/java|"];
|
||||
57 [label="Function call: <Unresolved name: GsonBuilder>#().<Unresolved name: create>#().<Unresolved name: fromJson>#(<Unresolved name: it>#.<Unresolved name: inputStream>#.<Ambiguity: reader, [kotlin/io/reader, kotlin/io/reader, kotlin/io/reader]>#(), <getClass>(Q|kotlin/Array|).R|kotlin/jvm/java|)"];
|
||||
58 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
59 [label="Enter function close" style="filled" fillcolor=red];
|
||||
60 [label="Exit function close" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
59 -> {60};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
61 [label="Enter function closeFinally" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
62 [label="Enter when"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
63 [label="Enter when branch condition "];
|
||||
64 [label="Access variable this@R|/closeFinally|"];
|
||||
65 [label="Const: Null(null)"];
|
||||
66 [label="Operator =="];
|
||||
67 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
68 [label="Enter when branch condition "];
|
||||
69 [label="Access variable R|<local>/cause|"];
|
||||
70 [label="Const: Null(null)"];
|
||||
71 [label="Operator =="];
|
||||
72 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
73 [label="Enter when branch condition else"];
|
||||
74 [label="Exit when branch condition"];
|
||||
}
|
||||
75 [label="Enter when branch result"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
76 [label="Enter block"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
77 [label="Try expression enter"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
78 [label="Try main block enter"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
79 [label="Enter block"];
|
||||
80 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
|
||||
81 [label="Exit block"];
|
||||
18 [label="Exit block"];
|
||||
}
|
||||
19 [label="Try main block exit"];
|
||||
}
|
||||
82 [label="Try main block exit"];
|
||||
}
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
83 [label="Catch enter"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
84 [label="Enter block"];
|
||||
85 [label="Access variable R|<local>/cause|"];
|
||||
86 [label="Access variable R|<local>/closeException|"];
|
||||
87 [label="Function call: R|<local>/cause|.R|kotlin/addSuppressed|(R|<local>/closeException|)"];
|
||||
88 [label="Exit block"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
20 [label="Catch enter"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Const: String(Can't parse json response)"];
|
||||
23 [label="Access variable R|<local>/syntaxException|"];
|
||||
24 [label="Access variable R|<local>/syntaxException|"];
|
||||
25 [label="Access variable R|<local>/syntaxException|"];
|
||||
26 [label="Function call: <Unresolved name: ResponseParseException>#(String(Can't parse json response), R|<local>/syntaxException|)"];
|
||||
27 [label="Throw: throw <Unresolved name: ResponseParseException>#(String(Can't parse json response), R|<local>/syntaxException|)"];
|
||||
28 [label="Stub" style="filled" fillcolor=gray];
|
||||
29 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
30 [label="Catch exit" style="filled" fillcolor=gray];
|
||||
}
|
||||
89 [label="Catch exit"];
|
||||
}
|
||||
90 [label="Try expression exit"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
31 [label="Catch enter"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
32 [label="Enter block"];
|
||||
33 [label="Access variable R|<local>/ioException|"];
|
||||
34 [label="Access variable R|<local>/ioException|"];
|
||||
35 [label="Access variable R|<local>/ioException|"];
|
||||
36 [label="Function call: <Unresolved name: IOException>#(R|<local>/ioException|)"];
|
||||
37 [label="Throw: throw <Unresolved name: IOException>#(R|<local>/ioException|)"];
|
||||
38 [label="Stub" style="filled" fillcolor=gray];
|
||||
39 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
40 [label="Catch exit" style="filled" fillcolor=gray];
|
||||
}
|
||||
41 [label="Try expression exit"];
|
||||
}
|
||||
91 [label="Exit block"];
|
||||
}
|
||||
92 [label="Exit when branch result"];
|
||||
93 [label="Enter when branch result"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
94 [label="Enter block"];
|
||||
95 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
|
||||
96 [label="Exit block"];
|
||||
}
|
||||
97 [label="Exit when branch result"];
|
||||
98 [label="Enter when branch result"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
99 [label="Enter block"];
|
||||
100 [label="Exit block"];
|
||||
}
|
||||
101 [label="Exit when branch result"];
|
||||
102 [label="Exit when"];
|
||||
42 [label="Variable declaration: lval pluginDTOs: R|kotlin/Array<ERROR CLASS: Symbol not found, for `PluginDTO`>|"];
|
||||
43 [label="Exit function fetchPluginReleaseDate" style="filled" fillcolor=red];
|
||||
}
|
||||
103 [label="Jump: ^closeFinally when () {
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
44 [label="Enter annotation"];
|
||||
45 [label="Access variable <Unresolved name: IOException>#"];
|
||||
46 [label="Access variable <Unresolved name: ResponseParseException>#"];
|
||||
47 [label="Exit annotation"];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {43 31 20 11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {41};
|
||||
20 -> {43 21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {43};
|
||||
27 -> {28} [style=dotted];
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
30 -> {41} [style=dotted];
|
||||
31 -> {43 32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {43};
|
||||
37 -> {38} [style=dotted];
|
||||
38 -> {39} [style=dotted];
|
||||
39 -> {40} [style=dotted];
|
||||
40 -> {41} [style=dotted];
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
48 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
49 [label="Function call: <Unresolved name: GsonBuilder>#()"];
|
||||
50 [label="Function call: <Unresolved name: GsonBuilder>#().<Unresolved name: create>#()"];
|
||||
51 [label="Access variable <Unresolved name: it>#"];
|
||||
52 [label="Access variable <Unresolved name: inputStream>#"];
|
||||
53 [label="Function call: <Unresolved name: it>#.<Unresolved name: inputStream>#.<Ambiguity: reader, [kotlin/io/reader, kotlin/io/reader, kotlin/io/reader]>#()"];
|
||||
54 [label="Access variable R|kotlin/jvm/java|"];
|
||||
55 [label="Access variable R|kotlin/jvm/java|"];
|
||||
56 [label="Access variable R|kotlin/jvm/java|"];
|
||||
57 [label="Function call: <Unresolved name: GsonBuilder>#().<Unresolved name: create>#().<Unresolved name: fromJson>#(<Unresolved name: it>#.<Unresolved name: inputStream>#.<Ambiguity: reader, [kotlin/io/reader, kotlin/io/reader, kotlin/io/reader]>#(), <getClass>(Q|kotlin/Array|).R|kotlin/jvm/java|)"];
|
||||
58 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
59 [label="Enter function close" style="filled" fillcolor=red];
|
||||
60 [label="Exit function close" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
59 -> {60};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
61 [label="Enter function closeFinally" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
62 [label="Enter when"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
63 [label="Enter when branch condition "];
|
||||
64 [label="Access variable this@R|/closeFinally|"];
|
||||
65 [label="Const: Null(null)"];
|
||||
66 [label="Operator =="];
|
||||
67 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
68 [label="Enter when branch condition "];
|
||||
69 [label="Access variable R|<local>/cause|"];
|
||||
70 [label="Const: Null(null)"];
|
||||
71 [label="Operator =="];
|
||||
72 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
73 [label="Enter when branch condition else"];
|
||||
74 [label="Exit when branch condition"];
|
||||
}
|
||||
75 [label="Enter when branch result"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
76 [label="Enter block"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
77 [label="Try expression enter"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
78 [label="Try main block enter"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
79 [label="Enter block"];
|
||||
80 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
|
||||
81 [label="Exit block"];
|
||||
}
|
||||
82 [label="Try main block exit"];
|
||||
}
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
83 [label="Catch enter"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
84 [label="Enter block"];
|
||||
85 [label="Access variable R|<local>/cause|"];
|
||||
86 [label="Access variable R|<local>/closeException|"];
|
||||
87 [label="Function call: R|<local>/cause|.R|kotlin/addSuppressed|(R|<local>/closeException|)"];
|
||||
88 [label="Exit block"];
|
||||
}
|
||||
89 [label="Catch exit"];
|
||||
}
|
||||
90 [label="Try expression exit"];
|
||||
}
|
||||
91 [label="Exit block"];
|
||||
}
|
||||
92 [label="Exit when branch result"];
|
||||
93 [label="Enter when branch result"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
94 [label="Enter block"];
|
||||
95 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
|
||||
96 [label="Exit block"];
|
||||
}
|
||||
97 [label="Exit when branch result"];
|
||||
98 [label="Enter when branch result"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
99 [label="Enter block"];
|
||||
100 [label="Exit block"];
|
||||
}
|
||||
101 [label="Exit when branch result"];
|
||||
102 [label="Exit when"];
|
||||
}
|
||||
103 [label="Jump: ^closeFinally when () {
|
||||
==(this@R|/closeFinally|, Null(null)) -> {
|
||||
}
|
||||
==(R|<local>/cause|, Null(null)) -> {
|
||||
@@ -263,155 +263,155 @@ digraph complex_kt {
|
||||
}
|
||||
}
|
||||
"];
|
||||
104 [label="Stub" style="filled" fillcolor=gray];
|
||||
105 [label="Exit function closeFinally" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {98 68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {93 73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {105 83 79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {90};
|
||||
83 -> {105 84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {102};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {102};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {105};
|
||||
103 -> {104} [style=dotted];
|
||||
104 -> {105} [style=dotted];
|
||||
|
||||
subgraph cluster_24 {
|
||||
color=red
|
||||
106 [label="Enter function firstIsInstanceOrNull" style="filled" fillcolor=red];
|
||||
107 [label="Access variable this@R|/firstIsInstanceOrNull|"];
|
||||
108 [label="Variable declaration: lval <range>: R|kotlin/sequences/Sequence<*>|"];
|
||||
109 [label="Access variable R|<local>/<range>|"];
|
||||
110 [label="Function call: R|<local>/<range>|.R|FakeOverride<kotlin/sequences/Sequence.iterator: R|kotlin/collections/Iterator<kotlin/Any?>|>|()"];
|
||||
111 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Any?>|"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
112 [label="Enter while loop"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
113 [label="Enter loop condition"];
|
||||
114 [label="Access variable R|<local>/<iterator>|"];
|
||||
115 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
|
||||
116 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
117 [label="Enter loop block"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
118 [label="Enter block"];
|
||||
119 [label="Access variable R|<local>/<iterator>|"];
|
||||
120 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Any?|>|()"];
|
||||
121 [label="Variable declaration: lval element: R|kotlin/Any?|"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
122 [label="Enter when"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
123 [label="Enter when branch condition "];
|
||||
124 [label="Access variable R|<local>/element|"];
|
||||
125 [label="Type operator: element is T"];
|
||||
126 [label="Exit when branch condition"];
|
||||
}
|
||||
127 [label="Synthetic else branch"];
|
||||
128 [label="Enter when branch result"];
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
129 [label="Enter block"];
|
||||
130 [label="Access variable R|<local>/element|"];
|
||||
131 [label="Jump: ^firstIsInstanceOrNull R|<local>/element|"];
|
||||
132 [label="Stub" style="filled" fillcolor=gray];
|
||||
133 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
134 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
135 [label="Exit when"];
|
||||
}
|
||||
136 [label="Exit block"];
|
||||
}
|
||||
137 [label="Exit loop block"];
|
||||
}
|
||||
138 [label="Exit whileloop"];
|
||||
104 [label="Stub" style="filled" fillcolor=gray];
|
||||
105 [label="Exit function closeFinally" style="filled" fillcolor=red];
|
||||
}
|
||||
139 [label="Const: Null(null)"];
|
||||
140 [label="Jump: ^firstIsInstanceOrNull Null(null)"];
|
||||
141 [label="Stub" style="filled" fillcolor=gray];
|
||||
142 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {138 117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {128 127};
|
||||
127 -> {135};
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {142};
|
||||
131 -> {132} [style=dotted];
|
||||
132 -> {133} [style=dotted];
|
||||
133 -> {134} [style=dotted];
|
||||
134 -> {135} [style=dotted];
|
||||
135 -> {136};
|
||||
136 -> {137};
|
||||
137 -> {113};
|
||||
138 -> {139};
|
||||
139 -> {140};
|
||||
140 -> {142};
|
||||
140 -> {141} [style=dotted];
|
||||
141 -> {142} [style=dotted];
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {98 68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {93 73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {105 83 79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {90};
|
||||
83 -> {105 84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {102};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {102};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {105};
|
||||
103 -> {104} [style=dotted];
|
||||
104 -> {105} [style=dotted];
|
||||
|
||||
subgraph cluster_24 {
|
||||
color=red
|
||||
106 [label="Enter function firstIsInstanceOrNull" style="filled" fillcolor=red];
|
||||
107 [label="Access variable this@R|/firstIsInstanceOrNull|"];
|
||||
108 [label="Variable declaration: lval <range>: R|kotlin/sequences/Sequence<*>|"];
|
||||
109 [label="Access variable R|<local>/<range>|"];
|
||||
110 [label="Function call: R|<local>/<range>|.R|FakeOverride<kotlin/sequences/Sequence.iterator: R|kotlin/collections/Iterator<kotlin/Any?>|>|()"];
|
||||
111 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Any?>|"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
112 [label="Enter while loop"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
113 [label="Enter loop condition"];
|
||||
114 [label="Access variable R|<local>/<iterator>|"];
|
||||
115 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
|
||||
116 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
117 [label="Enter loop block"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
118 [label="Enter block"];
|
||||
119 [label="Access variable R|<local>/<iterator>|"];
|
||||
120 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Any?|>|()"];
|
||||
121 [label="Variable declaration: lval element: R|kotlin/Any?|"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
122 [label="Enter when"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
123 [label="Enter when branch condition "];
|
||||
124 [label="Access variable R|<local>/element|"];
|
||||
125 [label="Type operator: element is T"];
|
||||
126 [label="Exit when branch condition"];
|
||||
}
|
||||
127 [label="Synthetic else branch"];
|
||||
128 [label="Enter when branch result"];
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
129 [label="Enter block"];
|
||||
130 [label="Access variable R|<local>/element|"];
|
||||
131 [label="Jump: ^firstIsInstanceOrNull R|<local>/element|"];
|
||||
132 [label="Stub" style="filled" fillcolor=gray];
|
||||
133 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
134 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
135 [label="Exit when"];
|
||||
}
|
||||
136 [label="Exit block"];
|
||||
}
|
||||
137 [label="Exit loop block"];
|
||||
}
|
||||
138 [label="Exit whileloop"];
|
||||
}
|
||||
139 [label="Const: Null(null)"];
|
||||
140 [label="Jump: ^firstIsInstanceOrNull Null(null)"];
|
||||
141 [label="Stub" style="filled" fillcolor=gray];
|
||||
142 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {138 117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {128 127};
|
||||
127 -> {135};
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {142};
|
||||
131 -> {132} [style=dotted];
|
||||
132 -> {133} [style=dotted];
|
||||
133 -> {134} [style=dotted];
|
||||
134 -> {135} [style=dotted];
|
||||
135 -> {136};
|
||||
136 -> {137};
|
||||
137 -> {113};
|
||||
138 -> {139};
|
||||
139 -> {140};
|
||||
140 -> {142};
|
||||
140 -> {141} [style=dotted];
|
||||
141 -> {142} [style=dotted];
|
||||
|
||||
}
|
||||
|
||||
+51
-51
@@ -1,63 +1,63 @@
|
||||
digraph emptyWhen_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Enter when"];
|
||||
2 [label="Synthetic else branch"];
|
||||
3 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter when"];
|
||||
2 [label="Synthetic else branch"];
|
||||
3 [label="Exit when"];
|
||||
}
|
||||
4 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
4 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
5 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter when"];
|
||||
7 [label="Access variable R|<local>/x|"];
|
||||
8 [label="Synthetic else branch"];
|
||||
9 [label="Exit when"];
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
5 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter when"];
|
||||
7 [label="Access variable R|<local>/x|"];
|
||||
8 [label="Synthetic else branch"];
|
||||
9 [label="Exit when"];
|
||||
}
|
||||
10 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
10 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
11 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
12 [label="Enter when"];
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
15 [label="Synthetic else branch"];
|
||||
16 [label="Exit when"];
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
11 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
12 [label="Enter when"];
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
15 [label="Synthetic else branch"];
|
||||
16 [label="Exit when"];
|
||||
}
|
||||
17 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
17 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,22 +1,22 @@
|
||||
digraph initBlock_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
3 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
3 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
2 -> {3};
|
||||
|
||||
}
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
digraph initBlockAndInPlaceLambda_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
1 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
1 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter property" style="filled" fillcolor=red];
|
||||
3 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter property" style="filled" fillcolor=red];
|
||||
3 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
5 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
5 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
4 -> {5};
|
||||
|
||||
}
|
||||
|
||||
+343
-347
@@ -1,363 +1,359 @@
|
||||
digraph jumps_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Const: Null(null)"];
|
||||
5 [label="Operator =="];
|
||||
6 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
7 [label="Enter when branch condition else"];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
9 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
10 [label="Enter block"];
|
||||
11 [label="Access variable R|<local>/x|"];
|
||||
12 [label="Exit block"];
|
||||
}
|
||||
13 [label="Exit when branch result"];
|
||||
14 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
15 [label="Enter block"];
|
||||
16 [label="Function call: R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
|
||||
17 [label="Throw: throw R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
|
||||
18 [label="Stub" style="filled" fillcolor=gray];
|
||||
19 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
20 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
21 [label="Exit when"];
|
||||
}
|
||||
22 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
23 [label="Access variable R|<local>/y|"];
|
||||
24 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
|
||||
25 [label="Access variable R|<local>/x|"];
|
||||
26 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
27 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {14 7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {21};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {27};
|
||||
17 -> {18} [style=dotted];
|
||||
18 -> {19} [style=dotted];
|
||||
19 -> {20} [style=dotted];
|
||||
20 -> {21} [style=dotted];
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
28 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
29 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
30 [label="Enter when branch condition "];
|
||||
31 [label="Access variable R|<local>/x|"];
|
||||
32 [label="Const: Null(null)"];
|
||||
33 [label="Operator =="];
|
||||
34 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
35 [label="Enter when branch condition else"];
|
||||
36 [label="Exit when branch condition"];
|
||||
}
|
||||
37 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
38 [label="Enter block"];
|
||||
39 [label="Access variable R|<local>/x|"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
41 [label="Exit when branch result"];
|
||||
42 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
43 [label="Enter block"];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Exit block"];
|
||||
}
|
||||
46 [label="Exit when branch result"];
|
||||
47 [label="Exit when"];
|
||||
}
|
||||
48 [label="Variable declaration: lval y: R|kotlin/Int?|"];
|
||||
49 [label="Access variable R|<local>/y|"];
|
||||
50 [label="Function call: R|<local>/y|.<Ambiguity: inc, [kotlin/inc, kotlin/inc]>#()"];
|
||||
51 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {42 35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {47};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
52 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
53 [label="Enter while loop"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
54 [label="Enter loop condition"];
|
||||
55 [label="Const: Boolean(true)"];
|
||||
56 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
57 [label="Enter loop block"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Access variable R|<local>/x|"];
|
||||
60 [label="Type operator: x as Int"];
|
||||
61 [label="Jump: break@@@[Boolean(true)] "];
|
||||
62 [label="Stub" style="filled" fillcolor=gray];
|
||||
63 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
64 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
65 [label="Stub" style="filled" fillcolor=gray];
|
||||
66 [label="Exit whileloop"];
|
||||
}
|
||||
67 [label="Access variable R|<local>/x|"];
|
||||
68 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
69 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
56 -> {65} [style=dotted];
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {66};
|
||||
61 -> {62} [style=dotted];
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64} [style=dotted];
|
||||
64 -> {54} [style=dotted];
|
||||
65 -> {66} [style=dotted];
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
70 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
71 [label="Enter do-while loop"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
72 [label="Enter loop block"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
73 [label="Enter block"];
|
||||
74 [label="Access variable R|<local>/x|"];
|
||||
75 [label="Type operator: x as Int"];
|
||||
76 [label="Jump: break@@@[Boolean(true)] "];
|
||||
77 [label="Stub" style="filled" fillcolor=gray];
|
||||
78 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
79 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
80 [label="Enter loop condition" style="filled" fillcolor=gray];
|
||||
81 [label="Const: Boolean(true)" style="filled" fillcolor=gray];
|
||||
82 [label="Exit loop condition" style="filled" fillcolor=gray];
|
||||
}
|
||||
83 [label="Stub" style="filled" fillcolor=gray];
|
||||
84 [label="Exit do-whileloop"];
|
||||
}
|
||||
85 [label="Access variable R|<local>/x|"];
|
||||
86 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
87 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {84};
|
||||
76 -> {77} [style=dotted];
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82} [style=dotted];
|
||||
82 -> {72 83} [style=dotted];
|
||||
83 -> {84} [style=dotted];
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
|
||||
subgraph cluster_22 {
|
||||
color=red
|
||||
88 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
89 [label="Enter while loop"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
90 [label="Enter loop condition"];
|
||||
91 [label="Access variable R|<local>/b|"];
|
||||
92 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
93 [label="Enter loop block"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
94 [label="Enter block"];
|
||||
subgraph cluster_27 {
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
95 [label="Enter when"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
96 [label="Enter when branch condition "];
|
||||
97 [label="Access variable R|<local>/b|"];
|
||||
98 [label="Exit when branch condition"];
|
||||
1 [label="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Const: Null(null)"];
|
||||
5 [label="Operator =="];
|
||||
6 [label="Exit when branch condition"];
|
||||
}
|
||||
99 [label="Synthetic else branch"];
|
||||
100 [label="Enter when branch result"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
101 [label="Enter block"];
|
||||
102 [label="Jump: continue@@@[R|<local>/b|] "];
|
||||
103 [label="Stub" style="filled" fillcolor=gray];
|
||||
104 [label="Exit block" style="filled" fillcolor=gray];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
7 [label="Enter when branch condition else"];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
105 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
106 [label="Exit when"];
|
||||
}
|
||||
107 [label="Exit block"];
|
||||
9 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
10 [label="Enter block"];
|
||||
11 [label="Access variable R|<local>/x|"];
|
||||
12 [label="Exit block"];
|
||||
}
|
||||
13 [label="Exit when branch result"];
|
||||
14 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
15 [label="Enter block"];
|
||||
16 [label="Function call: R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
|
||||
17 [label="Throw: throw R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
|
||||
18 [label="Stub" style="filled" fillcolor=gray];
|
||||
19 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
20 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
21 [label="Exit when"];
|
||||
}
|
||||
108 [label="Exit loop block"];
|
||||
}
|
||||
109 [label="Exit whileloop"];
|
||||
22 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
23 [label="Access variable R|<local>/y|"];
|
||||
24 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
|
||||
25 [label="Access variable R|<local>/x|"];
|
||||
26 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
27 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
110 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {109 93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {100 99};
|
||||
99 -> {106};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {89};
|
||||
102 -> {103} [style=dotted];
|
||||
103 -> {104} [style=dotted];
|
||||
104 -> {105} [style=dotted];
|
||||
105 -> {106} [style=dotted];
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {90};
|
||||
109 -> {110};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {14 7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {21};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {27};
|
||||
17 -> {18} [style=dotted];
|
||||
18 -> {19} [style=dotted];
|
||||
19 -> {20} [style=dotted];
|
||||
20 -> {21} [style=dotted];
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
|
||||
subgraph cluster_30 {
|
||||
color=red
|
||||
111 [label="Enter function run" style="filled" fillcolor=red];
|
||||
112 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
113 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
|
||||
subgraph cluster_31 {
|
||||
color=red
|
||||
114 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
115 [label="Enter function anonymousFunction"];
|
||||
116 [label="Jump: ^@run Unit"];
|
||||
117 [label="Stub" style="filled" fillcolor=gray];
|
||||
118 [label="Exit function anonymousFunction"];
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
28 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
29 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
30 [label="Enter when branch condition "];
|
||||
31 [label="Access variable R|<local>/x|"];
|
||||
32 [label="Const: Null(null)"];
|
||||
33 [label="Operator =="];
|
||||
34 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
35 [label="Enter when branch condition else"];
|
||||
36 [label="Exit when branch condition"];
|
||||
}
|
||||
37 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
38 [label="Enter block"];
|
||||
39 [label="Access variable R|<local>/x|"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
41 [label="Exit when branch result"];
|
||||
42 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
43 [label="Enter block"];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Exit block"];
|
||||
}
|
||||
46 [label="Exit when branch result"];
|
||||
47 [label="Exit when"];
|
||||
}
|
||||
48 [label="Variable declaration: lval y: R|kotlin/Int?|"];
|
||||
49 [label="Access variable R|<local>/y|"];
|
||||
50 [label="Function call: R|<local>/y|.<Ambiguity: inc, [kotlin/inc, kotlin/inc]>#()"];
|
||||
51 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
119 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {42 35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {47};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
52 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
53 [label="Enter while loop"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
54 [label="Enter loop condition"];
|
||||
55 [label="Const: Boolean(true)"];
|
||||
56 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
57 [label="Enter loop block"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Access variable R|<local>/x|"];
|
||||
60 [label="Type operator: x as Int"];
|
||||
61 [label="Jump: break@@@[Boolean(true)] "];
|
||||
62 [label="Stub" style="filled" fillcolor=gray];
|
||||
63 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
64 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
65 [label="Exit whileloop"];
|
||||
}
|
||||
66 [label="Access variable R|<local>/x|"];
|
||||
67 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
68 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
56 -> {65} [style=dotted];
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {65};
|
||||
61 -> {62} [style=dotted];
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64} [style=dotted];
|
||||
64 -> {54} [style=dotted];
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
69 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
70 [label="Enter do-while loop"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
71 [label="Enter loop block"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
72 [label="Enter block"];
|
||||
73 [label="Access variable R|<local>/x|"];
|
||||
74 [label="Type operator: x as Int"];
|
||||
75 [label="Jump: break@@@[Boolean(true)] "];
|
||||
76 [label="Stub" style="filled" fillcolor=gray];
|
||||
77 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
78 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
79 [label="Enter loop condition" style="filled" fillcolor=gray];
|
||||
80 [label="Const: Boolean(true)" style="filled" fillcolor=gray];
|
||||
81 [label="Exit loop condition" style="filled" fillcolor=gray];
|
||||
}
|
||||
82 [label="Exit do-whileloop"];
|
||||
}
|
||||
83 [label="Access variable R|<local>/x|"];
|
||||
84 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
85 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {82};
|
||||
75 -> {76} [style=dotted];
|
||||
76 -> {77} [style=dotted];
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {71 82} [style=dotted];
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
|
||||
subgraph cluster_22 {
|
||||
color=red
|
||||
86 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
87 [label="Enter while loop"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
88 [label="Enter loop condition"];
|
||||
89 [label="Access variable R|<local>/b|"];
|
||||
90 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
91 [label="Enter loop block"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
92 [label="Enter block"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
93 [label="Enter when"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
94 [label="Enter when branch condition "];
|
||||
95 [label="Access variable R|<local>/b|"];
|
||||
96 [label="Exit when branch condition"];
|
||||
}
|
||||
97 [label="Synthetic else branch"];
|
||||
98 [label="Enter when branch result"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
99 [label="Enter block"];
|
||||
100 [label="Jump: continue@@@[R|<local>/b|] "];
|
||||
101 [label="Stub" style="filled" fillcolor=gray];
|
||||
102 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
103 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
104 [label="Exit when"];
|
||||
}
|
||||
105 [label="Exit block"];
|
||||
}
|
||||
106 [label="Exit loop block"];
|
||||
}
|
||||
107 [label="Exit whileloop"];
|
||||
}
|
||||
108 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {107 91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {98 97};
|
||||
97 -> {104};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {87};
|
||||
100 -> {101} [style=dotted];
|
||||
101 -> {102} [style=dotted];
|
||||
102 -> {103} [style=dotted];
|
||||
103 -> {104} [style=dotted];
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {88};
|
||||
107 -> {108};
|
||||
|
||||
subgraph cluster_30 {
|
||||
color=red
|
||||
109 [label="Enter function run" style="filled" fillcolor=red];
|
||||
110 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
111 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
|
||||
subgraph cluster_31 {
|
||||
color=red
|
||||
112 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
113 [label="Enter function anonymousFunction"];
|
||||
114 [label="Jump: ^@run Unit"];
|
||||
115 [label="Stub" style="filled" fillcolor=gray];
|
||||
116 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
117 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
^@run Unit
|
||||
}
|
||||
)"];
|
||||
120 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
118 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
114 -> {115};
|
||||
115 -> {118 116};
|
||||
116 -> {118};
|
||||
116 -> {117} [style=dotted];
|
||||
117 -> {118} [style=dotted];
|
||||
118 -> {115 119};
|
||||
119 -> {120};
|
||||
112 -> {113};
|
||||
113 -> {116 114};
|
||||
114 -> {116};
|
||||
114 -> {115} [style=dotted];
|
||||
115 -> {116} [style=dotted];
|
||||
116 -> {113 117};
|
||||
117 -> {118};
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,363 @@
|
||||
digraph jumps_kt {
|
||||
graph [splines=ortho 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="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Const: Null(null)"];
|
||||
5 [label="Operator =="];
|
||||
6 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
7 [label="Enter when branch condition else"];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
9 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
10 [label="Enter block"];
|
||||
11 [label="Access variable R|<local>/x|"];
|
||||
12 [label="Exit block"];
|
||||
}
|
||||
13 [label="Exit when branch result"];
|
||||
14 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
15 [label="Enter block"];
|
||||
16 [label="Function call: R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
|
||||
17 [label="Throw: throw R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
|
||||
18 [label="Stub" style="filled" fillcolor=gray];
|
||||
19 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
20 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
21 [label="Exit when"];
|
||||
}
|
||||
22 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
23 [label="Access variable R|<local>/y|"];
|
||||
24 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
|
||||
25 [label="Access variable R|<local>/x|"];
|
||||
26 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
27 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {14 7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {21};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {27};
|
||||
17 -> {18} [style=dotted];
|
||||
18 -> {19} [style=dotted];
|
||||
19 -> {20} [style=dotted];
|
||||
20 -> {21} [style=dotted];
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
28 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
29 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
30 [label="Enter when branch condition "];
|
||||
31 [label="Access variable R|<local>/x|"];
|
||||
32 [label="Const: Null(null)"];
|
||||
33 [label="Operator =="];
|
||||
34 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
35 [label="Enter when branch condition else"];
|
||||
36 [label="Exit when branch condition"];
|
||||
}
|
||||
37 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
38 [label="Enter block"];
|
||||
39 [label="Access variable R|<local>/x|"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
41 [label="Exit when branch result"];
|
||||
42 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
43 [label="Enter block"];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Exit block"];
|
||||
}
|
||||
46 [label="Exit when branch result"];
|
||||
47 [label="Exit when"];
|
||||
}
|
||||
48 [label="Variable declaration: lval y: R|kotlin/Int?|"];
|
||||
49 [label="Access variable R|<local>/y|"];
|
||||
50 [label="Function call: R|<local>/y|.<Ambiguity: inc, [kotlin/inc, kotlin/inc]>#()"];
|
||||
51 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {42 35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {47};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
52 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
53 [label="Enter while loop"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
54 [label="Enter loop condition"];
|
||||
55 [label="Const: Boolean(true)"];
|
||||
56 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
57 [label="Enter loop block"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Access variable R|<local>/x|"];
|
||||
60 [label="Type operator: x as Int"];
|
||||
61 [label="Jump: break@@@[Boolean(true)] "];
|
||||
62 [label="Stub" style="filled" fillcolor=gray];
|
||||
63 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
64 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
65 [label="Stub" style="filled" fillcolor=gray];
|
||||
66 [label="Exit whileloop"];
|
||||
}
|
||||
67 [label="Access variable R|<local>/x|"];
|
||||
68 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
69 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
56 -> {65} [style=dotted];
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {66};
|
||||
61 -> {62} [style=dotted];
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64} [style=dotted];
|
||||
64 -> {54} [style=dotted];
|
||||
65 -> {66} [style=dotted];
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
70 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
71 [label="Enter do-while loop"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
72 [label="Enter loop block"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
73 [label="Enter block"];
|
||||
74 [label="Access variable R|<local>/x|"];
|
||||
75 [label="Type operator: x as Int"];
|
||||
76 [label="Jump: break@@@[Boolean(true)] "];
|
||||
77 [label="Stub" style="filled" fillcolor=gray];
|
||||
78 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
79 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
80 [label="Enter loop condition" style="filled" fillcolor=gray];
|
||||
81 [label="Const: Boolean(true)" style="filled" fillcolor=gray];
|
||||
82 [label="Exit loop condition" style="filled" fillcolor=gray];
|
||||
}
|
||||
83 [label="Stub" style="filled" fillcolor=gray];
|
||||
84 [label="Exit do-whileloop"];
|
||||
}
|
||||
85 [label="Access variable R|<local>/x|"];
|
||||
86 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
87 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {84};
|
||||
76 -> {77} [style=dotted];
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82} [style=dotted];
|
||||
82 -> {72 83} [style=dotted];
|
||||
83 -> {84} [style=dotted];
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
|
||||
subgraph cluster_22 {
|
||||
color=red
|
||||
88 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
89 [label="Enter while loop"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
90 [label="Enter loop condition"];
|
||||
91 [label="Access variable R|<local>/b|"];
|
||||
92 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
93 [label="Enter loop block"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
94 [label="Enter block"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
95 [label="Enter when"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
96 [label="Enter when branch condition "];
|
||||
97 [label="Access variable R|<local>/b|"];
|
||||
98 [label="Exit when branch condition"];
|
||||
}
|
||||
99 [label="Synthetic else branch"];
|
||||
100 [label="Enter when branch result"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
101 [label="Enter block"];
|
||||
102 [label="Jump: continue@@@[R|<local>/b|] "];
|
||||
103 [label="Stub" style="filled" fillcolor=gray];
|
||||
104 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
105 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
106 [label="Exit when"];
|
||||
}
|
||||
107 [label="Exit block"];
|
||||
}
|
||||
108 [label="Exit loop block"];
|
||||
}
|
||||
109 [label="Exit whileloop"];
|
||||
}
|
||||
110 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {109 93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {100 99};
|
||||
99 -> {106};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {89};
|
||||
102 -> {103} [style=dotted];
|
||||
103 -> {104} [style=dotted];
|
||||
104 -> {105} [style=dotted];
|
||||
105 -> {106} [style=dotted];
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {90};
|
||||
109 -> {110};
|
||||
|
||||
subgraph cluster_30 {
|
||||
color=red
|
||||
111 [label="Enter function run" style="filled" fillcolor=red];
|
||||
112 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
113 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
|
||||
subgraph cluster_31 {
|
||||
color=red
|
||||
114 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
115 [label="Enter function anonymousFunction"];
|
||||
116 [label="Jump: ^@run Unit"];
|
||||
117 [label="Stub" style="filled" fillcolor=gray];
|
||||
118 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
119 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
^@run Unit
|
||||
}
|
||||
)"];
|
||||
120 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
114 -> {115};
|
||||
115 -> {118 116};
|
||||
116 -> {118};
|
||||
116 -> {117} [style=dotted];
|
||||
117 -> {118} [style=dotted];
|
||||
118 -> {115 119};
|
||||
119 -> {120};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,358 @@
|
||||
digraph jumps_kt {
|
||||
graph [splines=ortho 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="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Const: Null(null)"];
|
||||
5 [label="Operator =="];
|
||||
6 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
7 [label="Enter when branch condition else"];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
9 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
10 [label="Enter block"];
|
||||
11 [label="Access variable R|<local>/x|"];
|
||||
12 [label="Exit block"];
|
||||
}
|
||||
13 [label="Exit when branch result"];
|
||||
14 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
15 [label="Enter block"];
|
||||
16 [label="Function call: R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
|
||||
17 [label="Throw: throw R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
|
||||
18 [label="Stub" style="filled" fillcolor=gray];
|
||||
19 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
20 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
21 [label="Exit when"];
|
||||
}
|
||||
22 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
23 [label="Access variable R|<local>/y|"];
|
||||
24 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
|
||||
25 [label="Access variable R|<local>/x|"];
|
||||
26 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
27 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {14 7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {21};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {27};
|
||||
17 -> {18} [style=dotted];
|
||||
18 -> {19} [style=dotted];
|
||||
19 -> {20} [style=dotted];
|
||||
20 -> {21} [style=dotted];
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
28 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
29 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
30 [label="Enter when branch condition "];
|
||||
31 [label="Access variable R|<local>/x|"];
|
||||
32 [label="Const: Null(null)"];
|
||||
33 [label="Operator =="];
|
||||
34 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
35 [label="Enter when branch condition else"];
|
||||
36 [label="Exit when branch condition"];
|
||||
}
|
||||
37 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
38 [label="Enter block"];
|
||||
39 [label="Access variable R|<local>/x|"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
41 [label="Exit when branch result"];
|
||||
42 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
43 [label="Enter block"];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Exit block"];
|
||||
}
|
||||
46 [label="Exit when branch result"];
|
||||
47 [label="Exit when"];
|
||||
}
|
||||
48 [label="Variable declaration: lval y: R|kotlin/Int?|"];
|
||||
49 [label="Access variable R|<local>/y|"];
|
||||
50 [label="Function call: R|<local>/y|.<Ambiguity: inc, [kotlin/inc, kotlin/inc]>#()"];
|
||||
51 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {42 35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {47};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
52 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
53 [label="Enter while loop"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
54 [label="Enter loop condition"];
|
||||
55 [label="Const: Boolean(true)"];
|
||||
56 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
57 [label="Enter loop block"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Access variable R|<local>/x|"];
|
||||
60 [label="Type operator: x as Int"];
|
||||
61 [label="Jump: break@@@[Boolean(true)] "];
|
||||
62 [label="Stub" style="filled" fillcolor=gray];
|
||||
63 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
64 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
65 [label="Exit whileloop"];
|
||||
}
|
||||
66 [label="Access variable R|<local>/x|"];
|
||||
67 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
68 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {65 57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {65};
|
||||
61 -> {62} [style=dotted];
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64} [style=dotted];
|
||||
64 -> {54} [style=dotted];
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
69 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
70 [label="Enter do-while loop"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
71 [label="Enter loop block"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
72 [label="Enter block"];
|
||||
73 [label="Access variable R|<local>/x|"];
|
||||
74 [label="Type operator: x as Int"];
|
||||
75 [label="Jump: break@@@[Boolean(true)] "];
|
||||
76 [label="Stub" style="filled" fillcolor=gray];
|
||||
77 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
78 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
79 [label="Enter loop condition" style="filled" fillcolor=gray];
|
||||
80 [label="Const: Boolean(true)" style="filled" fillcolor=gray];
|
||||
81 [label="Exit loop condition" style="filled" fillcolor=gray];
|
||||
}
|
||||
82 [label="Exit do-whileloop"];
|
||||
}
|
||||
83 [label="Access variable R|<local>/x|"];
|
||||
84 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
85 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {82};
|
||||
75 -> {76} [style=dotted];
|
||||
76 -> {77} [style=dotted];
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {71 82} [style=dotted];
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
|
||||
subgraph cluster_22 {
|
||||
color=red
|
||||
86 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
87 [label="Enter while loop"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
88 [label="Enter loop condition"];
|
||||
89 [label="Access variable R|<local>/b|"];
|
||||
90 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
91 [label="Enter loop block"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
92 [label="Enter block"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
93 [label="Enter when"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
94 [label="Enter when branch condition "];
|
||||
95 [label="Access variable R|<local>/b|"];
|
||||
96 [label="Exit when branch condition"];
|
||||
}
|
||||
97 [label="Synthetic else branch"];
|
||||
98 [label="Enter when branch result"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
99 [label="Enter block"];
|
||||
100 [label="Jump: continue@@@[R|<local>/b|] "];
|
||||
101 [label="Stub" style="filled" fillcolor=gray];
|
||||
102 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
103 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
104 [label="Exit when"];
|
||||
}
|
||||
105 [label="Exit block"];
|
||||
}
|
||||
106 [label="Exit loop block"];
|
||||
}
|
||||
107 [label="Exit whileloop"];
|
||||
}
|
||||
108 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {107 91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {98 97};
|
||||
97 -> {104};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {87};
|
||||
100 -> {101} [style=dotted];
|
||||
101 -> {102} [style=dotted];
|
||||
102 -> {103} [style=dotted];
|
||||
103 -> {104} [style=dotted];
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {88};
|
||||
107 -> {108};
|
||||
|
||||
subgraph cluster_30 {
|
||||
color=red
|
||||
109 [label="Enter function run" style="filled" fillcolor=red];
|
||||
110 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
111 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
|
||||
subgraph cluster_31 {
|
||||
color=red
|
||||
112 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
113 [label="Enter function anonymousFunction"];
|
||||
114 [label="Jump: ^@run Unit"];
|
||||
115 [label="Stub" style="filled" fillcolor=gray];
|
||||
116 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
117 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
^@run Unit
|
||||
}
|
||||
)"];
|
||||
118 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
112 -> {113};
|
||||
113 -> {116 114};
|
||||
114 -> {116};
|
||||
114 -> {115} [style=dotted];
|
||||
115 -> {116} [style=dotted];
|
||||
116 -> {113 117};
|
||||
117 -> {118};
|
||||
|
||||
}
|
||||
+181
-181
@@ -1,211 +1,211 @@
|
||||
digraph lambdas_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function run" style="filled" fillcolor=red];
|
||||
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
2 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function run" style="filled" fillcolor=red];
|
||||
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
2 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
4 [label="Enter when"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
5 [label="Enter when branch condition "];
|
||||
6 [label="Access variable R|<local>/x|"];
|
||||
7 [label="Type operator: x is Int"];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
9 [label="Synthetic else branch"];
|
||||
10 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
12 [label="Enter function anonymousFunction"];
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
15 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
16 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
4 [label="Enter when"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
5 [label="Enter when branch condition "];
|
||||
6 [label="Access variable R|<local>/x|"];
|
||||
7 [label="Type operator: x is Int"];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
9 [label="Synthetic else branch"];
|
||||
10 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
12 [label="Enter function anonymousFunction"];
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
15 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
16 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
R|<local>/x|.R|kotlin/Int.inc|()
|
||||
}
|
||||
)"];
|
||||
17 [label="Exit block"];
|
||||
}
|
||||
18 [label="Exit when branch result"];
|
||||
19 [label="Exit when"];
|
||||
17 [label="Exit block"];
|
||||
}
|
||||
18 [label="Exit when branch result"];
|
||||
19 [label="Exit when"];
|
||||
}
|
||||
20 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
20 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {10 9};
|
||||
9 -> {19};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {15 13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {12 16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {10 9};
|
||||
9 -> {19};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {15 13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {12 16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
21 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
22 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
23 [label="Enter when branch condition "];
|
||||
24 [label="Access variable R|<local>/x|"];
|
||||
25 [label="Type operator: x is Int"];
|
||||
26 [label="Exit when branch condition"];
|
||||
}
|
||||
27 [label="Synthetic else branch"];
|
||||
28 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
29 [label="Enter block"];
|
||||
30 [label="Variable declaration: lval lambda: R|() -> kotlin/Int|"];
|
||||
31 [label="Exit block"];
|
||||
}
|
||||
32 [label="Exit when branch result"];
|
||||
33 [label="Exit when"];
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
21 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
22 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
23 [label="Enter when branch condition "];
|
||||
24 [label="Access variable R|<local>/x|"];
|
||||
25 [label="Type operator: x is Int"];
|
||||
26 [label="Exit when branch condition"];
|
||||
}
|
||||
27 [label="Synthetic else branch"];
|
||||
28 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
29 [label="Enter block"];
|
||||
30 [label="Variable declaration: lval lambda: R|() -> kotlin/Int|"];
|
||||
31 [label="Exit block"];
|
||||
}
|
||||
32 [label="Exit when branch result"];
|
||||
33 [label="Exit when"];
|
||||
}
|
||||
34 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
34 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {28 27};
|
||||
27 -> {33};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {28 27};
|
||||
27 -> {33};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
35 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
36 [label="Access variable R|<local>/x|"];
|
||||
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
38 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
39 [label="Enter function getInt" style="filled" fillcolor=red];
|
||||
40 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
41 [label="Const: Int(1)"];
|
||||
42 [label="Jump: ^getInt Int(1)"];
|
||||
43 [label="Stub" style="filled" fillcolor=gray];
|
||||
44 [label="Exit function getInt" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {44};
|
||||
42 -> {43} [style=dotted];
|
||||
43 -> {44} [style=dotted];
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
45 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
46 [label="Enter function anonymousFunction"];
|
||||
47 [label="Const: Int(1)"];
|
||||
48 [label="Jump: ^test_3 Int(1)"];
|
||||
49 [label="Stub" style="filled" fillcolor=gray];
|
||||
50 [label="Exit function anonymousFunction"];
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
35 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
36 [label="Access variable R|<local>/x|"];
|
||||
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
38 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
51 [label="Function call: R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
39 [label="Enter function getInt" style="filled" fillcolor=red];
|
||||
40 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
41 [label="Const: Int(1)"];
|
||||
42 [label="Jump: ^getInt Int(1)"];
|
||||
43 [label="Stub" style="filled" fillcolor=gray];
|
||||
44 [label="Exit function getInt" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {44};
|
||||
42 -> {43} [style=dotted];
|
||||
43 -> {44} [style=dotted];
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
45 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
46 [label="Enter function anonymousFunction"];
|
||||
47 [label="Const: Int(1)"];
|
||||
48 [label="Jump: ^test_3 Int(1)"];
|
||||
49 [label="Stub" style="filled" fillcolor=gray];
|
||||
50 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
51 [label="Function call: R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
^test_3 Int(1)
|
||||
}
|
||||
)"];
|
||||
52 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
52 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
^test_3 Int(1)
|
||||
}
|
||||
)"];
|
||||
53 [label="Stub" style="filled" fillcolor=gray];
|
||||
54 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
45 -> {46};
|
||||
46 -> {50 47};
|
||||
47 -> {48};
|
||||
48 -> {54};
|
||||
48 -> {49} [style=dotted];
|
||||
49 -> {50} [style=dotted];
|
||||
50 -> {46 51};
|
||||
51 -> {52};
|
||||
52 -> {54};
|
||||
52 -> {53} [style=dotted];
|
||||
53 -> {54} [style=dotted];
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
55 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
56 [label="Enter function anonymousFunction"];
|
||||
57 [label="Const: Int(1)"];
|
||||
58 [label="Jump: ^test_4 Int(1)"];
|
||||
59 [label="Stub" style="filled" fillcolor=gray];
|
||||
60 [label="Exit function anonymousFunction"];
|
||||
53 [label="Stub" style="filled" fillcolor=gray];
|
||||
54 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
61 [label="Function call: R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
|
||||
45 -> {46};
|
||||
46 -> {50 47};
|
||||
47 -> {48};
|
||||
48 -> {54};
|
||||
48 -> {49} [style=dotted];
|
||||
49 -> {50} [style=dotted];
|
||||
50 -> {46 51};
|
||||
51 -> {52};
|
||||
52 -> {54};
|
||||
52 -> {53} [style=dotted];
|
||||
53 -> {54} [style=dotted];
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
55 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
56 [label="Enter function anonymousFunction"];
|
||||
57 [label="Const: Int(1)"];
|
||||
58 [label="Jump: ^test_4 Int(1)"];
|
||||
59 [label="Stub" style="filled" fillcolor=gray];
|
||||
60 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
61 [label="Function call: R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
^test_4 Int(1)
|
||||
}
|
||||
)"];
|
||||
62 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
62 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
^test_4 Int(1)
|
||||
}
|
||||
)"];
|
||||
63 [label="Stub" style="filled" fillcolor=gray];
|
||||
64 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
63 [label="Stub" style="filled" fillcolor=gray];
|
||||
64 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
55 -> {56};
|
||||
56 -> {60 57};
|
||||
57 -> {58};
|
||||
58 -> {64};
|
||||
58 -> {59} [style=dotted];
|
||||
59 -> {60} [style=dotted];
|
||||
60 -> {56 61};
|
||||
61 -> {62};
|
||||
62 -> {64};
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64} [style=dotted];
|
||||
55 -> {56};
|
||||
56 -> {60 57};
|
||||
57 -> {58};
|
||||
58 -> {64};
|
||||
58 -> {59} [style=dotted];
|
||||
59 -> {60} [style=dotted];
|
||||
60 -> {56 61};
|
||||
61 -> {62};
|
||||
62 -> {64};
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64} [style=dotted];
|
||||
|
||||
}
|
||||
|
||||
+473
-485
@@ -1,506 +1,494 @@
|
||||
digraph loops_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function testWhile" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter while loop"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter loop condition"];
|
||||
3 [label="Access variable R|<local>/b|"];
|
||||
4 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
5 [label="Enter loop block"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Enter block"];
|
||||
7 [label="Access variable R|<local>/x|"];
|
||||
8 [label="Type operator: x is String"];
|
||||
9 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
|
||||
10 [label="Exit block"];
|
||||
}
|
||||
11 [label="Exit loop block"];
|
||||
}
|
||||
12 [label="Exit whileloop"];
|
||||
}
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Type operator: x is String"];
|
||||
15 [label="Exit function testWhile" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {12 5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {2};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
16 [label="Enter function testDoWhile" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
17 [label="Enter do-while loop"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
18 [label="Enter loop block"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
19 [label="Enter block"];
|
||||
20 [label="Access variable R|<local>/x|"];
|
||||
21 [label="Type operator: x is String"];
|
||||
22 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
|
||||
23 [label="Exit block"];
|
||||
}
|
||||
24 [label="Exit loop block"];
|
||||
}
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
25 [label="Enter loop condition"];
|
||||
26 [label="Access variable R|<local>/b|"];
|
||||
27 [label="Exit loop condition"];
|
||||
}
|
||||
28 [label="Exit do-whileloop"];
|
||||
}
|
||||
29 [label="Access variable R|<local>/x|"];
|
||||
30 [label="Type operator: x is String"];
|
||||
31 [label="Exit function testDoWhile" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {18 28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
32 [label="Enter function testFor" style="filled" fillcolor=red];
|
||||
33 [label="Const: Int(0)"];
|
||||
34 [label="Const: Int(5)"];
|
||||
35 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(Int(5))"];
|
||||
36 [label="Variable declaration: lval <range>: R|kotlin/ranges/IntRange|"];
|
||||
37 [label="Access variable R|<local>/<range>|"];
|
||||
38 [label="Function call: R|<local>/<range>|.R|kotlin/ranges/IntProgression.iterator|()"];
|
||||
39 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
40 [label="Enter while loop"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
41 [label="Enter loop condition"];
|
||||
42 [label="Access variable R|<local>/<iterator>|"];
|
||||
43 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
|
||||
44 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
45 [label="Enter loop block"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
47 [label="Access variable R|<local>/<iterator>|"];
|
||||
48 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()"];
|
||||
49 [label="Variable declaration: lval i: R|kotlin/Int|"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Type operator: x is String"];
|
||||
52 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
|
||||
53 [label="Exit block"];
|
||||
}
|
||||
54 [label="Exit loop block"];
|
||||
}
|
||||
55 [label="Exit whileloop"];
|
||||
}
|
||||
56 [label="Access variable R|<local>/x|"];
|
||||
57 [label="Type operator: x is String"];
|
||||
58 [label="Exit function testFor" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {55 45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {41};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
59 [label="Enter function testWhileTrue" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
60 [label="Enter while loop"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
61 [label="Enter loop condition"];
|
||||
62 [label="Const: Boolean(true)"];
|
||||
63 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
64 [label="Enter loop block"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
65 [label="Enter block"];
|
||||
66 [label="Const: Int(1)"];
|
||||
67 [label="Exit block"];
|
||||
}
|
||||
68 [label="Exit loop block"];
|
||||
}
|
||||
69 [label="Stub" style="filled" fillcolor=gray];
|
||||
70 [label="Exit whileloop" style="filled" fillcolor=gray];
|
||||
}
|
||||
71 [label="Const: Int(1)" style="filled" fillcolor=gray];
|
||||
72 [label="Exit function testWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
63 -> {69} [style=dotted];
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {61};
|
||||
69 -> {70} [style=dotted];
|
||||
70 -> {71} [style=dotted];
|
||||
71 -> {72} [style=dotted];
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
73 [label="Enter function testWhileTrueWithBreak" style="filled" fillcolor=red];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
74 [label="Enter while loop"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
75 [label="Enter loop condition"];
|
||||
76 [label="Const: Boolean(true)"];
|
||||
77 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
78 [label="Enter loop block"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
79 [label="Enter block"];
|
||||
subgraph cluster_25 {
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function testWhile" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
80 [label="Enter when"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
81 [label="Enter when branch condition "];
|
||||
82 [label="Access variable R|<local>/b|"];
|
||||
83 [label="Exit when branch condition"];
|
||||
1 [label="Enter while loop"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter loop condition"];
|
||||
3 [label="Access variable R|<local>/b|"];
|
||||
4 [label="Exit loop condition"];
|
||||
}
|
||||
84 [label="Synthetic else branch"];
|
||||
85 [label="Enter when branch result"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
86 [label="Enter block"];
|
||||
87 [label="Jump: break@@@[Boolean(true)] "];
|
||||
88 [label="Stub" style="filled" fillcolor=gray];
|
||||
89 [label="Exit block" style="filled" fillcolor=gray];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
5 [label="Enter loop block"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Enter block"];
|
||||
7 [label="Access variable R|<local>/x|"];
|
||||
8 [label="Type operator: x is String"];
|
||||
9 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
|
||||
10 [label="Exit block"];
|
||||
}
|
||||
11 [label="Exit loop block"];
|
||||
}
|
||||
90 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
91 [label="Exit when"];
|
||||
}
|
||||
92 [label="Exit block"];
|
||||
12 [label="Exit whileloop"];
|
||||
}
|
||||
93 [label="Exit loop block"];
|
||||
}
|
||||
94 [label="Stub" style="filled" fillcolor=gray];
|
||||
95 [label="Exit whileloop"];
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Type operator: x is String"];
|
||||
15 [label="Exit function testWhile" style="filled" fillcolor=red];
|
||||
}
|
||||
96 [label="Const: Int(1)"];
|
||||
97 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
77 -> {94} [style=dotted];
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {85 84};
|
||||
84 -> {91};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {95};
|
||||
87 -> {88} [style=dotted];
|
||||
88 -> {89} [style=dotted];
|
||||
89 -> {90} [style=dotted];
|
||||
90 -> {91} [style=dotted];
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {75};
|
||||
94 -> {95} [style=dotted];
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {12 5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {2};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
|
||||
subgraph cluster_28 {
|
||||
color=red
|
||||
98 [label="Enter function testWhileFalse" style="filled" fillcolor=red];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
99 [label="Enter while loop"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
100 [label="Enter loop condition"];
|
||||
101 [label="Const: Boolean(false)"];
|
||||
102 [label="Exit loop condition"];
|
||||
}
|
||||
103 [label="Stub" style="filled" fillcolor=gray];
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
104 [label="Enter loop block" style="filled" fillcolor=gray];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
105 [label="Enter block" style="filled" fillcolor=gray];
|
||||
106 [label="Const: Int(1)" style="filled" fillcolor=gray];
|
||||
107 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
108 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
109 [label="Exit whileloop"];
|
||||
}
|
||||
110 [label="Const: Int(1)"];
|
||||
111 [label="Exit function testWhileFalse" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {109};
|
||||
102 -> {103} [style=dotted];
|
||||
103 -> {104} [style=dotted];
|
||||
104 -> {105} [style=dotted];
|
||||
105 -> {106} [style=dotted];
|
||||
106 -> {107} [style=dotted];
|
||||
107 -> {108} [style=dotted];
|
||||
108 -> {100} [style=dotted];
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
|
||||
subgraph cluster_33 {
|
||||
color=red
|
||||
112 [label="Enter function testDoWhileTrue" style="filled" fillcolor=red];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
113 [label="Enter do-while loop"];
|
||||
subgraph cluster_35 {
|
||||
color=blue
|
||||
114 [label="Enter loop block"];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
115 [label="Enter block"];
|
||||
116 [label="Const: Int(1)"];
|
||||
117 [label="Exit block"];
|
||||
}
|
||||
118 [label="Exit loop block"];
|
||||
}
|
||||
subgraph cluster_37 {
|
||||
color=blue
|
||||
119 [label="Enter loop condition"];
|
||||
120 [label="Const: Boolean(true)"];
|
||||
121 [label="Exit loop condition"];
|
||||
}
|
||||
122 [label="Stub" style="filled" fillcolor=gray];
|
||||
123 [label="Exit do-whileloop" style="filled" fillcolor=gray];
|
||||
}
|
||||
124 [label="Const: Int(1)" style="filled" fillcolor=gray];
|
||||
125 [label="Exit function testDoWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {114};
|
||||
121 -> {122} [style=dotted];
|
||||
122 -> {123} [style=dotted];
|
||||
123 -> {124} [style=dotted];
|
||||
124 -> {125} [style=dotted];
|
||||
|
||||
subgraph cluster_38 {
|
||||
color=red
|
||||
126 [label="Enter function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
|
||||
subgraph cluster_39 {
|
||||
color=blue
|
||||
127 [label="Enter do-while loop"];
|
||||
subgraph cluster_40 {
|
||||
color=blue
|
||||
128 [label="Enter loop block"];
|
||||
subgraph cluster_41 {
|
||||
color=blue
|
||||
129 [label="Enter block"];
|
||||
subgraph cluster_42 {
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
16 [label="Enter function testDoWhile" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
130 [label="Enter when"];
|
||||
subgraph cluster_43 {
|
||||
color=blue
|
||||
131 [label="Enter when branch condition "];
|
||||
132 [label="Access variable R|<local>/b|"];
|
||||
133 [label="Exit when branch condition"];
|
||||
17 [label="Enter do-while loop"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
18 [label="Enter loop block"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
19 [label="Enter block"];
|
||||
20 [label="Access variable R|<local>/x|"];
|
||||
21 [label="Type operator: x is String"];
|
||||
22 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
|
||||
23 [label="Exit block"];
|
||||
}
|
||||
24 [label="Exit loop block"];
|
||||
}
|
||||
134 [label="Synthetic else branch"];
|
||||
135 [label="Enter when branch result"];
|
||||
subgraph cluster_44 {
|
||||
color=blue
|
||||
136 [label="Enter block"];
|
||||
137 [label="Jump: break@@@[Boolean(true)] "];
|
||||
138 [label="Stub" style="filled" fillcolor=gray];
|
||||
139 [label="Exit block" style="filled" fillcolor=gray];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
25 [label="Enter loop condition"];
|
||||
26 [label="Access variable R|<local>/b|"];
|
||||
27 [label="Exit loop condition"];
|
||||
}
|
||||
140 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
141 [label="Exit when"];
|
||||
}
|
||||
142 [label="Exit block"];
|
||||
28 [label="Exit do-whileloop"];
|
||||
}
|
||||
143 [label="Exit loop block"];
|
||||
}
|
||||
subgraph cluster_45 {
|
||||
color=blue
|
||||
144 [label="Enter loop condition"];
|
||||
145 [label="Const: Boolean(true)"];
|
||||
146 [label="Exit loop condition"];
|
||||
}
|
||||
147 [label="Stub" style="filled" fillcolor=gray];
|
||||
148 [label="Exit do-whileloop"];
|
||||
29 [label="Access variable R|<local>/x|"];
|
||||
30 [label="Type operator: x is String"];
|
||||
31 [label="Exit function testDoWhile" style="filled" fillcolor=red];
|
||||
}
|
||||
149 [label="Const: Int(1)"];
|
||||
150 [label="Exit function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {132};
|
||||
132 -> {133};
|
||||
133 -> {135 134};
|
||||
134 -> {141};
|
||||
135 -> {136};
|
||||
136 -> {137};
|
||||
137 -> {148};
|
||||
137 -> {138} [style=dotted];
|
||||
138 -> {139} [style=dotted];
|
||||
139 -> {140} [style=dotted];
|
||||
140 -> {141} [style=dotted];
|
||||
141 -> {142};
|
||||
142 -> {143};
|
||||
143 -> {144};
|
||||
144 -> {145};
|
||||
145 -> {146};
|
||||
146 -> {128};
|
||||
146 -> {147} [style=dotted];
|
||||
147 -> {148} [style=dotted];
|
||||
148 -> {149};
|
||||
149 -> {150};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {18 28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
|
||||
subgraph cluster_46 {
|
||||
color=red
|
||||
151 [label="Enter function testDoWhileFalse" style="filled" fillcolor=red];
|
||||
subgraph cluster_47 {
|
||||
color=blue
|
||||
152 [label="Enter do-while loop"];
|
||||
subgraph cluster_48 {
|
||||
color=blue
|
||||
153 [label="Enter loop block"];
|
||||
subgraph cluster_49 {
|
||||
color=blue
|
||||
154 [label="Enter block"];
|
||||
155 [label="Const: Int(1)"];
|
||||
156 [label="Exit block"];
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
32 [label="Enter function testFor" style="filled" fillcolor=red];
|
||||
33 [label="Const: Int(0)"];
|
||||
34 [label="Const: Int(5)"];
|
||||
35 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(Int(5))"];
|
||||
36 [label="Variable declaration: lval <range>: R|kotlin/ranges/IntRange|"];
|
||||
37 [label="Access variable R|<local>/<range>|"];
|
||||
38 [label="Function call: R|<local>/<range>|.R|kotlin/ranges/IntProgression.iterator|()"];
|
||||
39 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
40 [label="Enter while loop"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
41 [label="Enter loop condition"];
|
||||
42 [label="Access variable R|<local>/<iterator>|"];
|
||||
43 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
|
||||
44 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
45 [label="Enter loop block"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
47 [label="Access variable R|<local>/<iterator>|"];
|
||||
48 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()"];
|
||||
49 [label="Variable declaration: lval i: R|kotlin/Int|"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Type operator: x is String"];
|
||||
52 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
|
||||
53 [label="Exit block"];
|
||||
}
|
||||
54 [label="Exit loop block"];
|
||||
}
|
||||
55 [label="Exit whileloop"];
|
||||
}
|
||||
157 [label="Exit loop block"];
|
||||
}
|
||||
subgraph cluster_50 {
|
||||
color=blue
|
||||
158 [label="Enter loop condition"];
|
||||
159 [label="Const: Boolean(false)"];
|
||||
160 [label="Exit loop condition"];
|
||||
}
|
||||
161 [label="Exit do-whileloop"];
|
||||
56 [label="Access variable R|<local>/x|"];
|
||||
57 [label="Type operator: x is String"];
|
||||
58 [label="Exit function testFor" style="filled" fillcolor=red];
|
||||
}
|
||||
162 [label="Const: Int(1)"];
|
||||
163 [label="Exit function testDoWhileFalse" style="filled" fillcolor=red];
|
||||
}
|
||||
164 [label="Stub" style="filled" fillcolor=gray];
|
||||
|
||||
151 -> {152};
|
||||
152 -> {153};
|
||||
153 -> {154};
|
||||
154 -> {155};
|
||||
155 -> {156};
|
||||
156 -> {157};
|
||||
157 -> {158};
|
||||
158 -> {159};
|
||||
159 -> {160};
|
||||
160 -> {161};
|
||||
160 -> {164} [style=dotted];
|
||||
161 -> {162};
|
||||
162 -> {163};
|
||||
164 -> {153} [style=dotted];
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {55 45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {41};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
59 [label="Enter function testWhileTrue" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
60 [label="Enter while loop"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
61 [label="Enter loop condition"];
|
||||
62 [label="Const: Boolean(true)"];
|
||||
63 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
64 [label="Enter loop block"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
65 [label="Enter block"];
|
||||
66 [label="Const: Int(1)"];
|
||||
67 [label="Exit block"];
|
||||
}
|
||||
68 [label="Exit loop block"];
|
||||
}
|
||||
69 [label="Exit whileloop" style="filled" fillcolor=gray];
|
||||
}
|
||||
70 [label="Const: Int(1)" style="filled" fillcolor=gray];
|
||||
71 [label="Exit function testWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
63 -> {69} [style=dotted];
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {61};
|
||||
69 -> {70} [style=dotted];
|
||||
70 -> {71} [style=dotted];
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
72 [label="Enter function testWhileTrueWithBreak" style="filled" fillcolor=red];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
73 [label="Enter while loop"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
74 [label="Enter loop condition"];
|
||||
75 [label="Const: Boolean(true)"];
|
||||
76 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
77 [label="Enter loop block"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
78 [label="Enter block"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
79 [label="Enter when"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
80 [label="Enter when branch condition "];
|
||||
81 [label="Access variable R|<local>/b|"];
|
||||
82 [label="Exit when branch condition"];
|
||||
}
|
||||
83 [label="Synthetic else branch"];
|
||||
84 [label="Enter when branch result"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
85 [label="Enter block"];
|
||||
86 [label="Jump: break@@@[Boolean(true)] "];
|
||||
87 [label="Stub" style="filled" fillcolor=gray];
|
||||
88 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
89 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
90 [label="Exit when"];
|
||||
}
|
||||
91 [label="Exit block"];
|
||||
}
|
||||
92 [label="Exit loop block"];
|
||||
}
|
||||
93 [label="Exit whileloop"];
|
||||
}
|
||||
94 [label="Const: Int(1)"];
|
||||
95 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
76 -> {93} [style=dotted];
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {84 83};
|
||||
83 -> {90};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {93};
|
||||
86 -> {87} [style=dotted];
|
||||
87 -> {88} [style=dotted];
|
||||
88 -> {89} [style=dotted];
|
||||
89 -> {90} [style=dotted];
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {74};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
|
||||
subgraph cluster_28 {
|
||||
color=red
|
||||
96 [label="Enter function testWhileFalse" style="filled" fillcolor=red];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
97 [label="Enter while loop"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
98 [label="Enter loop condition"];
|
||||
99 [label="Const: Boolean(false)"];
|
||||
100 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
101 [label="Enter loop block" style="filled" fillcolor=gray];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
102 [label="Enter block" style="filled" fillcolor=gray];
|
||||
103 [label="Const: Int(1)" style="filled" fillcolor=gray];
|
||||
104 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
105 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
106 [label="Exit whileloop"];
|
||||
}
|
||||
107 [label="Const: Int(1)"];
|
||||
108 [label="Exit function testWhileFalse" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {106};
|
||||
100 -> {101} [style=dotted];
|
||||
101 -> {102} [style=dotted];
|
||||
102 -> {103} [style=dotted];
|
||||
103 -> {104} [style=dotted];
|
||||
104 -> {105} [style=dotted];
|
||||
105 -> {98} [style=dotted];
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
|
||||
subgraph cluster_33 {
|
||||
color=red
|
||||
109 [label="Enter function testDoWhileTrue" style="filled" fillcolor=red];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
110 [label="Enter do-while loop"];
|
||||
subgraph cluster_35 {
|
||||
color=blue
|
||||
111 [label="Enter loop block"];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
112 [label="Enter block"];
|
||||
113 [label="Const: Int(1)"];
|
||||
114 [label="Exit block"];
|
||||
}
|
||||
115 [label="Exit loop block"];
|
||||
}
|
||||
subgraph cluster_37 {
|
||||
color=blue
|
||||
116 [label="Enter loop condition"];
|
||||
117 [label="Const: Boolean(true)"];
|
||||
118 [label="Exit loop condition"];
|
||||
}
|
||||
119 [label="Exit do-whileloop" style="filled" fillcolor=gray];
|
||||
}
|
||||
120 [label="Const: Int(1)" style="filled" fillcolor=gray];
|
||||
121 [label="Exit function testDoWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||
}
|
||||
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {111};
|
||||
118 -> {119} [style=dotted];
|
||||
119 -> {120} [style=dotted];
|
||||
120 -> {121} [style=dotted];
|
||||
|
||||
subgraph cluster_38 {
|
||||
color=red
|
||||
122 [label="Enter function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
|
||||
subgraph cluster_39 {
|
||||
color=blue
|
||||
123 [label="Enter do-while loop"];
|
||||
subgraph cluster_40 {
|
||||
color=blue
|
||||
124 [label="Enter loop block"];
|
||||
subgraph cluster_41 {
|
||||
color=blue
|
||||
125 [label="Enter block"];
|
||||
subgraph cluster_42 {
|
||||
color=blue
|
||||
126 [label="Enter when"];
|
||||
subgraph cluster_43 {
|
||||
color=blue
|
||||
127 [label="Enter when branch condition "];
|
||||
128 [label="Access variable R|<local>/b|"];
|
||||
129 [label="Exit when branch condition"];
|
||||
}
|
||||
130 [label="Synthetic else branch"];
|
||||
131 [label="Enter when branch result"];
|
||||
subgraph cluster_44 {
|
||||
color=blue
|
||||
132 [label="Enter block"];
|
||||
133 [label="Jump: break@@@[Boolean(true)] "];
|
||||
134 [label="Stub" style="filled" fillcolor=gray];
|
||||
135 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
136 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
137 [label="Exit when"];
|
||||
}
|
||||
138 [label="Exit block"];
|
||||
}
|
||||
139 [label="Exit loop block"];
|
||||
}
|
||||
subgraph cluster_45 {
|
||||
color=blue
|
||||
140 [label="Enter loop condition"];
|
||||
141 [label="Const: Boolean(true)"];
|
||||
142 [label="Exit loop condition"];
|
||||
}
|
||||
143 [label="Exit do-whileloop"];
|
||||
}
|
||||
144 [label="Const: Int(1)"];
|
||||
145 [label="Exit function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
128 -> {129};
|
||||
129 -> {131 130};
|
||||
130 -> {137};
|
||||
131 -> {132};
|
||||
132 -> {133};
|
||||
133 -> {143};
|
||||
133 -> {134} [style=dotted];
|
||||
134 -> {135} [style=dotted];
|
||||
135 -> {136} [style=dotted];
|
||||
136 -> {137} [style=dotted];
|
||||
137 -> {138};
|
||||
138 -> {139};
|
||||
139 -> {140};
|
||||
140 -> {141};
|
||||
141 -> {142};
|
||||
142 -> {124};
|
||||
142 -> {143} [style=dotted];
|
||||
143 -> {144};
|
||||
144 -> {145};
|
||||
|
||||
subgraph cluster_46 {
|
||||
color=red
|
||||
146 [label="Enter function testDoWhileFalse" style="filled" fillcolor=red];
|
||||
subgraph cluster_47 {
|
||||
color=blue
|
||||
147 [label="Enter do-while loop"];
|
||||
subgraph cluster_48 {
|
||||
color=blue
|
||||
148 [label="Enter loop block"];
|
||||
subgraph cluster_49 {
|
||||
color=blue
|
||||
149 [label="Enter block"];
|
||||
150 [label="Const: Int(1)"];
|
||||
151 [label="Exit block"];
|
||||
}
|
||||
152 [label="Exit loop block"];
|
||||
}
|
||||
subgraph cluster_50 {
|
||||
color=blue
|
||||
153 [label="Enter loop condition"];
|
||||
154 [label="Const: Boolean(false)"];
|
||||
155 [label="Exit loop condition"];
|
||||
}
|
||||
156 [label="Exit do-whileloop"];
|
||||
}
|
||||
157 [label="Const: Int(1)"];
|
||||
158 [label="Exit function testDoWhileFalse" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
146 -> {147};
|
||||
147 -> {148};
|
||||
148 -> {149};
|
||||
149 -> {150};
|
||||
150 -> {151};
|
||||
151 -> {152};
|
||||
152 -> {153};
|
||||
153 -> {154};
|
||||
154 -> {155};
|
||||
155 -> {156};
|
||||
155 -> {148} [style=dotted];
|
||||
156 -> {157};
|
||||
157 -> {158};
|
||||
|
||||
}
|
||||
|
||||
+206
-206
@@ -1,132 +1,132 @@
|
||||
digraph propertiesAndInitBlocks_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function run" style="filled" fillcolor=red];
|
||||
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
2 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
4 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
3 -> {4};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
5 [label="Enter property" style="filled" fillcolor=red];
|
||||
6 [label="Const: Int(1)"];
|
||||
7 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
8 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
9 [label="Const: Int(1)"];
|
||||
10 [label="Jump: ^ Int(1)"];
|
||||
11 [label="Stub" style="filled" fillcolor=gray];
|
||||
12 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {12};
|
||||
10 -> {11} [style=dotted];
|
||||
11 -> {12} [style=dotted];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
13 [label="Enter function setter" style="filled" fillcolor=red];
|
||||
14 [label="Const: Int(1)"];
|
||||
15 [label="Assignmenet: F|/x2|"];
|
||||
16 [label="Exit function setter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
17 [label="Enter property" style="filled" fillcolor=red];
|
||||
18 [label="Const: Int(1)"];
|
||||
19 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
20 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
21 [label="Const: Int(1)"];
|
||||
22 [label="Const: Int(1)"];
|
||||
23 [label="Function call: Int(1).R|kotlin/Int.plus|(Int(1))"];
|
||||
24 [label="Variable declaration: lval c: R|kotlin/Int|"];
|
||||
25 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||
26 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
27 [label="Stub" style="filled" fillcolor=gray];
|
||||
28 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {28};
|
||||
26 -> {27} [style=dotted];
|
||||
27 -> {28} [style=dotted];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
29 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
30 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
29 -> {30};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
31 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
32 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
31 -> {32};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
33 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
34 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
33 -> {34};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
35 [label="Enter property" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
36 [label="Enter function anonymousFunction"];
|
||||
37 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||
38 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
39 [label="Stub" style="filled" fillcolor=gray];
|
||||
40 [label="Exit function anonymousFunction"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function run" style="filled" fillcolor=red];
|
||||
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
2 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
41 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
4 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
3 -> {4};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
5 [label="Enter property" style="filled" fillcolor=red];
|
||||
6 [label="Const: Int(1)"];
|
||||
7 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
8 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
9 [label="Const: Int(1)"];
|
||||
10 [label="Jump: ^ Int(1)"];
|
||||
11 [label="Stub" style="filled" fillcolor=gray];
|
||||
12 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {12};
|
||||
10 -> {11} [style=dotted];
|
||||
11 -> {12} [style=dotted];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
13 [label="Enter function setter" style="filled" fillcolor=red];
|
||||
14 [label="Const: Int(1)"];
|
||||
15 [label="Assignmenet: F|/x2|"];
|
||||
16 [label="Exit function setter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
17 [label="Enter property" style="filled" fillcolor=red];
|
||||
18 [label="Const: Int(1)"];
|
||||
19 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
20 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
21 [label="Const: Int(1)"];
|
||||
22 [label="Const: Int(1)"];
|
||||
23 [label="Function call: Int(1).R|kotlin/Int.plus|(Int(1))"];
|
||||
24 [label="Variable declaration: lval c: R|kotlin/Int|"];
|
||||
25 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||
26 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
27 [label="Stub" style="filled" fillcolor=gray];
|
||||
28 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {28};
|
||||
26 -> {27} [style=dotted];
|
||||
27 -> {28} [style=dotted];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
29 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
30 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
29 -> {30};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
31 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
32 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
31 -> {32};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
33 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
34 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
33 -> {34};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
35 [label="Enter property" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
36 [label="Enter function anonymousFunction"];
|
||||
37 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||
38 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
39 [label="Stub" style="filled" fillcolor=gray];
|
||||
40 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
41 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
local final fun foo(): R|kotlin/Unit| {
|
||||
lval c: R|kotlin/Int| = Int(1).R|kotlin/Int.plus|(Int(1))
|
||||
throw R|java/lang/Exception.Exception|()
|
||||
@@ -147,87 +147,87 @@ digraph propertiesAndInitBlocks_kt {
|
||||
throw R|java/lang/Exception.Exception|()
|
||||
}
|
||||
)"];
|
||||
42 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
35 -> {36};
|
||||
36 -> {40 37};
|
||||
37 -> {38};
|
||||
38 -> {42};
|
||||
38 -> {39} [style=dotted];
|
||||
39 -> {40} [style=dotted];
|
||||
40 -> {36 41};
|
||||
41 -> {42};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
43 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
44 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
43 -> {44};
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
45 [label="Enter property" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
46 [label="Try expression enter"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
47 [label="Try main block enter"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
48 [label="Enter block"];
|
||||
49 [label="Const: Int(1)"];
|
||||
50 [label="Exit block"];
|
||||
}
|
||||
51 [label="Try main block exit"];
|
||||
}
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
52 [label="Enter finally"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
53 [label="Enter block"];
|
||||
54 [label="Const: IntegerLiteral(0)"];
|
||||
55 [label="Exit block"];
|
||||
}
|
||||
56 [label="Exit finally"];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
57 [label="Catch enter"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Const: Int(2)"];
|
||||
60 [label="Exit block"];
|
||||
}
|
||||
61 [label="Catch exit"];
|
||||
}
|
||||
62 [label="Try expression exit"];
|
||||
42 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
63 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {63 57 52 48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {62};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {62};
|
||||
57 -> {63 58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
35 -> {36};
|
||||
36 -> {40 37};
|
||||
37 -> {38};
|
||||
38 -> {42};
|
||||
38 -> {39} [style=dotted];
|
||||
39 -> {40} [style=dotted];
|
||||
40 -> {36 41};
|
||||
41 -> {42};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
43 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
44 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
43 -> {44};
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
45 [label="Enter property" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
46 [label="Try expression enter"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
47 [label="Try main block enter"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
48 [label="Enter block"];
|
||||
49 [label="Const: Int(1)"];
|
||||
50 [label="Exit block"];
|
||||
}
|
||||
51 [label="Try main block exit"];
|
||||
}
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
52 [label="Enter finally"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
53 [label="Enter block"];
|
||||
54 [label="Const: IntegerLiteral(0)"];
|
||||
55 [label="Exit block"];
|
||||
}
|
||||
56 [label="Exit finally"];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
57 [label="Catch enter"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Const: Int(2)"];
|
||||
60 [label="Exit block"];
|
||||
}
|
||||
61 [label="Catch exit"];
|
||||
}
|
||||
62 [label="Try expression exit"];
|
||||
}
|
||||
63 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {63 57 52 48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {62};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {62};
|
||||
57 -> {63 58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
|
||||
}
|
||||
|
||||
+123
-123
@@ -1,56 +1,56 @@
|
||||
digraph returnValuesFromLambda_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
3 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
5 [label="Enter function anonymousFunction"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Enter when"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
7 [label="Enter when branch condition "];
|
||||
8 [label="Access variable R|<local>/b|"];
|
||||
9 [label="Exit when branch condition"];
|
||||
}
|
||||
10 [label="Synthetic else branch"];
|
||||
11 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Function call: R|/B.B|()"];
|
||||
14 [label="Jump: ^@run R|/B.B|()"];
|
||||
15 [label="Stub" style="filled" fillcolor=gray];
|
||||
16 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
17 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
18 [label="Exit when"];
|
||||
}
|
||||
19 [label="Function call: R|/C.C|()"];
|
||||
20 [label="Exit function anonymousFunction"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
21 [label="Function call: R|kotlin/run|<R|A|>(<L> = run@fun <anonymous>(): R|A| <kind=EXACTLY_ONCE> {
|
||||
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
3 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
5 [label="Enter function anonymousFunction"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Enter when"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
7 [label="Enter when branch condition "];
|
||||
8 [label="Access variable R|<local>/b|"];
|
||||
9 [label="Exit when branch condition"];
|
||||
}
|
||||
10 [label="Synthetic else branch"];
|
||||
11 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Function call: R|/B.B|()"];
|
||||
14 [label="Jump: ^@run R|/B.B|()"];
|
||||
15 [label="Stub" style="filled" fillcolor=gray];
|
||||
16 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
17 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
18 [label="Exit when"];
|
||||
}
|
||||
19 [label="Function call: R|/C.C|()"];
|
||||
20 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
21 [label="Function call: R|kotlin/run|<R|A|>(<L> = run@fun <anonymous>(): R|A| <kind=EXACTLY_ONCE> {
|
||||
when () {
|
||||
R|<local>/b| -> {
|
||||
^@run R|/B.B|()
|
||||
@@ -60,87 +60,87 @@ digraph returnValuesFromLambda_kt {
|
||||
R|/C.C|()
|
||||
}
|
||||
)"];
|
||||
22 [label="Variable declaration: lval x: R|A|"];
|
||||
23 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {11 10};
|
||||
10 -> {18};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {20};
|
||||
14 -> {15} [style=dotted];
|
||||
15 -> {16} [style=dotted];
|
||||
16 -> {17} [style=dotted];
|
||||
17 -> {18} [style=dotted];
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
24 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
25 [label="Enter function anonymousFunction"];
|
||||
26 [label="Function call: R|/C.C|()"];
|
||||
27 [label="Jump: ^@run R|/C.C|()"];
|
||||
28 [label="Stub" style="filled" fillcolor=gray];
|
||||
29 [label="Exit function anonymousFunction"];
|
||||
22 [label="Variable declaration: lval x: R|A|"];
|
||||
23 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
30 [label="Function call: R|kotlin/run|<R|C|>(<L> = run@fun <anonymous>(): R|C| <kind=EXACTLY_ONCE> {
|
||||
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {11 10};
|
||||
10 -> {18};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {20};
|
||||
14 -> {15} [style=dotted];
|
||||
15 -> {16} [style=dotted];
|
||||
16 -> {17} [style=dotted];
|
||||
17 -> {18} [style=dotted];
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
24 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
25 [label="Enter function anonymousFunction"];
|
||||
26 [label="Function call: R|/C.C|()"];
|
||||
27 [label="Jump: ^@run R|/C.C|()"];
|
||||
28 [label="Stub" style="filled" fillcolor=gray];
|
||||
29 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
30 [label="Function call: R|kotlin/run|<R|C|>(<L> = run@fun <anonymous>(): R|C| <kind=EXACTLY_ONCE> {
|
||||
^@run R|/C.C|()
|
||||
}
|
||||
)"];
|
||||
31 [label="Variable declaration: lval x: R|C|"];
|
||||
32 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {29};
|
||||
27 -> {28} [style=dotted];
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
33 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
34 [label="Enter function anonymousFunction"];
|
||||
35 [label="Jump: ^test_3 Unit"];
|
||||
36 [label="Stub" style="filled" fillcolor=gray];
|
||||
37 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
|
||||
31 [label="Variable declaration: lval x: R|C|"];
|
||||
32 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
38 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(<L> = run@fun <anonymous>(): R|kotlin/Nothing| <kind=EXACTLY_ONCE> {
|
||||
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {29};
|
||||
27 -> {28} [style=dotted];
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
33 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
34 [label="Enter function anonymousFunction"];
|
||||
35 [label="Jump: ^test_3 Unit"];
|
||||
36 [label="Stub" style="filled" fillcolor=gray];
|
||||
37 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
|
||||
}
|
||||
38 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(<L> = run@fun <anonymous>(): R|kotlin/Nothing| <kind=EXACTLY_ONCE> {
|
||||
^test_3 Unit
|
||||
}
|
||||
)" style="filled" fillcolor=gray];
|
||||
39 [label="Stub" style="filled" fillcolor=gray];
|
||||
40 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
|
||||
41 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
39 [label="Stub" style="filled" fillcolor=gray];
|
||||
40 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
|
||||
41 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {41};
|
||||
35 -> {36} [style=dotted];
|
||||
36 -> {37} [style=dotted];
|
||||
37 -> {38} [style=dotted];
|
||||
38 -> {41 39} [style=dotted];
|
||||
39 -> {40} [style=dotted];
|
||||
40 -> {41} [style=dotted];
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {41};
|
||||
35 -> {36} [style=dotted];
|
||||
36 -> {37} [style=dotted];
|
||||
37 -> {38} [style=dotted];
|
||||
38 -> {41 39} [style=dotted];
|
||||
39 -> {40} [style=dotted];
|
||||
40 -> {41} [style=dotted];
|
||||
|
||||
}
|
||||
|
||||
+79
-79
@@ -1,98 +1,98 @@
|
||||
digraph safeCalls_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
3 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
3 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
5 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
5 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
4 -> {5};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
6 [label="Enter property" style="filled" fillcolor=red];
|
||||
7 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
6 [label="Enter property" style="filled" fillcolor=red];
|
||||
7 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
6 -> {7};
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
8 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
9 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
8 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
9 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
8 -> {9};
|
||||
8 -> {9};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
10 [label="Enter property" style="filled" fillcolor=red];
|
||||
11 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
10 [label="Enter property" style="filled" fillcolor=red];
|
||||
11 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
10 -> {11};
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
12 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Enter safe call"];
|
||||
15 [label="Function call: R|<local>/x|?.R|/A.foo|()"];
|
||||
16 [label="Exit safe call"];
|
||||
17 [label="Enter safe call"];
|
||||
18 [label="Function call: R|<local>/x|?.R|/A.foo|()?.R|/A.bar|()"];
|
||||
19 [label="Exit safe call"];
|
||||
20 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
12 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Enter safe call"];
|
||||
15 [label="Function call: R|<local>/x|?.R|/A.foo|()"];
|
||||
16 [label="Exit safe call"];
|
||||
17 [label="Enter safe call"];
|
||||
18 [label="Function call: R|<local>/x|?.R|/A.foo|()?.R|/A.bar|()"];
|
||||
19 [label="Exit safe call"];
|
||||
20 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
12 -> {13};
|
||||
13 -> {14 16};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17 19};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
12 -> {13};
|
||||
13 -> {14 16};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17 19};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
21 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
22 [label="Access variable R|<local>/x|"];
|
||||
23 [label="Enter safe call"];
|
||||
24 [label="Access variable R|/B.foo|"];
|
||||
25 [label="Exit safe call"];
|
||||
26 [label="Enter safe call"];
|
||||
27 [label="Access variable R|/B.bar|"];
|
||||
28 [label="Exit safe call"];
|
||||
29 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
21 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
22 [label="Access variable R|<local>/x|"];
|
||||
23 [label="Enter safe call"];
|
||||
24 [label="Access variable R|/B.foo|"];
|
||||
25 [label="Exit safe call"];
|
||||
26 [label="Enter safe call"];
|
||||
27 [label="Access variable R|/B.bar|"];
|
||||
28 [label="Exit safe call"];
|
||||
29 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
21 -> {22};
|
||||
22 -> {23 25};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26 28};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
21 -> {22};
|
||||
22 -> {23 25};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26 28};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
|
||||
}
|
||||
|
||||
+29
-29
@@ -1,36 +1,36 @@
|
||||
digraph simple_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function test" style="filled" fillcolor=red];
|
||||
3 [label="Const: Int(1)"];
|
||||
4 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
5 [label="Access variable R|<local>/x|"];
|
||||
6 [label="Const: Int(1)"];
|
||||
7 [label="Function call: R|<local>/x|.R|kotlin/Int.plus|(Int(1))"];
|
||||
8 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
9 [label="Function call: R|/foo|()"];
|
||||
10 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function test" style="filled" fillcolor=red];
|
||||
3 [label="Const: Int(1)"];
|
||||
4 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
5 [label="Access variable R|<local>/x|"];
|
||||
6 [label="Const: Int(1)"];
|
||||
7 [label="Function call: R|<local>/x|.R|kotlin/Int.plus|(Int(1))"];
|
||||
8 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
9 [label="Function call: R|/foo|()"];
|
||||
10 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
|
||||
}
|
||||
|
||||
+288
-290
@@ -1,306 +1,304 @@
|
||||
digraph tryCatch_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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 {
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
44 [label="Try expression enter"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
45 [label="Try main block enter"];
|
||||
subgraph cluster_21 {
|
||||
1 [label="Try expression enter"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
47 [label="Enter when"];
|
||||
subgraph cluster_23 {
|
||||
2 [label="Try main block enter"];
|
||||
subgraph cluster_3 {
|
||||
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"];
|
||||
3 [label="Enter block"];
|
||||
4 [label="Const: Int(1)"];
|
||||
5 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
6 [label="Exit block"];
|
||||
}
|
||||
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 {
|
||||
7 [label="Try main block exit"];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
8 [label="Catch enter"];
|
||||
subgraph cluster_5 {
|
||||
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"];
|
||||
9 [label="Enter block"];
|
||||
10 [label="Const: Int(3)"];
|
||||
11 [label="Variable declaration: lval z: R|kotlin/Int|"];
|
||||
12 [label="Exit block"];
|
||||
}
|
||||
74 [label="Exit block"];
|
||||
}
|
||||
75 [label="Try main block exit"];
|
||||
13 [label="Catch exit"];
|
||||
}
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
76 [label="Catch enter"];
|
||||
subgraph cluster_29 {
|
||||
subgraph cluster_6 {
|
||||
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];
|
||||
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"];
|
||||
}
|
||||
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"];
|
||||
20 [label="Try expression exit"];
|
||||
}
|
||||
92 [label="Exit loop block"];
|
||||
}
|
||||
93 [label="Stub" style="filled" fillcolor=gray];
|
||||
94 [label="Exit whileloop"];
|
||||
21 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
95 [label="Const: Int(3)"];
|
||||
96 [label="Variable declaration: lval z: R|kotlin/Int|"];
|
||||
97 [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 -> {97 82 76 46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {52 51};
|
||||
51 -> {58};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {97};
|
||||
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 -> {94};
|
||||
69 -> {70} [style=dotted];
|
||||
70 -> {71} [style=dotted];
|
||||
71 -> {72} [style=dotted];
|
||||
72 -> {73} [style=dotted];
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {88};
|
||||
76 -> {97 77};
|
||||
77 -> {78};
|
||||
78 -> {94};
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {88} [style=dotted];
|
||||
82 -> {97 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} [style=dotted];
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
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};
|
||||
|
||||
}
|
||||
|
||||
+183
-183
@@ -1,190 +1,190 @@
|
||||
digraph when_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Const: Int(1)"];
|
||||
5 [label="Operator =="];
|
||||
6 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
7 [label="Enter when branch condition "];
|
||||
8 [label="Access variable R|<local>/x|"];
|
||||
9 [label="Const: Int(2)"];
|
||||
10 [label="Function call: R|<local>/x|.R|kotlin/Int.rem|(Int(2))"];
|
||||
11 [label="Const: Int(0)"];
|
||||
12 [label="Operator =="];
|
||||
13 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
14 [label="Enter when branch condition "];
|
||||
15 [label="Const: Int(1)"];
|
||||
16 [label="Const: Int(1)"];
|
||||
17 [label="Function call: Int(1).R|kotlin/Int.minus|(Int(1))"];
|
||||
18 [label="Const: Int(0)"];
|
||||
19 [label="Operator =="];
|
||||
20 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
21 [label="Enter when branch condition else"];
|
||||
22 [label="Exit when branch condition"];
|
||||
}
|
||||
23 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
24 [label="Enter block"];
|
||||
25 [label="Const: Int(5)"];
|
||||
26 [label="Exit block"];
|
||||
}
|
||||
27 [label="Exit when branch result"];
|
||||
28 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
29 [label="Enter block"];
|
||||
30 [label="Jump: ^test_1 Unit"];
|
||||
31 [label="Stub" style="filled" fillcolor=gray];
|
||||
32 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
33 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
34 [label="Enter when branch result"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
35 [label="Enter block"];
|
||||
36 [label="Const: Int(20)"];
|
||||
37 [label="Exit block"];
|
||||
}
|
||||
38 [label="Exit when branch result"];
|
||||
39 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
40 [label="Enter block"];
|
||||
41 [label="Const: Int(10)"];
|
||||
42 [label="Exit block"];
|
||||
}
|
||||
43 [label="Exit when branch result"];
|
||||
44 [label="Exit when"];
|
||||
}
|
||||
45 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
46 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {39 7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {34 14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {28 21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {44};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {46};
|
||||
30 -> {31} [style=dotted];
|
||||
31 -> {32} [style=dotted];
|
||||
32 -> {33} [style=dotted];
|
||||
33 -> {44} [style=dotted];
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {44};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
47 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
48 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
49 [label="Enter when branch condition "];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
50 [label="Enter &&"];
|
||||
51 [label="Access variable R|<local>/x|"];
|
||||
52 [label="Type operator: x is A"];
|
||||
53 [label="Exit left part of &&"];
|
||||
54 [label="Enter right part of &&"];
|
||||
55 [label="Access variable R|<local>/x|"];
|
||||
56 [label="Type operator: x is B"];
|
||||
57 [label="Exit &&"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Const: Int(1)"];
|
||||
5 [label="Operator =="];
|
||||
6 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
7 [label="Enter when branch condition "];
|
||||
8 [label="Access variable R|<local>/x|"];
|
||||
9 [label="Const: Int(2)"];
|
||||
10 [label="Function call: R|<local>/x|.R|kotlin/Int.rem|(Int(2))"];
|
||||
11 [label="Const: Int(0)"];
|
||||
12 [label="Operator =="];
|
||||
13 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
14 [label="Enter when branch condition "];
|
||||
15 [label="Const: Int(1)"];
|
||||
16 [label="Const: Int(1)"];
|
||||
17 [label="Function call: Int(1).R|kotlin/Int.minus|(Int(1))"];
|
||||
18 [label="Const: Int(0)"];
|
||||
19 [label="Operator =="];
|
||||
20 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
21 [label="Enter when branch condition else"];
|
||||
22 [label="Exit when branch condition"];
|
||||
}
|
||||
23 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
24 [label="Enter block"];
|
||||
25 [label="Const: Int(5)"];
|
||||
26 [label="Exit block"];
|
||||
}
|
||||
27 [label="Exit when branch result"];
|
||||
28 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
29 [label="Enter block"];
|
||||
30 [label="Jump: ^test_1 Unit"];
|
||||
31 [label="Stub" style="filled" fillcolor=gray];
|
||||
32 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
33 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
34 [label="Enter when branch result"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
35 [label="Enter block"];
|
||||
36 [label="Const: Int(20)"];
|
||||
37 [label="Exit block"];
|
||||
}
|
||||
38 [label="Exit when branch result"];
|
||||
39 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
40 [label="Enter block"];
|
||||
41 [label="Const: Int(10)"];
|
||||
42 [label="Exit block"];
|
||||
}
|
||||
43 [label="Exit when branch result"];
|
||||
44 [label="Exit when"];
|
||||
}
|
||||
58 [label="Exit when branch condition"];
|
||||
}
|
||||
59 [label="Synthetic else branch"];
|
||||
60 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
61 [label="Enter block"];
|
||||
62 [label="Access variable R|<local>/x|"];
|
||||
63 [label="Type operator: x is A"];
|
||||
64 [label="Exit block"];
|
||||
}
|
||||
65 [label="Exit when branch result"];
|
||||
66 [label="Exit when"];
|
||||
45 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
46 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
67 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {57 54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {60 59};
|
||||
59 -> {66};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {39 7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {34 14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {28 21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {44};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {46};
|
||||
30 -> {31} [style=dotted];
|
||||
31 -> {32} [style=dotted];
|
||||
32 -> {33} [style=dotted];
|
||||
33 -> {44} [style=dotted];
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {44};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
47 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
48 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
49 [label="Enter when branch condition "];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
50 [label="Enter &&"];
|
||||
51 [label="Access variable R|<local>/x|"];
|
||||
52 [label="Type operator: x is A"];
|
||||
53 [label="Exit left part of &&"];
|
||||
54 [label="Enter right part of &&"];
|
||||
55 [label="Access variable R|<local>/x|"];
|
||||
56 [label="Type operator: x is B"];
|
||||
57 [label="Exit &&"];
|
||||
}
|
||||
58 [label="Exit when branch condition"];
|
||||
}
|
||||
59 [label="Synthetic else branch"];
|
||||
60 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
61 [label="Enter block"];
|
||||
62 [label="Access variable R|<local>/x|"];
|
||||
63 [label="Type operator: x is A"];
|
||||
64 [label="Exit block"];
|
||||
}
|
||||
65 [label="Exit when branch result"];
|
||||
66 [label="Exit when"];
|
||||
}
|
||||
67 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {57 54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {60 59};
|
||||
59 -> {66};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
|
||||
}
|
||||
|
||||
+442
-442
@@ -1,463 +1,463 @@
|
||||
digraph anotherBoundSmartcasts_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
3 [label="Const: Int(1)"];
|
||||
4 [label="Jump: ^foo Int(1)"];
|
||||
5 [label="Stub" style="filled" fillcolor=gray];
|
||||
6 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {6};
|
||||
4 -> {5} [style=dotted];
|
||||
5 -> {6} [style=dotted];
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
7 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
8 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
7 -> {8};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
9 [label="Enter property" style="filled" fillcolor=red];
|
||||
10 [label="Const: Int(1)"];
|
||||
11 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
12 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
13 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
12 -> {13};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
14 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
15 [label="Access variable R|<local>/a|"];
|
||||
16 [label="Enter safe call"];
|
||||
17 [label="Access variable R|/A.x|"];
|
||||
18 [label="Exit safe call"];
|
||||
19 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
20 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
21 [label="Enter when branch condition "];
|
||||
22 [label="Access variable R|<local>/x|"];
|
||||
23 [label="Const: Null(null)"];
|
||||
24 [label="Operator !="];
|
||||
25 [label="Exit when branch condition"];
|
||||
}
|
||||
26 [label="Synthetic else branch"];
|
||||
27 [label="Enter when branch result"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
28 [label="Enter block"];
|
||||
29 [label="Access variable R|<local>/a|"];
|
||||
30 [label="Function call: R|<local>/a|.R|/A.bar|()"];
|
||||
31 [label="Exit block"];
|
||||
}
|
||||
32 [label="Exit when branch result"];
|
||||
33 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
34 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
14 -> {15};
|
||||
15 -> {16 18};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {27 26};
|
||||
26 -> {33};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
35 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
36 [label="Access variable R|<local>/a|"];
|
||||
37 [label="Enter safe call"];
|
||||
38 [label="Function call: R|<local>/a|?.R|/A.foo|()"];
|
||||
39 [label="Exit safe call"];
|
||||
40 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
41 [label="Enter when"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
42 [label="Enter when branch condition "];
|
||||
43 [label="Access variable R|<local>/x|"];
|
||||
44 [label="Const: Null(null)"];
|
||||
45 [label="Operator !="];
|
||||
46 [label="Exit when branch condition"];
|
||||
}
|
||||
47 [label="Synthetic else branch"];
|
||||
48 [label="Enter when branch result"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
49 [label="Enter block"];
|
||||
50 [label="Access variable R|<local>/a|"];
|
||||
51 [label="Function call: R|<local>/a|.R|/A.bar|()"];
|
||||
52 [label="Exit block"];
|
||||
}
|
||||
53 [label="Exit when branch result"];
|
||||
54 [label="Exit when"];
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
3 [label="Const: Int(1)"];
|
||||
4 [label="Jump: ^foo Int(1)"];
|
||||
5 [label="Stub" style="filled" fillcolor=gray];
|
||||
6 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
55 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
35 -> {36};
|
||||
36 -> {37 39};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {48 47};
|
||||
47 -> {54};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {6};
|
||||
4 -> {5} [style=dotted];
|
||||
5 -> {6} [style=dotted];
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
56 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
57 [label="Enter when"];
|
||||
58 [label="Access variable R|<local>/x|"];
|
||||
59 [label="Type operator: x as? A"];
|
||||
60 [label="Variable declaration: lval <elvis>: R|A?|"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
61 [label="Enter when branch condition "];
|
||||
62 [label="Const: Null(null)"];
|
||||
63 [label="Operator =="];
|
||||
64 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
65 [label="Enter when branch condition else"];
|
||||
66 [label="Exit when branch condition"];
|
||||
}
|
||||
67 [label="Enter when branch result"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
68 [label="Enter block"];
|
||||
69 [label="Access variable R|<local>/<elvis>|"];
|
||||
70 [label="Exit block"];
|
||||
}
|
||||
71 [label="Exit when branch result"];
|
||||
72 [label="Enter when branch result"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
73 [label="Enter block"];
|
||||
74 [label="Jump: ^test_3 Unit"];
|
||||
75 [label="Stub" style="filled" fillcolor=gray];
|
||||
76 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
77 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
78 [label="Exit when"];
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
7 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
8 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
79 [label="Variable declaration: lval a: R|A|"];
|
||||
80 [label="Access variable R|<local>/a|"];
|
||||
81 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
82 [label="Access variable R|<local>/x|"];
|
||||
83 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
84 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {72 65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {78};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {84};
|
||||
74 -> {75} [style=dotted];
|
||||
75 -> {76} [style=dotted];
|
||||
76 -> {77} [style=dotted];
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
7 -> {8};
|
||||
|
||||
subgraph cluster_19 {
|
||||
color=red
|
||||
85 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
86 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
85 -> {86};
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
87 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
88 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
87 -> {88};
|
||||
|
||||
subgraph cluster_21 {
|
||||
color=red
|
||||
89 [label="Enter property" style="filled" fillcolor=red];
|
||||
90 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
89 -> {90};
|
||||
|
||||
subgraph cluster_22 {
|
||||
color=red
|
||||
91 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
92 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
91 -> {92};
|
||||
|
||||
subgraph cluster_23 {
|
||||
color=red
|
||||
93 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
94 [label="Access variable R|<local>/a|"];
|
||||
95 [label="Enter safe call"];
|
||||
96 [label="Access variable R|/B.x|"];
|
||||
97 [label="Exit safe call"];
|
||||
98 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
99 [label="Enter when"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
100 [label="Enter when branch condition "];
|
||||
101 [label="Access variable R|<local>/x|"];
|
||||
102 [label="Const: Null(null)"];
|
||||
103 [label="Operator !="];
|
||||
104 [label="Exit when branch condition"];
|
||||
}
|
||||
105 [label="Synthetic else branch"];
|
||||
106 [label="Enter when branch result"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
107 [label="Enter block"];
|
||||
108 [label="Access variable R|<local>/a|"];
|
||||
109 [label="Function call: R|<local>/a|.R|/B.bar|()"];
|
||||
110 [label="Exit block"];
|
||||
}
|
||||
111 [label="Exit when branch result"];
|
||||
112 [label="Exit when"];
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
9 [label="Enter property" style="filled" fillcolor=red];
|
||||
10 [label="Const: Int(1)"];
|
||||
11 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
113 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
93 -> {94};
|
||||
94 -> {95 97};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {106 105};
|
||||
105 -> {112};
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_27 {
|
||||
color=red
|
||||
114 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
115 [label="Access variable R|<local>/a|"];
|
||||
116 [label="Enter safe call"];
|
||||
117 [label="Function call: R|<local>/a|?.R|/B.foo|()"];
|
||||
118 [label="Exit safe call"];
|
||||
119 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
120 [label="Enter when"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
121 [label="Enter when branch condition "];
|
||||
122 [label="Access variable R|<local>/x|"];
|
||||
123 [label="Const: Null(null)"];
|
||||
124 [label="Operator !="];
|
||||
125 [label="Exit when branch condition"];
|
||||
}
|
||||
126 [label="Synthetic else branch"];
|
||||
127 [label="Enter when branch result"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
128 [label="Enter block"];
|
||||
129 [label="Access variable R|<local>/a|"];
|
||||
130 [label="Function call: R|<local>/a|.R|/B.bar|()"];
|
||||
131 [label="Exit block"];
|
||||
}
|
||||
132 [label="Exit when branch result"];
|
||||
133 [label="Exit when"];
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
12 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
13 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
134 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
114 -> {115};
|
||||
115 -> {116 118};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {127 126};
|
||||
126 -> {133};
|
||||
127 -> {128};
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {132};
|
||||
132 -> {133};
|
||||
133 -> {134};
|
||||
12 -> {13};
|
||||
|
||||
subgraph cluster_31 {
|
||||
color=red
|
||||
135 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
136 [label="Enter when"];
|
||||
137 [label="Access variable R|<local>/x|"];
|
||||
138 [label="Type operator: x as? B"];
|
||||
139 [label="Variable declaration: lval <elvis>: R|B?|"];
|
||||
subgraph cluster_33 {
|
||||
color=blue
|
||||
140 [label="Enter when branch condition "];
|
||||
141 [label="Const: Null(null)"];
|
||||
142 [label="Operator =="];
|
||||
143 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
144 [label="Enter when branch condition else"];
|
||||
145 [label="Exit when branch condition"];
|
||||
}
|
||||
146 [label="Enter when branch result"];
|
||||
subgraph cluster_35 {
|
||||
color=blue
|
||||
147 [label="Enter block"];
|
||||
148 [label="Access variable R|<local>/<elvis>|"];
|
||||
149 [label="Exit block"];
|
||||
}
|
||||
150 [label="Exit when branch result"];
|
||||
151 [label="Enter when branch result"];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
152 [label="Enter block"];
|
||||
153 [label="Jump: ^test_3 Unit"];
|
||||
154 [label="Stub" style="filled" fillcolor=gray];
|
||||
155 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
156 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
157 [label="Exit when"];
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
14 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
15 [label="Access variable R|<local>/a|"];
|
||||
16 [label="Enter safe call"];
|
||||
17 [label="Access variable R|/A.x|"];
|
||||
18 [label="Exit safe call"];
|
||||
19 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
20 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
21 [label="Enter when branch condition "];
|
||||
22 [label="Access variable R|<local>/x|"];
|
||||
23 [label="Const: Null(null)"];
|
||||
24 [label="Operator !="];
|
||||
25 [label="Exit when branch condition"];
|
||||
}
|
||||
26 [label="Synthetic else branch"];
|
||||
27 [label="Enter when branch result"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
28 [label="Enter block"];
|
||||
29 [label="Access variable R|<local>/a|"];
|
||||
30 [label="Function call: R|<local>/a|.R|/A.bar|()"];
|
||||
31 [label="Exit block"];
|
||||
}
|
||||
32 [label="Exit when branch result"];
|
||||
33 [label="Exit when"];
|
||||
}
|
||||
34 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
158 [label="Variable declaration: lval a: R|B|"];
|
||||
159 [label="Access variable R|<local>/a|"];
|
||||
160 [label="Function call: R|<local>/a|.R|/B.foo|()"];
|
||||
161 [label="Access variable R|<local>/x|"];
|
||||
162 [label="Function call: R|<local>/x|.R|/B.foo|()"];
|
||||
163 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
135 -> {136};
|
||||
136 -> {137};
|
||||
137 -> {138};
|
||||
138 -> {139};
|
||||
139 -> {140};
|
||||
140 -> {141};
|
||||
141 -> {142};
|
||||
142 -> {143};
|
||||
143 -> {151 144};
|
||||
144 -> {145};
|
||||
145 -> {146};
|
||||
146 -> {147};
|
||||
147 -> {148};
|
||||
148 -> {149};
|
||||
149 -> {150};
|
||||
150 -> {157};
|
||||
151 -> {152};
|
||||
152 -> {153};
|
||||
153 -> {163};
|
||||
153 -> {154} [style=dotted];
|
||||
154 -> {155} [style=dotted];
|
||||
155 -> {156} [style=dotted];
|
||||
156 -> {157} [style=dotted];
|
||||
157 -> {158};
|
||||
158 -> {159};
|
||||
159 -> {160};
|
||||
160 -> {161};
|
||||
161 -> {162};
|
||||
162 -> {163};
|
||||
14 -> {15};
|
||||
15 -> {16 18};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {27 26};
|
||||
26 -> {33};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
35 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
36 [label="Access variable R|<local>/a|"];
|
||||
37 [label="Enter safe call"];
|
||||
38 [label="Function call: R|<local>/a|?.R|/A.foo|()"];
|
||||
39 [label="Exit safe call"];
|
||||
40 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
41 [label="Enter when"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
42 [label="Enter when branch condition "];
|
||||
43 [label="Access variable R|<local>/x|"];
|
||||
44 [label="Const: Null(null)"];
|
||||
45 [label="Operator !="];
|
||||
46 [label="Exit when branch condition"];
|
||||
}
|
||||
47 [label="Synthetic else branch"];
|
||||
48 [label="Enter when branch result"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
49 [label="Enter block"];
|
||||
50 [label="Access variable R|<local>/a|"];
|
||||
51 [label="Function call: R|<local>/a|.R|/A.bar|()"];
|
||||
52 [label="Exit block"];
|
||||
}
|
||||
53 [label="Exit when branch result"];
|
||||
54 [label="Exit when"];
|
||||
}
|
||||
55 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
35 -> {36};
|
||||
36 -> {37 39};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {48 47};
|
||||
47 -> {54};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
56 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
57 [label="Enter when"];
|
||||
58 [label="Access variable R|<local>/x|"];
|
||||
59 [label="Type operator: x as? A"];
|
||||
60 [label="Variable declaration: lval <elvis>: R|A?|"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
61 [label="Enter when branch condition "];
|
||||
62 [label="Const: Null(null)"];
|
||||
63 [label="Operator =="];
|
||||
64 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
65 [label="Enter when branch condition else"];
|
||||
66 [label="Exit when branch condition"];
|
||||
}
|
||||
67 [label="Enter when branch result"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
68 [label="Enter block"];
|
||||
69 [label="Access variable R|<local>/<elvis>|"];
|
||||
70 [label="Exit block"];
|
||||
}
|
||||
71 [label="Exit when branch result"];
|
||||
72 [label="Enter when branch result"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
73 [label="Enter block"];
|
||||
74 [label="Jump: ^test_3 Unit"];
|
||||
75 [label="Stub" style="filled" fillcolor=gray];
|
||||
76 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
77 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
78 [label="Exit when"];
|
||||
}
|
||||
79 [label="Variable declaration: lval a: R|A|"];
|
||||
80 [label="Access variable R|<local>/a|"];
|
||||
81 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
82 [label="Access variable R|<local>/x|"];
|
||||
83 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
84 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {72 65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {78};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {84};
|
||||
74 -> {75} [style=dotted];
|
||||
75 -> {76} [style=dotted];
|
||||
76 -> {77} [style=dotted];
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
|
||||
subgraph cluster_19 {
|
||||
color=red
|
||||
85 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
86 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
85 -> {86};
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
87 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
88 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
87 -> {88};
|
||||
|
||||
subgraph cluster_21 {
|
||||
color=red
|
||||
89 [label="Enter property" style="filled" fillcolor=red];
|
||||
90 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
89 -> {90};
|
||||
|
||||
subgraph cluster_22 {
|
||||
color=red
|
||||
91 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
92 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
91 -> {92};
|
||||
|
||||
subgraph cluster_23 {
|
||||
color=red
|
||||
93 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
94 [label="Access variable R|<local>/a|"];
|
||||
95 [label="Enter safe call"];
|
||||
96 [label="Access variable R|/B.x|"];
|
||||
97 [label="Exit safe call"];
|
||||
98 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
99 [label="Enter when"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
100 [label="Enter when branch condition "];
|
||||
101 [label="Access variable R|<local>/x|"];
|
||||
102 [label="Const: Null(null)"];
|
||||
103 [label="Operator !="];
|
||||
104 [label="Exit when branch condition"];
|
||||
}
|
||||
105 [label="Synthetic else branch"];
|
||||
106 [label="Enter when branch result"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
107 [label="Enter block"];
|
||||
108 [label="Access variable R|<local>/a|"];
|
||||
109 [label="Function call: R|<local>/a|.R|/B.bar|()"];
|
||||
110 [label="Exit block"];
|
||||
}
|
||||
111 [label="Exit when branch result"];
|
||||
112 [label="Exit when"];
|
||||
}
|
||||
113 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
93 -> {94};
|
||||
94 -> {95 97};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {106 105};
|
||||
105 -> {112};
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
|
||||
subgraph cluster_27 {
|
||||
color=red
|
||||
114 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
115 [label="Access variable R|<local>/a|"];
|
||||
116 [label="Enter safe call"];
|
||||
117 [label="Function call: R|<local>/a|?.R|/B.foo|()"];
|
||||
118 [label="Exit safe call"];
|
||||
119 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
120 [label="Enter when"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
121 [label="Enter when branch condition "];
|
||||
122 [label="Access variable R|<local>/x|"];
|
||||
123 [label="Const: Null(null)"];
|
||||
124 [label="Operator !="];
|
||||
125 [label="Exit when branch condition"];
|
||||
}
|
||||
126 [label="Synthetic else branch"];
|
||||
127 [label="Enter when branch result"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
128 [label="Enter block"];
|
||||
129 [label="Access variable R|<local>/a|"];
|
||||
130 [label="Function call: R|<local>/a|.R|/B.bar|()"];
|
||||
131 [label="Exit block"];
|
||||
}
|
||||
132 [label="Exit when branch result"];
|
||||
133 [label="Exit when"];
|
||||
}
|
||||
134 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
114 -> {115};
|
||||
115 -> {116 118};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {127 126};
|
||||
126 -> {133};
|
||||
127 -> {128};
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {132};
|
||||
132 -> {133};
|
||||
133 -> {134};
|
||||
|
||||
subgraph cluster_31 {
|
||||
color=red
|
||||
135 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
136 [label="Enter when"];
|
||||
137 [label="Access variable R|<local>/x|"];
|
||||
138 [label="Type operator: x as? B"];
|
||||
139 [label="Variable declaration: lval <elvis>: R|B?|"];
|
||||
subgraph cluster_33 {
|
||||
color=blue
|
||||
140 [label="Enter when branch condition "];
|
||||
141 [label="Const: Null(null)"];
|
||||
142 [label="Operator =="];
|
||||
143 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
144 [label="Enter when branch condition else"];
|
||||
145 [label="Exit when branch condition"];
|
||||
}
|
||||
146 [label="Enter when branch result"];
|
||||
subgraph cluster_35 {
|
||||
color=blue
|
||||
147 [label="Enter block"];
|
||||
148 [label="Access variable R|<local>/<elvis>|"];
|
||||
149 [label="Exit block"];
|
||||
}
|
||||
150 [label="Exit when branch result"];
|
||||
151 [label="Enter when branch result"];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
152 [label="Enter block"];
|
||||
153 [label="Jump: ^test_3 Unit"];
|
||||
154 [label="Stub" style="filled" fillcolor=gray];
|
||||
155 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
156 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
157 [label="Exit when"];
|
||||
}
|
||||
158 [label="Variable declaration: lval a: R|B|"];
|
||||
159 [label="Access variable R|<local>/a|"];
|
||||
160 [label="Function call: R|<local>/a|.R|/B.foo|()"];
|
||||
161 [label="Access variable R|<local>/x|"];
|
||||
162 [label="Function call: R|<local>/x|.R|/B.foo|()"];
|
||||
163 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
135 -> {136};
|
||||
136 -> {137};
|
||||
137 -> {138};
|
||||
138 -> {139};
|
||||
139 -> {140};
|
||||
140 -> {141};
|
||||
141 -> {142};
|
||||
142 -> {143};
|
||||
143 -> {151 144};
|
||||
144 -> {145};
|
||||
145 -> {146};
|
||||
146 -> {147};
|
||||
147 -> {148};
|
||||
148 -> {149};
|
||||
149 -> {150};
|
||||
150 -> {157};
|
||||
151 -> {152};
|
||||
152 -> {153};
|
||||
153 -> {163};
|
||||
153 -> {154} [style=dotted];
|
||||
154 -> {155} [style=dotted];
|
||||
155 -> {156} [style=dotted];
|
||||
156 -> {157} [style=dotted];
|
||||
157 -> {158};
|
||||
158 -> {159};
|
||||
159 -> {160};
|
||||
160 -> {161};
|
||||
161 -> {162};
|
||||
162 -> {163};
|
||||
|
||||
}
|
||||
|
||||
+331
-331
@@ -1,357 +1,357 @@
|
||||
digraph bangbang_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function test_0" style="filled" fillcolor=red];
|
||||
3 [label="Access variable R|<local>/a|"];
|
||||
4 [label="Check not null: R|<local>/a|!!"];
|
||||
5 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
6 [label="Access variable R|<local>/a|"];
|
||||
7 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
8 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
9 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
10 [label="Enter when"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
11 [label="Enter when branch condition "];
|
||||
12 [label="Access variable R|<local>/a|"];
|
||||
13 [label="Check not null: R|<local>/a|!!"];
|
||||
14 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
15 [label="Exit when branch condition"];
|
||||
}
|
||||
16 [label="Synthetic else branch"];
|
||||
17 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
18 [label="Enter block"];
|
||||
19 [label="Access variable R|<local>/a|"];
|
||||
20 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
21 [label="Exit block"];
|
||||
}
|
||||
22 [label="Exit when branch result"];
|
||||
23 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
24 [label="Access variable R|<local>/a|"];
|
||||
25 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
26 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {17 16};
|
||||
16 -> {23};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
27 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
28 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
29 [label="Enter when branch condition "];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
30 [label="Enter &&"];
|
||||
31 [label="Access variable R|<local>/a|"];
|
||||
32 [label="Check not null: R|<local>/a|!!"];
|
||||
33 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
34 [label="Exit left part of &&"];
|
||||
35 [label="Enter right part of &&"];
|
||||
36 [label="Access variable R|<local>/b|"];
|
||||
37 [label="Exit &&"];
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function test_0" style="filled" fillcolor=red];
|
||||
3 [label="Access variable R|<local>/a|"];
|
||||
4 [label="Check not null: R|<local>/a|!!"];
|
||||
5 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
6 [label="Access variable R|<local>/a|"];
|
||||
7 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
8 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
9 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
10 [label="Enter when"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
11 [label="Enter when branch condition "];
|
||||
12 [label="Access variable R|<local>/a|"];
|
||||
13 [label="Check not null: R|<local>/a|!!"];
|
||||
14 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
15 [label="Exit when branch condition"];
|
||||
}
|
||||
16 [label="Synthetic else branch"];
|
||||
17 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
18 [label="Enter block"];
|
||||
19 [label="Access variable R|<local>/a|"];
|
||||
20 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
21 [label="Exit block"];
|
||||
}
|
||||
22 [label="Exit when branch result"];
|
||||
23 [label="Exit when"];
|
||||
}
|
||||
38 [label="Exit when branch condition"];
|
||||
}
|
||||
39 [label="Synthetic else branch"];
|
||||
40 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
41 [label="Enter block"];
|
||||
42 [label="Access variable R|<local>/a|"];
|
||||
43 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
44 [label="Exit block"];
|
||||
}
|
||||
45 [label="Exit when branch result"];
|
||||
46 [label="Exit when"];
|
||||
24 [label="Access variable R|<local>/a|"];
|
||||
25 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
26 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
47 [label="Access variable R|<local>/a|"];
|
||||
48 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
49 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {37 35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {40 39};
|
||||
39 -> {46};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {17 16};
|
||||
16 -> {23};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
50 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
51 [label="Enter when"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
52 [label="Enter when branch condition "];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
53 [label="Enter &&"];
|
||||
54 [label="Access variable R|<local>/b|"];
|
||||
55 [label="Exit left part of &&"];
|
||||
56 [label="Enter right part of &&"];
|
||||
57 [label="Access variable R|<local>/a|"];
|
||||
58 [label="Check not null: R|<local>/a|!!"];
|
||||
59 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
60 [label="Exit &&"];
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
27 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
28 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
29 [label="Enter when branch condition "];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
30 [label="Enter &&"];
|
||||
31 [label="Access variable R|<local>/a|"];
|
||||
32 [label="Check not null: R|<local>/a|!!"];
|
||||
33 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
34 [label="Exit left part of &&"];
|
||||
35 [label="Enter right part of &&"];
|
||||
36 [label="Access variable R|<local>/b|"];
|
||||
37 [label="Exit &&"];
|
||||
}
|
||||
38 [label="Exit when branch condition"];
|
||||
}
|
||||
39 [label="Synthetic else branch"];
|
||||
40 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
41 [label="Enter block"];
|
||||
42 [label="Access variable R|<local>/a|"];
|
||||
43 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
44 [label="Exit block"];
|
||||
}
|
||||
45 [label="Exit when branch result"];
|
||||
46 [label="Exit when"];
|
||||
}
|
||||
61 [label="Exit when branch condition"];
|
||||
}
|
||||
62 [label="Synthetic else branch"];
|
||||
63 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
64 [label="Enter block"];
|
||||
65 [label="Access variable R|<local>/a|"];
|
||||
66 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
67 [label="Exit block"];
|
||||
}
|
||||
68 [label="Exit when branch result"];
|
||||
69 [label="Exit when"];
|
||||
47 [label="Access variable R|<local>/a|"];
|
||||
48 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
49 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
70 [label="Access variable R|<local>/a|"];
|
||||
71 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
72 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {60 56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {63 62};
|
||||
62 -> {69};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {37 35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {40 39};
|
||||
39 -> {46};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
|
||||
subgraph cluster_16 {
|
||||
color=red
|
||||
73 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
74 [label="Enter when"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
75 [label="Enter when branch condition "];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
76 [label="Enter ||"];
|
||||
77 [label="Access variable R|<local>/a|"];
|
||||
78 [label="Check not null: R|<local>/a|!!"];
|
||||
79 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
80 [label="Exit left part of ||"];
|
||||
81 [label="Enter right part of ||"];
|
||||
82 [label="Access variable R|<local>/b|"];
|
||||
83 [label="Exit ||"];
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
50 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
51 [label="Enter when"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
52 [label="Enter when branch condition "];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
53 [label="Enter &&"];
|
||||
54 [label="Access variable R|<local>/b|"];
|
||||
55 [label="Exit left part of &&"];
|
||||
56 [label="Enter right part of &&"];
|
||||
57 [label="Access variable R|<local>/a|"];
|
||||
58 [label="Check not null: R|<local>/a|!!"];
|
||||
59 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
60 [label="Exit &&"];
|
||||
}
|
||||
61 [label="Exit when branch condition"];
|
||||
}
|
||||
62 [label="Synthetic else branch"];
|
||||
63 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
64 [label="Enter block"];
|
||||
65 [label="Access variable R|<local>/a|"];
|
||||
66 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
67 [label="Exit block"];
|
||||
}
|
||||
68 [label="Exit when branch result"];
|
||||
69 [label="Exit when"];
|
||||
}
|
||||
84 [label="Exit when branch condition"];
|
||||
}
|
||||
85 [label="Synthetic else branch"];
|
||||
86 [label="Enter when branch result"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
87 [label="Enter block"];
|
||||
88 [label="Access variable R|<local>/a|"];
|
||||
89 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
90 [label="Exit block"];
|
||||
}
|
||||
91 [label="Exit when branch result"];
|
||||
92 [label="Exit when"];
|
||||
70 [label="Access variable R|<local>/a|"];
|
||||
71 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
72 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
93 [label="Access variable R|<local>/a|"];
|
||||
94 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
95 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {83 81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {86 85};
|
||||
85 -> {92};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {60 56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {63 62};
|
||||
62 -> {69};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
|
||||
subgraph cluster_21 {
|
||||
color=red
|
||||
96 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
97 [label="Enter when"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
98 [label="Enter when branch condition "];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
99 [label="Enter ||"];
|
||||
100 [label="Access variable R|<local>/b|"];
|
||||
101 [label="Exit left part of ||"];
|
||||
102 [label="Enter right part of ||"];
|
||||
103 [label="Access variable R|<local>/a|"];
|
||||
104 [label="Check not null: R|<local>/a|!!"];
|
||||
105 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
106 [label="Exit ||"];
|
||||
subgraph cluster_16 {
|
||||
color=red
|
||||
73 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
74 [label="Enter when"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
75 [label="Enter when branch condition "];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
76 [label="Enter ||"];
|
||||
77 [label="Access variable R|<local>/a|"];
|
||||
78 [label="Check not null: R|<local>/a|!!"];
|
||||
79 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
80 [label="Exit left part of ||"];
|
||||
81 [label="Enter right part of ||"];
|
||||
82 [label="Access variable R|<local>/b|"];
|
||||
83 [label="Exit ||"];
|
||||
}
|
||||
84 [label="Exit when branch condition"];
|
||||
}
|
||||
85 [label="Synthetic else branch"];
|
||||
86 [label="Enter when branch result"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
87 [label="Enter block"];
|
||||
88 [label="Access variable R|<local>/a|"];
|
||||
89 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
90 [label="Exit block"];
|
||||
}
|
||||
91 [label="Exit when branch result"];
|
||||
92 [label="Exit when"];
|
||||
}
|
||||
107 [label="Exit when branch condition"];
|
||||
}
|
||||
108 [label="Synthetic else branch"];
|
||||
109 [label="Enter when branch result"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
110 [label="Enter block"];
|
||||
111 [label="Access variable R|<local>/a|"];
|
||||
112 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
113 [label="Exit block"];
|
||||
}
|
||||
114 [label="Exit when branch result"];
|
||||
115 [label="Exit when"];
|
||||
93 [label="Access variable R|<local>/a|"];
|
||||
94 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
95 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
116 [label="Access variable R|<local>/a|"];
|
||||
117 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
118 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {106 102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
107 -> {109 108};
|
||||
108 -> {115};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {83 81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {86 85};
|
||||
85 -> {92};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
|
||||
subgraph cluster_26 {
|
||||
color=red
|
||||
119 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
120 [label="Access variable R|<local>/x|"];
|
||||
121 [label="Check not null: R|<local>/x|!!"];
|
||||
122 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
|
||||
123 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=red
|
||||
96 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
97 [label="Enter when"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
98 [label="Enter when branch condition "];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
99 [label="Enter ||"];
|
||||
100 [label="Access variable R|<local>/b|"];
|
||||
101 [label="Exit left part of ||"];
|
||||
102 [label="Enter right part of ||"];
|
||||
103 [label="Access variable R|<local>/a|"];
|
||||
104 [label="Check not null: R|<local>/a|!!"];
|
||||
105 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
|
||||
106 [label="Exit ||"];
|
||||
}
|
||||
107 [label="Exit when branch condition"];
|
||||
}
|
||||
108 [label="Synthetic else branch"];
|
||||
109 [label="Enter when branch result"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
110 [label="Enter block"];
|
||||
111 [label="Access variable R|<local>/a|"];
|
||||
112 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
113 [label="Exit block"];
|
||||
}
|
||||
114 [label="Exit when branch result"];
|
||||
115 [label="Exit when"];
|
||||
}
|
||||
116 [label="Access variable R|<local>/a|"];
|
||||
117 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
118 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {106 102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
107 -> {109 108};
|
||||
108 -> {115};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
|
||||
subgraph cluster_27 {
|
||||
color=red
|
||||
124 [label="Enter function test_7" style="filled" fillcolor=red];
|
||||
125 [label="Access variable R|<local>/x|"];
|
||||
126 [label="Check not null: R|<local>/x|!!"];
|
||||
127 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
|
||||
128 [label="Exit function test_7" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_26 {
|
||||
color=red
|
||||
119 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
120 [label="Access variable R|<local>/x|"];
|
||||
121 [label="Check not null: R|<local>/x|!!"];
|
||||
122 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
|
||||
123 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
|
||||
subgraph cluster_27 {
|
||||
color=red
|
||||
124 [label="Enter function test_7" style="filled" fillcolor=red];
|
||||
125 [label="Access variable R|<local>/x|"];
|
||||
126 [label="Check not null: R|<local>/x|!!"];
|
||||
127 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
|
||||
128 [label="Exit function test_7" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
|
||||
}
|
||||
|
||||
+798
-465
File diff suppressed because it is too large
Load Diff
@@ -41,26 +41,68 @@ fun test_4(x: Any) {
|
||||
x.<!UNRESOLVED_REFERENCE!>length<!>
|
||||
}
|
||||
|
||||
fun test_5(x: A?) {
|
||||
if (x != null || false) {
|
||||
x.<!INAPPLICABLE_CANDIDATE!>foo<!>()
|
||||
}
|
||||
}
|
||||
|
||||
fun test_6(x: A?) {
|
||||
if (false || x != null) {
|
||||
x.<!INAPPLICABLE_CANDIDATE!>foo<!>()
|
||||
}
|
||||
}
|
||||
|
||||
fun test_7(x: Any) {
|
||||
fun test_5(x: Any) {
|
||||
if (x is A && x.bool()) {
|
||||
x.foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun test_8(x: Any) {
|
||||
fun test_6(x: Any) {
|
||||
if ((x !is A).not()) {
|
||||
x.foo()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// || and const
|
||||
|
||||
fun test_7(x: Any) {
|
||||
if (x is A || false) {
|
||||
// TODO: should be smartcast
|
||||
x.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
}
|
||||
}
|
||||
|
||||
fun test_8(x: Any) {
|
||||
if (false || x is A) {
|
||||
// TODO: should be smartcast
|
||||
x.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
}
|
||||
}
|
||||
|
||||
fun test_9(x: Any) {
|
||||
if (x is A || true) {
|
||||
x.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
}
|
||||
}
|
||||
|
||||
fun test_10(x: Any) {
|
||||
if (true || x is A) {
|
||||
x.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
}
|
||||
}
|
||||
|
||||
// && and const
|
||||
|
||||
fun test_11(x: Any, b: Boolean) {
|
||||
if (false && x is A) {
|
||||
x.foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun test_12(x: Any, b: Boolean) {
|
||||
if (x is A && false) {
|
||||
x.foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun test_13(x: Any, b: Boolean) {
|
||||
if (true && x is A) {
|
||||
x.foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun test_14(x: Any, b: Boolean) {
|
||||
if (x is A && false) {
|
||||
x.foo()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,23 +50,7 @@ FILE: booleanOperators.kt
|
||||
|
||||
R|<local>/x|.<Unresolved name: length>#
|
||||
}
|
||||
public final fun test_5(x: R|A?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
!=(R|<local>/x|, Null(null)) || Boolean(false) -> {
|
||||
R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_6(x: R|A?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
Boolean(false) || !=(R|<local>/x|, Null(null)) -> {
|
||||
R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_7(x: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
public final fun test_5(x: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
when () {
|
||||
(R|<local>/x| is R|A|) && R|<local>/x|.R|/A.bool|() -> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
@@ -74,7 +58,7 @@ FILE: booleanOperators.kt
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_8(x: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
public final fun test_6(x: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
when () {
|
||||
(R|<local>/x| !is R|A|).R|kotlin/Boolean.not|() -> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
@@ -82,3 +66,67 @@ FILE: booleanOperators.kt
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_7(x: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
when () {
|
||||
(R|<local>/x| is R|A|) || Boolean(false) -> {
|
||||
R|<local>/x|.<Unresolved name: foo>#()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_8(x: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
when () {
|
||||
Boolean(false) || (R|<local>/x| is R|A|) -> {
|
||||
R|<local>/x|.<Unresolved name: foo>#()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_9(x: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
when () {
|
||||
(R|<local>/x| is R|A|) || Boolean(true) -> {
|
||||
R|<local>/x|.<Unresolved name: foo>#()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_10(x: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
when () {
|
||||
Boolean(true) || (R|<local>/x| is R|A|) -> {
|
||||
R|<local>/x|.<Unresolved name: foo>#()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_11(x: R|kotlin/Any|, b: R|kotlin/Boolean|): R|kotlin/Unit| {
|
||||
when () {
|
||||
Boolean(false) && (R|<local>/x| is R|A|) -> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_12(x: R|kotlin/Any|, b: R|kotlin/Boolean|): R|kotlin/Unit| {
|
||||
when () {
|
||||
(R|<local>/x| is R|A|) && Boolean(false) -> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_13(x: R|kotlin/Any|, b: R|kotlin/Boolean|): R|kotlin/Unit| {
|
||||
when () {
|
||||
Boolean(true) && (R|<local>/x| is R|A|) -> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public final fun test_14(x: R|kotlin/Any|, b: R|kotlin/Boolean|): R|kotlin/Unit| {
|
||||
when () {
|
||||
(R|<local>/x| is R|A|) && Boolean(false) -> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,503 @@
|
||||
digraph booleanOperators_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function bool" style="filled" fillcolor=red];
|
||||
3 [label="Exit function bool" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
5 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
6 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
7 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
8 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
9 [label="Enter when"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
10 [label="Enter when branch condition "];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
11 [label="Enter &&"];
|
||||
12 [label="Access variable R|<local>/x|"];
|
||||
13 [label="Type operator: x is B"];
|
||||
14 [label="Exit left part of &&"];
|
||||
15 [label="Enter right part of &&"];
|
||||
16 [label="Access variable R|<local>/x|"];
|
||||
17 [label="Type operator: x is C"];
|
||||
18 [label="Exit &&"];
|
||||
}
|
||||
19 [label="Exit when branch condition"];
|
||||
}
|
||||
20 [label="Synthetic else branch"];
|
||||
21 [label="Enter when branch result"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
22 [label="Enter block"];
|
||||
23 [label="Access variable R|<local>/x|"];
|
||||
24 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
25 [label="Access variable R|<local>/x|"];
|
||||
26 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||
27 [label="Access variable R|<local>/x|"];
|
||||
28 [label="Function call: R|<local>/x|.R|/C.baz|()"];
|
||||
29 [label="Exit block"];
|
||||
}
|
||||
30 [label="Exit when branch result"];
|
||||
31 [label="Exit when"];
|
||||
}
|
||||
32 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {18 15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {21 20};
|
||||
20 -> {31};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
33 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
34 [label="Enter when"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
35 [label="Enter when branch condition "];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
36 [label="Enter ||"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Type operator: x is B"];
|
||||
39 [label="Exit left part of ||"];
|
||||
40 [label="Enter right part of ||"];
|
||||
41 [label="Access variable R|<local>/x|"];
|
||||
42 [label="Type operator: x is C"];
|
||||
43 [label="Exit ||"];
|
||||
}
|
||||
44 [label="Exit when branch condition"];
|
||||
}
|
||||
45 [label="Synthetic else branch"];
|
||||
46 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
47 [label="Enter block"];
|
||||
48 [label="Access variable R|<local>/x|"];
|
||||
49 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
|
||||
52 [label="Access variable R|<local>/x|"];
|
||||
53 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
|
||||
54 [label="Exit block"];
|
||||
}
|
||||
55 [label="Exit when branch result"];
|
||||
56 [label="Exit when"];
|
||||
}
|
||||
57 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {43 40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {46 45};
|
||||
45 -> {56};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
58 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
59 [label="Enter when"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
60 [label="Enter when branch condition "];
|
||||
61 [label="Access variable R|<local>/x|"];
|
||||
62 [label="Type operator: x !is A"];
|
||||
63 [label="Function call: (R|<local>/x| !is R|A|).R|kotlin/Boolean.not|()"];
|
||||
64 [label="Exit when branch condition"];
|
||||
}
|
||||
65 [label="Synthetic else branch"];
|
||||
66 [label="Enter when branch result"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
67 [label="Enter block"];
|
||||
68 [label="Access variable R|<local>/x|"];
|
||||
69 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
70 [label="Exit block"];
|
||||
}
|
||||
71 [label="Exit when branch result"];
|
||||
72 [label="Exit when"];
|
||||
}
|
||||
73 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {66 65};
|
||||
65 -> {72};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
|
||||
subgraph cluster_18 {
|
||||
color=red
|
||||
74 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
75 [label="Enter when"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
76 [label="Enter when branch condition "];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
77 [label="Enter ||"];
|
||||
78 [label="Access variable R|<local>/x|"];
|
||||
79 [label="Type operator: x !is String"];
|
||||
80 [label="Exit left part of ||"];
|
||||
81 [label="Enter right part of ||"];
|
||||
82 [label="Access variable R|<local>/x|"];
|
||||
83 [label="Access variable R|kotlin/String.length|"];
|
||||
84 [label="Const: Int(0)"];
|
||||
85 [label="Operator =="];
|
||||
86 [label="Exit ||"];
|
||||
}
|
||||
87 [label="Exit when branch condition"];
|
||||
}
|
||||
88 [label="Synthetic else branch"];
|
||||
89 [label="Enter when branch result"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
90 [label="Enter block"];
|
||||
91 [label="Access variable R|<local>/x|"];
|
||||
92 [label="Access variable <Unresolved name: length>#"];
|
||||
93 [label="Exit block"];
|
||||
}
|
||||
94 [label="Exit when branch result"];
|
||||
95 [label="Exit when"];
|
||||
}
|
||||
96 [label="Access variable R|<local>/x|"];
|
||||
97 [label="Access variable <Unresolved name: length>#"];
|
||||
98 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {86 81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {89 88};
|
||||
88 -> {95};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
|
||||
subgraph cluster_23 {
|
||||
color=red
|
||||
99 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
100 [label="Enter when"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
101 [label="Enter when branch condition "];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
102 [label="Enter ||"];
|
||||
103 [label="Access variable R|<local>/x|"];
|
||||
104 [label="Const: Null(null)"];
|
||||
105 [label="Operator !="];
|
||||
106 [label="Exit left part of ||"];
|
||||
107 [label="Enter right part of ||"];
|
||||
108 [label="Const: Boolean(false)"];
|
||||
109 [label="Exit ||"];
|
||||
}
|
||||
110 [label="Exit when branch condition"];
|
||||
}
|
||||
111 [label="Synthetic else branch"];
|
||||
112 [label="Enter when branch result"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
113 [label="Enter block"];
|
||||
114 [label="Access variable R|<local>/x|"];
|
||||
115 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
116 [label="Exit block"];
|
||||
}
|
||||
117 [label="Exit when branch result"];
|
||||
118 [label="Exit when"];
|
||||
}
|
||||
119 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {109 107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {112 111};
|
||||
111 -> {118};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
|
||||
subgraph cluster_28 {
|
||||
color=red
|
||||
120 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
121 [label="Enter when"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
122 [label="Enter when branch condition "];
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
123 [label="Enter ||"];
|
||||
124 [label="Const: Boolean(false)"];
|
||||
125 [label="Exit left part of ||"];
|
||||
126 [label="Enter right part of ||"];
|
||||
127 [label="Access variable R|<local>/x|"];
|
||||
128 [label="Const: Null(null)"];
|
||||
129 [label="Operator !="];
|
||||
130 [label="Stub" style="filled" fillcolor=gray];
|
||||
131 [label="Exit ||"];
|
||||
}
|
||||
132 [label="Exit when branch condition"];
|
||||
}
|
||||
133 [label="Synthetic else branch"];
|
||||
134 [label="Enter when branch result"];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
135 [label="Enter block"];
|
||||
136 [label="Access variable R|<local>/x|"];
|
||||
137 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
138 [label="Exit block"];
|
||||
}
|
||||
139 [label="Exit when branch result"];
|
||||
140 [label="Exit when"];
|
||||
}
|
||||
141 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
125 -> {130} [style=dotted];
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
128 -> {129};
|
||||
129 -> {131};
|
||||
130 -> {131} [style=dotted];
|
||||
131 -> {132};
|
||||
132 -> {134 133};
|
||||
133 -> {140};
|
||||
134 -> {135};
|
||||
135 -> {136};
|
||||
136 -> {137};
|
||||
137 -> {138};
|
||||
138 -> {139};
|
||||
139 -> {140};
|
||||
140 -> {141};
|
||||
|
||||
subgraph cluster_33 {
|
||||
color=red
|
||||
142 [label="Enter function test_7" style="filled" fillcolor=red];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
143 [label="Enter when"];
|
||||
subgraph cluster_35 {
|
||||
color=blue
|
||||
144 [label="Enter when branch condition "];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
145 [label="Enter &&"];
|
||||
146 [label="Access variable R|<local>/x|"];
|
||||
147 [label="Type operator: x is A"];
|
||||
148 [label="Exit left part of &&"];
|
||||
149 [label="Enter right part of &&"];
|
||||
150 [label="Access variable R|<local>/x|"];
|
||||
151 [label="Function call: R|<local>/x|.R|/A.bool|()"];
|
||||
152 [label="Exit &&"];
|
||||
}
|
||||
153 [label="Exit when branch condition"];
|
||||
}
|
||||
154 [label="Synthetic else branch"];
|
||||
155 [label="Enter when branch result"];
|
||||
subgraph cluster_37 {
|
||||
color=blue
|
||||
156 [label="Enter block"];
|
||||
157 [label="Access variable R|<local>/x|"];
|
||||
158 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
159 [label="Exit block"];
|
||||
}
|
||||
160 [label="Exit when branch result"];
|
||||
161 [label="Exit when"];
|
||||
}
|
||||
162 [label="Exit function test_7" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
142 -> {143};
|
||||
143 -> {144};
|
||||
144 -> {145};
|
||||
145 -> {146};
|
||||
146 -> {147};
|
||||
147 -> {148};
|
||||
148 -> {152 149};
|
||||
149 -> {150};
|
||||
150 -> {151};
|
||||
151 -> {152};
|
||||
152 -> {153};
|
||||
153 -> {155 154};
|
||||
154 -> {161};
|
||||
155 -> {156};
|
||||
156 -> {157};
|
||||
157 -> {158};
|
||||
158 -> {159};
|
||||
159 -> {160};
|
||||
160 -> {161};
|
||||
161 -> {162};
|
||||
|
||||
subgraph cluster_38 {
|
||||
color=red
|
||||
163 [label="Enter function test_8" style="filled" fillcolor=red];
|
||||
subgraph cluster_39 {
|
||||
color=blue
|
||||
164 [label="Enter when"];
|
||||
subgraph cluster_40 {
|
||||
color=blue
|
||||
165 [label="Enter when branch condition "];
|
||||
166 [label="Access variable R|<local>/x|"];
|
||||
167 [label="Type operator: x !is A"];
|
||||
168 [label="Function call: (R|<local>/x| !is R|A|).R|kotlin/Boolean.not|()"];
|
||||
169 [label="Exit when branch condition"];
|
||||
}
|
||||
170 [label="Synthetic else branch"];
|
||||
171 [label="Enter when branch result"];
|
||||
subgraph cluster_41 {
|
||||
color=blue
|
||||
172 [label="Enter block"];
|
||||
173 [label="Access variable R|<local>/x|"];
|
||||
174 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
175 [label="Exit block"];
|
||||
}
|
||||
176 [label="Exit when branch result"];
|
||||
177 [label="Exit when"];
|
||||
}
|
||||
178 [label="Exit function test_8" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
163 -> {164};
|
||||
164 -> {165};
|
||||
165 -> {166};
|
||||
166 -> {167};
|
||||
167 -> {168};
|
||||
168 -> {169};
|
||||
169 -> {171 170};
|
||||
170 -> {177};
|
||||
171 -> {172};
|
||||
172 -> {173};
|
||||
173 -> {174};
|
||||
174 -> {175};
|
||||
175 -> {176};
|
||||
176 -> {177};
|
||||
177 -> {178};
|
||||
|
||||
}
|
||||
+265
-265
@@ -1,281 +1,281 @@
|
||||
digraph boundSmartcasts_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
3 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
5 [label="Access variable R|<local>/x|"];
|
||||
6 [label="Variable declaration: lval y: R|kotlin/Any|"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
7 [label="Enter when"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
8 [label="Enter when branch condition "];
|
||||
9 [label="Access variable R|<local>/x|"];
|
||||
10 [label="Type operator: x is A"];
|
||||
11 [label="Exit when branch condition"];
|
||||
}
|
||||
12 [label="Synthetic else branch"];
|
||||
13 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
14 [label="Enter block"];
|
||||
15 [label="Access variable R|<local>/x|"];
|
||||
16 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
17 [label="Access variable R|<local>/y|"];
|
||||
18 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
19 [label="Exit block"];
|
||||
}
|
||||
20 [label="Exit when branch result"];
|
||||
21 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
22 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {13 12};
|
||||
12 -> {21};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
23 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
24 [label="Access variable R|<local>/x|"];
|
||||
25 [label="Variable declaration: lval y: R|kotlin/Any|"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
26 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
27 [label="Enter when branch condition "];
|
||||
28 [label="Access variable R|<local>/y|"];
|
||||
29 [label="Type operator: y is A"];
|
||||
30 [label="Exit when branch condition"];
|
||||
}
|
||||
31 [label="Synthetic else branch"];
|
||||
32 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
33 [label="Enter block"];
|
||||
34 [label="Access variable R|<local>/x|"];
|
||||
35 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
36 [label="Access variable R|<local>/y|"];
|
||||
37 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
38 [label="Exit block"];
|
||||
}
|
||||
39 [label="Exit when branch result"];
|
||||
40 [label="Exit when"];
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
3 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
41 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {32 31};
|
||||
31 -> {40};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
42 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
43 [label="Access variable R|<local>/x|"];
|
||||
44 [label="Variable declaration: lvar z: R|kotlin/Any|"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
45 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
46 [label="Enter when branch condition "];
|
||||
47 [label="Access variable R|<local>/x|"];
|
||||
48 [label="Type operator: x is A"];
|
||||
49 [label="Exit when branch condition"];
|
||||
}
|
||||
50 [label="Synthetic else branch"];
|
||||
51 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
52 [label="Enter block"];
|
||||
53 [label="Access variable R|<local>/z|"];
|
||||
54 [label="Function call: R|<local>/z|.R|/A.foo|()"];
|
||||
55 [label="Exit block"];
|
||||
}
|
||||
56 [label="Exit when branch result"];
|
||||
57 [label="Exit when"];
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
5 [label="Access variable R|<local>/x|"];
|
||||
6 [label="Variable declaration: lval y: R|kotlin/Any|"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
7 [label="Enter when"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
8 [label="Enter when branch condition "];
|
||||
9 [label="Access variable R|<local>/x|"];
|
||||
10 [label="Type operator: x is A"];
|
||||
11 [label="Exit when branch condition"];
|
||||
}
|
||||
12 [label="Synthetic else branch"];
|
||||
13 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
14 [label="Enter block"];
|
||||
15 [label="Access variable R|<local>/x|"];
|
||||
16 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
17 [label="Access variable R|<local>/y|"];
|
||||
18 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
19 [label="Exit block"];
|
||||
}
|
||||
20 [label="Exit when branch result"];
|
||||
21 [label="Exit when"];
|
||||
}
|
||||
22 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
58 [label="Access variable R|<local>/y|"];
|
||||
59 [label="Assignmenet: R|<local>/z|"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
60 [label="Enter when"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
61 [label="Enter when branch condition "];
|
||||
62 [label="Access variable R|<local>/y|"];
|
||||
63 [label="Type operator: y is B"];
|
||||
64 [label="Exit when branch condition"];
|
||||
}
|
||||
65 [label="Synthetic else branch"];
|
||||
66 [label="Enter when branch result"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
67 [label="Enter block"];
|
||||
68 [label="Access variable R|<local>/z|"];
|
||||
69 [label="Function call: R|<local>/z|.<Unresolved name: foo>#()"];
|
||||
70 [label="Access variable R|<local>/z|"];
|
||||
71 [label="Function call: R|<local>/z|.R|/B.bar|()"];
|
||||
72 [label="Exit block"];
|
||||
}
|
||||
73 [label="Exit when branch result"];
|
||||
74 [label="Exit when"];
|
||||
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {13 12};
|
||||
12 -> {21};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
23 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
24 [label="Access variable R|<local>/x|"];
|
||||
25 [label="Variable declaration: lval y: R|kotlin/Any|"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
26 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
27 [label="Enter when branch condition "];
|
||||
28 [label="Access variable R|<local>/y|"];
|
||||
29 [label="Type operator: y is A"];
|
||||
30 [label="Exit when branch condition"];
|
||||
}
|
||||
31 [label="Synthetic else branch"];
|
||||
32 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
33 [label="Enter block"];
|
||||
34 [label="Access variable R|<local>/x|"];
|
||||
35 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
36 [label="Access variable R|<local>/y|"];
|
||||
37 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
38 [label="Exit block"];
|
||||
}
|
||||
39 [label="Exit when branch result"];
|
||||
40 [label="Exit when"];
|
||||
}
|
||||
41 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
75 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {51 50};
|
||||
50 -> {57};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {66 65};
|
||||
65 -> {74};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {32 31};
|
||||
31 -> {40};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
76 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
77 [label="Const: Int(1)"];
|
||||
78 [label="Variable declaration: lvar x: R|kotlin/Any|"];
|
||||
79 [label="Access variable R|<local>/x|"];
|
||||
80 [label="Type operator: x as Int"];
|
||||
81 [label="Access variable R|<local>/x|"];
|
||||
82 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
83 [label="Access variable R|<local>/y|"];
|
||||
84 [label="Assignmenet: R|<local>/x|"];
|
||||
85 [label="Access variable R|<local>/x|"];
|
||||
86 [label="Function call: R|<local>/x|.<Ambiguity: inc, [kotlin/inc, kotlin/inc]>#()"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
87 [label="Enter when"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
88 [label="Enter when branch condition "];
|
||||
89 [label="Access variable R|<local>/y|"];
|
||||
90 [label="Type operator: y is A"];
|
||||
91 [label="Exit when branch condition"];
|
||||
}
|
||||
92 [label="Synthetic else branch"];
|
||||
93 [label="Enter when branch result"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
94 [label="Enter block"];
|
||||
95 [label="Access variable R|<local>/x|"];
|
||||
96 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
97 [label="Access variable R|<local>/y|"];
|
||||
98 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
99 [label="Exit block"];
|
||||
}
|
||||
100 [label="Exit when branch result"];
|
||||
101 [label="Exit when"];
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
42 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
43 [label="Access variable R|<local>/x|"];
|
||||
44 [label="Variable declaration: lvar z: R|kotlin/Any|"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
45 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
46 [label="Enter when branch condition "];
|
||||
47 [label="Access variable R|<local>/x|"];
|
||||
48 [label="Type operator: x is A"];
|
||||
49 [label="Exit when branch condition"];
|
||||
}
|
||||
50 [label="Synthetic else branch"];
|
||||
51 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
52 [label="Enter block"];
|
||||
53 [label="Access variable R|<local>/z|"];
|
||||
54 [label="Function call: R|<local>/z|.R|/A.foo|()"];
|
||||
55 [label="Exit block"];
|
||||
}
|
||||
56 [label="Exit when branch result"];
|
||||
57 [label="Exit when"];
|
||||
}
|
||||
58 [label="Access variable R|<local>/y|"];
|
||||
59 [label="Assignmenet: R|<local>/z|"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
60 [label="Enter when"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
61 [label="Enter when branch condition "];
|
||||
62 [label="Access variable R|<local>/y|"];
|
||||
63 [label="Type operator: y is B"];
|
||||
64 [label="Exit when branch condition"];
|
||||
}
|
||||
65 [label="Synthetic else branch"];
|
||||
66 [label="Enter when branch result"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
67 [label="Enter block"];
|
||||
68 [label="Access variable R|<local>/z|"];
|
||||
69 [label="Function call: R|<local>/z|.<Unresolved name: foo>#()"];
|
||||
70 [label="Access variable R|<local>/z|"];
|
||||
71 [label="Function call: R|<local>/z|.R|/B.bar|()"];
|
||||
72 [label="Exit block"];
|
||||
}
|
||||
73 [label="Exit when branch result"];
|
||||
74 [label="Exit when"];
|
||||
}
|
||||
75 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
102 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {93 92};
|
||||
92 -> {101};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {51 50};
|
||||
50 -> {57};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {66 65};
|
||||
65 -> {74};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
76 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
77 [label="Const: Int(1)"];
|
||||
78 [label="Variable declaration: lvar x: R|kotlin/Any|"];
|
||||
79 [label="Access variable R|<local>/x|"];
|
||||
80 [label="Type operator: x as Int"];
|
||||
81 [label="Access variable R|<local>/x|"];
|
||||
82 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
83 [label="Access variable R|<local>/y|"];
|
||||
84 [label="Assignmenet: R|<local>/x|"];
|
||||
85 [label="Access variable R|<local>/x|"];
|
||||
86 [label="Function call: R|<local>/x|.<Ambiguity: inc, [kotlin/inc, kotlin/inc]>#()"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
87 [label="Enter when"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
88 [label="Enter when branch condition "];
|
||||
89 [label="Access variable R|<local>/y|"];
|
||||
90 [label="Type operator: y is A"];
|
||||
91 [label="Exit when branch condition"];
|
||||
}
|
||||
92 [label="Synthetic else branch"];
|
||||
93 [label="Enter when branch result"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
94 [label="Enter block"];
|
||||
95 [label="Access variable R|<local>/x|"];
|
||||
96 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
97 [label="Access variable R|<local>/y|"];
|
||||
98 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
99 [label="Exit block"];
|
||||
}
|
||||
100 [label="Exit when branch result"];
|
||||
101 [label="Exit when"];
|
||||
}
|
||||
102 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {93 92};
|
||||
92 -> {101};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
|
||||
}
|
||||
|
||||
+355
-355
@@ -1,371 +1,371 @@
|
||||
digraph casts_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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];
|
||||
1 [label="Access variable R|<local>/x|"];
|
||||
2 [label="Type operator: x as String"];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Access variable R|kotlin/String.length|"];
|
||||
5 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
6 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
7 [label="Enter when"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
8 [label="Enter when branch condition "];
|
||||
9 [label="Access variable R|<local>/x|"];
|
||||
10 [label="Type operator: x as Boolean"];
|
||||
11 [label="Exit when branch condition"];
|
||||
}
|
||||
12 [label="Synthetic else branch"];
|
||||
13 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
14 [label="Enter block"];
|
||||
15 [label="Access variable R|<local>/x|"];
|
||||
16 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
|
||||
17 [label="Exit block"];
|
||||
}
|
||||
18 [label="Exit when branch result"];
|
||||
19 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
1 [label="Access variable R|<local>/x|"];
|
||||
2 [label="Type operator: x as String"];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Access variable R|kotlin/String.length|"];
|
||||
5 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
20 [label="Access variable R|<local>/x|"];
|
||||
21 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
|
||||
22 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {13 12};
|
||||
12 -> {19};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
23 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
24 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
25 [label="Enter when branch condition "];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
26 [label="Enter &&"];
|
||||
27 [label="Access variable R|<local>/b|"];
|
||||
28 [label="Exit left part of &&"];
|
||||
29 [label="Enter right part of &&"];
|
||||
30 [label="Access variable R|<local>/x|"];
|
||||
31 [label="Type operator: x as Boolean"];
|
||||
32 [label="Exit &&"];
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
6 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
7 [label="Enter when"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
8 [label="Enter when branch condition "];
|
||||
9 [label="Access variable R|<local>/x|"];
|
||||
10 [label="Type operator: x as Boolean"];
|
||||
11 [label="Exit when branch condition"];
|
||||
}
|
||||
12 [label="Synthetic else branch"];
|
||||
13 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
14 [label="Enter block"];
|
||||
15 [label="Access variable R|<local>/x|"];
|
||||
16 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
|
||||
17 [label="Exit block"];
|
||||
}
|
||||
18 [label="Exit when branch result"];
|
||||
19 [label="Exit when"];
|
||||
}
|
||||
33 [label="Exit when branch condition"];
|
||||
}
|
||||
34 [label="Synthetic else branch"];
|
||||
35 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
36 [label="Enter block"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
|
||||
39 [label="Exit block"];
|
||||
}
|
||||
40 [label="Exit when branch result"];
|
||||
41 [label="Exit when"];
|
||||
20 [label="Access variable R|<local>/x|"];
|
||||
21 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
|
||||
22 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
42 [label="Access variable R|<local>/x|"];
|
||||
43 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
44 [label="Enter when"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
45 [label="Enter when branch condition "];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
46 [label="Enter &&"];
|
||||
47 [label="Access variable R|<local>/b|"];
|
||||
48 [label="Exit left part of &&"];
|
||||
49 [label="Enter right part of &&"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Type operator: x as Boolean"];
|
||||
52 [label="Const: Boolean(true)"];
|
||||
53 [label="Operator =="];
|
||||
54 [label="Exit &&"];
|
||||
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {13 12};
|
||||
12 -> {19};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
23 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
24 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
25 [label="Enter when branch condition "];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
26 [label="Enter &&"];
|
||||
27 [label="Access variable R|<local>/b|"];
|
||||
28 [label="Exit left part of &&"];
|
||||
29 [label="Enter right part of &&"];
|
||||
30 [label="Access variable R|<local>/x|"];
|
||||
31 [label="Type operator: x as Boolean"];
|
||||
32 [label="Exit &&"];
|
||||
}
|
||||
33 [label="Exit when branch condition"];
|
||||
}
|
||||
34 [label="Synthetic else branch"];
|
||||
35 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
36 [label="Enter block"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
|
||||
39 [label="Exit block"];
|
||||
}
|
||||
40 [label="Exit when branch result"];
|
||||
41 [label="Exit when"];
|
||||
}
|
||||
55 [label="Exit when branch condition"];
|
||||
}
|
||||
56 [label="Synthetic else branch"];
|
||||
57 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Access variable R|<local>/x|"];
|
||||
60 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
|
||||
61 [label="Exit block"];
|
||||
}
|
||||
62 [label="Exit when branch result"];
|
||||
63 [label="Exit when"];
|
||||
}
|
||||
64 [label="Access variable R|<local>/x|"];
|
||||
65 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
66 [label="Enter when"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
67 [label="Enter when branch condition "];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
68 [label="Enter ||"];
|
||||
69 [label="Access variable R|<local>/b|"];
|
||||
70 [label="Exit left part of ||"];
|
||||
71 [label="Enter right part of ||"];
|
||||
72 [label="Access variable R|<local>/x|"];
|
||||
73 [label="Type operator: x as Boolean"];
|
||||
74 [label="Exit ||"];
|
||||
42 [label="Access variable R|<local>/x|"];
|
||||
43 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
44 [label="Enter when"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
45 [label="Enter when branch condition "];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
46 [label="Enter &&"];
|
||||
47 [label="Access variable R|<local>/b|"];
|
||||
48 [label="Exit left part of &&"];
|
||||
49 [label="Enter right part of &&"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Type operator: x as Boolean"];
|
||||
52 [label="Const: Boolean(true)"];
|
||||
53 [label="Operator =="];
|
||||
54 [label="Exit &&"];
|
||||
}
|
||||
55 [label="Exit when branch condition"];
|
||||
}
|
||||
56 [label="Synthetic else branch"];
|
||||
57 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Access variable R|<local>/x|"];
|
||||
60 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
|
||||
61 [label="Exit block"];
|
||||
}
|
||||
62 [label="Exit when branch result"];
|
||||
63 [label="Exit when"];
|
||||
}
|
||||
75 [label="Exit when branch condition"];
|
||||
}
|
||||
76 [label="Synthetic else branch"];
|
||||
77 [label="Enter when branch result"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
78 [label="Enter block"];
|
||||
79 [label="Access variable R|<local>/x|"];
|
||||
80 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
|
||||
81 [label="Exit block"];
|
||||
}
|
||||
82 [label="Exit when branch result"];
|
||||
83 [label="Exit when"];
|
||||
64 [label="Access variable R|<local>/x|"];
|
||||
65 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
66 [label="Enter when"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
67 [label="Enter when branch condition "];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
68 [label="Enter ||"];
|
||||
69 [label="Access variable R|<local>/b|"];
|
||||
70 [label="Exit left part of ||"];
|
||||
71 [label="Enter right part of ||"];
|
||||
72 [label="Access variable R|<local>/x|"];
|
||||
73 [label="Type operator: x as Boolean"];
|
||||
74 [label="Exit ||"];
|
||||
}
|
||||
75 [label="Exit when branch condition"];
|
||||
}
|
||||
76 [label="Synthetic else branch"];
|
||||
77 [label="Enter when branch result"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
78 [label="Enter block"];
|
||||
79 [label="Access variable R|<local>/x|"];
|
||||
80 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
|
||||
81 [label="Exit block"];
|
||||
}
|
||||
82 [label="Exit when branch result"];
|
||||
83 [label="Exit when"];
|
||||
}
|
||||
84 [label="Access variable R|<local>/x|"];
|
||||
85 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
|
||||
86 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
84 [label="Access variable R|<local>/x|"];
|
||||
85 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
|
||||
86 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {32 29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {35 34};
|
||||
34 -> {41};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {54 49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {57 56};
|
||||
56 -> {63};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {74 71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {77 76};
|
||||
76 -> {83};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {32 29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {35 34};
|
||||
34 -> {41};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {54 49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {57 56};
|
||||
56 -> {63};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {74 71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {77 76};
|
||||
76 -> {83};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
|
||||
subgraph cluster_18 {
|
||||
color=red
|
||||
87 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
88 [label="Enter when"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
89 [label="Enter when branch condition "];
|
||||
90 [label="Access variable R|<local>/b|"];
|
||||
91 [label="Type operator: b as? Boolean"];
|
||||
92 [label="Const: Null(null)"];
|
||||
93 [label="Operator !="];
|
||||
94 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
95 [label="Enter when branch condition else"];
|
||||
96 [label="Exit when branch condition"];
|
||||
}
|
||||
97 [label="Enter when branch result"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
98 [label="Enter block"];
|
||||
99 [label="Access variable R|<local>/b|"];
|
||||
100 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
|
||||
101 [label="Exit block"];
|
||||
}
|
||||
102 [label="Exit when branch result"];
|
||||
103 [label="Enter when branch result"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
104 [label="Enter block"];
|
||||
105 [label="Access variable R|<local>/b|"];
|
||||
106 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
|
||||
107 [label="Exit block"];
|
||||
}
|
||||
108 [label="Exit when branch result"];
|
||||
109 [label="Exit when"];
|
||||
subgraph cluster_18 {
|
||||
color=red
|
||||
87 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
88 [label="Enter when"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
89 [label="Enter when branch condition "];
|
||||
90 [label="Access variable R|<local>/b|"];
|
||||
91 [label="Type operator: b as? Boolean"];
|
||||
92 [label="Const: Null(null)"];
|
||||
93 [label="Operator !="];
|
||||
94 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
95 [label="Enter when branch condition else"];
|
||||
96 [label="Exit when branch condition"];
|
||||
}
|
||||
97 [label="Enter when branch result"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
98 [label="Enter block"];
|
||||
99 [label="Access variable R|<local>/b|"];
|
||||
100 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
|
||||
101 [label="Exit block"];
|
||||
}
|
||||
102 [label="Exit when branch result"];
|
||||
103 [label="Enter when branch result"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
104 [label="Enter block"];
|
||||
105 [label="Access variable R|<local>/b|"];
|
||||
106 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
|
||||
107 [label="Exit block"];
|
||||
}
|
||||
108 [label="Exit when branch result"];
|
||||
109 [label="Exit when"];
|
||||
}
|
||||
110 [label="Access variable R|<local>/b|"];
|
||||
111 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
112 [label="Enter when"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
113 [label="Enter when branch condition "];
|
||||
114 [label="Access variable R|<local>/b|"];
|
||||
115 [label="Type operator: b as? Boolean"];
|
||||
116 [label="Const: Null(null)"];
|
||||
117 [label="Operator =="];
|
||||
118 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
119 [label="Enter when branch condition else"];
|
||||
120 [label="Exit when branch condition"];
|
||||
}
|
||||
121 [label="Enter when branch result"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
122 [label="Enter block"];
|
||||
123 [label="Access variable R|<local>/b|"];
|
||||
124 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
|
||||
125 [label="Exit block"];
|
||||
}
|
||||
126 [label="Exit when branch result"];
|
||||
127 [label="Enter when branch result"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
128 [label="Enter block"];
|
||||
129 [label="Access variable R|<local>/b|"];
|
||||
130 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
|
||||
131 [label="Exit block"];
|
||||
}
|
||||
132 [label="Exit when branch result"];
|
||||
133 [label="Exit when"];
|
||||
}
|
||||
134 [label="Access variable R|<local>/b|"];
|
||||
135 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
|
||||
136 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
110 [label="Access variable R|<local>/b|"];
|
||||
111 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
112 [label="Enter when"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
113 [label="Enter when branch condition "];
|
||||
114 [label="Access variable R|<local>/b|"];
|
||||
115 [label="Type operator: b as? Boolean"];
|
||||
116 [label="Const: Null(null)"];
|
||||
117 [label="Operator =="];
|
||||
118 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
119 [label="Enter when branch condition else"];
|
||||
120 [label="Exit when branch condition"];
|
||||
}
|
||||
121 [label="Enter when branch result"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
122 [label="Enter block"];
|
||||
123 [label="Access variable R|<local>/b|"];
|
||||
124 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
|
||||
125 [label="Exit block"];
|
||||
}
|
||||
126 [label="Exit when branch result"];
|
||||
127 [label="Enter when branch result"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
128 [label="Enter block"];
|
||||
129 [label="Access variable R|<local>/b|"];
|
||||
130 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
|
||||
131 [label="Exit block"];
|
||||
}
|
||||
132 [label="Exit when branch result"];
|
||||
133 [label="Exit when"];
|
||||
}
|
||||
134 [label="Access variable R|<local>/b|"];
|
||||
135 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
|
||||
136 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {103 95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {109};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {127 119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {133};
|
||||
127 -> {128};
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {132};
|
||||
132 -> {133};
|
||||
133 -> {134};
|
||||
134 -> {135};
|
||||
135 -> {136};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {103 95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {109};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {127 119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {133};
|
||||
127 -> {128};
|
||||
128 -> {129};
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {132};
|
||||
132 -> {133};
|
||||
133 -> {134};
|
||||
134 -> {135};
|
||||
135 -> {136};
|
||||
|
||||
}
|
||||
|
||||
+71
-71
@@ -1,77 +1,77 @@
|
||||
digraph dataFlowInfoFromWhileCondition_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function test" style="filled" fillcolor=red];
|
||||
3 [label="Const: Null(null)"];
|
||||
4 [label="Variable declaration: lvar a: R|A?|"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
5 [label="Enter while loop"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter loop condition"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
7 [label="Enter ||"];
|
||||
8 [label="Access variable R|<local>/a|"];
|
||||
9 [label="Type operator: a is B"];
|
||||
10 [label="Exit left part of ||"];
|
||||
11 [label="Enter right part of ||"];
|
||||
12 [label="Access variable R|<local>/a|"];
|
||||
13 [label="Type operator: a is C"];
|
||||
14 [label="Exit ||"];
|
||||
}
|
||||
15 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
16 [label="Enter loop block"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
17 [label="Enter block"];
|
||||
18 [label="Access variable R|<local>/a|"];
|
||||
19 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
20 [label="Exit block"];
|
||||
}
|
||||
21 [label="Exit loop block"];
|
||||
}
|
||||
22 [label="Exit whileloop"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
23 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {14 11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {22 16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {6};
|
||||
22 -> {23};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function test" style="filled" fillcolor=red];
|
||||
3 [label="Const: Null(null)"];
|
||||
4 [label="Variable declaration: lvar a: R|A?|"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
5 [label="Enter while loop"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter loop condition"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
7 [label="Enter ||"];
|
||||
8 [label="Access variable R|<local>/a|"];
|
||||
9 [label="Type operator: a is B"];
|
||||
10 [label="Exit left part of ||"];
|
||||
11 [label="Enter right part of ||"];
|
||||
12 [label="Access variable R|<local>/a|"];
|
||||
13 [label="Type operator: a is C"];
|
||||
14 [label="Exit ||"];
|
||||
}
|
||||
15 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
16 [label="Enter loop block"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
17 [label="Enter block"];
|
||||
18 [label="Access variable R|<local>/a|"];
|
||||
19 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
20 [label="Exit block"];
|
||||
}
|
||||
21 [label="Exit loop block"];
|
||||
}
|
||||
22 [label="Exit whileloop"];
|
||||
}
|
||||
23 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {14 11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {22 16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {6};
|
||||
22 -> {23};
|
||||
|
||||
}
|
||||
|
||||
@@ -1,93 +1,93 @@
|
||||
digraph delayedAssignment_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=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 function test" style="filled" fillcolor=red];
|
||||
5 [label="Variable declaration: lval a: R|A?|"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter when"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
7 [label="Enter when branch condition "];
|
||||
8 [label="Access variable R|<local>/b|"];
|
||||
9 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
10 [label="Enter when branch condition else"];
|
||||
11 [label="Exit when branch condition"];
|
||||
}
|
||||
12 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Const: Null(null)"];
|
||||
15 [label="Assignmenet: R|<local>/a|"];
|
||||
16 [label="Exit block"];
|
||||
}
|
||||
17 [label="Exit when branch result"];
|
||||
18 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
19 [label="Enter block"];
|
||||
20 [label="Function call: R|/A.A|()"];
|
||||
21 [label="Assignmenet: R|<local>/a|"];
|
||||
22 [label="Access variable R|<local>/a|"];
|
||||
23 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit when branch result"];
|
||||
26 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
27 [label="Access variable R|<local>/a|"];
|
||||
28 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
29 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {18 10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {26};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=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 function test" style="filled" fillcolor=red];
|
||||
5 [label="Variable declaration: lval a: R|A?|"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter when"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
7 [label="Enter when branch condition "];
|
||||
8 [label="Access variable R|<local>/b|"];
|
||||
9 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
10 [label="Enter when branch condition else"];
|
||||
11 [label="Exit when branch condition"];
|
||||
}
|
||||
12 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Const: Null(null)"];
|
||||
15 [label="Assignmenet: R|<local>/a|"];
|
||||
16 [label="Exit block"];
|
||||
}
|
||||
17 [label="Exit when branch result"];
|
||||
18 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
19 [label="Enter block"];
|
||||
20 [label="Function call: R|/A.A|()"];
|
||||
21 [label="Assignmenet: R|<local>/a|"];
|
||||
22 [label="Access variable R|<local>/a|"];
|
||||
23 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit when branch result"];
|
||||
26 [label="Exit when"];
|
||||
}
|
||||
27 [label="Access variable R|<local>/a|"];
|
||||
28 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
29 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {18 10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {26};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
|
||||
}
|
||||
|
||||
+261
-261
@@ -1,220 +1,220 @@
|
||||
digraph elvis_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
3 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
3 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter property" style="filled" fillcolor=red];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter property" style="filled" fillcolor=red];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
4 -> {5};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
6 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
7 [label="Enter when"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
8 [label="Enter when branch condition "];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
9 [label="Enter when"];
|
||||
10 [label="Access variable R|<local>/x|"];
|
||||
11 [label="Enter safe call"];
|
||||
12 [label="Access variable R|/A.b|"];
|
||||
13 [label="Exit safe call"];
|
||||
14 [label="Variable declaration: lval <elvis>: R|kotlin/Boolean?|"];
|
||||
subgraph cluster_7 {
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
6 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
15 [label="Enter when branch condition "];
|
||||
16 [label="Const: Null(null)"];
|
||||
17 [label="Operator =="];
|
||||
18 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
19 [label="Enter when branch condition else"];
|
||||
20 [label="Exit when branch condition"];
|
||||
}
|
||||
21 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
22 [label="Enter block"];
|
||||
23 [label="Access variable R|<local>/<elvis>|"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit when branch result"];
|
||||
26 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
27 [label="Enter block"];
|
||||
28 [label="Jump: ^test_1 Unit"];
|
||||
29 [label="Stub" style="filled" fillcolor=gray];
|
||||
30 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
31 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
32 [label="Exit when"];
|
||||
7 [label="Enter when"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
8 [label="Enter when branch condition "];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
9 [label="Enter when"];
|
||||
10 [label="Access variable R|<local>/x|"];
|
||||
11 [label="Enter safe call"];
|
||||
12 [label="Access variable R|/A.b|"];
|
||||
13 [label="Exit safe call"];
|
||||
14 [label="Variable declaration: lval <elvis>: R|kotlin/Boolean?|"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
15 [label="Enter when branch condition "];
|
||||
16 [label="Const: Null(null)"];
|
||||
17 [label="Operator =="];
|
||||
18 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
19 [label="Enter when branch condition else"];
|
||||
20 [label="Exit when branch condition"];
|
||||
}
|
||||
21 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
22 [label="Enter block"];
|
||||
23 [label="Access variable R|<local>/<elvis>|"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit when branch result"];
|
||||
26 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
27 [label="Enter block"];
|
||||
28 [label="Jump: ^test_1 Unit"];
|
||||
29 [label="Stub" style="filled" fillcolor=gray];
|
||||
30 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
31 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
32 [label="Exit when"];
|
||||
}
|
||||
33 [label="Exit when branch condition"];
|
||||
}
|
||||
34 [label="Synthetic else branch"];
|
||||
35 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
36 [label="Enter block"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
39 [label="Exit block"];
|
||||
}
|
||||
40 [label="Exit when branch result"];
|
||||
41 [label="Exit when"];
|
||||
}
|
||||
33 [label="Exit when branch condition"];
|
||||
}
|
||||
34 [label="Synthetic else branch"];
|
||||
35 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
36 [label="Enter block"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
39 [label="Exit block"];
|
||||
}
|
||||
40 [label="Exit when branch result"];
|
||||
41 [label="Exit when"];
|
||||
42 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
42 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11 13};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {26 19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {32};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {42};
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
30 -> {31} [style=dotted];
|
||||
31 -> {32} [style=dotted];
|
||||
32 -> {33};
|
||||
33 -> {35 34};
|
||||
34 -> {41};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11 13};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {26 19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {32};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {42};
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
30 -> {31} [style=dotted];
|
||||
31 -> {32} [style=dotted];
|
||||
32 -> {33};
|
||||
33 -> {35 34};
|
||||
34 -> {41};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
43 [label="Enter function test2" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
44 [label="Enter when"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
45 [label="Enter when branch condition "];
|
||||
46 [label="Access variable R|<local>/b|"];
|
||||
47 [label="Type operator: b !is String"];
|
||||
48 [label="Exit when branch condition"];
|
||||
}
|
||||
49 [label="Synthetic else branch"];
|
||||
50 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
51 [label="Enter block"];
|
||||
52 [label="Const: String()"];
|
||||
53 [label="Jump: ^test2 String()"];
|
||||
54 [label="Stub" style="filled" fillcolor=gray];
|
||||
55 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
56 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
57 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
58 [label="Enter when"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
59 [label="Enter when branch condition "];
|
||||
60 [label="Access variable R|<local>/a|"];
|
||||
61 [label="Type operator: a !is String?"];
|
||||
62 [label="Exit when branch condition"];
|
||||
}
|
||||
63 [label="Synthetic else branch"];
|
||||
64 [label="Enter when branch result"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
65 [label="Enter block"];
|
||||
66 [label="Const: String()"];
|
||||
67 [label="Jump: ^test2 String()"];
|
||||
68 [label="Stub" style="filled" fillcolor=gray];
|
||||
69 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
70 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
71 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
72 [label="Enter when"];
|
||||
73 [label="Access variable R|<local>/a|"];
|
||||
74 [label="Variable declaration: lval <elvis>: R|kotlin/String?|"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
75 [label="Enter when branch condition "];
|
||||
76 [label="Const: Null(null)"];
|
||||
77 [label="Operator =="];
|
||||
78 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
79 [label="Enter when branch condition else"];
|
||||
80 [label="Exit when branch condition"];
|
||||
}
|
||||
81 [label="Enter when branch result"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
82 [label="Enter block"];
|
||||
83 [label="Access variable R|<local>/<elvis>|"];
|
||||
84 [label="Exit block"];
|
||||
}
|
||||
85 [label="Exit when branch result"];
|
||||
86 [label="Enter when branch result"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
87 [label="Enter block"];
|
||||
88 [label="Access variable R|<local>/b|"];
|
||||
89 [label="Exit block"];
|
||||
}
|
||||
90 [label="Exit when branch result"];
|
||||
91 [label="Exit when"];
|
||||
}
|
||||
92 [label="Jump: ^test2 when (lval <elvis>: R|kotlin/String?| = R|<local>/a|) {
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
43 [label="Enter function test2" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
44 [label="Enter when"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
45 [label="Enter when branch condition "];
|
||||
46 [label="Access variable R|<local>/b|"];
|
||||
47 [label="Type operator: b !is String"];
|
||||
48 [label="Exit when branch condition"];
|
||||
}
|
||||
49 [label="Synthetic else branch"];
|
||||
50 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
51 [label="Enter block"];
|
||||
52 [label="Const: String()"];
|
||||
53 [label="Jump: ^test2 String()"];
|
||||
54 [label="Stub" style="filled" fillcolor=gray];
|
||||
55 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
56 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
57 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
58 [label="Enter when"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
59 [label="Enter when branch condition "];
|
||||
60 [label="Access variable R|<local>/a|"];
|
||||
61 [label="Type operator: a !is String?"];
|
||||
62 [label="Exit when branch condition"];
|
||||
}
|
||||
63 [label="Synthetic else branch"];
|
||||
64 [label="Enter when branch result"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
65 [label="Enter block"];
|
||||
66 [label="Const: String()"];
|
||||
67 [label="Jump: ^test2 String()"];
|
||||
68 [label="Stub" style="filled" fillcolor=gray];
|
||||
69 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
70 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
71 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
72 [label="Enter when"];
|
||||
73 [label="Access variable R|<local>/a|"];
|
||||
74 [label="Variable declaration: lval <elvis>: R|kotlin/String?|"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
75 [label="Enter when branch condition "];
|
||||
76 [label="Const: Null(null)"];
|
||||
77 [label="Operator =="];
|
||||
78 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
79 [label="Enter when branch condition else"];
|
||||
80 [label="Exit when branch condition"];
|
||||
}
|
||||
81 [label="Enter when branch result"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
82 [label="Enter block"];
|
||||
83 [label="Access variable R|<local>/<elvis>|"];
|
||||
84 [label="Exit block"];
|
||||
}
|
||||
85 [label="Exit when branch result"];
|
||||
86 [label="Enter when branch result"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
87 [label="Enter block"];
|
||||
88 [label="Access variable R|<local>/b|"];
|
||||
89 [label="Exit block"];
|
||||
}
|
||||
90 [label="Exit when branch result"];
|
||||
91 [label="Exit when"];
|
||||
}
|
||||
92 [label="Jump: ^test2 when (lval <elvis>: R|kotlin/String?| = R|<local>/a|) {
|
||||
==($subj$, Null(null)) -> {
|
||||
R|<local>/b|
|
||||
}
|
||||
@@ -223,63 +223,63 @@ digraph elvis_kt {
|
||||
}
|
||||
}
|
||||
"];
|
||||
93 [label="Stub" style="filled" fillcolor=gray];
|
||||
94 [label="Exit function test2" style="filled" fillcolor=red];
|
||||
}
|
||||
93 [label="Stub" style="filled" fillcolor=gray];
|
||||
94 [label="Exit function test2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {50 49};
|
||||
49 -> {57};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {94};
|
||||
53 -> {54} [style=dotted];
|
||||
54 -> {55} [style=dotted];
|
||||
55 -> {56} [style=dotted];
|
||||
56 -> {57} [style=dotted];
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {64 63};
|
||||
63 -> {71};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {94};
|
||||
67 -> {68} [style=dotted];
|
||||
68 -> {69} [style=dotted];
|
||||
69 -> {70} [style=dotted];
|
||||
70 -> {71} [style=dotted];
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {86 79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {91};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {94};
|
||||
92 -> {93} [style=dotted];
|
||||
93 -> {94} [style=dotted];
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {50 49};
|
||||
49 -> {57};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {94};
|
||||
53 -> {54} [style=dotted];
|
||||
54 -> {55} [style=dotted];
|
||||
55 -> {56} [style=dotted];
|
||||
56 -> {57} [style=dotted];
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {64 63};
|
||||
63 -> {71};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {94};
|
||||
67 -> {68} [style=dotted];
|
||||
68 -> {69} [style=dotted];
|
||||
69 -> {70} [style=dotted];
|
||||
70 -> {71} [style=dotted];
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {86 79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {91};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {94};
|
||||
92 -> {93} [style=dotted];
|
||||
93 -> {94} [style=dotted];
|
||||
|
||||
}
|
||||
|
||||
+538
-552
File diff suppressed because it is too large
Load Diff
+310
-310
@@ -1,322 +1,322 @@
|
||||
digraph equalsAndIdentity_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
3 [label="Enter when"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
4 [label="Enter when branch condition "];
|
||||
5 [label="Access variable R|<local>/x|"];
|
||||
6 [label="Access variable R|<local>/y|"];
|
||||
7 [label="Operator =="];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
9 [label="Synthetic else branch"];
|
||||
10 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
12 [label="Access variable R|<local>/x|"];
|
||||
13 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
14 [label="Access variable R|<local>/y|"];
|
||||
15 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
16 [label="Exit block"];
|
||||
}
|
||||
17 [label="Exit when branch result"];
|
||||
18 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
19 [label="Enter when"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
20 [label="Enter when branch condition "];
|
||||
21 [label="Access variable R|<local>/x|"];
|
||||
22 [label="Access variable R|<local>/y|"];
|
||||
23 [label="Operator ==="];
|
||||
24 [label="Exit when branch condition"];
|
||||
}
|
||||
25 [label="Synthetic else branch"];
|
||||
26 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
27 [label="Enter block"];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
30 [label="Access variable R|<local>/y|"];
|
||||
31 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit when branch result"];
|
||||
34 [label="Exit when"];
|
||||
}
|
||||
35 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {10 9};
|
||||
9 -> {18};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {26 25};
|
||||
25 -> {34};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
36 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
37 [label="Enter when"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
38 [label="Enter when branch condition "];
|
||||
39 [label="Access variable R|<local>/x|"];
|
||||
40 [label="Access variable R|<local>/y|"];
|
||||
41 [label="Operator =="];
|
||||
42 [label="Exit when branch condition"];
|
||||
}
|
||||
43 [label="Synthetic else branch"];
|
||||
44 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
45 [label="Enter block"];
|
||||
46 [label="Access variable R|<local>/x|"];
|
||||
47 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
48 [label="Access variable R|<local>/y|"];
|
||||
49 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
50 [label="Exit block"];
|
||||
}
|
||||
51 [label="Exit when branch result"];
|
||||
52 [label="Exit when"];
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
3 [label="Enter when"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
4 [label="Enter when branch condition "];
|
||||
5 [label="Access variable R|<local>/x|"];
|
||||
6 [label="Access variable R|<local>/y|"];
|
||||
7 [label="Operator =="];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
9 [label="Synthetic else branch"];
|
||||
10 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
12 [label="Access variable R|<local>/x|"];
|
||||
13 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
14 [label="Access variable R|<local>/y|"];
|
||||
15 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
16 [label="Exit block"];
|
||||
}
|
||||
17 [label="Exit when branch result"];
|
||||
18 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
19 [label="Enter when"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
20 [label="Enter when branch condition "];
|
||||
21 [label="Access variable R|<local>/x|"];
|
||||
22 [label="Access variable R|<local>/y|"];
|
||||
23 [label="Operator ==="];
|
||||
24 [label="Exit when branch condition"];
|
||||
}
|
||||
25 [label="Synthetic else branch"];
|
||||
26 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
27 [label="Enter block"];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
30 [label="Access variable R|<local>/y|"];
|
||||
31 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit when branch result"];
|
||||
34 [label="Exit when"];
|
||||
}
|
||||
35 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
53 [label="Enter when"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
54 [label="Enter when branch condition "];
|
||||
55 [label="Access variable R|<local>/x|"];
|
||||
56 [label="Access variable R|<local>/y|"];
|
||||
57 [label="Operator ==="];
|
||||
58 [label="Exit when branch condition"];
|
||||
}
|
||||
59 [label="Synthetic else branch"];
|
||||
60 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
61 [label="Enter block"];
|
||||
62 [label="Access variable R|<local>/x|"];
|
||||
63 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
64 [label="Access variable R|<local>/y|"];
|
||||
65 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
66 [label="Exit block"];
|
||||
}
|
||||
67 [label="Exit when branch result"];
|
||||
68 [label="Exit when"];
|
||||
}
|
||||
69 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {44 43};
|
||||
43 -> {52};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {60 59};
|
||||
59 -> {68};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {10 9};
|
||||
9 -> {18};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {26 25};
|
||||
25 -> {34};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
70 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
71 [label="Enter when"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
72 [label="Enter when branch condition "];
|
||||
73 [label="Access variable R|<local>/y|"];
|
||||
74 [label="Const: Null(null)"];
|
||||
75 [label="Operator =="];
|
||||
76 [label="Exit when branch condition"];
|
||||
}
|
||||
77 [label="Synthetic else branch"];
|
||||
78 [label="Enter when branch result"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
79 [label="Enter block"];
|
||||
80 [label="Jump: ^test_3 Unit"];
|
||||
81 [label="Stub" style="filled" fillcolor=gray];
|
||||
82 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
83 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
84 [label="Exit when"];
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
36 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
37 [label="Enter when"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
38 [label="Enter when branch condition "];
|
||||
39 [label="Access variable R|<local>/x|"];
|
||||
40 [label="Access variable R|<local>/y|"];
|
||||
41 [label="Operator =="];
|
||||
42 [label="Exit when branch condition"];
|
||||
}
|
||||
43 [label="Synthetic else branch"];
|
||||
44 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
45 [label="Enter block"];
|
||||
46 [label="Access variable R|<local>/x|"];
|
||||
47 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
48 [label="Access variable R|<local>/y|"];
|
||||
49 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
50 [label="Exit block"];
|
||||
}
|
||||
51 [label="Exit when branch result"];
|
||||
52 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
53 [label="Enter when"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
54 [label="Enter when branch condition "];
|
||||
55 [label="Access variable R|<local>/x|"];
|
||||
56 [label="Access variable R|<local>/y|"];
|
||||
57 [label="Operator ==="];
|
||||
58 [label="Exit when branch condition"];
|
||||
}
|
||||
59 [label="Synthetic else branch"];
|
||||
60 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
61 [label="Enter block"];
|
||||
62 [label="Access variable R|<local>/x|"];
|
||||
63 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
64 [label="Access variable R|<local>/y|"];
|
||||
65 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
66 [label="Exit block"];
|
||||
}
|
||||
67 [label="Exit when branch result"];
|
||||
68 [label="Exit when"];
|
||||
}
|
||||
69 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
85 [label="Enter when"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
86 [label="Enter when branch condition "];
|
||||
87 [label="Access variable R|<local>/x|"];
|
||||
88 [label="Access variable R|<local>/y|"];
|
||||
89 [label="Operator =="];
|
||||
90 [label="Exit when branch condition"];
|
||||
}
|
||||
91 [label="Synthetic else branch"];
|
||||
92 [label="Enter when branch result"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
93 [label="Enter block"];
|
||||
94 [label="Access variable R|<local>/x|"];
|
||||
95 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
96 [label="Access variable R|<local>/y|"];
|
||||
97 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
98 [label="Exit block"];
|
||||
}
|
||||
99 [label="Exit when branch result"];
|
||||
100 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
101 [label="Enter when"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
102 [label="Enter when branch condition "];
|
||||
103 [label="Access variable R|<local>/x|"];
|
||||
104 [label="Access variable R|<local>/y|"];
|
||||
105 [label="Operator ==="];
|
||||
106 [label="Exit when branch condition"];
|
||||
}
|
||||
107 [label="Synthetic else branch"];
|
||||
108 [label="Enter when branch result"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
109 [label="Enter block"];
|
||||
110 [label="Access variable R|<local>/x|"];
|
||||
111 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
112 [label="Access variable R|<local>/y|"];
|
||||
113 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
114 [label="Exit block"];
|
||||
}
|
||||
115 [label="Exit when branch result"];
|
||||
116 [label="Exit when"];
|
||||
}
|
||||
117 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {78 77};
|
||||
77 -> {84};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {117};
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82} [style=dotted];
|
||||
82 -> {83} [style=dotted];
|
||||
83 -> {84} [style=dotted];
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {92 91};
|
||||
91 -> {100};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {108 107};
|
||||
107 -> {116};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {44 43};
|
||||
43 -> {52};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {60 59};
|
||||
59 -> {68};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
70 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
71 [label="Enter when"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
72 [label="Enter when branch condition "];
|
||||
73 [label="Access variable R|<local>/y|"];
|
||||
74 [label="Const: Null(null)"];
|
||||
75 [label="Operator =="];
|
||||
76 [label="Exit when branch condition"];
|
||||
}
|
||||
77 [label="Synthetic else branch"];
|
||||
78 [label="Enter when branch result"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
79 [label="Enter block"];
|
||||
80 [label="Jump: ^test_3 Unit"];
|
||||
81 [label="Stub" style="filled" fillcolor=gray];
|
||||
82 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
83 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
84 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
85 [label="Enter when"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
86 [label="Enter when branch condition "];
|
||||
87 [label="Access variable R|<local>/x|"];
|
||||
88 [label="Access variable R|<local>/y|"];
|
||||
89 [label="Operator =="];
|
||||
90 [label="Exit when branch condition"];
|
||||
}
|
||||
91 [label="Synthetic else branch"];
|
||||
92 [label="Enter when branch result"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
93 [label="Enter block"];
|
||||
94 [label="Access variable R|<local>/x|"];
|
||||
95 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
96 [label="Access variable R|<local>/y|"];
|
||||
97 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
98 [label="Exit block"];
|
||||
}
|
||||
99 [label="Exit when branch result"];
|
||||
100 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
101 [label="Enter when"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
102 [label="Enter when branch condition "];
|
||||
103 [label="Access variable R|<local>/x|"];
|
||||
104 [label="Access variable R|<local>/y|"];
|
||||
105 [label="Operator ==="];
|
||||
106 [label="Exit when branch condition"];
|
||||
}
|
||||
107 [label="Synthetic else branch"];
|
||||
108 [label="Enter when branch result"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
109 [label="Enter block"];
|
||||
110 [label="Access variable R|<local>/x|"];
|
||||
111 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
112 [label="Access variable R|<local>/y|"];
|
||||
113 [label="Function call: R|<local>/y|.R|/A.foo|()"];
|
||||
114 [label="Exit block"];
|
||||
}
|
||||
115 [label="Exit when branch result"];
|
||||
116 [label="Exit when"];
|
||||
}
|
||||
117 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {78 77};
|
||||
77 -> {84};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {117};
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82} [style=dotted];
|
||||
82 -> {83} [style=dotted];
|
||||
83 -> {84} [style=dotted];
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {92 91};
|
||||
91 -> {100};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {108 107};
|
||||
107 -> {116};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
|
||||
}
|
||||
|
||||
+555
-555
File diff suppressed because it is too large
Load Diff
+186
-186
@@ -1,60 +1,60 @@
|
||||
digraph implicitReceiverAsWhenSubject_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Enter when"];
|
||||
2 [label="Access variable this@R|/test_1|"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
3 [label="Enter when branch condition "];
|
||||
4 [label="Type operator: List<*>"];
|
||||
5 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter when branch condition "];
|
||||
7 [label="Type operator: String"];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
9 [label="Enter when branch condition else"];
|
||||
10 [label="Exit when branch condition"];
|
||||
}
|
||||
11 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Const: Int(0)"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit when branch result"];
|
||||
16 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
17 [label="Enter block"];
|
||||
18 [label="Access variable R|kotlin/String.length|"];
|
||||
19 [label="Exit block"];
|
||||
}
|
||||
20 [label="Exit when branch result"];
|
||||
21 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
22 [label="Enter block"];
|
||||
23 [label="Access variable this@R|/test_1|"];
|
||||
24 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
25 [label="Exit block"];
|
||||
}
|
||||
26 [label="Exit when branch result"];
|
||||
27 [label="Exit when"];
|
||||
}
|
||||
28 [label="Jump: ^test_1 when (this@R|/test_1|) {
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter when"];
|
||||
2 [label="Access variable this@R|/test_1|"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
3 [label="Enter when branch condition "];
|
||||
4 [label="Type operator: List<*>"];
|
||||
5 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter when branch condition "];
|
||||
7 [label="Type operator: String"];
|
||||
8 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
9 [label="Enter when branch condition else"];
|
||||
10 [label="Exit when branch condition"];
|
||||
}
|
||||
11 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Const: Int(0)"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit when branch result"];
|
||||
16 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
17 [label="Enter block"];
|
||||
18 [label="Access variable R|kotlin/String.length|"];
|
||||
19 [label="Exit block"];
|
||||
}
|
||||
20 [label="Exit when branch result"];
|
||||
21 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
22 [label="Enter block"];
|
||||
23 [label="Access variable this@R|/test_1|"];
|
||||
24 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
25 [label="Exit block"];
|
||||
}
|
||||
26 [label="Exit when branch result"];
|
||||
27 [label="Exit when"];
|
||||
}
|
||||
28 [label="Jump: ^test_1 when (this@R|/test_1|) {
|
||||
($subj$ is R|kotlin/collections/List<*>|) -> {
|
||||
this@R|/test_1|.R|kotlin/collections/List.size|
|
||||
}
|
||||
@@ -66,99 +66,99 @@ digraph implicitReceiverAsWhenSubject_kt {
|
||||
}
|
||||
}
|
||||
"];
|
||||
29 [label="Stub" style="filled" fillcolor=gray];
|
||||
30 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {21 6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {16 9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {27};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {27};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {30};
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
31 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
32 [label="Enter when"];
|
||||
33 [label="Access variable this@R|/test_2|"];
|
||||
34 [label="Variable declaration: lval x: R|kotlin/Any|"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
35 [label="Enter when branch condition "];
|
||||
36 [label="Type operator: List<*>"];
|
||||
37 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
38 [label="Enter when branch condition "];
|
||||
39 [label="Type operator: String"];
|
||||
40 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
41 [label="Enter when branch condition else"];
|
||||
42 [label="Exit when branch condition"];
|
||||
}
|
||||
43 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
44 [label="Enter block"];
|
||||
45 [label="Const: Int(0)"];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
47 [label="Exit when branch result"];
|
||||
48 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
49 [label="Enter block"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Access variable R|kotlin/String.length|"];
|
||||
52 [label="Access variable R|kotlin/String.length|"];
|
||||
53 [label="Exit block"];
|
||||
}
|
||||
54 [label="Exit when branch result"];
|
||||
55 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
56 [label="Enter block"];
|
||||
57 [label="Access variable R|<local>/x|"];
|
||||
58 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
59 [label="Access variable this@R|/test_2|"];
|
||||
60 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
61 [label="Exit block"];
|
||||
}
|
||||
62 [label="Exit when branch result"];
|
||||
63 [label="Exit when"];
|
||||
29 [label="Stub" style="filled" fillcolor=gray];
|
||||
30 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
64 [label="Jump: ^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) {
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {21 6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {16 9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {27};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {27};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {30};
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
31 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
32 [label="Enter when"];
|
||||
33 [label="Access variable this@R|/test_2|"];
|
||||
34 [label="Variable declaration: lval x: R|kotlin/Any|"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
35 [label="Enter when branch condition "];
|
||||
36 [label="Type operator: List<*>"];
|
||||
37 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
38 [label="Enter when branch condition "];
|
||||
39 [label="Type operator: String"];
|
||||
40 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
41 [label="Enter when branch condition else"];
|
||||
42 [label="Exit when branch condition"];
|
||||
}
|
||||
43 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
44 [label="Enter block"];
|
||||
45 [label="Const: Int(0)"];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
47 [label="Exit when branch result"];
|
||||
48 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
49 [label="Enter block"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Access variable R|kotlin/String.length|"];
|
||||
52 [label="Access variable R|kotlin/String.length|"];
|
||||
53 [label="Exit block"];
|
||||
}
|
||||
54 [label="Exit when branch result"];
|
||||
55 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
56 [label="Enter block"];
|
||||
57 [label="Access variable R|<local>/x|"];
|
||||
58 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
59 [label="Access variable this@R|/test_2|"];
|
||||
60 [label="Access variable R|kotlin/collections/List.size|"];
|
||||
61 [label="Exit block"];
|
||||
}
|
||||
62 [label="Exit when branch result"];
|
||||
63 [label="Exit when"];
|
||||
}
|
||||
64 [label="Jump: ^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) {
|
||||
($subj$ is R|kotlin/collections/List<*>|) -> {
|
||||
R|<local>/x|.R|kotlin/collections/List.size|
|
||||
this@R|/test_2|.R|kotlin/collections/List.size|
|
||||
@@ -172,45 +172,45 @@ digraph implicitReceiverAsWhenSubject_kt {
|
||||
}
|
||||
}
|
||||
"];
|
||||
65 [label="Stub" style="filled" fillcolor=gray];
|
||||
66 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
65 [label="Stub" style="filled" fillcolor=gray];
|
||||
66 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {55 38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {48 41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {63};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {63};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {66};
|
||||
64 -> {65} [style=dotted];
|
||||
65 -> {66} [style=dotted];
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {55 38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {48 41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {63};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {63};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {66};
|
||||
64 -> {65} [style=dotted];
|
||||
65 -> {66} [style=dotted];
|
||||
|
||||
}
|
||||
|
||||
+486
-486
File diff suppressed because it is too large
Load Diff
+152
-152
@@ -1,179 +1,179 @@
|
||||
digraph inPlaceLambdas_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
3 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
3 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function run" style="filled" fillcolor=red];
|
||||
5 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
6 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function run" style="filled" fillcolor=red];
|
||||
5 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
6 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
7 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
8 [label="Enter when"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
9 [label="Enter when branch condition "];
|
||||
10 [label="Access variable R|<local>/x|"];
|
||||
11 [label="Type operator: x is A"];
|
||||
12 [label="Exit when branch condition"];
|
||||
}
|
||||
13 [label="Synthetic else branch"];
|
||||
14 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
15 [label="Enter block"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
16 [label="Enter function anonymousFunction"];
|
||||
17 [label="Access variable R|<local>/x|"];
|
||||
18 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
19 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
20 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
7 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
8 [label="Enter when"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
9 [label="Enter when branch condition "];
|
||||
10 [label="Access variable R|<local>/x|"];
|
||||
11 [label="Type operator: x is A"];
|
||||
12 [label="Exit when branch condition"];
|
||||
}
|
||||
13 [label="Synthetic else branch"];
|
||||
14 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
15 [label="Enter block"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
16 [label="Enter function anonymousFunction"];
|
||||
17 [label="Access variable R|<local>/x|"];
|
||||
18 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
19 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
20 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
}
|
||||
)"];
|
||||
21 [label="Exit block"];
|
||||
}
|
||||
22 [label="Exit when branch result"];
|
||||
23 [label="Exit when"];
|
||||
21 [label="Exit block"];
|
||||
}
|
||||
22 [label="Exit when branch result"];
|
||||
23 [label="Exit when"];
|
||||
}
|
||||
24 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
24 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {14 13};
|
||||
13 -> {23};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {19 17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {16 20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {14 13};
|
||||
13 -> {23};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {19 17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {16 20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
25 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
26 [label="Enter function anonymousFunction"];
|
||||
27 [label="Access variable R|<local>/x|"];
|
||||
28 [label="Type operator: x as B"];
|
||||
29 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
30 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
25 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
26 [label="Enter function anonymousFunction"];
|
||||
27 [label="Access variable R|<local>/x|"];
|
||||
28 [label="Type operator: x as B"];
|
||||
29 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
30 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
(R|<local>/x| as R|B|)
|
||||
}
|
||||
)"];
|
||||
31 [label="Access variable R|<local>/x|"];
|
||||
32 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||
33 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
31 [label="Access variable R|<local>/x|"];
|
||||
32 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||
33 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
25 -> {26};
|
||||
26 -> {29 27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {26 30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
25 -> {26};
|
||||
26 -> {29 27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {26 30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
34 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
35 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
36 [label="Enter when branch condition "];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Type operator: x is A"];
|
||||
39 [label="Exit when branch condition"];
|
||||
}
|
||||
40 [label="Synthetic else branch"];
|
||||
41 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
42 [label="Enter block"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
43 [label="Enter function anonymousFunction"];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
46 [label="Access variable R|<local>/x|"];
|
||||
47 [label="Type operator: x as B"];
|
||||
48 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
49 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
34 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
35 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
36 [label="Enter when branch condition "];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Type operator: x is A"];
|
||||
39 [label="Exit when branch condition"];
|
||||
}
|
||||
40 [label="Synthetic else branch"];
|
||||
41 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
42 [label="Enter block"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
43 [label="Enter function anonymousFunction"];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
46 [label="Access variable R|<local>/x|"];
|
||||
47 [label="Type operator: x as B"];
|
||||
48 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
49 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
(R|<local>/x| as R|B|)
|
||||
}
|
||||
)"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||
52 [label="Exit block"];
|
||||
}
|
||||
53 [label="Exit when branch result"];
|
||||
54 [label="Exit when"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||
52 [label="Exit block"];
|
||||
}
|
||||
53 [label="Exit when branch result"];
|
||||
54 [label="Exit when"];
|
||||
}
|
||||
55 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
55 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {41 40};
|
||||
40 -> {54};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {48 44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {43 49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {41 40};
|
||||
40 -> {54};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {48 44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {43 49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
|
||||
}
|
||||
|
||||
+317
-317
@@ -1,339 +1,339 @@
|
||||
digraph notBoundSmartcasts_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
3 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
3 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function getAny" style="filled" fillcolor=red];
|
||||
5 [label="Const: Null(null)"];
|
||||
6 [label="Jump: ^getAny Null(null)"];
|
||||
7 [label="Stub" style="filled" fillcolor=gray];
|
||||
8 [label="Exit function getAny" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function getAny" style="filled" fillcolor=red];
|
||||
5 [label="Const: Null(null)"];
|
||||
6 [label="Jump: ^getAny Null(null)"];
|
||||
7 [label="Stub" style="filled" fillcolor=gray];
|
||||
8 [label="Exit function getAny" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {8};
|
||||
6 -> {7} [style=dotted];
|
||||
7 -> {8} [style=dotted];
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {8};
|
||||
6 -> {7} [style=dotted];
|
||||
7 -> {8} [style=dotted];
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
9 [label="Enter function test_0" style="filled" fillcolor=red];
|
||||
10 [label="Function call: R|/getAny|()"];
|
||||
11 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
||||
12 [label="Function call: R|/getAny|()"];
|
||||
13 [label="Variable declaration: lval b: R|kotlin/Any?|"];
|
||||
14 [label="Access variable R|<local>/a|"];
|
||||
15 [label="Type operator: a as A"];
|
||||
16 [label="Access variable R|<local>/a|"];
|
||||
17 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
18 [label="Access variable R|<local>/b|"];
|
||||
19 [label="Type operator: b as B"];
|
||||
20 [label="Access variable R|<local>/b|"];
|
||||
21 [label="Function call: R|<local>/b|.R|/B.foo|()"];
|
||||
22 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
9 [label="Enter function test_0" style="filled" fillcolor=red];
|
||||
10 [label="Function call: R|/getAny|()"];
|
||||
11 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
||||
12 [label="Function call: R|/getAny|()"];
|
||||
13 [label="Variable declaration: lval b: R|kotlin/Any?|"];
|
||||
14 [label="Access variable R|<local>/a|"];
|
||||
15 [label="Type operator: a as A"];
|
||||
16 [label="Access variable R|<local>/a|"];
|
||||
17 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
18 [label="Access variable R|<local>/b|"];
|
||||
19 [label="Type operator: b as B"];
|
||||
20 [label="Access variable R|<local>/b|"];
|
||||
21 [label="Function call: R|<local>/b|.R|/B.foo|()"];
|
||||
22 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
23 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
24 [label="Function call: R|/getAny|()"];
|
||||
25 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
||||
26 [label="Function call: R|/getAny|()"];
|
||||
27 [label="Variable declaration: lval b: R|kotlin/Any?|"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
28 [label="Enter when"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
29 [label="Enter when branch condition "];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
30 [label="Enter &&"];
|
||||
31 [label="Access variable R|<local>/a|"];
|
||||
32 [label="Type operator: a is A"];
|
||||
33 [label="Exit left part of &&"];
|
||||
34 [label="Enter right part of &&"];
|
||||
35 [label="Access variable R|<local>/b|"];
|
||||
36 [label="Type operator: b is B"];
|
||||
37 [label="Exit &&"];
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
23 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
24 [label="Function call: R|/getAny|()"];
|
||||
25 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
||||
26 [label="Function call: R|/getAny|()"];
|
||||
27 [label="Variable declaration: lval b: R|kotlin/Any?|"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
28 [label="Enter when"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
29 [label="Enter when branch condition "];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
30 [label="Enter &&"];
|
||||
31 [label="Access variable R|<local>/a|"];
|
||||
32 [label="Type operator: a is A"];
|
||||
33 [label="Exit left part of &&"];
|
||||
34 [label="Enter right part of &&"];
|
||||
35 [label="Access variable R|<local>/b|"];
|
||||
36 [label="Type operator: b is B"];
|
||||
37 [label="Exit &&"];
|
||||
}
|
||||
38 [label="Exit when branch condition"];
|
||||
}
|
||||
39 [label="Synthetic else branch"];
|
||||
40 [label="Enter when branch result"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
41 [label="Enter block"];
|
||||
42 [label="Access variable R|<local>/a|"];
|
||||
43 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
44 [label="Access variable R|<local>/b|"];
|
||||
45 [label="Function call: R|<local>/b|.R|/B.foo|()"];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
47 [label="Exit when branch result"];
|
||||
48 [label="Exit when"];
|
||||
}
|
||||
38 [label="Exit when branch condition"];
|
||||
}
|
||||
39 [label="Synthetic else branch"];
|
||||
40 [label="Enter when branch result"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
41 [label="Enter block"];
|
||||
42 [label="Access variable R|<local>/a|"];
|
||||
43 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
44 [label="Access variable R|<local>/b|"];
|
||||
45 [label="Function call: R|<local>/b|.R|/B.foo|()"];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
47 [label="Exit when branch result"];
|
||||
48 [label="Exit when"];
|
||||
49 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
49 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {37 34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {40 39};
|
||||
39 -> {48};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {37 34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {40 39};
|
||||
39 -> {48};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
50 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
51 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
50 -> {51};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
52 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
53 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
52 -> {53};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
54 [label="Enter property" style="filled" fillcolor=red];
|
||||
55 [label="Access variable R|<local>/any|"];
|
||||
56 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
57 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
58 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
57 -> {58};
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
59 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
60 [label="Enter when"];
|
||||
61 [label="Access variable R|<local>/d|"];
|
||||
62 [label="Access variable R|/D.any|"];
|
||||
63 [label="Variable declaration: lval <elvis>: R|kotlin/Any?|"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
64 [label="Enter when branch condition "];
|
||||
65 [label="Const: Null(null)"];
|
||||
66 [label="Operator =="];
|
||||
67 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
68 [label="Enter when branch condition else"];
|
||||
69 [label="Exit when branch condition"];
|
||||
}
|
||||
70 [label="Enter when branch result"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
71 [label="Enter block"];
|
||||
72 [label="Access variable R|<local>/<elvis>|"];
|
||||
73 [label="Exit block"];
|
||||
}
|
||||
74 [label="Exit when branch result"];
|
||||
75 [label="Enter when branch result"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
76 [label="Enter block"];
|
||||
77 [label="Jump: ^test_2 Unit"];
|
||||
78 [label="Stub" style="filled" fillcolor=gray];
|
||||
79 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
80 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
81 [label="Exit when"];
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
50 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
51 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
82 [label="Variable declaration: lval a: R|kotlin/Any|"];
|
||||
83 [label="Access variable R|<local>/a|"];
|
||||
84 [label="Function call: R|<local>/a|.R|/baz|()"];
|
||||
85 [label="Access variable R|<local>/d|"];
|
||||
86 [label="Access variable R|/D.any|"];
|
||||
87 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"];
|
||||
88 [label="Access variable R|<local>/a|"];
|
||||
89 [label="Type operator: a as A"];
|
||||
90 [label="Access variable R|<local>/a|"];
|
||||
91 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
92 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {75 68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {81};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {92};
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
50 -> {51};
|
||||
|
||||
subgraph cluster_19 {
|
||||
color=red
|
||||
93 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
94 [label="Access variable R|<local>/d1|"];
|
||||
95 [label="Access variable R|/D.any|"];
|
||||
96 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
||||
97 [label="Access variable R|<local>/a|"];
|
||||
98 [label="Type operator: a as A"];
|
||||
99 [label="Access variable R|<local>/a|"];
|
||||
100 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
101 [label="Access variable R|<local>/d1|"];
|
||||
102 [label="Access variable R|/D.any|"];
|
||||
103 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"];
|
||||
104 [label="Access variable R|<local>/d1|"];
|
||||
105 [label="Access variable R|/D.any|"];
|
||||
106 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"];
|
||||
107 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
52 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
53 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
52 -> {53};
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
108 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
109 [label="Access variable R|<local>/d1|"];
|
||||
110 [label="Enter safe call"];
|
||||
111 [label="Access variable R|/D.any|"];
|
||||
112 [label="Exit safe call"];
|
||||
113 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
||||
114 [label="Access variable R|<local>/d2|"];
|
||||
115 [label="Enter safe call"];
|
||||
116 [label="Access variable R|/D.any|"];
|
||||
117 [label="Exit safe call"];
|
||||
118 [label="Variable declaration: lval b: R|kotlin/Any?|"];
|
||||
119 [label="Access variable R|<local>/a|"];
|
||||
120 [label="Type operator: a as A"];
|
||||
121 [label="Access variable R|<local>/a|"];
|
||||
122 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
123 [label="Access variable R|<local>/b|"];
|
||||
124 [label="Type operator: b as B"];
|
||||
125 [label="Access variable R|<local>/b|"];
|
||||
126 [label="Function call: R|<local>/b|.R|/B.foo|()"];
|
||||
127 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
54 [label="Enter property" style="filled" fillcolor=red];
|
||||
55 [label="Access variable R|<local>/any|"];
|
||||
56 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
108 -> {109};
|
||||
109 -> {110 112};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115 117};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {127};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
57 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
58 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
57 -> {58};
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
59 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
60 [label="Enter when"];
|
||||
61 [label="Access variable R|<local>/d|"];
|
||||
62 [label="Access variable R|/D.any|"];
|
||||
63 [label="Variable declaration: lval <elvis>: R|kotlin/Any?|"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
64 [label="Enter when branch condition "];
|
||||
65 [label="Const: Null(null)"];
|
||||
66 [label="Operator =="];
|
||||
67 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
68 [label="Enter when branch condition else"];
|
||||
69 [label="Exit when branch condition"];
|
||||
}
|
||||
70 [label="Enter when branch result"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
71 [label="Enter block"];
|
||||
72 [label="Access variable R|<local>/<elvis>|"];
|
||||
73 [label="Exit block"];
|
||||
}
|
||||
74 [label="Exit when branch result"];
|
||||
75 [label="Enter when branch result"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
76 [label="Enter block"];
|
||||
77 [label="Jump: ^test_2 Unit"];
|
||||
78 [label="Stub" style="filled" fillcolor=gray];
|
||||
79 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
80 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
81 [label="Exit when"];
|
||||
}
|
||||
82 [label="Variable declaration: lval a: R|kotlin/Any|"];
|
||||
83 [label="Access variable R|<local>/a|"];
|
||||
84 [label="Function call: R|<local>/a|.R|/baz|()"];
|
||||
85 [label="Access variable R|<local>/d|"];
|
||||
86 [label="Access variable R|/D.any|"];
|
||||
87 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"];
|
||||
88 [label="Access variable R|<local>/a|"];
|
||||
89 [label="Type operator: a as A"];
|
||||
90 [label="Access variable R|<local>/a|"];
|
||||
91 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
92 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {75 68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {81};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {92};
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
|
||||
subgraph cluster_19 {
|
||||
color=red
|
||||
93 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
94 [label="Access variable R|<local>/d1|"];
|
||||
95 [label="Access variable R|/D.any|"];
|
||||
96 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
||||
97 [label="Access variable R|<local>/a|"];
|
||||
98 [label="Type operator: a as A"];
|
||||
99 [label="Access variable R|<local>/a|"];
|
||||
100 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
101 [label="Access variable R|<local>/d1|"];
|
||||
102 [label="Access variable R|/D.any|"];
|
||||
103 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"];
|
||||
104 [label="Access variable R|<local>/d1|"];
|
||||
105 [label="Access variable R|/D.any|"];
|
||||
106 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"];
|
||||
107 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
108 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
109 [label="Access variable R|<local>/d1|"];
|
||||
110 [label="Enter safe call"];
|
||||
111 [label="Access variable R|/D.any|"];
|
||||
112 [label="Exit safe call"];
|
||||
113 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
||||
114 [label="Access variable R|<local>/d2|"];
|
||||
115 [label="Enter safe call"];
|
||||
116 [label="Access variable R|/D.any|"];
|
||||
117 [label="Exit safe call"];
|
||||
118 [label="Variable declaration: lval b: R|kotlin/Any?|"];
|
||||
119 [label="Access variable R|<local>/a|"];
|
||||
120 [label="Type operator: a as A"];
|
||||
121 [label="Access variable R|<local>/a|"];
|
||||
122 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
123 [label="Access variable R|<local>/b|"];
|
||||
124 [label="Type operator: b as B"];
|
||||
125 [label="Access variable R|<local>/b|"];
|
||||
126 [label="Function call: R|<local>/b|.R|/B.foo|()"];
|
||||
127 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
108 -> {109};
|
||||
109 -> {110 112};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115 117};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {127};
|
||||
|
||||
}
|
||||
|
||||
+1369
-1369
File diff suppressed because it is too large
Load Diff
+329
-329
@@ -1,344 +1,344 @@
|
||||
digraph returns_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_0" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Type operator: x is String"];
|
||||
5 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter when branch condition else"];
|
||||
7 [label="Exit when branch condition"];
|
||||
}
|
||||
8 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
9 [label="Enter block"];
|
||||
10 [label="Exit block"];
|
||||
}
|
||||
11 [label="Exit when branch result"];
|
||||
12 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Access variable R|<local>/x|"];
|
||||
15 [label="Access variable R|kotlin/String.length|"];
|
||||
16 [label="Exit block"];
|
||||
}
|
||||
17 [label="Exit when branch result"];
|
||||
18 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_0" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Type operator: x is String"];
|
||||
5 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
6 [label="Enter when branch condition else"];
|
||||
7 [label="Exit when branch condition"];
|
||||
}
|
||||
8 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
9 [label="Enter block"];
|
||||
10 [label="Exit block"];
|
||||
}
|
||||
11 [label="Exit when branch result"];
|
||||
12 [label="Enter when branch result"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Access variable R|<local>/x|"];
|
||||
15 [label="Access variable R|kotlin/String.length|"];
|
||||
16 [label="Exit block"];
|
||||
}
|
||||
17 [label="Exit when branch result"];
|
||||
18 [label="Exit when"];
|
||||
}
|
||||
19 [label="Access variable R|<local>/x|"];
|
||||
20 [label="Access variable <Unresolved name: length>#"];
|
||||
21 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||
}
|
||||
19 [label="Access variable R|<local>/x|"];
|
||||
20 [label="Access variable <Unresolved name: length>#"];
|
||||
21 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {12 6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {18};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {12 6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {18};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
22 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
23 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
24 [label="Enter when branch condition "];
|
||||
25 [label="Access variable R|<local>/x|"];
|
||||
26 [label="Type operator: x is String"];
|
||||
27 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
28 [label="Enter when branch condition else"];
|
||||
29 [label="Exit when branch condition"];
|
||||
}
|
||||
30 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
31 [label="Enter block"];
|
||||
32 [label="Jump: ^test_1 Unit"];
|
||||
33 [label="Stub" style="filled" fillcolor=gray];
|
||||
34 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
35 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
36 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
37 [label="Enter block"];
|
||||
38 [label="Access variable R|<local>/x|"];
|
||||
39 [label="Access variable R|kotlin/String.length|"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
41 [label="Exit when branch result"];
|
||||
42 [label="Exit when"];
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
22 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
23 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
24 [label="Enter when branch condition "];
|
||||
25 [label="Access variable R|<local>/x|"];
|
||||
26 [label="Type operator: x is String"];
|
||||
27 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
28 [label="Enter when branch condition else"];
|
||||
29 [label="Exit when branch condition"];
|
||||
}
|
||||
30 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
31 [label="Enter block"];
|
||||
32 [label="Jump: ^test_1 Unit"];
|
||||
33 [label="Stub" style="filled" fillcolor=gray];
|
||||
34 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
35 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
36 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
37 [label="Enter block"];
|
||||
38 [label="Access variable R|<local>/x|"];
|
||||
39 [label="Access variable R|kotlin/String.length|"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
41 [label="Exit when branch result"];
|
||||
42 [label="Exit when"];
|
||||
}
|
||||
43 [label="Access variable R|<local>/x|"];
|
||||
44 [label="Access variable R|kotlin/String.length|"];
|
||||
45 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
43 [label="Access variable R|<local>/x|"];
|
||||
44 [label="Access variable R|kotlin/String.length|"];
|
||||
45 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {36 28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {45};
|
||||
32 -> {33} [style=dotted];
|
||||
33 -> {34} [style=dotted];
|
||||
34 -> {35} [style=dotted];
|
||||
35 -> {42} [style=dotted];
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {36 28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {45};
|
||||
32 -> {33} [style=dotted];
|
||||
33 -> {34} [style=dotted];
|
||||
34 -> {35} [style=dotted];
|
||||
35 -> {42} [style=dotted];
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
46 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
47 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
46 -> {47};
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
48 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
49 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
48 -> {49};
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
50 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
51 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
50 -> {51};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
52 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
53 [label="Enter when"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
54 [label="Enter when branch condition "];
|
||||
55 [label="Access variable R|<local>/x|"];
|
||||
56 [label="Type operator: x is B"];
|
||||
57 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
58 [label="Enter when branch condition "];
|
||||
59 [label="Access variable R|<local>/x|"];
|
||||
60 [label="Type operator: x is C"];
|
||||
61 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
62 [label="Enter when branch condition else"];
|
||||
63 [label="Exit when branch condition"];
|
||||
}
|
||||
64 [label="Enter when branch result"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
65 [label="Enter block"];
|
||||
66 [label="Jump: ^test_2 Unit"];
|
||||
67 [label="Stub" style="filled" fillcolor=gray];
|
||||
68 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
69 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
70 [label="Enter when branch result"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
71 [label="Enter block"];
|
||||
72 [label="Access variable R|<local>/x|"];
|
||||
73 [label="Function call: R|<local>/x|.R|/C.baz|()"];
|
||||
74 [label="Exit block"];
|
||||
}
|
||||
75 [label="Exit when branch result"];
|
||||
76 [label="Enter when branch result"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
77 [label="Enter block"];
|
||||
78 [label="Access variable R|<local>/x|"];
|
||||
79 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||
80 [label="Exit block"];
|
||||
}
|
||||
81 [label="Exit when branch result"];
|
||||
82 [label="Exit when"];
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
46 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
47 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
83 [label="Access variable R|<local>/x|"];
|
||||
84 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
85 [label="Access variable R|<local>/x|"];
|
||||
86 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
|
||||
87 [label="Access variable R|<local>/x|"];
|
||||
88 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
|
||||
89 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {76 58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {70 62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {89};
|
||||
66 -> {67} [style=dotted];
|
||||
67 -> {68} [style=dotted];
|
||||
68 -> {69} [style=dotted];
|
||||
69 -> {82} [style=dotted];
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {82};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
46 -> {47};
|
||||
|
||||
subgraph cluster_23 {
|
||||
color=red
|
||||
90 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
91 [label="Enter when"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
92 [label="Enter when branch condition "];
|
||||
93 [label="Access variable R|<local>/x|"];
|
||||
94 [label="Type operator: x is B"];
|
||||
95 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
96 [label="Enter when branch condition "];
|
||||
97 [label="Access variable R|<local>/x|"];
|
||||
98 [label="Type operator: x is C"];
|
||||
99 [label="Exit when branch condition"];
|
||||
}
|
||||
100 [label="Synthetic else branch"];
|
||||
101 [label="Enter when branch result"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
102 [label="Enter block"];
|
||||
103 [label="Access variable R|<local>/x|"];
|
||||
104 [label="Function call: R|<local>/x|.R|/C.baz|()"];
|
||||
105 [label="Exit block"];
|
||||
}
|
||||
106 [label="Exit when branch result"];
|
||||
107 [label="Enter when branch result"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
108 [label="Enter block"];
|
||||
109 [label="Access variable R|<local>/x|"];
|
||||
110 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||
111 [label="Exit block"];
|
||||
}
|
||||
112 [label="Exit when branch result"];
|
||||
113 [label="Exit when"];
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
48 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
49 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
114 [label="Access variable R|<local>/x|"];
|
||||
115 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
|
||||
116 [label="Access variable R|<local>/x|"];
|
||||
117 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
|
||||
118 [label="Access variable R|<local>/x|"];
|
||||
119 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
|
||||
120 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {107 96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {101 100};
|
||||
100 -> {113};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {113};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
48 -> {49};
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
50 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
51 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
50 -> {51};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
52 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
53 [label="Enter when"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
54 [label="Enter when branch condition "];
|
||||
55 [label="Access variable R|<local>/x|"];
|
||||
56 [label="Type operator: x is B"];
|
||||
57 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
58 [label="Enter when branch condition "];
|
||||
59 [label="Access variable R|<local>/x|"];
|
||||
60 [label="Type operator: x is C"];
|
||||
61 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
62 [label="Enter when branch condition else"];
|
||||
63 [label="Exit when branch condition"];
|
||||
}
|
||||
64 [label="Enter when branch result"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
65 [label="Enter block"];
|
||||
66 [label="Jump: ^test_2 Unit"];
|
||||
67 [label="Stub" style="filled" fillcolor=gray];
|
||||
68 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
69 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
70 [label="Enter when branch result"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
71 [label="Enter block"];
|
||||
72 [label="Access variable R|<local>/x|"];
|
||||
73 [label="Function call: R|<local>/x|.R|/C.baz|()"];
|
||||
74 [label="Exit block"];
|
||||
}
|
||||
75 [label="Exit when branch result"];
|
||||
76 [label="Enter when branch result"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
77 [label="Enter block"];
|
||||
78 [label="Access variable R|<local>/x|"];
|
||||
79 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||
80 [label="Exit block"];
|
||||
}
|
||||
81 [label="Exit when branch result"];
|
||||
82 [label="Exit when"];
|
||||
}
|
||||
83 [label="Access variable R|<local>/x|"];
|
||||
84 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||
85 [label="Access variable R|<local>/x|"];
|
||||
86 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
|
||||
87 [label="Access variable R|<local>/x|"];
|
||||
88 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
|
||||
89 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {76 58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {70 62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {89};
|
||||
66 -> {67} [style=dotted];
|
||||
67 -> {68} [style=dotted];
|
||||
68 -> {69} [style=dotted];
|
||||
69 -> {82} [style=dotted];
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {82};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
|
||||
subgraph cluster_23 {
|
||||
color=red
|
||||
90 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
91 [label="Enter when"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
92 [label="Enter when branch condition "];
|
||||
93 [label="Access variable R|<local>/x|"];
|
||||
94 [label="Type operator: x is B"];
|
||||
95 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
96 [label="Enter when branch condition "];
|
||||
97 [label="Access variable R|<local>/x|"];
|
||||
98 [label="Type operator: x is C"];
|
||||
99 [label="Exit when branch condition"];
|
||||
}
|
||||
100 [label="Synthetic else branch"];
|
||||
101 [label="Enter when branch result"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
102 [label="Enter block"];
|
||||
103 [label="Access variable R|<local>/x|"];
|
||||
104 [label="Function call: R|<local>/x|.R|/C.baz|()"];
|
||||
105 [label="Exit block"];
|
||||
}
|
||||
106 [label="Exit when branch result"];
|
||||
107 [label="Enter when branch result"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
108 [label="Enter block"];
|
||||
109 [label="Access variable R|<local>/x|"];
|
||||
110 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||
111 [label="Exit block"];
|
||||
}
|
||||
112 [label="Exit when branch result"];
|
||||
113 [label="Exit when"];
|
||||
}
|
||||
114 [label="Access variable R|<local>/x|"];
|
||||
115 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
|
||||
116 [label="Access variable R|<local>/x|"];
|
||||
117 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
|
||||
118 [label="Access variable R|<local>/x|"];
|
||||
119 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
|
||||
120 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {107 96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {101 100};
|
||||
100 -> {113};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {113};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
|
||||
}
|
||||
|
||||
+210
-211
@@ -1,239 +1,238 @@
|
||||
digraph safeCalls_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Const: String()"];
|
||||
2 [label="Jump: ^foo String()"];
|
||||
3 [label="Stub" style="filled" fillcolor=gray];
|
||||
4 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Const: String()"];
|
||||
2 [label="Jump: ^foo String()"];
|
||||
3 [label="Stub" style="filled" fillcolor=gray];
|
||||
4 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {4};
|
||||
2 -> {3} [style=dotted];
|
||||
3 -> {4} [style=dotted];
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {4};
|
||||
2 -> {3} [style=dotted];
|
||||
3 -> {4} [style=dotted];
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
5 [label="Enter function let" style="filled" fillcolor=red];
|
||||
6 [label="Exit function let" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
5 [label="Enter function let" style="filled" fillcolor=red];
|
||||
6 [label="Exit function let" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
5 -> {6};
|
||||
5 -> {6};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
7 [label="Enter function test" style="filled" fillcolor=red];
|
||||
8 [label="Access variable R|<local>/x|"];
|
||||
9 [label="Enter safe call"];
|
||||
10 [label="Access variable R|<local>/x|"];
|
||||
11 [label="Access variable R|kotlin/String.length|"];
|
||||
12 [label="Const: Int(1)"];
|
||||
13 [label="Operator =="];
|
||||
14 [label="Function call: R|<local>/x|?.R|/foo|(==(R|<local>/x|.R|kotlin/String.length|, Int(1)))"];
|
||||
15 [label="Exit safe call"];
|
||||
16 [label="Access variable R|<local>/x|"];
|
||||
17 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
|
||||
18 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
7 [label="Enter function test" style="filled" fillcolor=red];
|
||||
8 [label="Access variable R|<local>/x|"];
|
||||
9 [label="Enter safe call"];
|
||||
10 [label="Access variable R|<local>/x|"];
|
||||
11 [label="Access variable R|kotlin/String.length|"];
|
||||
12 [label="Const: Int(1)"];
|
||||
13 [label="Operator =="];
|
||||
14 [label="Function call: R|<local>/x|?.R|/foo|(==(R|<local>/x|.R|kotlin/String.length|, Int(1)))"];
|
||||
15 [label="Exit safe call"];
|
||||
16 [label="Access variable R|<local>/x|"];
|
||||
17 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
|
||||
18 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
7 -> {8};
|
||||
8 -> {9 15};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
7 -> {8};
|
||||
8 -> {9 15};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
19 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
20 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
19 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
20 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
19 -> {20};
|
||||
19 -> {20};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
21 [label="Enter function bool" style="filled" fillcolor=red];
|
||||
22 [label="Exit function bool" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
21 [label="Enter function bool" style="filled" fillcolor=red];
|
||||
22 [label="Exit function bool" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
21 -> {22};
|
||||
21 -> {22};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
23 [label="Enter function id" style="filled" fillcolor=red];
|
||||
24 [label="Exit function id" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
23 [label="Enter function id" style="filled" fillcolor=red];
|
||||
24 [label="Exit function id" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
23 -> {24};
|
||||
23 -> {24};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
25 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
26 [label="Access variable R|<local>/x|"];
|
||||
27 [label="Type operator: x as? A"];
|
||||
28 [label="Enter safe call"];
|
||||
29 [label="Access variable R|<local>/x|"];
|
||||
30 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)"];
|
||||
31 [label="Exit safe call"];
|
||||
32 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
25 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
26 [label="Access variable R|<local>/x|"];
|
||||
27 [label="Type operator: x as? A"];
|
||||
28 [label="Enter safe call"];
|
||||
29 [label="Access variable R|<local>/x|"];
|
||||
30 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)"];
|
||||
31 [label="Exit safe call"];
|
||||
32 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28 31};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28 31};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
33 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
34 [label="Access variable R|<local>/x|"];
|
||||
35 [label="Type operator: x as? A"];
|
||||
36 [label="Enter safe call"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)"];
|
||||
39 [label="Exit safe call"];
|
||||
40 [label="Enter safe call"];
|
||||
41 [label="Access variable R|<local>/x|"];
|
||||
42 [label="Function call: R|<local>/x|.R|/A.bool|()"];
|
||||
43 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)?.R|/foo|(R|<local>/x|.R|/A.bool|())"];
|
||||
44 [label="Exit safe call"];
|
||||
45 [label="Enter safe call"];
|
||||
46 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)?.R|/foo|(R|<local>/x|.R|/A.bool|())?.R|/let|(<L> = let@fun <anonymous>(): R|kotlin/Unit| {
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
33 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
34 [label="Access variable R|<local>/x|"];
|
||||
35 [label="Type operator: x as? A"];
|
||||
36 [label="Enter safe call"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)"];
|
||||
39 [label="Exit safe call"];
|
||||
40 [label="Enter safe call"];
|
||||
41 [label="Access variable R|<local>/x|"];
|
||||
42 [label="Function call: R|<local>/x|.R|/A.bool|()"];
|
||||
43 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)?.R|/foo|(R|<local>/x|.R|/A.bool|())"];
|
||||
44 [label="Exit safe call"];
|
||||
45 [label="Enter safe call"];
|
||||
46 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)?.R|/foo|(R|<local>/x|.R|/A.bool|())?.R|/let|(<L> = let@fun <anonymous>(): R|kotlin/Unit| {
|
||||
R|<local>/x|.R|/A.bool|()
|
||||
}
|
||||
)"];
|
||||
47 [label="Exit safe call"];
|
||||
48 [label="Access variable R|<local>/x|"];
|
||||
49 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"];
|
||||
50 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36 39};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40 44};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45 47};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
51 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
52 [label="Access variable R|<local>/x|"];
|
||||
53 [label="Function call: R|<local>/x|.R|/A.bool|()"];
|
||||
54 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
55 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
56 [label="Access variable R|<local>/x|"];
|
||||
57 [label="Enter safe call"];
|
||||
58 [label="Function call: R|<local>/x|?.R|/A.id|()"];
|
||||
59 [label="Exit safe call"];
|
||||
60 [label="Enter safe call"];
|
||||
61 [label="Function call: R|<local>/x|?.R|/A.id|()?.R|/A.bool|()"];
|
||||
62 [label="Exit safe call"];
|
||||
63 [label="Access variable R|<local>/x|"];
|
||||
64 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
|
||||
65 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
55 -> {56};
|
||||
56 -> {57 59};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60 62};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
66 [label="Enter function boo" style="filled" fillcolor=red];
|
||||
67 [label="Exit function boo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
66 -> {67};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
68 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
69 [label="Access variable R|<local>/x|"];
|
||||
70 [label="Enter safe call"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
71 [label="Enter function anonymousFunction"];
|
||||
72 [label="Jump: ^test_5 Unit"];
|
||||
73 [label="Stub" style="filled" fillcolor=gray];
|
||||
74 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
|
||||
47 [label="Exit safe call"];
|
||||
48 [label="Access variable R|<local>/x|"];
|
||||
49 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"];
|
||||
50 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
75 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Nothing| <kind=EXACTLY_ONCE> {
|
||||
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36 39};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40 44};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45 47};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
51 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
52 [label="Access variable R|<local>/x|"];
|
||||
53 [label="Function call: R|<local>/x|.R|/A.bool|()"];
|
||||
54 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
55 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
56 [label="Access variable R|<local>/x|"];
|
||||
57 [label="Enter safe call"];
|
||||
58 [label="Function call: R|<local>/x|?.R|/A.id|()"];
|
||||
59 [label="Exit safe call"];
|
||||
60 [label="Enter safe call"];
|
||||
61 [label="Function call: R|<local>/x|?.R|/A.id|()?.R|/A.bool|()"];
|
||||
62 [label="Exit safe call"];
|
||||
63 [label="Access variable R|<local>/x|"];
|
||||
64 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
|
||||
65 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
55 -> {56};
|
||||
56 -> {57 59};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60 62};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
66 [label="Enter function boo" style="filled" fillcolor=red];
|
||||
67 [label="Exit function boo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
66 -> {67};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
68 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
69 [label="Access variable R|<local>/x|"];
|
||||
70 [label="Enter safe call"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
71 [label="Enter function anonymousFunction"];
|
||||
72 [label="Jump: ^test_5 Unit"];
|
||||
73 [label="Stub" style="filled" fillcolor=gray];
|
||||
74 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
|
||||
}
|
||||
75 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Nothing| <kind=EXACTLY_ONCE> {
|
||||
^test_5 Unit
|
||||
}
|
||||
)" style="filled" fillcolor=gray];
|
||||
76 [label="Exit safe call" style="filled" fillcolor=gray];
|
||||
77 [label="Enter safe call" style="filled" fillcolor=gray];
|
||||
78 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
|
||||
79 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=gray];
|
||||
80 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Nothing| <kind=EXACTLY_ONCE> {
|
||||
76 [label="Exit safe call"];
|
||||
77 [label="Enter safe call"];
|
||||
78 [label="Access variable R|<local>/x|"];
|
||||
79 [label="Function call: R|<local>/x|.R|/A.bool|()"];
|
||||
80 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Nothing| <kind=EXACTLY_ONCE> {
|
||||
^test_5 Unit
|
||||
}
|
||||
)?.R|/boo|(R|<local>/x|.R|/A.bool|())" style="filled" fillcolor=gray];
|
||||
81 [label="Exit safe call" style="filled" fillcolor=gray];
|
||||
82 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
|
||||
83 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()" style="filled" fillcolor=gray];
|
||||
84 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
)?.R|/boo|(R|<local>/x|.R|/A.bool|())"];
|
||||
81 [label="Exit safe call"];
|
||||
82 [label="Access variable R|<local>/x|"];
|
||||
83 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
|
||||
84 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
69 -> {76} [style=dotted];
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {84};
|
||||
72 -> {73} [style=dotted];
|
||||
73 -> {74} [style=dotted];
|
||||
74 -> {75} [style=dotted];
|
||||
75 -> {76} [style=dotted];
|
||||
76 -> {77 81} [style=dotted];
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82} [style=dotted];
|
||||
82 -> {83} [style=dotted];
|
||||
83 -> {84} [style=dotted];
|
||||
68 -> {69};
|
||||
69 -> {70 76};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {84};
|
||||
72 -> {73} [style=dotted];
|
||||
73 -> {74} [style=dotted];
|
||||
74 -> {75} [style=dotted];
|
||||
75 -> {76} [style=dotted];
|
||||
76 -> {77 81};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
|
||||
}
|
||||
|
||||
+177
-177
@@ -1,189 +1,189 @@
|
||||
digraph simpleIf_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Type operator: x is String"];
|
||||
5 [label="Exit when branch condition"];
|
||||
}
|
||||
6 [label="Synthetic else branch"];
|
||||
7 [label="Enter when branch result"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
8 [label="Enter block"];
|
||||
9 [label="Access variable R|<local>/x|"];
|
||||
10 [label="Access variable R|kotlin/String.length|"];
|
||||
11 [label="Exit block"];
|
||||
}
|
||||
12 [label="Exit when branch result"];
|
||||
13 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Type operator: x is String"];
|
||||
5 [label="Exit when branch condition"];
|
||||
}
|
||||
6 [label="Synthetic else branch"];
|
||||
7 [label="Enter when branch result"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
8 [label="Enter block"];
|
||||
9 [label="Access variable R|<local>/x|"];
|
||||
10 [label="Access variable R|kotlin/String.length|"];
|
||||
11 [label="Exit block"];
|
||||
}
|
||||
12 [label="Exit when branch result"];
|
||||
13 [label="Exit when"];
|
||||
}
|
||||
14 [label="Access variable R|<local>/x|"];
|
||||
15 [label="Access variable <Unresolved name: length>#"];
|
||||
16 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
14 [label="Access variable R|<local>/x|"];
|
||||
15 [label="Access variable <Unresolved name: length>#"];
|
||||
16 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {7 6};
|
||||
6 -> {13};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {7 6};
|
||||
6 -> {13};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
17 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
18 [label="Access variable R|<local>/x|"];
|
||||
19 [label="Type operator: x is String"];
|
||||
20 [label="Variable declaration: lval b: R|kotlin/Boolean|"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
21 [label="Enter when"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
22 [label="Enter when branch condition "];
|
||||
23 [label="Access variable R|<local>/b|"];
|
||||
24 [label="Exit when branch condition"];
|
||||
}
|
||||
25 [label="Synthetic else branch"];
|
||||
26 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
27 [label="Enter block"];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Access variable R|kotlin/String.length|"];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
31 [label="Exit when branch result"];
|
||||
32 [label="Exit when"];
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
17 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
18 [label="Access variable R|<local>/x|"];
|
||||
19 [label="Type operator: x is String"];
|
||||
20 [label="Variable declaration: lval b: R|kotlin/Boolean|"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
21 [label="Enter when"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
22 [label="Enter when branch condition "];
|
||||
23 [label="Access variable R|<local>/b|"];
|
||||
24 [label="Exit when branch condition"];
|
||||
}
|
||||
25 [label="Synthetic else branch"];
|
||||
26 [label="Enter when branch result"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
27 [label="Enter block"];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Access variable R|kotlin/String.length|"];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
31 [label="Exit when branch result"];
|
||||
32 [label="Exit when"];
|
||||
}
|
||||
33 [label="Access variable R|<local>/x|"];
|
||||
34 [label="Access variable <Unresolved name: length>#"];
|
||||
35 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
33 [label="Access variable R|<local>/x|"];
|
||||
34 [label="Access variable <Unresolved name: length>#"];
|
||||
35 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {26 25};
|
||||
25 -> {32};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {26 25};
|
||||
25 -> {32};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
36 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
37 [label="Enter when"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
38 [label="Enter when branch condition "];
|
||||
39 [label="Access variable R|<local>/x|"];
|
||||
40 [label="Type operator: x !is String"];
|
||||
41 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
42 [label="Enter when branch condition "];
|
||||
43 [label="Access variable R|<local>/x|"];
|
||||
44 [label="Type operator: x !is Int"];
|
||||
45 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
46 [label="Enter when branch condition else"];
|
||||
47 [label="Exit when branch condition"];
|
||||
}
|
||||
48 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
49 [label="Enter block"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Access variable R|kotlin/String.length|"];
|
||||
52 [label="Access variable R|<local>/x|"];
|
||||
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
54 [label="Exit block"];
|
||||
}
|
||||
55 [label="Exit when branch result"];
|
||||
56 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
57 [label="Enter block"];
|
||||
58 [label="Exit block"];
|
||||
}
|
||||
59 [label="Exit when branch result"];
|
||||
60 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
61 [label="Enter block"];
|
||||
62 [label="Exit block"];
|
||||
}
|
||||
63 [label="Exit when branch result"];
|
||||
64 [label="Exit when"];
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
36 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
37 [label="Enter when"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
38 [label="Enter when branch condition "];
|
||||
39 [label="Access variable R|<local>/x|"];
|
||||
40 [label="Type operator: x !is String"];
|
||||
41 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
42 [label="Enter when branch condition "];
|
||||
43 [label="Access variable R|<local>/x|"];
|
||||
44 [label="Type operator: x !is Int"];
|
||||
45 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
46 [label="Enter when branch condition else"];
|
||||
47 [label="Exit when branch condition"];
|
||||
}
|
||||
48 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
49 [label="Enter block"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Access variable R|kotlin/String.length|"];
|
||||
52 [label="Access variable R|<local>/x|"];
|
||||
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
54 [label="Exit block"];
|
||||
}
|
||||
55 [label="Exit when branch result"];
|
||||
56 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
57 [label="Enter block"];
|
||||
58 [label="Exit block"];
|
||||
}
|
||||
59 [label="Exit when branch result"];
|
||||
60 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
61 [label="Enter block"];
|
||||
62 [label="Exit block"];
|
||||
}
|
||||
63 [label="Exit when branch result"];
|
||||
64 [label="Exit when"];
|
||||
}
|
||||
65 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
65 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {60 42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {56 46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {64};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {64};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {60 42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {56 46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {64};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {64};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
|
||||
}
|
||||
|
||||
+99
-99
@@ -1,107 +1,107 @@
|
||||
digraph smartcastAfterReassignment_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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];
|
||||
1 [label="Const: Int(1)"];
|
||||
2 [label="Variable declaration: lvar x: R|kotlin/Any|"];
|
||||
3 [label="Const: String()"];
|
||||
4 [label="Assignmenet: R|<local>/x|"];
|
||||
5 [label="Access variable R|<local>/x|"];
|
||||
6 [label="Access variable R|kotlin/String.length|"];
|
||||
7 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
8 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
9 [label="Const: Null(null)"];
|
||||
10 [label="Variable declaration: lvar x: R|kotlin/String?|"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
11 [label="Enter when"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
12 [label="Enter when branch condition "];
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Const: Null(null)"];
|
||||
15 [label="Operator =="];
|
||||
16 [label="Exit when branch condition"];
|
||||
}
|
||||
17 [label="Synthetic else branch"];
|
||||
18 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
19 [label="Enter block"];
|
||||
20 [label="Const: String()"];
|
||||
21 [label="Assignmenet: R|<local>/x|"];
|
||||
22 [label="Exit block"];
|
||||
}
|
||||
23 [label="Exit when branch result"];
|
||||
24 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
1 [label="Const: Int(1)"];
|
||||
2 [label="Variable declaration: lvar x: R|kotlin/Any|"];
|
||||
3 [label="Const: String()"];
|
||||
4 [label="Assignmenet: R|<local>/x|"];
|
||||
5 [label="Access variable R|<local>/x|"];
|
||||
6 [label="Access variable R|kotlin/String.length|"];
|
||||
7 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
25 [label="Access variable R|<local>/x|"];
|
||||
26 [label="Access variable R|kotlin/String.length|"];
|
||||
27 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {18 17};
|
||||
17 -> {24};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
28 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
29 [label="Const: Null(null)"];
|
||||
30 [label="Variable declaration: lvar x: R|kotlin/String?|"];
|
||||
31 [label="Const: String()"];
|
||||
32 [label="Assignmenet: R|<local>/x|"];
|
||||
33 [label="Access variable R|<local>/x|"];
|
||||
34 [label="Access variable R|kotlin/String.length|"];
|
||||
35 [label="Const: Null(null)"];
|
||||
36 [label="Assignmenet: R|<local>/x|"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Access variable <Unresolved name: length>#"];
|
||||
39 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
8 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
9 [label="Const: Null(null)"];
|
||||
10 [label="Variable declaration: lvar x: R|kotlin/String?|"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
11 [label="Enter when"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
12 [label="Enter when branch condition "];
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Const: Null(null)"];
|
||||
15 [label="Operator =="];
|
||||
16 [label="Exit when branch condition"];
|
||||
}
|
||||
17 [label="Synthetic else branch"];
|
||||
18 [label="Enter when branch result"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
19 [label="Enter block"];
|
||||
20 [label="Const: String()"];
|
||||
21 [label="Assignmenet: R|<local>/x|"];
|
||||
22 [label="Exit block"];
|
||||
}
|
||||
23 [label="Exit when branch result"];
|
||||
24 [label="Exit when"];
|
||||
}
|
||||
25 [label="Access variable R|<local>/x|"];
|
||||
26 [label="Access variable R|kotlin/String.length|"];
|
||||
27 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {18 17};
|
||||
17 -> {24};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
28 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
29 [label="Const: Null(null)"];
|
||||
30 [label="Variable declaration: lvar x: R|kotlin/String?|"];
|
||||
31 [label="Const: String()"];
|
||||
32 [label="Assignmenet: R|<local>/x|"];
|
||||
33 [label="Access variable R|<local>/x|"];
|
||||
34 [label="Access variable R|kotlin/String.length|"];
|
||||
35 [label="Const: Null(null)"];
|
||||
36 [label="Assignmenet: R|<local>/x|"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Access variable <Unresolved name: length>#"];
|
||||
39 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
|
||||
}
|
||||
|
||||
+119
-119
@@ -1,78 +1,78 @@
|
||||
digraph smartcastFromArgument_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
0 -> {1};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function takeA" style="filled" fillcolor=red];
|
||||
3 [label="Const: Boolean(true)"];
|
||||
4 [label="Jump: ^takeA Boolean(true)"];
|
||||
5 [label="Stub" style="filled" fillcolor=gray];
|
||||
6 [label="Exit function takeA" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function takeA" style="filled" fillcolor=red];
|
||||
3 [label="Const: Boolean(true)"];
|
||||
4 [label="Jump: ^takeA Boolean(true)"];
|
||||
5 [label="Stub" style="filled" fillcolor=gray];
|
||||
6 [label="Exit function takeA" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {6};
|
||||
4 -> {5} [style=dotted];
|
||||
5 -> {6} [style=dotted];
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {6};
|
||||
4 -> {5} [style=dotted];
|
||||
5 -> {6} [style=dotted];
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
7 [label="Enter function test" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
8 [label="Enter when"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
9 [label="Enter when branch condition "];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
10 [label="Enter when"];
|
||||
11 [label="Access variable R|<local>/a|"];
|
||||
12 [label="Type operator: a as? A"];
|
||||
13 [label="Variable declaration: lval <elvis>: R|A?|"];
|
||||
subgraph cluster_6 {
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
7 [label="Enter function test" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
14 [label="Enter when branch condition "];
|
||||
15 [label="Const: Null(null)"];
|
||||
16 [label="Operator =="];
|
||||
17 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
18 [label="Enter when branch condition else"];
|
||||
19 [label="Exit when branch condition"];
|
||||
}
|
||||
20 [label="Enter when branch result"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Access variable R|<local>/<elvis>|"];
|
||||
23 [label="Exit block"];
|
||||
}
|
||||
24 [label="Exit when branch result"];
|
||||
25 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
26 [label="Enter block"];
|
||||
27 [label="Jump: ^test Unit"];
|
||||
28 [label="Stub" style="filled" fillcolor=gray];
|
||||
29 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
30 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
31 [label="Exit when"];
|
||||
}
|
||||
32 [label="Function call: R|/takeA|(when (lval <elvis>: R|A?| = (R|<local>/a| as? R|A|)) {
|
||||
8 [label="Enter when"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
9 [label="Enter when branch condition "];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
10 [label="Enter when"];
|
||||
11 [label="Access variable R|<local>/a|"];
|
||||
12 [label="Type operator: a as? A"];
|
||||
13 [label="Variable declaration: lval <elvis>: R|A?|"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
14 [label="Enter when branch condition "];
|
||||
15 [label="Const: Null(null)"];
|
||||
16 [label="Operator =="];
|
||||
17 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
18 [label="Enter when branch condition else"];
|
||||
19 [label="Exit when branch condition"];
|
||||
}
|
||||
20 [label="Enter when branch result"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Access variable R|<local>/<elvis>|"];
|
||||
23 [label="Exit block"];
|
||||
}
|
||||
24 [label="Exit when branch result"];
|
||||
25 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
26 [label="Enter block"];
|
||||
27 [label="Jump: ^test Unit"];
|
||||
28 [label="Stub" style="filled" fillcolor=gray];
|
||||
29 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
30 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
31 [label="Exit when"];
|
||||
}
|
||||
32 [label="Function call: R|/takeA|(when (lval <elvis>: R|A?| = (R|<local>/a| as? R|A|)) {
|
||||
==($subj$, Null(null)) -> {
|
||||
^test Unit
|
||||
}
|
||||
@@ -81,58 +81,58 @@ digraph smartcastFromArgument_kt {
|
||||
}
|
||||
}
|
||||
)"];
|
||||
33 [label="Exit when branch condition"];
|
||||
}
|
||||
34 [label="Synthetic else branch"];
|
||||
35 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
36 [label="Enter block"];
|
||||
37 [label="Access variable R|<local>/a|"];
|
||||
38 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
39 [label="Exit block"];
|
||||
}
|
||||
40 [label="Exit when branch result"];
|
||||
41 [label="Exit when"];
|
||||
33 [label="Exit when branch condition"];
|
||||
}
|
||||
34 [label="Synthetic else branch"];
|
||||
35 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
36 [label="Enter block"];
|
||||
37 [label="Access variable R|<local>/a|"];
|
||||
38 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
39 [label="Exit block"];
|
||||
}
|
||||
40 [label="Exit when branch result"];
|
||||
41 [label="Exit when"];
|
||||
}
|
||||
42 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
42 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {25 18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {31};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {42};
|
||||
27 -> {28} [style=dotted];
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
30 -> {31} [style=dotted];
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {35 34};
|
||||
34 -> {41};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {25 18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {31};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {42};
|
||||
27 -> {28} [style=dotted];
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
30 -> {31} [style=dotted];
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {35 34};
|
||||
34 -> {41};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
|
||||
}
|
||||
|
||||
@@ -1,49 +1,49 @@
|
||||
digraph smartcastOnLambda_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/func|"];
|
||||
4 [label="Const: Null(null)"];
|
||||
5 [label="Operator !="];
|
||||
6 [label="Exit when branch condition"];
|
||||
}
|
||||
7 [label="Synthetic else branch"];
|
||||
8 [label="Enter when branch result"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
9 [label="Enter block"];
|
||||
10 [label="Function call: R|<local>/func|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
11 [label="Exit block"];
|
||||
}
|
||||
12 [label="Exit when branch result"];
|
||||
13 [label="Exit when"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter when"];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
2 [label="Enter when branch condition "];
|
||||
3 [label="Access variable R|<local>/func|"];
|
||||
4 [label="Const: Null(null)"];
|
||||
5 [label="Operator !="];
|
||||
6 [label="Exit when branch condition"];
|
||||
}
|
||||
7 [label="Synthetic else branch"];
|
||||
8 [label="Enter when branch result"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
9 [label="Enter block"];
|
||||
10 [label="Function call: R|<local>/func|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
11 [label="Exit block"];
|
||||
}
|
||||
12 [label="Exit when branch result"];
|
||||
13 [label="Exit when"];
|
||||
}
|
||||
14 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
14 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {8 7};
|
||||
7 -> {13};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {8 7};
|
||||
7 -> {13};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
|
||||
}
|
||||
|
||||
+634
-634
File diff suppressed because it is too large
Load Diff
+209
-209
@@ -1,259 +1,259 @@
|
||||
digraph callsInPlace_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test" style="filled" fillcolor=red];
|
||||
1 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
2 [label="Enter function anonymousFunction"];
|
||||
3 [label="Const: Int(1)"];
|
||||
4 [label="Assignmenet: R|<local>/x|"];
|
||||
5 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
6 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test" style="filled" fillcolor=red];
|
||||
1 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
2 [label="Enter function anonymousFunction"];
|
||||
3 [label="Const: Int(1)"];
|
||||
4 [label="Assignmenet: R|<local>/x|"];
|
||||
5 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
6 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
|
||||
R|<local>/x| = Int(1)
|
||||
}
|
||||
)"];
|
||||
7 [label="Access variable R|<local>/x|"];
|
||||
8 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
9 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
10 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
11 [label="Const: Int(10)"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
12 [label="Enter function anonymousFunction"];
|
||||
13 [label="Const: String(test_2)"];
|
||||
14 [label="Exit function anonymousFunction"];
|
||||
7 [label="Access variable R|<local>/x|"];
|
||||
8 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
9 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
15 [label="Function call: R|kotlin/repeat|(Int(10), <L> = repeat@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
10 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
11 [label="Const: Int(10)"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
12 [label="Enter function anonymousFunction"];
|
||||
13 [label="Const: String(test_2)"];
|
||||
14 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
15 [label="Function call: R|kotlin/repeat|(Int(10), <L> = repeat@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
String(test_2)
|
||||
}
|
||||
)"];
|
||||
16 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {14 13};
|
||||
13 -> {14};
|
||||
14 -> {12 15};
|
||||
15 -> {16};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
17 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
18 [label="Const: Int(10)"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
19 [label="Enter function anonymousFunction"];
|
||||
20 [label="Const: String(test_3)"];
|
||||
21 [label="Exit function anonymousFunction"];
|
||||
16 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
22 [label="Function call: R|kotlin/repeat|(action = repeat@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {14 13};
|
||||
13 -> {14};
|
||||
14 -> {12 15};
|
||||
15 -> {16};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
17 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
18 [label="Const: Int(10)"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
19 [label="Enter function anonymousFunction"];
|
||||
20 [label="Const: String(test_3)"];
|
||||
21 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
22 [label="Function call: R|kotlin/repeat|(action = repeat@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
String(test_3)
|
||||
}
|
||||
, times = Int(10))"];
|
||||
23 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {21 20};
|
||||
20 -> {21};
|
||||
21 -> {19 22};
|
||||
22 -> {23};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
24 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
25 [label="Const: Int(1)"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
26 [label="Enter function anonymousFunction"];
|
||||
27 [label="Const: String(test_4)"];
|
||||
28 [label="Access variable R|<local>/it|"];
|
||||
29 [label="Const: Int(0)"];
|
||||
30 [label="Operator >"];
|
||||
31 [label="Exit function anonymousFunction"];
|
||||
23 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
32 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(<L> = takeUnless@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <kind=EXACTLY_ONCE> {
|
||||
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {21 20};
|
||||
20 -> {21};
|
||||
21 -> {19 22};
|
||||
22 -> {23};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
24 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
25 [label="Const: Int(1)"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
26 [label="Enter function anonymousFunction"];
|
||||
27 [label="Const: String(test_4)"];
|
||||
28 [label="Access variable R|<local>/it|"];
|
||||
29 [label="Const: Int(0)"];
|
||||
30 [label="Operator >"];
|
||||
31 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
32 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(<L> = takeUnless@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <kind=EXACTLY_ONCE> {
|
||||
String(test_4)
|
||||
>(R|<local>/it|, Int(0))
|
||||
}
|
||||
)"];
|
||||
33 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
34 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
35 [label="Const: Int(1)"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
36 [label="Enter function anonymousFunction"];
|
||||
37 [label="Const: String(test_5)"];
|
||||
38 [label="Access variable R|<local>/it|"];
|
||||
39 [label="Const: Int(0)"];
|
||||
40 [label="Operator >"];
|
||||
41 [label="Exit function anonymousFunction"];
|
||||
33 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
42 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(predicate = takeUnless@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <kind=EXACTLY_ONCE> {
|
||||
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
34 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
35 [label="Const: Int(1)"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
36 [label="Enter function anonymousFunction"];
|
||||
37 [label="Const: String(test_5)"];
|
||||
38 [label="Access variable R|<local>/it|"];
|
||||
39 [label="Const: Int(0)"];
|
||||
40 [label="Operator >"];
|
||||
41 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
42 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(predicate = takeUnless@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <kind=EXACTLY_ONCE> {
|
||||
String(test_5)
|
||||
>(R|<local>/it|, Int(0))
|
||||
}
|
||||
)"];
|
||||
43 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
44 [label="Enter function myRun" style="filled" fillcolor=red];
|
||||
45 [label="Function call: R|<local>/block1|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
46 [label="Function call: R|<local>/block2|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
47 [label="Exit function myRun" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
48 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
49 [label="Enter function anonymousFunction"];
|
||||
50 [label="Const: String(test_6_1)"];
|
||||
51 [label="Exit function anonymousFunction"];
|
||||
43 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
52 [label="Enter function anonymousFunction"];
|
||||
53 [label="Const: String(test_6_2)"];
|
||||
54 [label="Exit function anonymousFunction"];
|
||||
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
44 [label="Enter function myRun" style="filled" fillcolor=red];
|
||||
45 [label="Function call: R|<local>/block1|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
46 [label="Function call: R|<local>/block2|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
47 [label="Exit function myRun" style="filled" fillcolor=red];
|
||||
}
|
||||
55 [label="Function call: R|/myRun|(myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
48 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
49 [label="Enter function anonymousFunction"];
|
||||
50 [label="Const: String(test_6_1)"];
|
||||
51 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
52 [label="Enter function anonymousFunction"];
|
||||
53 [label="Const: String(test_6_2)"];
|
||||
54 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
55 [label="Function call: R|/myRun|(myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
String(test_6_1)
|
||||
}
|
||||
, <L> = myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
String(test_6_2)
|
||||
}
|
||||
)"];
|
||||
56 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
48 -> {49};
|
||||
49 -> {51 50};
|
||||
50 -> {51};
|
||||
51 -> {49 52};
|
||||
52 -> {54 53};
|
||||
53 -> {54};
|
||||
54 -> {52 55};
|
||||
55 -> {56};
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
57 [label="Enter function test_7" style="filled" fillcolor=red];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
58 [label="Enter function anonymousFunction"];
|
||||
59 [label="Const: String(test_7_2)"];
|
||||
60 [label="Exit function anonymousFunction"];
|
||||
56 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
61 [label="Enter function anonymousFunction"];
|
||||
62 [label="Const: String(test_7_1)"];
|
||||
63 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
64 [label="Function call: R|/myRun|(block2 = myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
|
||||
48 -> {49};
|
||||
49 -> {51 50};
|
||||
50 -> {51};
|
||||
51 -> {49 52};
|
||||
52 -> {54 53};
|
||||
53 -> {54};
|
||||
54 -> {52 55};
|
||||
55 -> {56};
|
||||
|
||||
subgraph cluster_14 {
|
||||
color=red
|
||||
57 [label="Enter function test_7" style="filled" fillcolor=red];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
58 [label="Enter function anonymousFunction"];
|
||||
59 [label="Const: String(test_7_2)"];
|
||||
60 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
61 [label="Enter function anonymousFunction"];
|
||||
62 [label="Const: String(test_7_1)"];
|
||||
63 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
64 [label="Function call: R|/myRun|(block2 = myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
String(test_7_2)
|
||||
}
|
||||
, block1 = myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||
String(test_7_1)
|
||||
}
|
||||
)"];
|
||||
65 [label="Exit function test_7" style="filled" fillcolor=red];
|
||||
}
|
||||
65 [label="Exit function test_7" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
57 -> {58};
|
||||
58 -> {60 59};
|
||||
59 -> {60};
|
||||
60 -> {58 61};
|
||||
61 -> {63 62};
|
||||
62 -> {63};
|
||||
63 -> {61 64};
|
||||
64 -> {65};
|
||||
57 -> {58};
|
||||
58 -> {60 59};
|
||||
59 -> {60};
|
||||
60 -> {58 61};
|
||||
61 -> {63 62};
|
||||
62 -> {63};
|
||||
63 -> {61 64};
|
||||
64 -> {65};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
66 [label="Enter function myDummyRun" style="filled" fillcolor=red];
|
||||
67 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
68 [label="Exit function myDummyRun" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
66 [label="Enter function myDummyRun" style="filled" fillcolor=red];
|
||||
67 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
68 [label="Exit function myDummyRun" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
|
||||
subgraph cluster_18 {
|
||||
color=red
|
||||
69 [label="Enter function test_8" style="filled" fillcolor=red];
|
||||
70 [label="Function call: R|/myDummyRun|(<L> = myDummyRun@fun <anonymous>(): R|kotlin/Unit| {
|
||||
subgraph cluster_18 {
|
||||
color=red
|
||||
69 [label="Enter function test_8" style="filled" fillcolor=red];
|
||||
70 [label="Function call: R|/myDummyRun|(<L> = myDummyRun@fun <anonymous>(): R|kotlin/Unit| {
|
||||
String(test_8)
|
||||
}
|
||||
)"];
|
||||
71 [label="Exit function test_8" style="filled" fillcolor=red];
|
||||
}
|
||||
71 [label="Exit function test_8" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
|
||||
subgraph cluster_19 {
|
||||
color=red
|
||||
72 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
73 [label="Const: String(test_8)"];
|
||||
74 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=red
|
||||
72 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
73 [label="Const: String(test_8)"];
|
||||
74 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
|
||||
}
|
||||
|
||||
+334
-334
@@ -1,345 +1,345 @@
|
||||
digraph conditionalEffects_kt {
|
||||
graph [splines=ortho nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
graph [splines=ortho 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];
|
||||
1 [label="Access variable R|<local>/x|"];
|
||||
2 [label="Type operator: x is Int"];
|
||||
3 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/Int|))"];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
4 [label="Enter contract"];
|
||||
5 [label="Access variable R|<local>/x|"];
|
||||
6 [label="Type operator: x is Int"];
|
||||
7 [label="Exit contract"];
|
||||
}
|
||||
8 [label="Access variable R|<local>/x|"];
|
||||
9 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
10 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
11 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
12 [label="Access variable R|<local>/x|"];
|
||||
13 [label="Function call: R|kotlin/requireNotNull|<R|kotlin/String|>(R|<local>/x|)"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
14 [label="Enter contract"];
|
||||
15 [label="Access variable R|<local>/x|"];
|
||||
16 [label="Const: Null(null)"];
|
||||
17 [label="Operator !="];
|
||||
18 [label="Exit contract"];
|
||||
}
|
||||
19 [label="Access variable R|<local>/x|"];
|
||||
20 [label="Access variable R|kotlin/String.length|"];
|
||||
21 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
22 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
23 [label="Access variable R|<local>/x|"];
|
||||
24 [label="Const: Null(null)"];
|
||||
25 [label="Operator !="];
|
||||
26 [label="Function call: R|kotlin/require|(!=(R|<local>/x|, Null(null)))"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
27 [label="Enter contract"];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Const: Null(null)"];
|
||||
30 [label="Operator !="];
|
||||
31 [label="Exit contract"];
|
||||
}
|
||||
32 [label="Access variable R|<local>/x|"];
|
||||
33 [label="Access variable R|kotlin/String.length|"];
|
||||
34 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
35 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
36 [label="Enter &&"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Type operator: x is String"];
|
||||
39 [label="Exit left part of &&"];
|
||||
40 [label="Enter right part of &&"];
|
||||
41 [label="Access variable R|<local>/y|"];
|
||||
42 [label="Const: Null(null)"];
|
||||
43 [label="Operator !="];
|
||||
44 [label="Exit &&"];
|
||||
}
|
||||
45 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|) && !=(R|<local>/y|, Null(null)))"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
46 [label="Enter contract"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
47 [label="Enter &&"];
|
||||
48 [label="Access variable R|<local>/x|"];
|
||||
49 [label="Type operator: x is String"];
|
||||
50 [label="Exit left part of &&"];
|
||||
51 [label="Enter right part of &&"];
|
||||
52 [label="Access variable R|<local>/y|"];
|
||||
53 [label="Const: Null(null)"];
|
||||
54 [label="Operator !="];
|
||||
55 [label="Exit &&"];
|
||||
}
|
||||
56 [label="Exit contract"];
|
||||
}
|
||||
57 [label="Access variable R|<local>/x|"];
|
||||
58 [label="Access variable R|kotlin/String.length|"];
|
||||
59 [label="Access variable R|<local>/y|"];
|
||||
60 [label="Access variable R|kotlin/String.length|"];
|
||||
61 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {44 40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {55 51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
62 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
63 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
64 [label="Enter when branch condition "];
|
||||
65 [label="Access variable R|<local>/b|"];
|
||||
66 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
67 [label="Enter when branch condition else"];
|
||||
68 [label="Exit when branch condition"];
|
||||
}
|
||||
69 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
70 [label="Enter block"];
|
||||
71 [label="Access variable R|<local>/x|"];
|
||||
72 [label="Access variable <Unresolved name: length>#"];
|
||||
73 [label="Exit block"];
|
||||
}
|
||||
74 [label="Exit when branch result"];
|
||||
75 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
76 [label="Enter block"];
|
||||
77 [label="Access variable R|<local>/x|"];
|
||||
78 [label="Type operator: x is String"];
|
||||
79 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
80 [label="Enter contract"];
|
||||
81 [label="Access variable R|<local>/x|"];
|
||||
82 [label="Type operator: x is String"];
|
||||
83 [label="Exit contract"];
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
1 [label="Access variable R|<local>/x|"];
|
||||
2 [label="Type operator: x is Int"];
|
||||
3 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/Int|))"];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
4 [label="Enter contract"];
|
||||
5 [label="Access variable R|<local>/x|"];
|
||||
6 [label="Type operator: x is Int"];
|
||||
7 [label="Exit contract"];
|
||||
}
|
||||
84 [label="Access variable R|<local>/x|"];
|
||||
85 [label="Access variable R|kotlin/String.length|"];
|
||||
86 [label="Exit block"];
|
||||
}
|
||||
87 [label="Exit when branch result"];
|
||||
88 [label="Exit when"];
|
||||
8 [label="Access variable R|<local>/x|"];
|
||||
9 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||
10 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
89 [label="Access variable R|<local>/x|"];
|
||||
90 [label="Access variable <Unresolved name: length>#"];
|
||||
91 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {75 67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {88};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
92 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
93 [label="Enter when"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
94 [label="Enter when branch condition "];
|
||||
95 [label="Access variable R|<local>/b|"];
|
||||
96 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
97 [label="Enter when branch condition else"];
|
||||
98 [label="Exit when branch condition"];
|
||||
}
|
||||
99 [label="Enter when branch result"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
100 [label="Enter block"];
|
||||
101 [label="Access variable R|<local>/x|"];
|
||||
102 [label="Type operator: x is String"];
|
||||
103 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
104 [label="Enter contract"];
|
||||
105 [label="Access variable R|<local>/x|"];
|
||||
106 [label="Type operator: x is String"];
|
||||
107 [label="Exit contract"];
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
11 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
12 [label="Access variable R|<local>/x|"];
|
||||
13 [label="Function call: R|kotlin/requireNotNull|<R|kotlin/String|>(R|<local>/x|)"];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
14 [label="Enter contract"];
|
||||
15 [label="Access variable R|<local>/x|"];
|
||||
16 [label="Const: Null(null)"];
|
||||
17 [label="Operator !="];
|
||||
18 [label="Exit contract"];
|
||||
}
|
||||
108 [label="Access variable R|<local>/x|"];
|
||||
109 [label="Access variable R|kotlin/String.length|"];
|
||||
110 [label="Exit block"];
|
||||
}
|
||||
111 [label="Exit when branch result"];
|
||||
112 [label="Enter when branch result"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
113 [label="Enter block"];
|
||||
114 [label="Access variable R|<local>/x|"];
|
||||
115 [label="Type operator: x is String"];
|
||||
116 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
117 [label="Enter contract"];
|
||||
118 [label="Access variable R|<local>/x|"];
|
||||
119 [label="Type operator: x is String"];
|
||||
120 [label="Exit contract"];
|
||||
}
|
||||
121 [label="Access variable R|<local>/x|"];
|
||||
122 [label="Access variable R|kotlin/String.length|"];
|
||||
123 [label="Exit block"];
|
||||
}
|
||||
124 [label="Exit when branch result"];
|
||||
125 [label="Exit when"];
|
||||
19 [label="Access variable R|<local>/x|"];
|
||||
20 [label="Access variable R|kotlin/String.length|"];
|
||||
21 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
126 [label="Access variable R|<local>/x|"];
|
||||
127 [label="Access variable R|kotlin/String.length|"];
|
||||
128 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {112 97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {125};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
22 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
23 [label="Access variable R|<local>/x|"];
|
||||
24 [label="Const: Null(null)"];
|
||||
25 [label="Operator !="];
|
||||
26 [label="Function call: R|kotlin/require|(!=(R|<local>/x|, Null(null)))"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
27 [label="Enter contract"];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Const: Null(null)"];
|
||||
30 [label="Operator !="];
|
||||
31 [label="Exit contract"];
|
||||
}
|
||||
32 [label="Access variable R|<local>/x|"];
|
||||
33 [label="Access variable R|kotlin/String.length|"];
|
||||
34 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
35 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
36 [label="Enter &&"];
|
||||
37 [label="Access variable R|<local>/x|"];
|
||||
38 [label="Type operator: x is String"];
|
||||
39 [label="Exit left part of &&"];
|
||||
40 [label="Enter right part of &&"];
|
||||
41 [label="Access variable R|<local>/y|"];
|
||||
42 [label="Const: Null(null)"];
|
||||
43 [label="Operator !="];
|
||||
44 [label="Exit &&"];
|
||||
}
|
||||
45 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|) && !=(R|<local>/y|, Null(null)))"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
46 [label="Enter contract"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
47 [label="Enter &&"];
|
||||
48 [label="Access variable R|<local>/x|"];
|
||||
49 [label="Type operator: x is String"];
|
||||
50 [label="Exit left part of &&"];
|
||||
51 [label="Enter right part of &&"];
|
||||
52 [label="Access variable R|<local>/y|"];
|
||||
53 [label="Const: Null(null)"];
|
||||
54 [label="Operator !="];
|
||||
55 [label="Exit &&"];
|
||||
}
|
||||
56 [label="Exit contract"];
|
||||
}
|
||||
57 [label="Access variable R|<local>/x|"];
|
||||
58 [label="Access variable R|kotlin/String.length|"];
|
||||
59 [label="Access variable R|<local>/y|"];
|
||||
60 [label="Access variable R|kotlin/String.length|"];
|
||||
61 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {44 40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {55 51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
62 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
63 [label="Enter when"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
64 [label="Enter when branch condition "];
|
||||
65 [label="Access variable R|<local>/b|"];
|
||||
66 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
67 [label="Enter when branch condition else"];
|
||||
68 [label="Exit when branch condition"];
|
||||
}
|
||||
69 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
70 [label="Enter block"];
|
||||
71 [label="Access variable R|<local>/x|"];
|
||||
72 [label="Access variable <Unresolved name: length>#"];
|
||||
73 [label="Exit block"];
|
||||
}
|
||||
74 [label="Exit when branch result"];
|
||||
75 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
76 [label="Enter block"];
|
||||
77 [label="Access variable R|<local>/x|"];
|
||||
78 [label="Type operator: x is String"];
|
||||
79 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
80 [label="Enter contract"];
|
||||
81 [label="Access variable R|<local>/x|"];
|
||||
82 [label="Type operator: x is String"];
|
||||
83 [label="Exit contract"];
|
||||
}
|
||||
84 [label="Access variable R|<local>/x|"];
|
||||
85 [label="Access variable R|kotlin/String.length|"];
|
||||
86 [label="Exit block"];
|
||||
}
|
||||
87 [label="Exit when branch result"];
|
||||
88 [label="Exit when"];
|
||||
}
|
||||
89 [label="Access variable R|<local>/x|"];
|
||||
90 [label="Access variable <Unresolved name: length>#"];
|
||||
91 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {75 67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {88};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
92 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
93 [label="Enter when"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
94 [label="Enter when branch condition "];
|
||||
95 [label="Access variable R|<local>/b|"];
|
||||
96 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
97 [label="Enter when branch condition else"];
|
||||
98 [label="Exit when branch condition"];
|
||||
}
|
||||
99 [label="Enter when branch result"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
100 [label="Enter block"];
|
||||
101 [label="Access variable R|<local>/x|"];
|
||||
102 [label="Type operator: x is String"];
|
||||
103 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
104 [label="Enter contract"];
|
||||
105 [label="Access variable R|<local>/x|"];
|
||||
106 [label="Type operator: x is String"];
|
||||
107 [label="Exit contract"];
|
||||
}
|
||||
108 [label="Access variable R|<local>/x|"];
|
||||
109 [label="Access variable R|kotlin/String.length|"];
|
||||
110 [label="Exit block"];
|
||||
}
|
||||
111 [label="Exit when branch result"];
|
||||
112 [label="Enter when branch result"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
113 [label="Enter block"];
|
||||
114 [label="Access variable R|<local>/x|"];
|
||||
115 [label="Type operator: x is String"];
|
||||
116 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
117 [label="Enter contract"];
|
||||
118 [label="Access variable R|<local>/x|"];
|
||||
119 [label="Type operator: x is String"];
|
||||
120 [label="Exit contract"];
|
||||
}
|
||||
121 [label="Access variable R|<local>/x|"];
|
||||
122 [label="Access variable R|kotlin/String.length|"];
|
||||
123 [label="Exit block"];
|
||||
}
|
||||
124 [label="Exit when branch result"];
|
||||
125 [label="Exit when"];
|
||||
}
|
||||
126 [label="Access variable R|<local>/x|"];
|
||||
127 [label="Access variable R|kotlin/String.length|"];
|
||||
128 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {112 97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {125};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {126};
|
||||
126 -> {127};
|
||||
127 -> {128};
|
||||
|
||||
}
|
||||
|
||||
+35
-102
@@ -5,18 +5,20 @@
|
||||
|
||||
package org.jetbrains.kotlin.fir
|
||||
|
||||
import junit.framework.TestCase
|
||||
import org.jetbrains.kotlin.fir.declarations.FirFile
|
||||
import org.jetbrains.kotlin.fir.references.FirControlFlowGraphReference
|
||||
import org.jetbrains.kotlin.fir.resolve.dfa.FirControlFlowGraphReferenceImpl
|
||||
import org.jetbrains.kotlin.fir.resolve.dfa.cfg.*
|
||||
import org.jetbrains.kotlin.fir.resolve.dfa.cfg.CFGNode
|
||||
import org.jetbrains.kotlin.fir.resolve.dfa.cfg.ControlFlowGraph
|
||||
import org.jetbrains.kotlin.fir.resolve.dfa.cfg.EdgeKind
|
||||
import org.jetbrains.kotlin.fir.resolve.dfa.cfg.FirControlFlowGraphRenderVisitor
|
||||
import org.jetbrains.kotlin.fir.visitors.FirVisitorVoid
|
||||
import org.jetbrains.kotlin.test.ConfigurationKind
|
||||
import org.jetbrains.kotlin.test.KotlinTestUtils
|
||||
import org.jetbrains.kotlin.test.testFramework.KtUsefulTestCase
|
||||
import java.io.File
|
||||
private const val EDGE = " -> "
|
||||
private const val INDENT = " "
|
||||
private const val RED = "red"
|
||||
private const val BLUE = "blue"
|
||||
|
||||
|
||||
/*
|
||||
* For comfort viewing dumps of control flow graph you can setup external tool in IDEA that opens .dot files
|
||||
@@ -43,122 +45,53 @@ abstract class AbstractFirDiagnosticsWithCfgTest : AbstractFirDiagnosticsTest()
|
||||
super.runAnalysis(testDataFile, testFiles, firFilesPerSession)
|
||||
val allFirFiles = firFilesPerSession.values.flatten()
|
||||
checkCfg(testDataFile, allFirFiles)
|
||||
checkCfgEdgeConsistency(allFirFiles)
|
||||
}
|
||||
|
||||
fun checkCfg(testDataFile: File, firFiles: List<FirFile>) {
|
||||
val simpleBuilder = StringBuilder()
|
||||
val dotBuilder = StringBuilder()
|
||||
private fun checkCfg(testDataFile: File, firFiles: List<FirFile>) {
|
||||
val builder = StringBuilder()
|
||||
|
||||
firFiles.first().accept(FirControlFlowGraphRenderVisitor(simpleBuilder, dotBuilder), null)
|
||||
firFiles.first().accept(FirControlFlowGraphRenderVisitor(builder), null)
|
||||
|
||||
val dotCfgDump = dotBuilder.toString()
|
||||
val dotCfgDump = builder.toString()
|
||||
val dotExpectedPath = testDataFile.absolutePath.replace(".kt", ".dot")
|
||||
KotlinTestUtils.assertEqualsToFile(File(dotExpectedPath), dotCfgDump)
|
||||
}
|
||||
|
||||
private class FirControlFlowGraphRenderVisitor(
|
||||
private val simpleBuilder: StringBuilder,
|
||||
private val dotBuilder: StringBuilder
|
||||
) : FirVisitorVoid() {
|
||||
private var indexOffset = 0
|
||||
private var clusterCounter = 0
|
||||
private var offset = 1
|
||||
|
||||
override fun visitFile(file: FirFile) {
|
||||
dotBuilder.appendln("digraph ${file.name.replace(".", "_")} {")
|
||||
.appendln("${INDENT}graph [splines=ortho nodesep=3]")
|
||||
.appendln("${INDENT}node [shape=box penwidth=2]")
|
||||
.appendln("${INDENT}edge [penwidth=2]")
|
||||
.appendln()
|
||||
visitElement(file)
|
||||
dotBuilder.appendln("}")
|
||||
}
|
||||
private fun checkCfgEdgeConsistency(firFiles: List<FirFile>) {
|
||||
firFiles.forEach { it.accept(CfgConsistencyChecker) }
|
||||
}
|
||||
|
||||
private object CfgConsistencyChecker : FirVisitorVoid() {
|
||||
override fun visitElement(element: FirElement) {
|
||||
element.acceptChildren(this)
|
||||
}
|
||||
|
||||
override fun visitControlFlowGraphReference(controlFlowGraphReference: FirControlFlowGraphReference) {
|
||||
val controlFlowGraph = (controlFlowGraphReference as? FirControlFlowGraphReferenceImpl)?.controlFlowGraph ?: return
|
||||
controlFlowGraph.renderToStringBuilder(simpleBuilder)
|
||||
indexOffset = controlFlowGraph.dotRenderToStringBuilder(dotBuilder)
|
||||
dotBuilder.appendln()
|
||||
val graph = (controlFlowGraphReference as? FirControlFlowGraphReferenceImpl)?.controlFlowGraph ?: return
|
||||
checkConsistency(graph)
|
||||
}
|
||||
|
||||
private fun StringBuilder.enterCluster(color: String) {
|
||||
indent()
|
||||
appendln("subgraph cluster_${clusterCounter++} {")
|
||||
offset++
|
||||
indent()
|
||||
appendln("color=$color")
|
||||
}
|
||||
|
||||
private fun StringBuilder.exitCluster() {
|
||||
offset--
|
||||
indent()
|
||||
appendln("}")
|
||||
}
|
||||
|
||||
private fun StringBuilder.indent() {
|
||||
append(INDENT.repeat(offset))
|
||||
}
|
||||
|
||||
fun ControlFlowGraph.dotRenderToStringBuilder(builder: StringBuilder): Int {
|
||||
with(builder) {
|
||||
val sortedNodes = sortNodes()
|
||||
val indices = sortedNodes.indicesMap().mapValues { (_, index) -> index + indexOffset }
|
||||
|
||||
fun CFGNode<*>.splitEdges(): Pair<List<CFGNode<*>>, List<CFGNode<*>>> =
|
||||
if (isDead) emptyList<CFGNode<*>>() to followingNodes
|
||||
else followingNodes.filter { !it.isDead } to followingNodes.filter { it.isDead }
|
||||
|
||||
var color = RED
|
||||
sortedNodes.forEach {
|
||||
if (it is EnterNode) {
|
||||
enterCluster(color)
|
||||
color = BLUE
|
||||
}
|
||||
indent()
|
||||
append(indices.getValue(it))
|
||||
val attributes = mutableListOf<String>()
|
||||
attributes += "label=\"${it.render().replace("\"", "")}\""
|
||||
if (it == enterNode || it == exitNode) {
|
||||
attributes += "style=\"filled\""
|
||||
attributes += "fillcolor=red"
|
||||
}
|
||||
if (it.isDead) {
|
||||
attributes += "style=\"filled\""
|
||||
attributes += "fillcolor=gray"
|
||||
}
|
||||
appendln(attributes.joinToString(separator = " ", prefix = " [", postfix = "];"))
|
||||
if (it is ExitNode) {
|
||||
exitCluster()
|
||||
}
|
||||
private fun checkConsistency(graph: ControlFlowGraph) {
|
||||
for (node in graph.nodes) {
|
||||
for (to in node.followingNodes) {
|
||||
checkEdge(node, to)
|
||||
}
|
||||
appendln()
|
||||
|
||||
sortedNodes.forEachIndexed { i, node ->
|
||||
if (node.followingNodes.isEmpty()) return@forEachIndexed
|
||||
|
||||
val (aliveEdges, deadEdges) = node.splitEdges()
|
||||
|
||||
fun renderEdges(edges: List<CFGNode<*>>, isDead: Boolean) {
|
||||
if (edges.isEmpty()) return
|
||||
indent()
|
||||
append(i + indexOffset)
|
||||
append(EDGE)
|
||||
append(edges.joinToString(prefix = "{", postfix = "}", separator = " ") { indices.getValue(it).toString() })
|
||||
if (isDead) {
|
||||
append(" [style=dotted]")
|
||||
}
|
||||
appendln(";")
|
||||
}
|
||||
|
||||
renderEdges(aliveEdges, false)
|
||||
renderEdges(deadEdges, true)
|
||||
for (from in node.previousNodes) {
|
||||
checkEdge(from, node)
|
||||
}
|
||||
TestCase.assertTrue(node.followingNodes.isNotEmpty() || node.previousNodes.isNotEmpty())
|
||||
}
|
||||
}
|
||||
|
||||
return indexOffset + sortedNodes.size
|
||||
private fun checkEdge(from: CFGNode<*>, to: CFGNode<*>) {
|
||||
KtUsefulTestCase.assertContainsElements(from.followingNodes, to)
|
||||
KtUsefulTestCase.assertContainsElements(to.previousNodes, from)
|
||||
val fromKind = from.outgoingEdges.getValue(to)
|
||||
val toKind = to.incomingEdges.getValue(from)
|
||||
TestCase.assertEquals(fromKind, toKind)
|
||||
if (from.isDead || to.isDead) {
|
||||
TestCase.assertEquals(EdgeKind.Dead, fromKind)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user