All files

src/compiler/module_signatures.panack

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

    1 import project/src/compiler/domain_guards::{record_rules, domain_base, domain_declaration_errors}
    2 import project/src/compiler/owned_intrinsics::{owned_intrinsic_declarations}
    3 import project/src/compiler/module_bindings::{builtin_owner_arity, builtin_owner_module}
    4 pub import project/src/compiler/module_resolution::{ModuleBindingGraph, ResolvedModuleUses, ModuleIdentity, DeclarationIdentity, ModuleDeclarationBinding, ModuleDeclarationKind.ModuleFunction, ModuleDeclarationKind.ModuleGuardedType, ModuleDeclarationKind.ModuleRecord, ModuleDeclarationKind.ModuleEnum, ModuleDeclarationKind.ModuleVariant, ResolvedModuleTarget.DeclarationTarget, ResolvedModuleTarget.NamespaceTarget, binding_graph_module, binding_graph_target, module_identity_in, resolve_module_expression_uses, resolve_module_path_inner, resolve_module_type, module_import_names, module_reserved_binding}
    5 pub import project/src/compiler/module_bindings::{LoadedModule, ModulePackageIdentity, ModulePackageIdentity.ToolchainModulePackage}
    6 pub import project/src/compiler/parser::{TopLevel, TopLevel.ImportDeclaration, TopLevel.TypeDeclaration, TopLevel.RecordDeclaration, TopLevel.EnumDeclaration, TopLevel.FunctionDeclaration, DeclarationSyntax, RecordField, FunctionParameter, EnumVariant, SourceSpan, Diagnostic}
    7 import project/src/compiler/checker::{TypeShape, is_scalar_base, type_shape}
    8 
    9 // Check declaration signatures before binding bodies. Tagged nominal, parameter,
   10 // callable and hole identities must never collapse into spelling-based equality.
   11 
   12 // Semantic tags never encode nominal identity as an inference-placeholder name.
   13 pub enum SignatureEffect {
   14   SignaturePure,
   15   SignatureOrdinary,
   16   SignatureAsync
   17 }
   18 
   19 pub enum SignatureTypeIdentity {
   20   SignatureCore(Str),
   21   SignatureNominal(DeclarationIdentity),
   22   SignatureParameter(DeclarationIdentity, Nat),
   23   SignatureCallable(SignatureEffect),
   24   // Body-local missing evidence; never a declaration name or a signature binder.
   25   SignatureHole(DeclarationIdentity, [Nat], Nat)
   26 }
   27 
   28 pub record SignatureType {
   29   identity: SignatureTypeIdentity,
   30   arguments: [SignatureType]
   31 }
   32 
   33 pub record SignatureSlot {
   34   name: Str,
   35   type: SignatureType
   36 }
   37 
   38 pub record ModuleSignature {
   39   binding: ModuleDeclarationBinding,
   40   parameters: [Str],
   41   slots: [SignatureSlot],
   42   effect: Option[SignatureEffect]
   43 }
   44 
   45 pub record CheckedModuleSignatures {
   46   declarations: [ModuleSignature],
   47   diagnostics: [Diagnostic]
   48 }
   49 
   50 pub pure signature_effect(is_pure: Bool, is_async: Bool): SignatureEffect {
   51   if is_async {
   52     SignatureAsync()
   53   } else {
   54     if is_pure {
   55       SignaturePure()
   56     } else {
   57       SignatureOrdinary()
   58     }
   59   }
   60 }
   61 
   62 pub pure signature_declaration(
   63   modules: [LoadedModule],
   64   identity: DeclarationIdentity
   65 ): Result[TopLevel, Str] {
   66   mut found: Option[TopLevel] = None()
   67 
   68   for module in modules {
   69     if module.bindings.identity == identity.module {
   70       if module.declaration_index.has(identity.name) {
   71         found = Some(module.declaration_index.get(identity.name))
   72       }
   73     }
   74   }
   75   match found {
   76     Some(declaration) => Ok(declaration),
   77     None() => Error("missing signature declaration " + identity.module.path + ":" + identity.name)
   78   }
   79 }
   80 
   81 // Reachability is by original identity, not the spelling chosen in a signature.
   82 // Thus an explicit public re-export can expose an otherwise private import alias.
   83 pub pure signature_public_identity(
   84   graph: ModuleBindingGraph,
   85   owner: ModuleIdentity,
   86   identity: DeclarationIdentity,
   87   visited: [ModuleIdentity]
   88 ): Bool {
   89   mut reachable: Bool = identity.module == ModuleIdentity(
   90     ToolchainModulePackage(),
   91     "core.panack"
   92   ) && (identity.name == "Option" || identity.name == "Result")
   93 
   94   if !reachable && !module_identity_in(visited, owner) {
   95     match binding_graph_module(graph, owner) {
   96       Error(message) => {},
   97       Ok(module) => {
   98         for binding in module.declarations {
   99           if binding.is_public && binding.identity == identity {
  100             reachable = true
  101           }
  102         }
  103         mut index: Nat = 0
  104         for imported in module.imports {
  105           // This is an existence check. Once a public route is proved, later
  106           // imports cannot change the answer and need no further resolution.
  107           if imported.is_public && !reachable {
  108             match binding_graph_target(graph, owner, index) {
  109               Error(message) => {},
  110               Ok(target) => {
  111                 for selector in module_import_names(imported) {
  112                   if selector.name == "" {
  113                     reachable = reachable || signature_public_identity(
  114                       graph,
  115                       target,
  116                       identity,
  117                       visited.append(owner)
  118                     )
  119                   } else if !reachable {
  120                     match resolve_module_path_inner(graph, target, selector.name, true, []) {
  121                       Error(message) => {},
  122                       Ok(resolved) => match resolved {
  123                         DeclarationTarget(binding) => {
  124                           reachable = reachable || binding.identity == identity
  125                         },
  126                         NamespaceTarget(namespace) => {
  127                           reachable = reachable || signature_public_identity(
  128                             graph,
  129                             namespace,
  130                             identity,
  131                             visited.append(owner)
  132                           )
  133                         }
  134                       }
  135                     }
  136                   }
  137                 }
  138               }
  139             }
  140           }
  141           index = index + 1
  142         }
  143       }
  144     }
  145   }
  146   // Exporting an enum exposes its qualified constructors, but exporting only
  147   // one constructor does not expose the parent enum type.
  148   if !reachable {
  149     match binding_graph_module(graph, identity.module) {
  150       Error(message) => {},
  151       Ok(origin) => {
  152         for declaration in origin.declarations {
  153           if declaration.identity == identity {
  154             match declaration.kind {
  155               ModuleVariant(parent) => {
  156                 reachable = signature_public_identity(
  157                   graph,
  158                   owner,
  159                   DeclarationIdentity(identity.module, parent),
  160                   visited
  161                 )
  162               },
  163               ModuleFunction() => {},
  164               ModuleGuardedType() => {},
  165               ModuleRecord() => {},
  166               ModuleEnum() => {}
  167             }
  168           }
  169         }
  170       }
  171     }
  172   }
  173   reachable
  174 }
  175 
  176 pub pure signature_type(
  177   graph: ModuleBindingGraph,
  178   modules: [LoadedModule],
  179   owner: DeclarationIdentity,
  180   parameters: [Str],
  181   spelling: Str,
  182   exported: Bool,
  183   allow_void: Bool
  184 ): Result[SignatureType, Str] {
  185   shape: TypeShape = type_shape(spelling)
  186   mut head: SignatureTypeIdentity = SignatureCore(shape.base)
  187   mut arity: Nat = 0
  188   mut known: Bool = false
  189   mut callable: Bool = false
  190   mut failure: Option[Str] = None()
  191   mut index: Nat = 0
  192 
  193   for parameter in parameters {
  194     if parameter == shape.base {
  195       known = true
  196       head = SignatureParameter(owner, index)
  197     }
  198     index = index + 1
  199   }
  200   if !known {
  201     known = is_scalar_base(shape.base) ||
  202       shape.base == "Bytes" ||
  203       shape.base == "Path" ||
  204       shape.base == "Duration" ||
  205       shape.base == "Instant" || shape.base == "HttpResponseState" || shape.base == "Sha256Context" || shape.base == "GzipDecoder" || shape.base == "HttpStream" || shape.base == "DirectoryStage"
  206     if shape.base == "Void" {
  207       known = true
  208       if !allow_void {
  209         failure = Some("Void is only valid as a function return type")
  210       }
  211     }
  212     if shape.base == "Array" || shape.base == "Set" || shape.base == "Option" || shape.base == "State" {
  213       known = true
  214       arity = 1
  215     }
  216     if shape.base == "Map" || shape.base == "Result" || shape.base == "HttpServerState" || shape.base == "HttpConnectionState" {
  217       known = true
  218       arity = 2
  219     }
  220     if shape.base == "Fn" || shape.base == "PureFn" || shape.base == "AsyncFn" {
  221       known = true
  222       callable = true
  223       arity = shape.arguments.len()
  224       head = SignatureCallable(signature_effect(shape.base == "PureFn", shape.base == "AsyncFn"))
  225       if arity == 0 {
  226         failure = Some(shape.base + " expects at least a return type")
  227       }
  228     }
  229     if !known {
  230       match resolve_module_type(graph, owner.module, shape.base) {
  231         Error(message) => {
  232           failure = Some(message)
  233         },
  234         Ok(binding) => {
  235           head = SignatureNominal(binding.identity)
  236           implicit_core: Bool = binding.identity.module == ModuleIdentity(
  237             ToolchainModulePackage(),
  238             "core.panack"
  239           ) && (binding.identity.name == "Option" || binding.identity.name == "Result")
  240           if implicit_core {
  241             head = SignatureCore(binding.identity.name)
  242           }
  243           if exported && !implicit_core && !signature_public_identity(
  244             graph,
  245             owner.module,
  246             binding.identity,
  247             []
  248           ) {
  249             failure = Some("public signature exposes inaccessible type " + shape.base + " from " + binding.identity.module.path)
  250           }
  251           match signature_declaration(modules, binding.identity) {
  252             Error(message) => {
  253               failure = Some(message)
  254             },
  255             Ok(declaration) => match declaration {
  256               RecordDeclaration(name, types, fields) => {
  257                 arity = types.len()
  258               },
  259               EnumDeclaration(name, types, variants) => {
  260                 arity = types.len()
  261               },
  262               TypeDeclaration(name, base, guard_name, guard) => {},
  263               ImportDeclaration(path) => {
  264                 failure = Some("import is not a nominal type")
  265               },
  266               FunctionDeclaration(name, values, result, pure_flag, async_flag, body, types) => {
  267                 failure = Some("function is not a nominal type")
  268               }
  269             }
  270           }
  271         }
  272       }
  273     }
  274   }
  275   if shape.arguments.len() != arity {
  276     failure = Some(shape.base + " has incorrect type argument count")
  277   }
  278   mut arguments: [SignatureType] = []
  279   index = 0
  280   for argument in shape.arguments {
  281     return_slot: Bool = callable && shape.base != "AsyncFn" && index + 1 == shape.arguments.len()
  282     match signature_type(graph, modules, owner, parameters, argument, exported, return_slot) {
  283       Error(message) => {
  284         if failure == None() {
  285           failure = Some(message)
  286         }
  287       },
  288       Ok(resolved) => {
  289         arguments = arguments.append(resolved)
  290       }
  291     }
  292     index = index + 1
  293   }
  294   match failure {
  295     Some(message) => Error(message),
  296     None() => Ok(SignatureType(head, arguments))
  297   }
  298 }
  299 
  300 // Substitution uses the binder's tagged identity, not another module's spelling.
  301 pub pure substitute_signature_type(
  302   value: SignatureType,
  303   owner: DeclarationIdentity,
  304   arguments: [SignatureType]
  305 ): Result[SignatureType, Str] {
  306   mut replacement: Option[SignatureType] = None()
  307   mut failure: Option[Str] = None()
  308 
  309   match value.identity {
  310     SignatureParameter(binder, index) => {
  311       if binder == owner {
  312         if index < arguments.len() {
  313           replacement = Some(arguments[index])
  314         } else {
  315           failure = Some("missing signature substitution")
  316         }
  317       }
  318     },
  319     SignatureCore(name) => {},
  320     SignatureNominal(identity) => {},
  321     SignatureCallable(effect) => {},
  322     SignatureHole(binder, path, index) => {}
  323   }
  324   mut nested: [SignatureType] = []
  325   for child in value.arguments {
  326     match substitute_signature_type(child, owner, arguments) {
  327       Error(message) => {
  328         failure = Some(message)
  329       },
  330       Ok(resolved) => {
  331         nested = nested.append(resolved)
  332       }
  333     }
  334   }
  335   match failure {
  336     Some(message) => Error(message),
  337     None() => match replacement {
  338       Some(resolved) => Ok(resolved),
  339       None() => Ok(SignatureType(value.identity, nested))
  340     }
  341   }
  342 }
  343 
  344 pub pure check_module_signatures(
  345   graph: ModuleBindingGraph,
  346   modules: [LoadedModule],
  347   module: LoadedModule
  348 ): CheckedModuleSignatures {
  349   mut signatures: [ModuleSignature] = []
  350   mut diagnostics: [Diagnostic] = []
  351   mut declaration_index: Nat = 0
  352 
  353   // Validate every impl header, including empty blocks, against the complete
  354   // declaration set. The owner spelling is never used as its semantic identity.
  355   for implementation in module.parsed.implementations {
  356     shape: TypeShape = type_shape(implementation.owner)
  357     mut owner_arity: Option[Nat] = builtin_owner_arity(shape.base)
  358     builtin_owner: Bool = owner_arity != None()
  359     match signature_declaration(modules, DeclarationIdentity(module.bindings.identity, shape.base)) {
  360       Error(message) => {},
  361       Ok(owner_declaration) => match owner_declaration {
  362         RecordDeclaration(name, types, fields) => { owner_arity = Some(types.len()) },
  363         EnumDeclaration(name, types, variants) => { owner_arity = Some(types.len()) },
  364         TypeDeclaration(name, base, guard_name, guard) => {},
  365         ImportDeclaration(path) => {},
  366         FunctionDeclaration(name, values, result, pure_flag, async_flag, body, types) => {}
  367       }
  368     }
  369     mut valid: Bool = (!builtin_owner || module.bindings.identity == builtin_owner_module()) &&
  370       owner_arity == Some(implementation.parameters.len()) &&
  371       shape.arguments.len() == implementation.parameters.len()
  372     mut binders: Set[Str] = set()
  373     for parameter in implementation.parameters {
  374       valid = valid && !binders.has(parameter) && !module_reserved_binding(parameter)
  375       binders = binders.add(parameter)
  376     }
  377     mut arguments: Set[Str] = set()
  378     for argument in shape.arguments {
  379       valid = valid && binders.has(argument) && !arguments.has(argument)
  380       arguments = arguments.add(argument)
  381     }
  382     if !valid {
  383       diagnostics = diagnostics.append(Diagnostic(
  384         if builtin_owner && module.bindings.identity != builtin_owner_module() {
  385           "built-in impl requires the designated toolchain core module: " + shape.base
  386         } else if builtin_owner {
  387           "built-in impl requires uniform type parameters: " + shape.base
  388         } else { "impl requires a local nominal owner with uniform type parameters: " + shape.base },
  389         implementation.span.start))
  390     }
  391   }
  392 
  393   for declaration in module.parsed.program.declarations {
  394     before: Nat = diagnostics.len()
  395     syntax: DeclarationSyntax = module.parsed.syntax[declaration_index]
  396     mut name: Str = ""
  397     mut parameters: [Str] = []
  398     mut fields: [RecordField] = []
  399     mut effect: Option[SignatureEffect] = None()
  400     mut result_void: Bool = false
  401     match declaration {
  402       ImportDeclaration(path) => {},
  403       TypeDeclaration(declared, base, guard_name, guard) => {
  404         name = declared
  405         fields = [RecordField("base", base)]
  406         if domain_base(base) {
  407           diagnostics = diagnostics.concat(domain_declaration_errors(guard, guard_name, base, syntax.span))
  408         } else if !is_scalar_base(base) || base == "Rat" || base == "Unit" {
  409           position = if syntax.type_spans.len() > 0 { syntax.type_spans[0].start } else { syntax.span.start }
  410           resolved = resolve_module_type(graph,module.bindings.identity,type_shape(base).base)
  411           record_base = match resolved { Ok(binding) => binding.kind == ModuleRecord(), Error(message) => false }
  412           if !record_base {
  413             diagnostics = diagnostics.append(Diagnostic("unsupported guarded type base " + base + ". Use a supported scalar, collection or record.",position))
  414           } else if record_rules(guard,guard_name,syntax.span).len() == 0 {
  415             diagnostics = diagnostics.append(Diagnostic("Compare two direct fields of " + guard_name +
  416               " using < or <=. Combine field relationships with &&.",syntax.span.start))
  417           }
  418         }
  419         if syntax.is_public {
  420           uses: ResolvedModuleUses = resolve_module_expression_uses(
  421             graph,
  422             module.bindings.identity,
  423             guard,
  424             syntax.span,
  425             set().add(guard_name)
  426           )
  427           diagnostics = diagnostics.concat(uses.diagnostics)
  428           for reference in uses.references {
  429             match reference.target {
  430               NamespaceTarget(identity) => {},
  431               DeclarationTarget(binding) => {
  432                 if !signature_public_identity(
  433                   graph,
  434                   module.bindings.identity,
  435                   binding.identity,
  436                   []
  437                 ) {
  438                   diagnostics = diagnostics.append(
  439                     Diagnostic(
  440                     "public guard depends on inaccessible declaration " + reference.spelling + " from " + binding.identity.module.path,
  441                     reference.span.start
  442                   )
  443                   )
  444                 }
  445               }
  446             }
  447           }
  448         }
  449       },
  450       RecordDeclaration(declared, types, members) => {
  451         name = declared
  452         parameters = types
  453         fields = members
  454         mut member_names: Set[Str] = set()
  455         for member in members {
  456           if member_names.has(member.name) {
  457             diagnostics = diagnostics.append(Diagnostic("duplicate field " + member.name, syntax.span.start))
  458           }
  459           member_names = member_names.add(member.name)
  460         }
  461       },
  462       EnumDeclaration(declared, types, variants) => {
  463         name = declared
  464         parameters = types
  465         for variant in variants {
  466           mut payload_index: Nat = 0
  467           for payload in variant.payload {
  468             fields = fields.append(RecordField(variant.name + ":${payload_index}", payload))
  469             payload_index = payload_index + 1
  470           }
  471         }
  472       },
  473       FunctionDeclaration(declared, values, result, pure_flag, async_flag, body, types) => {
  474         name = declared
  475         parameters = types
  476         effect = Some(signature_effect(pure_flag, async_flag))
  477         result_void = !async_flag
  478         for parameter in values {
  479           fields = fields.append(RecordField(parameter.name, parameter.type_name))
  480         }
  481         fields = fields.append(RecordField("return", result))
  482       }
  483     }
  484     if name != "" {
  485       owner: DeclarationIdentity = DeclarationIdentity(module.bindings.identity, name)
  486       mut seen: Set[Str] = set()
  487       mut valid: Bool = diagnostics.len() == before
  488       core_owner: Bool = owner.module == ModuleIdentity(ToolchainModulePackage(), "core.panack")
  489       if (module_reserved_binding(name) ||
  490         name == "Rat" ||
  491         name == "Array") &&
  492         !(core_owner &&
  493         (name == "Option" ||
  494         name == "Result")) {
  495         diagnostics = diagnostics.append(
  496           Diagnostic(
  497           "declaration " + name + " conflicts with a reserved core identity",
  498           syntax.span.start
  499         )
  500         )
  501         valid = false
  502       }
  503       match syntax.method {
  504         None() => {},
  505         Some(method) => {
  506           mut value_index: Nat = 0
  507           for field in fields {
  508             if value_index > 0 && field.name == "self" {
  509               diagnostics = diagnostics.append(Diagnostic(
  510                 "owned method cannot declare an explicit self parameter", syntax.span.start))
  511               valid = false
  512             }
  513             value_index = value_index + 1
  514           }
  515         }
  516       }
  517       for parameter in parameters {
  518         if seen.has(parameter) ||
  519           module_reserved_binding(parameter) ||
  520           parameter == "Rat" ||
  521           parameter == "Array" {
  522           diagnostics = diagnostics.append(
  523             Diagnostic("invalid or duplicate type parameter " + parameter, syntax.span.start)
  524           )
  525           valid = false
  526         }
  527         seen = seen.add(parameter)
  528       }
  529       mut slots: [SignatureSlot] = []
  530       mut field_index: Nat = 0
  531       for field in fields {
  532         field_span: SourceSpan = if field_index < syntax.type_spans.len() {
  533           syntax.type_spans[field_index]
  534         } else {
  535           syntax.span
  536         }
  537         match signature_type(
  538           graph,
  539           modules,
  540           owner,
  541           parameters,
  542           field.type_name,
  543           syntax.is_public,
  544           field_index + 1 == fields.len() && result_void
  545         ) {
  546           Error(message) => {
  547             diagnostics = diagnostics.append(
  548               Diagnostic("signature " + (match syntax.method {
  549                 None() => name,
  550                 Some(method) => method.owner + "." + method.name
  551               }) + "." + field.name + ": " + message, field_span.start)
  552             )
  553             valid = false
  554           },
  555           Ok(resolved) => {
  556             slots = slots.append(SignatureSlot(field.name, resolved))
  557           }
  558         }
  559         field_index = field_index + 1
  560       }
  561       if valid {
  562         for binding in module.bindings.declarations {
  563           if binding.identity == owner {
  564             signatures = signatures.append(ModuleSignature(binding, parameters, slots, effect))
  565           }
  566         }
  567       }
  568     }
  569     declaration_index = declaration_index + 1
  570   }
  571   // Synthetic declarations use the same canonical signature types and effects.
  572   if module.bindings.identity == builtin_owner_module() {
  573     for intrinsic in owned_intrinsic_declarations() {
  574       for binding in module.bindings.declarations {
  575         if binding.intrinsic == Some(intrinsic.id) {
  576           mut slots: [SignatureSlot] = []
  577           mut slot_index: Nat = 0
  578           for spelling in intrinsic.inputs.concat([intrinsic.output]) {
  579             match signature_type(graph, modules, binding.identity, intrinsic.parameters,
  580                 spelling, true, false) {
  581               Error(message) => { diagnostics = diagnostics.append(Diagnostic(message, binding.span.start)) },
  582               Ok(type) => { slots = slots.append(SignatureSlot(
  583                 if slot_index == intrinsic.inputs.len() { "return" }
  584                 else if slot_index == 0 { "self" } else { "argument" }, type)) }
  585             }
  586             slot_index = slot_index + 1
  587           }
  588           signatures = signatures.append(ModuleSignature(binding, intrinsic.parameters,
  589             slots, Some(if intrinsic.owner == "AsyncFn" { SignatureAsync() }
  590               else if intrinsic.owner == "Fn" { SignatureOrdinary() }
  591               else { SignaturePure() })))
  592         }
  593       }
  594     }
  595   }
  596   CheckedModuleSignatures(signatures, diagnostics)
  597 }
  598 

