All files

src/compiler/coverage.panack

Green: covered; red: known zero; amber: unavailable. Blank lines are outside the executable-start-line denominator.

    1 import stdlib/host as std_host
    2 import project/src/compiler/path_support as path_support
    3 import stdlib/environment as std_environment
    4 pub import project/src/compiler/loader::{LoadedProject, LoadedModule, ModuleBindingGraph}
    5 import project/src/compiler/loader::{load_project_for_inventory, loaded_binding_graph}
    6 import project/src/compiler/project_frontend::{prepare_project_program}
    7 pub import project/src/compiler/module_bindings::{DeclarationIdentity, ModuleIdentity}
    8 import project/src/compiler/module_bindings::{source_module_identity}
    9 import project/src/compiler/module_emission::{module_emission_symbol, module_emission_callable_symbol}
   10 pub import project/src/compiler/parser::{TopLevel}
   11 import project/src/compiler/parser::{TopLevel.FunctionDeclaration, TopLevel.ImportDeclaration, TopLevel.TypeDeclaration, TopLevel.RecordDeclaration, TopLevel.EnumDeclaration}
   12 pub import project/src/compiler/types::{Diagnostic}
   13 pub import project/src/compiler/types::{SourceSpan}
   14 import project/src/compiler/source_inventory::{InventoryItem, inventory_module, serialize_source_inventory}
   15 import project/src/compiler/source_maps::{source_map_join, source_map_matches, source_map_read, source_map_escape, source_map_blob, source_snapshots, source_snapshots_unchanged}
   16 pub import project/src/compiler/emitter::{BytecodeProgram, FunctionCode, Instruction, Instruction.ConstInstruction, Instruction.LoadInstruction, Instruction.StoreInstruction, Instruction.PopInstruction, Instruction.UnaryInstruction, Instruction.BinaryInstruction, Instruction.MakeRangeInstruction, Instruction.MakeArrayInstruction, Instruction.IndexGetInstruction, Instruction.InterpolateInstruction, Instruction.IterInitInstruction, Instruction.IterNextInstruction, Instruction.MakeRecordInstruction, Instruction.FieldGetInstruction, Instruction.MakeVariantInstruction, Instruction.MatchVariantInstruction, Instruction.MatchFailInstruction, Instruction.CallInstruction, Instruction.CallValueInstruction, Instruction.AwaitCallInstruction, Instruction.AwaitValueInstruction, Instruction.JumpFalseInstruction, Instruction.JumpInstruction, Instruction.PendingEndJumpInstruction, Instruction.ReturnInstruction, EmissionProbe, SourceMappedProgram, compile_program_with_sources}
   17 import project/src/bytecode/codec::{serialize_bytecode, encode_u32, sort_functions}
   18 
   19 pub pure coverage_mapped_project(
   20   project: LoadedProject,
   21   entry: Str,
   22   project_root: Str,
   23   stdlib_root: Str
   24 ): Result[SourceMappedProgram, [Diagnostic]] {
   25   identity: ModuleIdentity = source_module_identity(entry, project_root, stdlib_root)
   26   match prepare_project_program(project, project_root, stdlib_root, identity) {
   27     Error(diagnostics) => Error(diagnostics),
   28     Ok(program) => Ok(compile_program_with_sources(program))
   29   }
   30 }
   31 
   32 // Decode bounded execution records and join them to exact source inventory IDs.
   33 // A missing association stays unavailable rather than becoming inferred coverage.
   34 
   35 pub record CoverageCell {
   36   attempted: Nat,
   37   completed: Nat,
   38   fallthrough: Nat,
   39   branched: Nat
   40 }
   41 
   42 pub record CoverageFunction {
   43   entries: Nat,
   44   cells: [CoverageCell]
   45 }
   46 
   47 pub record CoverageData {
   48   valid: Bool,
   49   terminal: Nat,
   50   functions: [CoverageFunction]
   51 }
   52 
   53 pub pure coverage_number(data: Bytes, offset: Nat, width: Nat): Nat {
   54   mut value: Nat = 0
   55 
   56   for index in 0..width {
   57     value = value * 256 + data.at(offset + index)
   58   }
   59   value
   60 }
   61 
   62 pub pure coverage_prefix(data: Bytes, expected: Bytes, offset: Nat): Bool {
   63   mut valid: Bool = offset + expected.length() <= data.length()
   64 
   65   if valid {
   66     for index in 0..expected.length() {
   67       valid = valid && data.at(offset + index) == expected.at(index)
   68     }
   69   }
   70 
   71   valid
   72 }
   73 
   74 // Layout is derived solely from locally compiled code; no foreign sizes or paths
   75 // are trusted. Exact artifact + inventory bytes bind observations to SC2 IDs.
   76 pub pure decode_coverage(
   77   data: Bytes,
   78   artifact: Bytes,
   79   inventory: Bytes,
   80   program: BytecodeProgram
   81 ): CoverageData {
   82   decode_coverage_at(data, artifact, inventory, program, 0)
   83 }
   84 
   85 pub pure decode_coverage_at(
   86   data: Bytes,
   87   artifact: Bytes,
   88   inventory: Bytes,
   89   program: BytecodeProgram,
   90   offset: Nat
   91 ): CoverageData {
   92   prefix: Bytes = source_map_join(["PANACKCOV1\n".encode_utf8(), source_map_blob(artifact),
   93     source_map_blob(inventory), encode_u32(program.functions.len())], 0, 4)
   94   mut size: Nat = prefix.length() + 6
   95 
   96   for function in sort_functions(program.functions) {
   97     size = size + 12 + function.instructions.len() * 32
   98   }
   99   mut valid: Bool = artifact.length() <= 16777216 && inventory.length() <= 67108864 && size <= 134217728 && data.length() == size + offset && coverage_prefix(
  100     data,
  101     prefix,
  102     offset
  103   )
  104   mut functions: [CoverageFunction] = []
  105   mut terminal: Nat = 0
  106   if valid {
  107     mut cursor: Nat = offset + prefix.length()
  108     for function in sort_functions(program.functions) {
  109       entries: Nat = coverage_number(data, cursor, 8)
  110       valid = valid && coverage_number(data, cursor + 8, 4) == function.instructions.len()
  111       cursor = cursor + 12
  112       mut cells: [CoverageCell] = []
  113       for instruction in function.instructions {
  114         cell: CoverageCell = CoverageCell(
  115           coverage_number(data, cursor, 8),
  116           coverage_number(data, cursor + 8, 8),
  117           coverage_number(data, cursor + 16, 8), coverage_number(data, cursor + 24, 8))
  118         valid = valid && cell.completed <= cell.attempted
  119         edge: CoverageEdge = coverage_edge(instruction, 0)
  120         if edge.conditional {
  121           valid = valid && cell.fallthrough + cell.branched == cell.completed
  122         } else {
  123           valid = valid && cell.fallthrough == 0 && cell.branched == 0
  124         }
  125         cells = cells.append(cell)
  126         cursor = cursor + 32
  127       }
  128       functions = functions.append(CoverageFunction(entries, cells))
  129     }
  130     terminal = data.at(cursor + 4)
  131     valid = valid && coverage_prefix(data, "END\n".encode_utf8(), cursor) &&
  132       (terminal == 1 || terminal == 2 || terminal == 3) && data.at(cursor + 5) == 0
  133   }
  134   CoverageData(valid, terminal, functions)
  135 }
  136 
  137 pub record CoverageEdge {
  138   conditional: Bool,
  139   target: Nat,
  140   falls: Bool
  141 }
  142 
  143 pub pure coverage_edge(instruction: Instruction, pc: Nat): CoverageEdge {
  144   match instruction {
  145     ConstInstruction(a0) => CoverageEdge(false, pc + 1, true),
  146     LoadInstruction(a0) => CoverageEdge(false, pc + 1, true),
  147     StoreInstruction(a0) => CoverageEdge(false, pc + 1, true),
  148     PopInstruction() => CoverageEdge(false, pc + 1, true),
  149     UnaryInstruction(a0) => CoverageEdge(false, pc + 1, true),
  150     BinaryInstruction(a0) => CoverageEdge(false, pc + 1, true),
  151     MakeRangeInstruction() => CoverageEdge(false, pc + 1, true),
  152     MakeArrayInstruction(a0) => CoverageEdge(false, pc + 1, true),
  153     IndexGetInstruction() => CoverageEdge(false, pc + 1, true),
  154     InterpolateInstruction(a0) => CoverageEdge(false, pc + 1, true),
  155     IterInitInstruction(a0) => CoverageEdge(false, pc + 1, true),
  156     IterNextInstruction(a0, a1, a2) => CoverageEdge(true, a2, true),
  157     MakeRecordInstruction(a0, a1) => CoverageEdge(false, pc + 1, true),
  158     FieldGetInstruction(a0) => CoverageEdge(false, pc + 1, true),
  159     MakeVariantInstruction(a0, a1, a2) => CoverageEdge(false, pc + 1, true),
  160     MatchVariantInstruction(a0, a1) => CoverageEdge(true, a1, true),
  161     MatchFailInstruction() => CoverageEdge(false, pc, false),
  162     CallInstruction(a0, a1) => CoverageEdge(false, pc + 1, true),
  163     CallValueInstruction(a0) => CoverageEdge(false, pc + 1, true),
  164     AwaitCallInstruction(a0, a1) => CoverageEdge(false, pc + 1, true),
  165     AwaitValueInstruction(a0) => CoverageEdge(false, pc + 1, true),
  166     JumpFalseInstruction(a0) => CoverageEdge(true, a0, true),
  167     JumpInstruction(a0) => CoverageEdge(false, a0, false),
  168     PendingEndJumpInstruction() => CoverageEdge(false, pc, false),
  169     ReturnInstruction() => CoverageEdge(false, pc, false)
  170   }
  171 }
  172 
  173 pure coverage_same_span(left: SourceSpan, right: SourceSpan): Bool {
  174   left.start.file == right.start.file &&
  175     left.start.offset == right.start.offset &&
  176     left.end.offset == right.end.offset
  177 }
  178 
  179 // Index completed incoming edges once per function. Both expression entry and
  180 // completion are queries against a target PC; rescanning a large function for
  181 // every source item makes compiler-sized reports unnecessarily quadratic.
  182 pub record CoverageIncoming {
  183   source: Nat,
  184   count: Nat
  185 }
  186 
  187 pure coverage_add_incoming(
  188   index: Map[Nat, [CoverageIncoming]],
  189   target: Nat,
  190   source: Nat,
  191   count: Nat
  192 ): Map[Nat, [CoverageIncoming]] {
  193   if count == 0 {
  194     index
  195   } else {
  196     prior: [CoverageIncoming] = if index.has(target) {
  197       index.get(target)
  198     } else {
  199       []
  200     }
  201     index.put(target, prior.append(CoverageIncoming(source, count)))
  202   }
  203 }
  204 
  205 pub pure coverage_incoming(code: FunctionCode, data: CoverageFunction): Map[Nat, [CoverageIncoming]] {
  206   mut index: Map[Nat, [CoverageIncoming]] = map()
  207 
  208   for pc in 0..code.instructions.len() {
  209     edge: CoverageEdge = coverage_edge(code.instructions[pc], pc)
  210     cell: CoverageCell = data.cells[pc]
  211     if edge.conditional {
  212       index = coverage_add_incoming(index, pc + 1, pc, cell.fallthrough)
  213       index = coverage_add_incoming(index, edge.target, pc, cell.branched)
  214     } else {
  215       index = coverage_add_incoming(index, edge.target, pc, cell.completed)
  216     }
  217   }
  218   index
  219 }
  220 
  221 pub pure coverage_attempted_indexed(
  222   probe: EmissionProbe,
  223   entries: Nat,
  224   index: Map[Nat, [CoverageIncoming]]
  225 ): Nat {
  226   mut count: Nat = if probe.start == 0 {
  227     entries
  228   } else {
  229     0
  230   }
  231   if index.has(probe.start) {
  232     for edge in index.get(probe.start) {
  233       if edge.source < probe.start || edge.source >= probe.end {
  234         count = count + edge.count
  235       }
  236     }
  237   }
  238   count
  239 }
  240 
  241 pub pure coverage_completed_indexed(probe: EmissionProbe, index: Map[Nat, [CoverageIncoming]]): Nat {
  242   mut count: Nat = 0
  243 
  244   if index.has(probe.end) {
  245     for edge in index.get(probe.end) {
  246       if edge.source >= probe.start && edge.source < probe.end {
  247         count = count + edge.count
  248       }
  249     }
  250   }
  251   count
  252 }
  253 
  254 // A loop inside a block expression may jump back to its first PC. Count entries
  255 // from outside the interval, not redispatches of that PC from inside the block.
  256 pub pure coverage_attempted(probe: EmissionProbe, code: FunctionCode, data: CoverageFunction): Nat {
  257   mut count: Nat = if probe.start == 0 {
  258     data.entries
  259   } else {
  260     0
  261   }
  262   for pc in 0..code.instructions.len() {
  263     if pc < probe.start || pc >= probe.end {
  264       cell: CoverageCell = data.cells[pc]
  265       edge: CoverageEdge = coverage_edge(code.instructions[pc], pc)
  266       if edge.conditional {
  267         if pc + 1 == probe.start {
  268           count = count + cell.fallthrough
  269         }
  270         if edge.target == probe.start {
  271           count = count + cell.branched
  272         }
  273       } else {
  274         if edge.target == probe.start {
  275           count = count + cell.completed
  276         }
  277       }
  278     }
  279   }
  280   count
  281 }
  282 
  283 // Count successful edges leaving this expression's own interval. Looking only
  284 // at the destination PC would falsely complete an untaken sibling expression.
  285 pure coverage_completed(probe: EmissionProbe, code: FunctionCode, data: CoverageFunction): Nat {
  286   mut count: Nat = 0
  287 
  288   for pc in probe.start..probe.end {
  289     cell: CoverageCell = data.cells[pc]
  290     edge: CoverageEdge = coverage_edge(code.instructions[pc], pc)
  291     if edge.conditional {
  292       if pc + 1 == probe.end {
  293         count = count + cell.fallthrough
  294       }
  295       if edge.target == probe.end {
  296         count = count + cell.branched
  297       }
  298     } else {
  299       if edge.target == probe.end {
  300         count = count + cell.completed
  301       }
  302     }
  303   }
  304   count
  305 }
  306 
  307 pure coverage_item_kind(item: InventoryItem, items: [InventoryItem]): Str {
  308   if item.kind == "expression" || item.kind == "statement" {
  309     "expression"
  310   } else {
  311     if item.kind == "decision" {
  312       if item.detail == "match" {
  313         "expression"
  314       } else {
  315         item.detail
  316       }
  317     } else {
  318       mut kind: Str = "arm:" + item.detail
  319       for candidate in items {
  320         if candidate.kind == "decision" && item.id == candidate.id + "/" + item.detail {
  321           kind = candidate.detail
  322         }
  323       }
  324       kind
  325     }
  326   }
  327 }
  328 
  329 pure coverage_text_join(chunks: [Str], start: Nat, end: Nat): Str {
  330   if start == end {
  331     ""
  332   } else {
  333     if end == start + 1 {
  334       chunks[start]
  335     } else {
  336       middle: Nat = (start + end).divide(2)
  337       coverage_text_join(chunks, start, middle) + coverage_text_join(chunks, middle, end)
  338     }
  339   }
  340 }
  341 
  342 pub pure coverage_probe_key(kind: Str, span: SourceSpan): Str {
  343   start: Nat = span.start.offset
  344   end: Nat = span.end.offset
  345   kind + "\t" + source_map_escape(span.start.file) + "\t${start}\t${end}"
  346 }
  347 
  348 pub pure coverage_source_function_name(
  349   graph: ModuleBindingGraph,
  350   entry: ModuleIdentity,
  351   module: ModuleIdentity,
  352   declaration: TopLevel
  353 ): Str {
  354   match declaration {
  355     FunctionDeclaration(name, parameters, result, pure_effect, async_effect, body, types) => {
  356       mut symbol = module_emission_symbol(graph, entry, DeclarationIdentity(module, name))
  357       for bindings in graph.modules {
  358         if bindings.identity == module {
  359           for binding in bindings.declarations {
  360             if binding.identity.name == name {
  361               symbol = module_emission_callable_symbol(graph, entry, binding)
  362             }
  363           }
  364         }
  365       }
  366       symbol
  367     },
  368     ImportDeclaration(path) => "",
  369     TypeDeclaration(name, base, guard_name, guard) => "",
  370     RecordDeclaration(name, types, fields) => "",
  371     EnumDeclaration(name, types, variants) => ""
  372   }
  373 }
  374 
  375 pub pure render_coverage(
  376   project: LoadedProject,
  377   mapped: SourceMappedProgram,
  378   data: CoverageData,
  379   root: Str,
  380   stdlib: Str
  381 ): Str {
  382   terminal: Nat = data.terminal
  383   mut rows: [Str] = ["coverage: single-execution terminal=${terminal}\n"]
  384   codes: [FunctionCode] = sort_functions(mapped.bytecode.functions)
  385   mut incoming: [Map[Nat, [CoverageIncoming]]] = []
  386 
  387   for i in 0..codes.len() {
  388     incoming = incoming.append(coverage_incoming(codes[i], data.functions[i]))
  389   }
  390   mut code_indices: Map[Str, Nat] = map()
  391   for i in 0..codes.len() {
  392     code_indices = code_indices.put(codes[i].name, i)
  393   }
  394   graph: ModuleBindingGraph = loaded_binding_graph(
  395     project.modules,
  396     root,
  397     stdlib
  398   )
  399   mut entry: ModuleIdentity = source_module_identity("", root, stdlib)
  400   for module in project.modules {
  401     for declaration in module.execution_program.declarations {
  402       match declaration {
  403         FunctionDeclaration(name, parameters, result, pure_effect, async_effect, body, types) => {
  404           if name == "main" { entry = module.bindings.identity; } else {}
  405         },
  406         ImportDeclaration(path) => {},
  407         TypeDeclaration(name, base, guard_name, guard) => {},
  408         RecordDeclaration(name, types, fields) => {},
  409         EnumDeclaration(name, types, variants) => {}
  410       }
  411     }
  412   }
  413   mut probe_index: Map[Str, Map[Str, [EmissionProbe]]] = map()
  414   for mapping in mapped.probes {
  415     mut probes: Map[Str, [EmissionProbe]] = if probe_index.has(mapping.name) {
  416       probe_index.get(mapping.name)
  417     } else {
  418       map()
  419     }
  420     for probe in mapping.entries {
  421       key: Str = coverage_probe_key(probe.kind, probe.span)
  422       prior: [EmissionProbe] = if probes.has(key) {
  423         probes.get(key)
  424       } else {
  425         []
  426       }
  427       probes = probes.put(key, prior.append(probe))
  428     }
  429     probe_index = probe_index.put(mapping.name, probes)
  430   }
  431   for snapshot in source_snapshots(project, root, stdlib) {
  432     for module in project.modules {
  433       if module.source_path == snapshot.path {
  434         items: [InventoryItem] = inventory_module(module, graph)
  435         mut function_name: Str = ""
  436         mut declaration_index: Nat = 0
  437         mut lines: Map[Nat, Bool] = map()
  438         mut line_order: [Nat] = []
  439         mut line_states: Map[Nat, Str] = map()
  440         for item in items {
  441           if item.kind == "function" {
  442             while declaration_index < module.parsed.program.declarations.len() &&
  443               item.id != "declaration/${declaration_index}" {
  444               declaration_index = declaration_index + 1
  445             }
  446             if declaration_index < module.execution_program.declarations.len() {
  447               function_name = coverage_source_function_name(
  448                 graph,
  449                 entry,
  450                 module.bindings.identity,
  451                 module.execution_program.declarations[declaration_index]
  452               )
  453             }
  454           }
  455           mut state: Str = if item.kind == "excluded" {
  456             "excluded"
  457           } else {
  458             "not-emitted"
  459           }
  460           mut attempted: Nat = 0
  461           mut completed: Nat = 0
  462           if code_indices.has(function_name) && item.kind != "excluded" {
  463             function_index: Nat = code_indices.get(function_name)
  464             code: FunctionCode = codes[function_index]
  465             observed: CoverageFunction = data.functions[function_index]
  466             if item.kind == "function" {
  467               state = "observed"
  468               attempted = observed.entries
  469               for pc in 0..code.instructions.len() {
  470                 match code.instructions[pc] {
  471                   ReturnInstruction() => {
  472                     completed = completed + observed.cells[pc].completed
  473                   },
  474                   ConstInstruction(a0) => {},
  475                   LoadInstruction(a0) => {},
  476                   StoreInstruction(a0) => {},
  477                   PopInstruction() => {},
  478                   UnaryInstruction(a0) => {},
  479                   BinaryInstruction(a0) => {},
  480                   MakeRangeInstruction() => {},
  481                   MakeArrayInstruction(a0) => {},
  482                   IndexGetInstruction() => {},
  483                   InterpolateInstruction(a0) => {},
  484                   IterInitInstruction(a0) => {},
  485                   IterNextInstruction(a0, a1, a2) => {},
  486                   MakeRecordInstruction(a0, a1) => {},
  487                   FieldGetInstruction(a0) => {},
  488                   MakeVariantInstruction(a0, a1, a2) => {},
  489                   MatchVariantInstruction(a0, a1) => {},
  490                   MatchFailInstruction() => {},
  491                   CallInstruction(a0, a1) => {},
  492                   CallValueInstruction(a0) => {},
  493                   AwaitCallInstruction(a0, a1) => {},
  494                   AwaitValueInstruction(a0) => {},
  495                   JumpFalseInstruction(a0) => {},
  496                   JumpInstruction(a0) => {},
  497                   PendingEndJumpInstruction() => {}
  498                 }
  499               }
  500             } else {
  501               state = "unavailable"
  502               kind: Str = coverage_item_kind(item, items)
  503               mut matches: Nat = 0
  504               if probe_index.has(code.name) {
  505                 probes: Map[Str, [EmissionProbe]] = probe_index.get(code.name)
  506                 mut probe_kind: Str = kind
  507                 if item.kind == "outcome" && kind.len() > 4 && kind.slice(0, 4) == "arm:" {
  508                   emitted_variant: Str = module_emission_symbol(
  509                     graph,
  510                     entry,
  511                     DeclarationIdentity(module.bindings.identity, item.detail)
  512                   )
  513                   emitted_key: Str = coverage_probe_key("arm:" + emitted_variant, item.span)
  514                   if probes.has(emitted_key) {
  515                     probe_kind = "arm:" + emitted_variant
  516                   } else {}
  517                 } else {}
  518                 key: Str = coverage_probe_key(probe_kind, item.span)
  519                 if probes.has(key) {
  520                   candidates: [EmissionProbe] = probes.get(key)
  521                   matches = candidates.len()
  522                   if matches == 1 {
  523                     probe: EmissionProbe = candidates[0]
  524                     cell: CoverageCell = observed.cells[probe.start]
  525                     attempted = if kind == "expression" {
  526                       coverage_attempted_indexed(probe, observed.entries, incoming[function_index])
  527                     } else {
  528                       cell.attempted
  529                     }
  530                     completed = if kind == "expression" {
  531                       coverage_completed_indexed(probe, incoming[function_index])
  532                     } else {
  533                       cell.completed
  534                     }
  535                     if item.kind == "outcome" {
  536                       take_branch: Bool = item.detail == "false" || item.detail == "exit" ||
  537                         (kind == "&&" &&
  538                         item.detail == "skip-right") ||
  539                         (kind == "||" &&
  540                         item.detail == "evaluate-right")
  541                       attempted = if take_branch {
  542                         cell.branched
  543                       } else {
  544                         cell.fallthrough
  545                       }
  546                       completed = attempted
  547                     }
  548                   }
  549                 }
  550               }
  551               if matches == 1 {
  552                 state = "observed"
  553               } else {
  554                 attempted = 0
  555                 completed = 0
  556               }
  557             }
  558           }
  559           file: Str = source_map_escape(snapshot.name)
  560           rows = rows.append(
  561             file + "\t" + item.id + "\t" + item.kind + "\t" + item.detail + "\t${state}\t${attempted}\t${completed}\n"
  562           )
  563           if item.kind == "expression" || item.kind == "statement" {
  564             line: Nat = item.span.start.line
  565             reached: Bool = (state == "observed" &&
  566               attempted > 0) ||
  567               (lines.has(line) &&
  568               lines.get(line))
  569             prior_state: Str = if line_states.has(line) {
  570               line_states.get(line)
  571             } else {
  572               state
  573             }
  574             line_states = line_states.put(line, if prior_state == state {
  575                 state
  576               } else {
  577                 "unavailable"
  578               })
  579             if !lines.has(line) {
  580               line_order = line_order.append(line)
  581             }
  582             lines = lines.put(line, reached)
  583           }
  584         }
  585         for line in line_order {
  586           rows = rows.append(
  587             source_map_escape(snapshot.name) + "\tline/${line}\tline\tanchor\t" + (if lines.get(line) {
  588               "observed"
  589             } else {
  590               line_states.get(line)
  591             }) + "\t" +
  592             (if lines.get(line) {
  593               "1"
  594             } else {
  595               "0"
  596             }) + "\n")
  597         }
  598       }
  599     }
  600   }
  601   coverage_text_join(rows, 0, rows.len())
  602 }
  603 
  604 pub run_coverage_report(values: [Str]): Nat {
  605   if values.len() != 6 || values[2] != "--inventory" || values[4] != "--coverage" {
  606     std_host.stderr("error: coverage-report SOURCE.panack --inventory FILE --coverage RAW")
  607     1
  608   } else {
  609     entry: Str = path_support.resolve(values[1])
  610     root: Str = path_support.parent(entry)
  611     stdlib: Str = path_support.resolve(std_environment.get("PANACKELTY_STDLIB_PATH").value_or(""))
  612     compiler_path: Str = std_environment.get("PANACKELTY_COMPILER_PATH").value_or("")
  613     project: LoadedProject = load_project_for_inventory(entry)
  614     match source_map_read(compiler_path, 16777216) {
  615       Error(error) => {
  616         std_host.stderr("error: coverage compiler unavailable")
  617         1
  618       },
  619       Ok(compiler) => match coverage_mapped_project(project, entry, root, stdlib) {
  620         Error(errors) => {
  621           std_host.stderr("error: coverage unavailable: invalid, changed or incompatible local inventory")
  622           1
  623         },
  624         Ok(mapped) => {
  625         artifact: Bytes = serialize_bytecode(mapped.bytecode)
  626         inner: Bytes = serialize_source_inventory(project, artifact, compiler, entry, root, stdlib)
  627         inventory: Bytes = source_map_join(
  628           ["PANACKINVENTORY1\n".encode_utf8(), encode_u32(1), source_map_blob(inner)],
  629           0,
  630           3
  631         )
  632         if inner.length() == 0 || !source_map_matches(
  633           values[3],
  634           inventory
  635         ) ||
  636           !source_snapshots_unchanged(project) || !source_map_matches(compiler_path, compiler) {
  637           std_host.stderr("error: coverage unavailable: invalid, changed or incompatible local inventory")
  638           1
  639         } else {
  640           match source_map_read(values[5], 134217728) {
  641             Error(error) => {
  642               std_host.stderr("error: coverage raw record unavailable")
  643               1
  644             },
  645             Ok(raw) => {
  646               data: CoverageData = decode_coverage(raw, artifact, inventory, mapped.bytecode)
  647               if !data.valid {
  648                 std_host.stderr("error: coverage unavailable: malformed, incomplete, stale, overflowed or uncollected execution")
  649                 1
  650               } else {
  651                 print(render_coverage(project, mapped, data, root, stdlib))
  652                 0
  653               }
  654             }
  655           }
  656         }
  657       }
  658       }
  659     }
  660   }
  661 }
  662 

Functions

[
  {
    "id": "declaration/17",
    "name": "coverage_mapped_project",
    "line": 19,
    "state": "covered",
    "entries": "1"
  },
  {
    "id": "declaration/21",
    "name": "coverage_number",
    "line": 53,
    "state": "covered",
    "entries": "78"
  },
  {
    "id": "declaration/22",
    "name": "coverage_prefix",
    "line": 62,
    "state": "covered",
    "entries": "25"
  },
  {
    "id": "declaration/23",
    "name": "decode_coverage",
    "line": 76,
    "state": "covered",
    "entries": "18"
  },
  {
    "id": "declaration/24",
    "name": "decode_coverage_at",
    "line": 85,
    "state": "covered",
    "entries": "18"
  },
  {
    "id": "declaration/26",
    "name": "coverage_edge",
    "line": 143,
    "state": "covered",
    "entries": "102"
  },
  {
    "id": "declaration/27",
    "name": "coverage_same_span",
    "line": 173,
    "state": "zero",
    "entries": "0"
  },
  {
    "id": "declaration/29",
    "name": "coverage_add_incoming",
    "line": 187,
    "state": "covered",
    "entries": "91"
  },
  {
    "id": "declaration/30",
    "name": "coverage_incoming",
    "line": 205,
    "state": "covered",
    "entries": "6"
  },
  {
    "id": "declaration/31",
    "name": "coverage_attempted_indexed",
    "line": 221,
    "state": "covered",
    "entries": "2"
  },
  {
    "id": "declaration/32",
    "name": "coverage_completed_indexed",
    "line": 241,
    "state": "covered",
    "entries": "1"
  },
  {
    "id": "declaration/33",
    "name": "coverage_attempted",
    "line": 256,
    "state": "covered",
    "entries": "2"
  },
  {
    "id": "declaration/34",
    "name": "coverage_completed",
    "line": 285,
    "state": "zero",
    "entries": "0"
  },
  {
    "id": "declaration/35",
    "name": "coverage_item_kind",
    "line": 307,
    "state": "covered",
    "entries": "69"
  },
  {
    "id": "declaration/36",
    "name": "coverage_text_join",
    "line": 329,
    "state": "covered",
    "entries": "1633"
  },
  {
    "id": "declaration/37",
    "name": "coverage_probe_key",
    "line": 342,
    "state": "zero",
    "entries": "0"
  },
  {
    "id": "declaration/38",
    "name": "coverage_source_function_name",
    "line": 348,
    "state": "covered",
    "entries": "32"
  },
  {
    "id": "declaration/39",
    "name": "render_coverage",
    "line": 375,
    "state": "covered",
    "entries": "1"
  },
  {
    "id": "declaration/40",
    "name": "run_coverage_report",
    "line": 604,
    "state": "zero",
    "entries": "0"
  }
]