Functions

[
  {
    "id": "declaration/13",
    "name": "signature_effect",
    "line": 50,
    "state": "covered",
    "entries": "17818"
  },
  {
    "id": "declaration/14",
    "name": "signature_declaration",
    "line": 62,
    "state": "covered",
    "entries": "69698"
  },
  {
    "id": "declaration/15",
    "name": "signature_public_identity",
    "line": 83,
    "state": "covered",
    "entries": "2397"
  },
  {
    "id": "declaration/16",
    "name": "signature_type",
    "line": 176,
    "state": "covered",
    "entries": "184995"
  },
  {
    "id": "declaration/17",
    "name": "substitute_signature_type",
    "line": 301,
    "state": "covered",
    "entries": "85306"
  },
  {
    "id": "declaration/18",
    "name": "check_module_signatures",
    "line": 344,
    "state": "covered",
    "entries": "2475"
  }
]

Source branch outcomes

[
  {
    "id": "declaration/13/tail/decision/true",
    "outcome": "true",
    "line": 51,
    "state": "covered",
    "hits": "1233"
  },
  {
    "id": "declaration/13/tail/decision/false",
    "outcome": "false",
    "line": 51,
    "state": "covered",
    "hits": "16585"
  },
  {
    "id": "declaration/13/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 54,
    "state": "covered",
    "hits": "14949"
  },
  {
    "id": "declaration/13/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 54,
    "state": "covered",
    "hits": "1636"
  },
  {
    "id": "declaration/14/statement/1/decision/body",
    "outcome": "body",
    "line": 68,
    "state": "covered",
    "hits": "3103773"
  },
  {
    "id": "declaration/14/statement/1/decision/exit",
    "outcome": "exit",
    "line": 68,
    "state": "covered",
    "hits": "69698"
  },
  {
    "id": "declaration/14/statement/1/body/tail/decision/true",
    "outcome": "true",
    "line": 69,
    "state": "covered",
    "hits": "69698"
  },
  {
    "id": "declaration/14/statement/1/body/tail/decision/false",
    "outcome": "false",
    "line": 69,
    "state": "covered",
    "hits": "3034075"
  },
  {
    "id": "declaration/14/statement/1/body/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 70,
    "state": "covered",
    "hits": "67385"
  },
  {
    "id": "declaration/14/statement/1/body/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 70,
    "state": "covered",
    "hits": "2313"
  },
  {
    "id": "declaration/14/tail/arm/0",
    "outcome": "Some",
    "line": 76,
    "state": "covered",
    "hits": "67385"
  },
  {
    "id": "declaration/14/tail/arm/1",
    "outcome": "None",
    "line": 77,
    "state": "covered",
    "hits": "2313"
  },
  {
    "id": "declaration/15/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 89,
    "state": "covered",
    "hits": "930"
  },
  {
    "id": "declaration/15/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 89,
    "state": "covered",
    "hits": "1467"
  },
  {
    "id": "declaration/15/statement/0/value/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 92,
    "state": "covered",
    "hits": "928"
  },
  {
    "id": "declaration/15/statement/0/value/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 92,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/15/statement/1/value/decision/true",
    "outcome": "true",
    "line": 94,
    "state": "covered",
    "hits": "2395"
  },
  {
    "id": "declaration/15/statement/1/value/decision/false",
    "outcome": "false",
    "line": 94,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/15/statement/1/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 94,
    "state": "covered",
    "hits": "2395"
  },
  {
    "id": "declaration/15/statement/1/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 94,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/0",
    "outcome": "Error",
    "line": 96,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1",
    "outcome": "Ok",
    "line": 97,
    "state": "covered",
    "hits": "2395"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/0/decision/body",
    "outcome": "body",
    "line": 98,
    "state": "covered",
    "hits": "133465"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/0/decision/exit",
    "outcome": "exit",
    "line": 98,
    "state": "covered",
    "hits": "2395"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/0/body/tail/decision/true",
    "outcome": "true",
    "line": 99,
    "state": "covered",
    "hits": "1648"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/0/body/tail/decision/false",
    "outcome": "false",
    "line": 99,
    "state": "covered",
    "hits": "131817"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/0/body/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 99,
    "state": "covered",
    "hits": "97369"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/0/body/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 99,
    "state": "covered",
    "hits": "36096"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/decision/body",
    "outcome": "body",
    "line": 104,
    "state": "covered",
    "hits": "9453"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/decision/exit",
    "outcome": "exit",
    "line": 104,
    "state": "covered",
    "hits": "2395"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 107,
    "state": "covered",
    "hits": "1609"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 107,
    "state": "covered",
    "hits": "7844"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 107,
    "state": "covered",
    "hits": "3879"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 107,
    "state": "covered",
    "hits": "5574"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/0",
    "outcome": "Error",
    "line": 109,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1",
    "outcome": "Ok",
    "line": 110,
    "state": "covered",
    "hits": "1609"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/decision/body",
    "outcome": "body",
    "line": 111,
    "state": "covered",
    "hits": "12606"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/decision/exit",
    "outcome": "exit",
    "line": 111,
    "state": "covered",
    "hits": "1609"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/decision/true",
    "outcome": "true",
    "line": 112,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/decision/false",
    "outcome": "false",
    "line": 112,
    "state": "covered",
    "hits": "12597"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/true/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 113,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/true/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 113,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/false/statement/0/value/decision/true",
    "outcome": "true",
    "line": 119,
    "state": "covered",
    "hits": "6833"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/false/statement/0/value/decision/false",
    "outcome": "false",
    "line": 119,
    "state": "covered",
    "hits": "5764"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/false/statement/0/value/true/tail/arm/0",
    "outcome": "Error",
    "line": 121,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/false/statement/0/value/true/tail/arm/1",
    "outcome": "Ok",
    "line": 122,
    "state": "covered",
    "hits": "6833"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/false/statement/0/value/true/tail/arm/1/body/arm/0",
    "outcome": "DeclarationTarget",
    "line": 123,
    "state": "covered",
    "hits": "6833"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/false/statement/0/value/true/tail/arm/1/body/arm/0/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 124,
    "state": "covered",
    "hits": "6833"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/false/statement/0/value/true/tail/arm/1/body/arm/0/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 124,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/false/statement/0/value/true/tail/arm/1/body/arm/1",
    "outcome": "NamespaceTarget",
    "line": 126,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/false/statement/0/value/true/tail/arm/1/body/arm/1/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 127,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/15/statement/1/value/true/tail/arm/1/body/block/statement/2/body/statement/0/value/true/tail/arm/1/body/block/statement/0/body/tail/false/statement/0/value/true/tail/arm/1/body/arm/1/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 127,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/15/statement/2/value/decision/true",
    "outcome": "true",
    "line": 148,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/15/statement/2/value/decision/false",
    "outcome": "false",
    "line": 148,
    "state": "covered",
    "hits": "2380"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/0",
    "outcome": "Error",
    "line": 150,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/1",
    "outcome": "Ok",
    "line": 151,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/1/body/block/statement/0/decision/body",
    "outcome": "body",
    "line": 152,
    "state": "covered",
    "hits": "113"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/1/body/block/statement/0/decision/exit",
    "outcome": "exit",
    "line": 152,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/1/body/block/statement/0/body/tail/decision/true",
    "outcome": "true",
    "line": 153,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/1/body/block/statement/0/body/tail/decision/false",
    "outcome": "false",
    "line": 153,
    "state": "covered",
    "hits": "96"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/1/body/block/statement/0/body/tail/true/tail/arm/0",
    "outcome": "ModuleVariant",
    "line": 155,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/1/body/block/statement/0/body/tail/true/tail/arm/1",
    "outcome": "ModuleFunction",
    "line": 163,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/1/body/block/statement/0/body/tail/true/tail/arm/2",
    "outcome": "ModuleGuardedType",
    "line": 164,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/1/body/block/statement/0/body/tail/true/tail/arm/3",
    "outcome": "ModuleRecord",
    "line": 165,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/15/statement/2/value/true/tail/arm/1/body/block/statement/0/body/tail/true/tail/arm/4",
    "outcome": "ModuleEnum",
    "line": 166,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/16/statement/7/decision/body",
    "outcome": "body",
    "line": 193,
    "state": "covered",
    "hits": "132483"
  },
  {
    "id": "declaration/16/statement/7/decision/exit",
    "outcome": "exit",
    "line": 193,
    "state": "covered",
    "hits": "184995"
  },
  {
    "id": "declaration/16/statement/7/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 194,
    "state": "covered",
    "hits": "55771"
  },
  {
    "id": "declaration/16/statement/7/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 194,
    "state": "covered",
    "hits": "76712"
  },
  {
    "id": "declaration/16/statement/8/value/decision/true",
    "outcome": "true",
    "line": 200,
    "state": "covered",
    "hits": "129228"
  },
  {
    "id": "declaration/16/statement/8/value/decision/false",
    "outcome": "false",
    "line": 200,
    "state": "covered",
    "hits": "55767"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 201,
    "state": "covered",
    "hits": "41790"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 201,
    "state": "covered",
    "hits": "87438"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 201,
    "state": "covered",
    "hits": "41794"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 201,
    "state": "covered",
    "hits": "87434"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 201,
    "state": "covered",
    "hits": "41798"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 201,
    "state": "covered",
    "hits": "87430"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 201,
    "state": "covered",
    "hits": "41820"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 201,
    "state": "covered",
    "hits": "87408"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 201,
    "state": "covered",
    "hits": "41820"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 201,
    "state": "covered",
    "hits": "87408"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 201,
    "state": "covered",
    "hits": "48101"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 201,
    "state": "covered",
    "hits": "81127"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/left/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 201,
    "state": "covered",
    "hits": "54517"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/left/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 201,
    "state": "covered",
    "hits": "74711"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/left/left/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 201,
    "state": "covered",
    "hits": "57168"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/left/left/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 201,
    "state": "covered",
    "hits": "72060"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/left/left/left/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 201,
    "state": "covered",
    "hits": "67747"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/0/value/left/left/left/left/left/left/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 201,
    "state": "covered",
    "hits": "61481"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/1/value/decision/true",
    "outcome": "true",
    "line": 206,
    "state": "covered",
    "hits": "586"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/1/value/decision/false",
    "outcome": "false",
    "line": 206,
    "state": "covered",
    "hits": "128642"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/1/value/true/tail/decision/true",
    "outcome": "true",
    "line": 208,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/1/value/true/tail/decision/false",
    "outcome": "false",
    "line": 208,
    "state": "covered",
    "hits": "582"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/2/value/decision/true",
    "outcome": "true",
    "line": 212,
    "state": "covered",
    "hits": "20567"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/2/value/decision/false",
    "outcome": "false",
    "line": 212,
    "state": "covered",
    "hits": "108661"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/2/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 212,
    "state": "covered",
    "hits": "108661"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/2/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 212,
    "state": "covered",
    "hits": "20567"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/2/value/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 212,
    "state": "covered",
    "hits": "110644"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/2/value/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 212,
    "state": "covered",
    "hits": "18584"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/2/value/condition/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 212,
    "state": "covered",
    "hits": "114986"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/2/value/condition/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 212,
    "state": "covered",
    "hits": "14242"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/3/value/decision/true",
    "outcome": "true",
    "line": 216,
    "state": "covered",
    "hits": "6912"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/3/value/decision/false",
    "outcome": "false",
    "line": 216,
    "state": "covered",
    "hits": "122316"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/3/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 216,
    "state": "covered",
    "hits": "122316"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/3/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 216,
    "state": "covered",
    "hits": "6912"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/3/value/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 216,
    "state": "covered",
    "hits": "122316"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/3/value/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 216,
    "state": "covered",
    "hits": "6912"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/3/value/condition/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 216,
    "state": "covered",
    "hits": "123707"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/3/value/condition/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 216,
    "state": "covered",
    "hits": "5521"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/4/value/decision/true",
    "outcome": "true",
    "line": 220,
    "state": "covered",
    "hits": "6634"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/4/value/decision/false",
    "outcome": "false",
    "line": 220,
    "state": "covered",
    "hits": "122594"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/4/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 220,
    "state": "covered",
    "hits": "123660"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/4/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 220,
    "state": "covered",
    "hits": "5568"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/4/value/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 220,
    "state": "covered",
    "hits": "128165"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/4/value/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 220,
    "state": "covered",
    "hits": "1063"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/4/value/true/tail/decision/true",
    "outcome": "true",
    "line": 225,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/16/statement/8/value/true/statement/4/value/true/tail/decision/false",
    "outcome": "false",
    "line": 225,
    "state": "covered",
    "hits": "6633"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/decision/true",
    "outcome": "true",
    "line": 229,
    "state": "covered",
    "hits": "7091"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/decision/false",
    "outcome": "false",
    "line": 229,
    "state": "covered",
    "hits": "122137"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/0",
    "outcome": "Error",
    "line": 231,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1",
    "outcome": "Ok",
    "line": 234,
    "state": "covered",
    "hits": "7082"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/1/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 236,
    "state": "covered",
    "hits": "1147"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/1/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 236,
    "state": "covered",
    "hits": "5935"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/1/value/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 239,
    "state": "covered",
    "hits": "1141"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/1/value/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 239,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/2/value/decision/true",
    "outcome": "true",
    "line": 240,
    "state": "covered",
    "hits": "11"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/2/value/decision/false",
    "outcome": "false",
    "line": 240,
    "state": "covered",
    "hits": "7071"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/3/value/decision/true",
    "outcome": "true",
    "line": 243,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/3/value/decision/false",
    "outcome": "false",
    "line": 243,
    "state": "covered",
    "hits": "7075"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/3/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 243,
    "state": "covered",
    "hits": "2367"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/3/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 243,
    "state": "covered",
    "hits": "4715"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/3/value/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 243,
    "state": "covered",
    "hits": "2370"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/statement/3/value/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 243,
    "state": "covered",
    "hits": "4712"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/tail/arm/0",
    "outcome": "Error",
    "line": 252,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/tail/arm/1",
    "outcome": "Ok",
    "line": 255,
    "state": "covered",
    "hits": "7082"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/tail/arm/1/body/arm/0",
    "outcome": "RecordDeclaration",
    "line": 256,
    "state": "covered",
    "hits": "5241"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/tail/arm/1/body/arm/1",
    "outcome": "EnumDeclaration",
    "line": 259,
    "state": "covered",
    "hits": "1578"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/tail/arm/1/body/arm/2",
    "outcome": "TypeDeclaration",
    "line": 262,
    "state": "covered",
    "hits": "263"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/tail/arm/1/body/arm/3",
    "outcome": "ImportDeclaration",
    "line": 263,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/16/statement/8/value/true/tail/true/tail/arm/1/body/block/tail/arm/1/body/arm/4",
    "outcome": "FunctionDeclaration",
    "line": 266,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/16/statement/9/value/decision/true",
    "outcome": "true",
    "line": 275,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/16/statement/9/value/decision/false",
    "outcome": "false",
    "line": 275,
    "state": "covered",
    "hits": "184994"
  },
  {
    "id": "declaration/16/statement/12/decision/body",
    "outcome": "body",
    "line": 280,
    "state": "covered",
    "hits": "46625"
  },
  {
    "id": "declaration/16/statement/12/decision/exit",
    "outcome": "exit",
    "line": 280,
    "state": "covered",
    "hits": "184995"
  },
  {
    "id": "declaration/16/statement/12/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 281,
    "state": "covered",
    "hits": "10798"
  },
  {
    "id": "declaration/16/statement/12/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 281,
    "state": "covered",
    "hits": "35827"
  },
  {
    "id": "declaration/16/statement/12/body/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 281,
    "state": "covered",
    "hits": "11884"
  },
  {
    "id": "declaration/16/statement/12/body/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 281,
    "state": "covered",
    "hits": "34741"
  },
  {
    "id": "declaration/16/statement/12/body/statement/1/value/arm/0",
    "outcome": "Error",
    "line": 283,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/16/statement/12/body/statement/1/value/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 284,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/16/statement/12/body/statement/1/value/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 284,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/16/statement/12/body/statement/1/value/arm/1",
    "outcome": "Ok",
    "line": 288,
    "state": "covered",
    "hits": "46617"
  },
  {
    "id": "declaration/16/tail/arm/0",
    "outcome": "Some",
    "line": 295,
    "state": "covered",
    "hits": "30"
  },
  {
    "id": "declaration/16/tail/arm/1",
    "outcome": "None",
    "line": 296,
    "state": "covered",
    "hits": "184965"
  },
  {
    "id": "declaration/17/statement/2/value/arm/0",
    "outcome": "SignatureParameter",
    "line": 310,
    "state": "covered",
    "hits": "12943"
  },
  {
    "id": "declaration/17/statement/2/value/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 311,
    "state": "covered",
    "hits": "12942"
  },
  {
    "id": "declaration/17/statement/2/value/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 311,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/17/statement/2/value/arm/0/body/block/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 312,
    "state": "covered",
    "hits": "12941"
  },
  {
    "id": "declaration/17/statement/2/value/arm/0/body/block/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 312,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/17/statement/2/value/arm/1",
    "outcome": "SignatureCore",
    "line": 319,
    "state": "covered",
    "hits": "43086"
  },
  {
    "id": "declaration/17/statement/2/value/arm/2",
    "outcome": "SignatureNominal",
    "line": 320,
    "state": "covered",
    "hits": "28052"
  },
  {
    "id": "declaration/17/statement/2/value/arm/3",
    "outcome": "SignatureCallable",
    "line": 321,
    "state": "covered",
    "hits": "1192"
  },
  {
    "id": "declaration/17/statement/2/value/arm/4",
    "outcome": "SignatureHole",
    "line": 322,
    "state": "covered",
    "hits": "33"
  },
  {
    "id": "declaration/17/statement/4/decision/body",
    "outcome": "body",
    "line": 325,
    "state": "covered",
    "hits": "22062"
  },
  {
    "id": "declaration/17/statement/4/decision/exit",
    "outcome": "exit",
    "line": 325,
    "state": "covered",
    "hits": "85306"
  },
  {
    "id": "declaration/17/statement/4/body/tail/arm/0",
    "outcome": "Error",
    "line": 327,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/17/statement/4/body/tail/arm/1",
    "outcome": "Ok",
    "line": 330,
    "state": "covered",
    "hits": "22062"
  },
  {
    "id": "declaration/17/tail/arm/0",
    "outcome": "Some",
    "line": 336,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/17/tail/arm/1",
    "outcome": "None",
    "line": 337,
    "state": "covered",
    "hits": "85305"
  },
  {
    "id": "declaration/17/tail/arm/1/body/arm/0",
    "outcome": "Some",
    "line": 338,
    "state": "covered",
    "hits": "12941"
  },
  {
    "id": "declaration/17/tail/arm/1/body/arm/1",
    "outcome": "None",
    "line": 339,
    "state": "covered",
    "hits": "72364"
  },
  {
    "id": "declaration/18/statement/3/decision/body",
    "outcome": "body",
    "line": 355,
    "state": "covered",
    "hits": "2722"
  },
  {
    "id": "declaration/18/statement/3/decision/exit",
    "outcome": "exit",
    "line": 355,
    "state": "covered",
    "hits": "2475"
  },
  {
    "id": "declaration/18/statement/3/body/statement/3/value/arm/0",
    "outcome": "Error",
    "line": 360,
    "state": "covered",
    "hits": "2313"
  },
  {
    "id": "declaration/18/statement/3/body/statement/3/value/arm/1",
    "outcome": "Ok",
    "line": 361,
    "state": "covered",
    "hits": "409"
  },
  {
    "id": "declaration/18/statement/3/body/statement/3/value/arm/1/body/arm/0",
    "outcome": "RecordDeclaration",
    "line": 362,
    "state": "covered",
    "hits": "56"
  },
  {
    "id": "declaration/18/statement/3/body/statement/3/value/arm/1/body/arm/1",
    "outcome": "EnumDeclaration",
    "line": 363,
    "state": "covered",
    "hits": "353"
  },
  {
    "id": "declaration/18/statement/3/body/statement/3/value/arm/1/body/arm/2",
    "outcome": "TypeDeclaration",
    "line": 364,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/18/statement/3/body/statement/3/value/arm/1/body/arm/3",
    "outcome": "ImportDeclaration",
    "line": 365,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/18/statement/3/body/statement/3/value/arm/1/body/arm/4",
    "outcome": "FunctionDeclaration",
    "line": 366,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/18/statement/3/body/statement/4/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 369,
    "state": "covered",
    "hits": "2672"
  },
  {
    "id": "declaration/18/statement/3/body/statement/4/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 369,
    "state": "covered",
    "hits": "50"
  },
  {
    "id": "declaration/18/statement/3/body/statement/4/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 369,
    "state": "covered",
    "hits": "2680"
  },
  {
    "id": "declaration/18/statement/3/body/statement/4/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 369,
    "state": "covered",
    "hits": "42"
  },
  {
    "id": "declaration/18/statement/3/body/statement/4/value/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 369,
    "state": "covered",
    "hits": "2312"
  },
  {
    "id": "declaration/18/statement/3/body/statement/4/value/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 369,
    "state": "covered",
    "hits": "410"
  },
  {
    "id": "declaration/18/statement/3/body/statement/6/decision/body",
    "outcome": "body",
    "line": 373,
    "state": "covered",
    "hits": "1426"
  },
  {
    "id": "declaration/18/statement/3/body/statement/6/decision/exit",
    "outcome": "exit",
    "line": 373,
    "state": "covered",
    "hits": "2722"
  },
  {
    "id": "declaration/18/statement/3/body/statement/6/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 374,
    "state": "covered",
    "hits": "1408"
  },
  {
    "id": "declaration/18/statement/3/body/statement/6/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 374,
    "state": "covered",
    "hits": "18"
  },
  {
    "id": "declaration/18/statement/3/body/statement/6/body/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 374,
    "state": "covered",
    "hits": "1408"
  },
  {
    "id": "declaration/18/statement/3/body/statement/6/body/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 374,
    "state": "covered",
    "hits": "18"
  },
  {
    "id": "declaration/18/statement/3/body/statement/8/decision/body",
    "outcome": "body",
    "line": 378,
    "state": "covered",
    "hits": "1428"
  },
  {
    "id": "declaration/18/statement/3/body/statement/8/decision/exit",
    "outcome": "exit",
    "line": 378,
    "state": "covered",
    "hits": "2722"
  },
  {
    "id": "declaration/18/statement/3/body/statement/8/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 379,
    "state": "covered",
    "hits": "1406"
  },
  {
    "id": "declaration/18/statement/3/body/statement/8/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 379,
    "state": "covered",
    "hits": "22"
  },
  {
    "id": "declaration/18/statement/3/body/statement/8/body/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 379,
    "state": "covered",
    "hits": "1407"
  },
  {
    "id": "declaration/18/statement/3/body/statement/8/body/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 379,
    "state": "covered",
    "hits": "21"
  },
  {
    "id": "declaration/18/statement/3/body/tail/decision/true",
    "outcome": "true",
    "line": 382,
    "state": "covered",
    "hits": "52"
  },
  {
    "id": "declaration/18/statement/3/body/tail/decision/false",
    "outcome": "false",
    "line": 382,
    "state": "covered",
    "hits": "2670"
  },
  {
    "id": "declaration/18/statement/3/body/tail/true/statement/0/value/args/0/args/0/decision/true",
    "outcome": "true",
    "line": 384,
    "state": "covered",
    "hits": "42"
  },
  {
    "id": "declaration/18/statement/3/body/tail/true/statement/0/value/args/0/args/0/decision/false",
    "outcome": "false",
    "line": 384,
    "state": "covered",
    "hits": "10"
  },
  {
    "id": "declaration/18/statement/3/body/tail/true/statement/0/value/args/0/args/0/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 384,
    "state": "covered",
    "hits": "47"
  },
  {
    "id": "declaration/18/statement/3/body/tail/true/statement/0/value/args/0/args/0/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 384,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/18/statement/3/body/tail/true/statement/0/value/args/0/args/0/false/tail/decision/true",
    "outcome": "true",
    "line": 386,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/18/statement/3/body/tail/true/statement/0/value/args/0/args/0/false/tail/decision/false",
    "outcome": "false",
    "line": 386,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/18/statement/4/decision/body",
    "outcome": "body",
    "line": 393,
    "state": "covered",
    "hits": "15089"
  },
  {
    "id": "declaration/18/statement/4/decision/exit",
    "outcome": "exit",
    "line": 393,
    "state": "covered",
    "hits": "2475"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/0",
    "outcome": "ImportDeclaration",
    "line": 402,
    "state": "covered",
    "hits": "756"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1",
    "outcome": "TypeDeclaration",
    "line": 403,
    "state": "covered",
    "hits": "222"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/decision/true",
    "outcome": "true",
    "line": 406,
    "state": "covered",
    "hits": "101"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/decision/false",
    "outcome": "false",
    "line": 406,
    "state": "covered",
    "hits": "121"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/decision/true",
    "outcome": "true",
    "line": 408,
    "state": "covered",
    "hits": "57"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/decision/false",
    "outcome": "false",
    "line": 408,
    "state": "covered",
    "hits": "64"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 408,
    "state": "covered",
    "hits": "64"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 408,
    "state": "covered",
    "hits": "57"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 408,
    "state": "covered",
    "hits": "64"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 408,
    "state": "covered",
    "hits": "57"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/true/statement/0/value/decision/true",
    "outcome": "true",
    "line": 409,
    "state": "covered",
    "hits": "57"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/true/statement/0/value/decision/false",
    "outcome": "false",
    "line": 409,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/true/statement/2/value/arm/0",
    "outcome": "Ok",
    "line": 411,
    "state": "covered",
    "hits": "56"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/true/statement/2/value/arm/1",
    "outcome": "Error",
    "line": 411,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/true/tail/decision/true",
    "outcome": "true",
    "line": 412,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/true/tail/decision/false",
    "outcome": "false",
    "line": 412,
    "state": "covered",
    "hits": "56"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/true/tail/false/statement/0/value/decision/true",
    "outcome": "true",
    "line": 414,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/statement/2/value/false/statement/0/value/true/tail/false/statement/0/value/decision/false",
    "outcome": "false",
    "line": 414,
    "state": "covered",
    "hits": "56"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 419,
    "state": "covered",
    "hits": "61"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 419,
    "state": "covered",
    "hits": "161"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/tail/true/statement/2/decision/body",
    "outcome": "body",
    "line": 428,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/tail/true/statement/2/decision/exit",
    "outcome": "exit",
    "line": 428,
    "state": "covered",
    "hits": "61"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/tail/true/statement/2/body/tail/arm/0",
    "outcome": "NamespaceTarget",
    "line": 430,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/tail/true/statement/2/body/tail/arm/1",
    "outcome": "DeclarationTarget",
    "line": 431,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/tail/true/statement/2/body/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 432,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/1/body/block/tail/true/statement/2/body/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 432,
    "state": "covered",
    "hits": "10"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/2",
    "outcome": "RecordDeclaration",
    "line": 450,
    "state": "covered",
    "hits": "675"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/2/body/block/statement/4/decision/body",
    "outcome": "body",
    "line": 455,
    "state": "covered",
    "hits": "1587"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/2/body/block/statement/4/decision/exit",
    "outcome": "exit",
    "line": 455,
    "state": "covered",
    "hits": "675"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/2/body/block/statement/4/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 456,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/2/body/block/statement/4/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 456,
    "state": "covered",
    "hits": "1587"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/3",
    "outcome": "EnumDeclaration",
    "line": 462,
    "state": "covered",
    "hits": "2292"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/3/body/block/statement/2/decision/body",
    "outcome": "body",
    "line": 465,
    "state": "covered",
    "hits": "5285"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/3/body/block/statement/2/decision/exit",
    "outcome": "exit",
    "line": 465,
    "state": "covered",
    "hits": "2292"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/3/body/block/statement/2/body/statement/1/decision/body",
    "outcome": "body",
    "line": 467,
    "state": "covered",
    "hits": "3043"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/3/body/block/statement/2/body/statement/1/decision/exit",
    "outcome": "exit",
    "line": 467,
    "state": "covered",
    "hits": "5285"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/4",
    "outcome": "FunctionDeclaration",
    "line": 473,
    "state": "covered",
    "hits": "11144"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/4/body/block/statement/4/decision/body",
    "outcome": "body",
    "line": 478,
    "state": "covered",
    "hits": "16484"
  },
  {
    "id": "declaration/18/statement/4/body/statement/7/value/arm/4/body/block/statement/4/decision/exit",
    "outcome": "exit",
    "line": 478,
    "state": "covered",
    "hits": "11144"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/decision/true",
    "outcome": "true",
    "line": 484,
    "state": "covered",
    "hits": "14333"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/decision/false",
    "outcome": "false",
    "line": 484,
    "state": "covered",
    "hits": "756"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/decision/true",
    "outcome": "true",
    "line": 489,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/decision/false",
    "outcome": "false",
    "line": 489,
    "state": "covered",
    "hits": "14331"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 489,
    "state": "covered",
    "hits": "1712"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 489,
    "state": "covered",
    "hits": "12621"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 489,
    "state": "covered",
    "hits": "12621"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 489,
    "state": "covered",
    "hits": "1712"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/condition/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 489,
    "state": "covered",
    "hits": "12621"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/condition/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 489,
    "state": "covered",
    "hits": "1712"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/condition/right/operand/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 492,
    "state": "covered",
    "hits": "1710"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/condition/right/operand/decision/skip-right",
    "outcome": "skip-right",
    "line": 492,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/condition/right/operand/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 493,
    "state": "covered",
    "hits": "855"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/4/value/condition/right/operand/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 493,
    "state": "covered",
    "hits": "855"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/5/value/arm/0",
    "outcome": "None",
    "line": 504,
    "state": "covered",
    "hits": "7391"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/5/value/arm/1",
    "outcome": "Some",
    "line": 505,
    "state": "covered",
    "hits": "6942"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/5/value/arm/1/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 507,
    "state": "covered",
    "hits": "17688"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/5/value/arm/1/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 507,
    "state": "covered",
    "hits": "6942"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/5/value/arm/1/body/block/statement/1/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 508,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/5/value/arm/1/body/block/statement/1/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 508,
    "state": "covered",
    "hits": "17687"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/5/value/arm/1/body/block/statement/1/body/statement/0/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 508,
    "state": "covered",
    "hits": "10746"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/5/value/arm/1/body/block/statement/1/body/statement/0/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 508,
    "state": "covered",
    "hits": "6942"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/6/decision/body",
    "outcome": "body",
    "line": 517,
    "state": "covered",
    "hits": "5263"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/6/decision/exit",
    "outcome": "exit",
    "line": 517,
    "state": "covered",
    "hits": "14333"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/6/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 518,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/6/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 518,
    "state": "covered",
    "hits": "5261"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/6/body/statement/0/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 518,
    "state": "covered",
    "hits": "5261"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/6/body/statement/0/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 518,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/6/body/statement/0/value/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 518,
    "state": "covered",
    "hits": "5261"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/6/body/statement/0/value/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 518,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/6/body/statement/0/value/condition/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 518,
    "state": "covered",
    "hits": "5261"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/6/body/statement/0/value/condition/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 518,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/9/decision/body",
    "outcome": "body",
    "line": 531,
    "state": "covered",
    "hits": "32480"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/9/decision/exit",
    "outcome": "exit",
    "line": 531,
    "state": "covered",
    "hits": "14333"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/9/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 532,
    "state": "covered",
    "hits": "32480"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/9/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 532,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/9/body/statement/1/value/subject/args/6/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 544,
    "state": "covered",
    "hits": "13907"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/9/body/statement/1/value/subject/args/6/decision/skip-right",
    "outcome": "skip-right",
    "line": 544,
    "state": "covered",
    "hits": "18573"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/9/body/statement/1/value/arm/0",
    "outcome": "Error",
    "line": 546,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/9/body/statement/1/value/arm/0/body/block/statement/0/value/args/0/args/0/left/left/left/left/right/arm/0",
    "outcome": "None",
    "line": 549,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/9/body/statement/1/value/arm/0/body/block/statement/0/value/args/0/args/0/left/left/left/left/right/arm/1",
    "outcome": "Some",
    "line": 550,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/statement/9/body/statement/1/value/arm/1",
    "outcome": "Ok",
    "line": 555,
    "state": "covered",
    "hits": "32463"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/tail/decision/true",
    "outcome": "true",
    "line": 561,
    "state": "covered",
    "hits": "14308"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/tail/decision/false",
    "outcome": "false",
    "line": 561,
    "state": "covered",
    "hits": "25"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/tail/true/statement/0/decision/body",
    "outcome": "body",
    "line": 562,
    "state": "covered",
    "hits": "810249"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/tail/true/statement/0/decision/exit",
    "outcome": "exit",
    "line": 562,
    "state": "covered",
    "hits": "14308"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/tail/true/statement/0/body/tail/decision/true",
    "outcome": "true",
    "line": 563,
    "state": "covered",
    "hits": "14308"
  },
  {
    "id": "declaration/18/statement/4/body/statement/8/value/true/tail/true/statement/0/body/tail/decision/false",
    "outcome": "false",
    "line": 563,
    "state": "covered",
    "hits": "795941"
  },
  {
    "id": "declaration/18/statement/5/value/decision/true",
    "outcome": "true",
    "line": 572,
    "state": "covered",
    "hits": "1038"
  },
  {
    "id": "declaration/18/statement/5/value/decision/false",
    "outcome": "false",
    "line": 572,
    "state": "covered",
    "hits": "1437"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/decision/body",
    "outcome": "body",
    "line": 573,
    "state": "covered",
    "hits": "38406"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/decision/exit",
    "outcome": "exit",
    "line": 573,
    "state": "covered",
    "hits": "1038"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/decision/body",
    "outcome": "body",
    "line": 574,
    "state": "covered",
    "hits": "1919634"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/decision/exit",
    "outcome": "exit",
    "line": 574,
    "state": "covered",
    "hits": "38406"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/decision/true",
    "outcome": "true",
    "line": 575,
    "state": "covered",
    "hits": "38406"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/decision/false",
    "outcome": "false",
    "line": 575,
    "state": "covered",
    "hits": "1881228"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/2/decision/body",
    "outcome": "body",
    "line": 578,
    "state": "covered",
    "hits": "100686"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/2/decision/exit",
    "outcome": "exit",
    "line": 578,
    "state": "covered",
    "hits": "38406"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/2/body/statement/0/value/arm/0",
    "outcome": "Error",
    "line": 581,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/2/body/statement/0/value/arm/1",
    "outcome": "Ok",
    "line": 582,
    "state": "covered",
    "hits": "100686"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/2/body/statement/0/value/arm/1/body/block/statement/0/value/args/0/args/0/decision/true",
    "outcome": "true",
    "line": 583,
    "state": "covered",
    "hits": "38406"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/2/body/statement/0/value/arm/1/body/block/statement/0/value/args/0/args/0/decision/false",
    "outcome": "false",
    "line": 583,
    "state": "covered",
    "hits": "62280"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/2/body/statement/0/value/arm/1/body/block/statement/0/value/args/0/args/0/false/tail/decision/true",
    "outcome": "true",
    "line": 584,
    "state": "covered",
    "hits": "38406"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/2/body/statement/0/value/arm/1/body/block/statement/0/value/args/0/args/0/false/tail/decision/false",
    "outcome": "false",
    "line": 584,
    "state": "covered",
    "hits": "23874"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/3/value/args/0/args/3/args/0/decision/true",
    "outcome": "true",
    "line": 589,
    "state": "covered",
    "hits": "1038"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/3/value/args/0/args/3/args/0/decision/false",
    "outcome": "false",
    "line": 589,
    "state": "covered",
    "hits": "37368"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/3/value/args/0/args/3/args/0/false/tail/decision/true",
    "outcome": "true",
    "line": 590,
    "state": "covered",
    "hits": "1038"
  },
  {
    "id": "declaration/18/statement/5/value/true/statement/0/body/statement/0/body/tail/true/statement/3/value/args/0/args/3/args/0/false/tail/decision/false",
    "outcome": "false",
    "line": 590,
    "state": "covered",
    "hits": "36330"
  }
]

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": "enum-declaration",
    "line": 13
  },
  {
    "id": "declaration/8",
    "reason": "enum-declaration",
    "line": 19
  },
  {
    "id": "declaration/9",
    "reason": "record-declaration",
    "line": 28
  },
  {
    "id": "declaration/10",
    "reason": "record-declaration",
    "line": 33
  },
  {
    "id": "declaration/11",
    "reason": "record-declaration",
    "line": 38
  },
  {
    "id": "declaration/12",
    "reason": "record-declaration",
    "line": 45
  }
]