Source branch outcomes

[
  {
    "id": "declaration/17/tail/arm/0",
    "outcome": "Error",
    "line": 27,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/17/tail/arm/1",
    "outcome": "Ok",
    "line": 28,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/21/statement/1/decision/body",
    "outcome": "body",
    "line": 56,
    "state": "covered",
    "hits": "572"
  },
  {
    "id": "declaration/21/statement/1/decision/exit",
    "outcome": "exit",
    "line": 56,
    "state": "covered",
    "hits": "78"
  },
  {
    "id": "declaration/22/statement/1/value/decision/true",
    "outcome": "true",
    "line": 65,
    "state": "covered",
    "hits": "25"
  },
  {
    "id": "declaration/22/statement/1/value/decision/false",
    "outcome": "false",
    "line": 65,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/22/statement/1/value/true/statement/0/decision/body",
    "outcome": "body",
    "line": 66,
    "state": "covered",
    "hits": "50332059"
  },
  {
    "id": "declaration/22/statement/1/value/true/statement/0/decision/exit",
    "outcome": "exit",
    "line": 66,
    "state": "covered",
    "hits": "25"
  },
  {
    "id": "declaration/22/statement/1/value/true/statement/0/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 67,
    "state": "covered",
    "hits": "50332046"
  },
  {
    "id": "declaration/22/statement/1/value/true/statement/0/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 67,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/24/statement/2/decision/body",
    "outcome": "body",
    "line": 96,
    "state": "covered",
    "hits": "18"
  },
  {
    "id": "declaration/24/statement/2/decision/exit",
    "outcome": "exit",
    "line": 96,
    "state": "covered",
    "hits": "18"
  },
  {
    "id": "declaration/24/statement/3/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 99,
    "state": "covered",
    "hits": "15"
  },
  {
    "id": "declaration/24/statement/3/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 99,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/24/statement/3/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 99,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/24/statement/3/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 99,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/24/statement/3/value/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 99,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/24/statement/3/value/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 99,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/24/statement/3/value/left/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 99,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/24/statement/3/value/left/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 99,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/24/statement/6/value/decision/true",
    "outcome": "true",
    "line": 106,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/24/statement/6/value/decision/false",
    "outcome": "false",
    "line": 106,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/decision/body",
    "outcome": "body",
    "line": 108,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/decision/exit",
    "outcome": "exit",
    "line": 108,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/1/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 110,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/1/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 110,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/decision/body",
    "outcome": "body",
    "line": 113,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/decision/exit",
    "outcome": "exit",
    "line": 113,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/body/statement/1/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 118,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/body/statement/1/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 118,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/body/statement/3/value/decision/true",
    "outcome": "true",
    "line": 120,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/body/statement/3/value/decision/false",
    "outcome": "false",
    "line": 120,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/body/statement/3/value/true/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 121,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/body/statement/3/value/true/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 121,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/body/statement/3/value/false/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 123,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/body/statement/3/value/false/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 123,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/body/statement/3/value/false/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 123,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/1/body/statement/4/body/statement/3/value/false/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 123,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/3/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 131,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/3/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 131,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/3/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 131,
    "state": "covered",
    "hits": "10"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/3/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 131,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/3/value/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 131,
    "state": "covered",
    "hits": "10"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/3/value/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 131,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/3/value/left/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 132,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/3/value/left/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 132,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/3/value/left/right/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 132,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/24/statement/6/value/true/statement/3/value/left/right/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 132,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/26/tail/arm/0",
    "outcome": "ConstInstruction",
    "line": 145,
    "state": "covered",
    "hits": "27"
  },
  {
    "id": "declaration/26/tail/arm/1",
    "outcome": "LoadInstruction",
    "line": 146,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/26/tail/arm/2",
    "outcome": "StoreInstruction",
    "line": 147,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/26/tail/arm/3",
    "outcome": "PopInstruction",
    "line": 148,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/26/tail/arm/4",
    "outcome": "UnaryInstruction",
    "line": 149,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/26/tail/arm/5",
    "outcome": "BinaryInstruction",
    "line": 150,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/26/tail/arm/6",
    "outcome": "MakeRangeInstruction",
    "line": 151,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/26/tail/arm/7",
    "outcome": "MakeArrayInstruction",
    "line": 152,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/26/tail/arm/8",
    "outcome": "IndexGetInstruction",
    "line": 153,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/26/tail/arm/9",
    "outcome": "InterpolateInstruction",
    "line": 154,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/26/tail/arm/10",
    "outcome": "IterInitInstruction",
    "line": 155,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/26/tail/arm/11",
    "outcome": "IterNextInstruction",
    "line": 156,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/26/tail/arm/12",
    "outcome": "MakeRecordInstruction",
    "line": 157,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/26/tail/arm/13",
    "outcome": "FieldGetInstruction",
    "line": 158,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/26/tail/arm/14",
    "outcome": "MakeVariantInstruction",
    "line": 159,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/26/tail/arm/15",
    "outcome": "MatchVariantInstruction",
    "line": 160,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/26/tail/arm/16",
    "outcome": "MatchFailInstruction",
    "line": 161,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/26/tail/arm/17",
    "outcome": "CallInstruction",
    "line": 162,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/26/tail/arm/18",
    "outcome": "CallValueInstruction",
    "line": 163,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/26/tail/arm/19",
    "outcome": "AwaitCallInstruction",
    "line": 164,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/26/tail/arm/20",
    "outcome": "AwaitValueInstruction",
    "line": 165,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/26/tail/arm/21",
    "outcome": "JumpFalseInstruction",
    "line": 166,
    "state": "covered",
    "hits": "19"
  },
  {
    "id": "declaration/26/tail/arm/22",
    "outcome": "JumpInstruction",
    "line": 167,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/26/tail/arm/23",
    "outcome": "PendingEndJumpInstruction",
    "line": 168,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/26/tail/arm/24",
    "outcome": "ReturnInstruction",
    "line": 169,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/27/tail/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 174,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/27/tail/decision/skip-right",
    "outcome": "skip-right",
    "line": 174,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/27/tail/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 174,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/27/tail/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 174,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/29/tail/decision/true",
    "outcome": "true",
    "line": 193,
    "state": "covered",
    "hits": "84"
  },
  {
    "id": "declaration/29/tail/decision/false",
    "outcome": "false",
    "line": 193,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/29/tail/false/statement/0/value/decision/true",
    "outcome": "true",
    "line": 196,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/29/tail/false/statement/0/value/decision/false",
    "outcome": "false",
    "line": 196,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/30/statement/1/decision/body",
    "outcome": "body",
    "line": 208,
    "state": "covered",
    "hits": "83"
  },
  {
    "id": "declaration/30/statement/1/decision/exit",
    "outcome": "exit",
    "line": 208,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/30/statement/1/body/tail/decision/true",
    "outcome": "true",
    "line": 211,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/30/statement/1/body/tail/decision/false",
    "outcome": "false",
    "line": 211,
    "state": "covered",
    "hits": "75"
  },
  {
    "id": "declaration/31/statement/0/value/decision/true",
    "outcome": "true",
    "line": 226,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/31/statement/0/value/decision/false",
    "outcome": "false",
    "line": 226,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/31/statement/1/value/decision/true",
    "outcome": "true",
    "line": 231,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/31/statement/1/value/decision/false",
    "outcome": "false",
    "line": 231,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/31/statement/1/value/true/statement/0/decision/body",
    "outcome": "body",
    "line": 232,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/31/statement/1/value/true/statement/0/decision/exit",
    "outcome": "exit",
    "line": 232,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/31/statement/1/value/true/statement/0/body/tail/decision/true",
    "outcome": "true",
    "line": 233,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/31/statement/1/value/true/statement/0/body/tail/decision/false",
    "outcome": "false",
    "line": 233,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/31/statement/1/value/true/statement/0/body/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 233,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/31/statement/1/value/true/statement/0/body/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 233,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/32/statement/1/value/decision/true",
    "outcome": "true",
    "line": 244,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/32/statement/1/value/decision/false",
    "outcome": "false",
    "line": 244,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/32/statement/1/value/true/statement/0/decision/body",
    "outcome": "body",
    "line": 245,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/32/statement/1/value/true/statement/0/decision/exit",
    "outcome": "exit",
    "line": 245,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/32/statement/1/value/true/statement/0/body/tail/decision/true",
    "outcome": "true",
    "line": 246,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/32/statement/1/value/true/statement/0/body/tail/decision/false",
    "outcome": "false",
    "line": 246,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/32/statement/1/value/true/statement/0/body/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 246,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/32/statement/1/value/true/statement/0/body/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 246,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/33/statement/0/value/decision/true",
    "outcome": "true",
    "line": 257,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/33/statement/0/value/decision/false",
    "outcome": "false",
    "line": 257,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/33/statement/1/decision/body",
    "outcome": "body",
    "line": 262,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/33/statement/1/decision/exit",
    "outcome": "exit",
    "line": 262,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/33/statement/1/body/tail/decision/true",
    "outcome": "true",
    "line": 263,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/33/statement/1/body/tail/decision/false",
    "outcome": "false",
    "line": 263,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/33/statement/1/body/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 263,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/33/statement/1/body/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 263,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/33/statement/1/body/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 266,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/33/statement/1/body/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 266,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/33/statement/1/body/tail/true/tail/true/statement/0/value/decision/true",
    "outcome": "true",
    "line": 267,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/33/statement/1/body/tail/true/tail/true/statement/0/value/decision/false",
    "outcome": "false",
    "line": 267,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/33/statement/1/body/tail/true/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 270,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/33/statement/1/body/tail/true/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 270,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/33/statement/1/body/tail/true/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 274,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/33/statement/1/body/tail/true/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 274,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/34/statement/1/decision/body",
    "outcome": "body",
    "line": 288,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/1/decision/exit",
    "outcome": "exit",
    "line": 288,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/1/body/tail/decision/true",
    "outcome": "true",
    "line": 291,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/1/body/tail/decision/false",
    "outcome": "false",
    "line": 291,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/1/body/tail/true/statement/0/value/decision/true",
    "outcome": "true",
    "line": 292,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/1/body/tail/true/statement/0/value/decision/false",
    "outcome": "false",
    "line": 292,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/1/body/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 295,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/1/body/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 295,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/1/body/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 299,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/1/body/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 299,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/35/tail/decision/true",
    "outcome": "true",
    "line": 308,
    "state": "covered",
    "hits": "51"
  },
  {
    "id": "declaration/35/tail/decision/false",
    "outcome": "false",
    "line": 308,
    "state": "covered",
    "hits": "18"
  },
  {
    "id": "declaration/35/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 308,
    "state": "covered",
    "hits": "29"
  },
  {
    "id": "declaration/35/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 308,
    "state": "covered",
    "hits": "40"
  },
  {
    "id": "declaration/35/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 311,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/35/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 311,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/35/tail/false/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 312,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/35/tail/false/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 312,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/35/tail/false/tail/false/statement/1/decision/body",
    "outcome": "body",
    "line": 319,
    "state": "covered",
    "hits": "876"
  },
  {
    "id": "declaration/35/tail/false/tail/false/statement/1/decision/exit",
    "outcome": "exit",
    "line": 319,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/35/tail/false/tail/false/statement/1/body/tail/decision/true",
    "outcome": "true",
    "line": 320,
    "state": "covered",
    "hits": "10"
  },
  {
    "id": "declaration/35/tail/false/tail/false/statement/1/body/tail/decision/false",
    "outcome": "false",
    "line": 320,
    "state": "covered",
    "hits": "866"
  },
  {
    "id": "declaration/35/tail/false/tail/false/statement/1/body/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 320,
    "state": "covered",
    "hits": "72"
  },
  {
    "id": "declaration/35/tail/false/tail/false/statement/1/body/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 320,
    "state": "covered",
    "hits": "804"
  },
  {
    "id": "declaration/36/tail/decision/true",
    "outcome": "true",
    "line": 330,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/36/tail/decision/false",
    "outcome": "false",
    "line": 330,
    "state": "covered",
    "hits": "1633"
  },
  {
    "id": "declaration/36/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 333,
    "state": "covered",
    "hits": "817"
  },
  {
    "id": "declaration/36/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 333,
    "state": "covered",
    "hits": "816"
  },
  {
    "id": "declaration/38/tail/arm/0",
    "outcome": "FunctionDeclaration",
    "line": 355,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/38/tail/arm/0/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 357,
    "state": "covered",
    "hits": "96"
  },
  {
    "id": "declaration/38/tail/arm/0/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 357,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/38/tail/arm/0/body/block/statement/1/body/tail/decision/true",
    "outcome": "true",
    "line": 358,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/38/tail/arm/0/body/block/statement/1/body/tail/decision/false",
    "outcome": "false",
    "line": 358,
    "state": "covered",
    "hits": "64"
  },
  {
    "id": "declaration/38/tail/arm/0/body/block/statement/1/body/tail/true/statement/0/decision/body",
    "outcome": "body",
    "line": 359,
    "state": "covered",
    "hits": "2155"
  },
  {
    "id": "declaration/38/tail/arm/0/body/block/statement/1/body/tail/true/statement/0/decision/exit",
    "outcome": "exit",
    "line": 359,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/38/tail/arm/0/body/block/statement/1/body/tail/true/statement/0/body/tail/decision/true",
    "outcome": "true",
    "line": 360,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/38/tail/arm/0/body/block/statement/1/body/tail/true/statement/0/body/tail/decision/false",
    "outcome": "false",
    "line": 360,
    "state": "covered",
    "hits": "2123"
  },
  {
    "id": "declaration/38/tail/arm/1",
    "outcome": "ImportDeclaration",
    "line": 368,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/38/tail/arm/2",
    "outcome": "TypeDeclaration",
    "line": 369,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/38/tail/arm/3",
    "outcome": "RecordDeclaration",
    "line": 370,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/38/tail/arm/4",
    "outcome": "EnumDeclaration",
    "line": 371,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/4/decision/body",
    "outcome": "body",
    "line": 387,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/39/statement/4/decision/exit",
    "outcome": "exit",
    "line": 387,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/6/decision/body",
    "outcome": "body",
    "line": 391,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/39/statement/6/decision/exit",
    "outcome": "exit",
    "line": 391,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/9/decision/body",
    "outcome": "body",
    "line": 400,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/39/statement/9/decision/exit",
    "outcome": "exit",
    "line": 400,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/9/body/statement/0/decision/body",
    "outcome": "body",
    "line": 401,
    "state": "covered",
    "hits": "41"
  },
  {
    "id": "declaration/39/statement/9/body/statement/0/decision/exit",
    "outcome": "exit",
    "line": 401,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/39/statement/9/body/statement/0/body/tail/arm/0",
    "outcome": "FunctionDeclaration",
    "line": 403,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/39/statement/9/body/statement/0/body/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 404,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/9/body/statement/0/body/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 404,
    "state": "covered",
    "hits": "31"
  },
  {
    "id": "declaration/39/statement/9/body/statement/0/body/tail/arm/1",
    "outcome": "ImportDeclaration",
    "line": 406,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/9/body/statement/0/body/tail/arm/2",
    "outcome": "TypeDeclaration",
    "line": 407,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/9/body/statement/0/body/tail/arm/3",
    "outcome": "RecordDeclaration",
    "line": 408,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/39/statement/9/body/statement/0/body/tail/arm/4",
    "outcome": "EnumDeclaration",
    "line": 409,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/39/statement/11/decision/body",
    "outcome": "body",
    "line": 414,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/11/decision/exit",
    "outcome": "exit",
    "line": 414,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/11/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 415,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/11/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 415,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/11/body/statement/1/decision/body",
    "outcome": "body",
    "line": 420,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/11/body/statement/1/decision/exit",
    "outcome": "exit",
    "line": 420,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/11/body/statement/1/body/statement/1/value/decision/true",
    "outcome": "true",
    "line": 422,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/11/body/statement/1/body/statement/1/value/decision/false",
    "outcome": "false",
    "line": 422,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/decision/body",
    "outcome": "body",
    "line": 431,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/39/statement/12/decision/exit",
    "outcome": "exit",
    "line": 431,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/decision/body",
    "outcome": "body",
    "line": 432,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/decision/exit",
    "outcome": "exit",
    "line": 432,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/decision/true",
    "outcome": "true",
    "line": 433,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/decision/false",
    "outcome": "false",
    "line": 433,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/decision/body",
    "outcome": "body",
    "line": 440,
    "state": "covered",
    "hits": "707"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/decision/exit",
    "outcome": "exit",
    "line": 440,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 441,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 441,
    "state": "covered",
    "hits": "675"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/0/value/true/statement/0/decision/body",
    "outcome": "body",
    "line": 442,
    "state": "covered",
    "hits": "38"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/0/value/true/statement/0/decision/exit",
    "outcome": "exit",
    "line": 442,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/0/value/true/statement/0/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 442,
    "state": "covered",
    "hits": "70"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/0/value/true/statement/0/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 442,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/0/value/true/tail/decision/true",
    "outcome": "true",
    "line": 446,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/0/value/true/tail/decision/false",
    "outcome": "false",
    "line": 446,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/1/value/decision/true",
    "outcome": "true",
    "line": 455,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/1/value/decision/false",
    "outcome": "false",
    "line": 455,
    "state": "covered",
    "hits": "698"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/decision/true",
    "outcome": "true",
    "line": 462,
    "state": "covered",
    "hits": "74"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/decision/false",
    "outcome": "false",
    "line": 462,
    "state": "covered",
    "hits": "633"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 462,
    "state": "covered",
    "hits": "74"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 462,
    "state": "covered",
    "hits": "633"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/decision/true",
    "outcome": "true",
    "line": 466,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/decision/false",
    "outcome": "false",
    "line": 466,
    "state": "covered",
    "hits": "69"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/decision/body",
    "outcome": "body",
    "line": 469,
    "state": "covered",
    "hits": "77"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/decision/exit",
    "outcome": "exit",
    "line": 469,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/0",
    "outcome": "ReturnInstruction",
    "line": 471,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/1",
    "outcome": "ConstInstruction",
    "line": 474,
    "state": "covered",
    "hits": "23"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/2",
    "outcome": "LoadInstruction",
    "line": 475,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/3",
    "outcome": "StoreInstruction",
    "line": 476,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/4",
    "outcome": "PopInstruction",
    "line": 477,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/5",
    "outcome": "UnaryInstruction",
    "line": 478,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/6",
    "outcome": "BinaryInstruction",
    "line": 479,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/7",
    "outcome": "MakeRangeInstruction",
    "line": 480,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/8",
    "outcome": "MakeArrayInstruction",
    "line": 481,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/9",
    "outcome": "IndexGetInstruction",
    "line": 482,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/10",
    "outcome": "InterpolateInstruction",
    "line": 483,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/11",
    "outcome": "IterInitInstruction",
    "line": 484,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/12",
    "outcome": "IterNextInstruction",
    "line": 485,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/13",
    "outcome": "MakeRecordInstruction",
    "line": 486,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/14",
    "outcome": "FieldGetInstruction",
    "line": 487,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/15",
    "outcome": "MakeVariantInstruction",
    "line": 488,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/16",
    "outcome": "MatchVariantInstruction",
    "line": 489,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/17",
    "outcome": "MatchFailInstruction",
    "line": 490,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/18",
    "outcome": "CallInstruction",
    "line": 491,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/19",
    "outcome": "CallValueInstruction",
    "line": 492,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/20",
    "outcome": "AwaitCallInstruction",
    "line": 493,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/21",
    "outcome": "AwaitValueInstruction",
    "line": 494,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/22",
    "outcome": "JumpFalseInstruction",
    "line": 495,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/23",
    "outcome": "JumpInstruction",
    "line": 496,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/true/statement/2/body/tail/arm/24",
    "outcome": "PendingEndJumpInstruction",
    "line": 497,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/decision/true",
    "outcome": "true",
    "line": 504,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/decision/false",
    "outcome": "false",
    "line": 504,
    "state": "covered",
    "hits": "69"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/statement/2/value/decision/true",
    "outcome": "true",
    "line": 507,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/statement/2/value/decision/false",
    "outcome": "false",
    "line": 507,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/statement/2/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 507,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/statement/2/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 507,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/statement/2/value/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 507,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/statement/2/value/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 507,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/statement/2/value/true/tail/decision/true",
    "outcome": "true",
    "line": 514,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/statement/2/value/true/tail/decision/false",
    "outcome": "false",
    "line": 514,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/decision/true",
    "outcome": "true",
    "line": 519,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/decision/false",
    "outcome": "false",
    "line": 519,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 522,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 522,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/statement/2/value/decision/true",
    "outcome": "true",
    "line": 525,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/statement/2/value/decision/false",
    "outcome": "false",
    "line": 525,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/statement/3/value/decision/true",
    "outcome": "true",
    "line": 530,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/statement/3/value/decision/false",
    "outcome": "false",
    "line": 530,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 535,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 535,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 536,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 536,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 536,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 536,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/0/value/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 536,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/0/value/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 536,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/0/value/left/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 537,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/0/value/left/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 537,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/0/value/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 539,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/0/value/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 539,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/1/value/decision/true",
    "outcome": "true",
    "line": 541,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/statement/3/value/true/tail/true/tail/true/tail/true/statement/1/value/decision/false",
    "outcome": "false",
    "line": 541,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 551,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/statement/4/value/true/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 551,
    "state": "covered",
    "hits": "69"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/decision/true",
    "outcome": "true",
    "line": 563,
    "state": "covered",
    "hits": "525"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/decision/false",
    "outcome": "false",
    "line": 563,
    "state": "covered",
    "hits": "182"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 563,
    "state": "covered",
    "hits": "249"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 563,
    "state": "covered",
    "hits": "458"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/1/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 565,
    "state": "covered",
    "hits": "525"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/1/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 565,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/1/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 565,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/1/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 565,
    "state": "covered",
    "hits": "525"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/1/value/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 567,
    "state": "covered",
    "hits": "416"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/1/value/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 567,
    "state": "covered",
    "hits": "109"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/2/value/decision/true",
    "outcome": "true",
    "line": 569,
    "state": "covered",
    "hits": "416"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/2/value/decision/false",
    "outcome": "false",
    "line": 569,
    "state": "covered",
    "hits": "109"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/3/value/args/1/decision/true",
    "outcome": "true",
    "line": 574,
    "state": "covered",
    "hits": "525"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/3/value/args/1/decision/false",
    "outcome": "false",
    "line": 574,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/4/value/decision/true",
    "outcome": "true",
    "line": 579,
    "state": "covered",
    "hits": "109"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/6/body/tail/true/statement/4/value/decision/false",
    "outcome": "false",
    "line": 579,
    "state": "covered",
    "hits": "416"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/7/decision/body",
    "outcome": "body",
    "line": 585,
    "state": "covered",
    "hits": "109"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/7/decision/exit",
    "outcome": "exit",
    "line": 585,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/7/body/statement/0/value/args/0/left/left/left/right/decision/true",
    "outcome": "true",
    "line": 587,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/7/body/statement/0/value/args/0/left/left/left/right/decision/false",
    "outcome": "false",
    "line": 587,
    "state": "covered",
    "hits": "109"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/7/body/statement/0/value/args/0/left/right/decision/true",
    "outcome": "true",
    "line": 592,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/statement/12/body/statement/0/body/tail/true/statement/7/body/statement/0/value/args/0/left/right/decision/false",
    "outcome": "false",
    "line": 592,
    "state": "covered",
    "hits": "109"
  },
  {
    "id": "declaration/40/tail/decision/true",
    "outcome": "true",
    "line": 605,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/decision/false",
    "outcome": "false",
    "line": 605,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 605,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 605,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 605,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 605,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 615,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 619,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/0",
    "outcome": "Error",
    "line": 620,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1",
    "outcome": "Ok",
    "line": 624,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 632,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 632,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 632,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 632,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 632,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 632,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/condition/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 632,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/condition/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 632,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 641,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 645,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 647,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 647,
    "state": "zero",
    "hits": "0"
  }
]

Reviewed declaration exclusions

[
  {
    "id": "declaration/0",
    "reason": "import",
    "line": 1
  },
  {
    "id": "declaration/1",
    "reason": "import",
    "line": 2
  },
  {
    "id": "declaration/2",
    "reason": "import",
    "line": 3
  },
  {
    "id": "declaration/3",
    "reason": "import",
    "line": 4
  },
  {
    "id": "declaration/4",
    "reason": "import",
    "line": 5
  },
  {
    "id": "declaration/5",
    "reason": "import",
    "line": 6
  },
  {
    "id": "declaration/6",
    "reason": "import",
    "line": 7
  },
  {
    "id": "declaration/7",
    "reason": "import",
    "line": 8
  },
  {
    "id": "declaration/8",
    "reason": "import",
    "line": 9
  },
  {
    "id": "declaration/9",
    "reason": "import",
    "line": 10
  },
  {
    "id": "declaration/10",
    "reason": "import",
    "line": 11
  },
  {
    "id": "declaration/11",
    "reason": "import",
    "line": 12
  },
  {
    "id": "declaration/12",
    "reason": "import",
    "line": 13
  },
  {
    "id": "declaration/13",
    "reason": "import",
    "line": 14
  },
  {
    "id": "declaration/14",
    "reason": "import",
    "line": 15
  },
  {
    "id": "declaration/15",
    "reason": "import",
    "line": 16
  },
  {
    "id": "declaration/16",
    "reason": "import",
    "line": 17
  },
  {
    "id": "declaration/18",
    "reason": "record-declaration",
    "line": 35
  },
  {
    "id": "declaration/19",
    "reason": "record-declaration",
    "line": 42
  },
  {
    "id": "declaration/20",
    "reason": "record-declaration",
    "line": 47
  },
  {
    "id": "declaration/25",
    "reason": "record-declaration",
    "line": 137
  },
  {
    "id": "declaration/28",
    "reason": "record-declaration",
    "line": 182
  },
  {
    "id": "declaration/40/tail/true/statement/0/value/receiver",
    "reason": "namespace-qualifier",
    "line": 606
  },
  {
    "id": "declaration/40/tail/false/statement/0/value/receiver",
    "reason": "namespace-qualifier",
    "line": 609
  },
  {
    "id": "declaration/40/tail/false/statement/1/value/receiver",
    "reason": "namespace-qualifier",
    "line": 610
  },
  {
    "id": "declaration/40/tail/false/statement/2/value/receiver",
    "reason": "namespace-qualifier",
    "line": 611
  },
  {
    "id": "declaration/40/tail/false/statement/2/value/args/0/receiver/receiver",
    "reason": "namespace-qualifier",
    "line": 611
  },
  {
    "id": "declaration/40/tail/false/statement/3/value/receiver/receiver",
    "reason": "namespace-qualifier",
    "line": 612
  },
  {
    "id": "declaration/40/tail/false/tail/arm/0/body/block/statement/0/value/receiver",
    "reason": "namespace-qualifier",
    "line": 616
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/0/body/block/statement/0/value/receiver",
    "reason": "namespace-qualifier",
    "line": 621
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/true/statement/0/value/receiver",
    "reason": "namespace-qualifier",
    "line": 637
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/false/tail/arm/0/body/block/statement/0/value/receiver",
    "reason": "namespace-qualifier",
    "line": 642
  },
  {
    "id": "declaration/40/tail/false/tail/arm/1/body/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/true/statement/0/value/receiver",
    "reason": "namespace-qualifier",
    "line": 648
  }
]