src/compiler/module_effects.panack
Green: covered; red: known zero; amber: unavailable. Blank lines are outside the executable-start-line denominator.
1 pub import project/src/compiler/module_bodies::{SignatureType} 2 import project/src/compiler/module_bodies::{body_state_payload_restricted} 3 import project/src/compiler/module_bodies::{body_functions_with_anonymous} 4 import project/src/compiler/resolver::{is_async_builtin} 5 pub import project/src/compiler/types::{SourceSpan} 6 import project/src/compiler/module_bindings::{module_declaration_display} 7 import project/src/compiler/module_bindings::{ModulePackageIdentity.ToolchainModulePackage} 8 pub import project/src/compiler/module_bindings::{DeclarationIdentity} 9 pub import project/src/compiler/module_bodies::{ 10 Diagnostic, LoadedModule, ModuleBindingGraph, ModuleSignature, BoundFunctionBody, 11 BodyTarget, BodyCheckStatus, SignatureEffect 12 } 13 import project/src/compiler/module_bodies::{ 14 BodyCheckStatus.BodyIdentityChecked, BodyCheckStatus.BodyInvalid, 15 BodyContext, BodyTarget.BodyCore, BodyTarget.BodyDeclaration, 16 BodyNode, BodyNode.BodyArray, BodyNode.BodyAssignment, BodyNode.BodyBinary, 17 BodyNode.BodyBinding, BodyNode.BodyBlock, BodyNode.BodyCall, BodyNode.BodyEmpty, 18 BodyNode.BodyField, BodyNode.BodyFor, BodyNode.BodyFunction, BodyNode.BodyAnonymousFunction, BodyNode.BodyIf, 19 BodyNode.BodyIndex, BodyNode.BodyInterpolation, BodyNode.BodyLiteral, 20 BodyNode.BodyLocalUse, BodyNode.BodyMatch, BodyNode.BodyUnary, BodyNode.BodyWhile, 21 BoundBody, body_signature, body_type_text, 22 ModuleDeclarationKind.ModuleFunction, 23 SignatureEffect.SignatureAsync, SignatureEffect.SignatureOrdinary, 24 SignatureEffect.SignaturePure, SignatureTypeIdentity.SignatureCallable, 25 SignatureTypeIdentity.SignatureCore, SignatureTypeIdentity.SignatureHole, 26 SignatureTypeIdentity.SignatureNominal, SignatureTypeIdentity.SignatureParameter 27 } 28 pub import project/src/compiler/purity::{EffectEvidence} 29 import project/src/compiler/purity::{EffectDependency, CheckedEffects, combine_effects, is_impure_builtin} 30 31 // Check local call/await boundaries after names and callable types have been 32 // resolved to module identities. Infer only the closed local-resource permission 33 // for direct ordinary wrappers; other effect declarations remain explicit. 34 record ModuleEffectContext { 35 body: BodyContext, 36 function_name: Str, 37 owner_file: Str, 38 mode: Str, 39 local_functions: Set[DeclarationIdentity], 40 local_reasons: Map[DeclarationIdentity,[EffectDependency]] 41 } 42 43 pub record CheckedModuleEffects { 44 diagnostics: [Diagnostic], 45 evidence: [EffectEvidence], 46 function_types: Map[Str, Bool] 47 } 48 49 pure module_effect_mode(effect: Option[SignatureEffect]): Str { 50 match effect { 51 None() => "ordinary", 52 Some(value) => match value { 53 SignaturePure() => "pure", 54 SignatureOrdinary() => "ordinary", 55 SignatureAsync() => "async" 56 } 57 } 58 } 59 60 pure module_ordinary_call_diagnostic(target: BodyTarget, display_name: Str): Str { 61 match target { 62 BodyDeclaration(binding) => { 63 owner = binding.identity 64 if owner.module.package == ToolchainModulePackage() && 65 ((owner.module.path == "time.panack" && owner.name == "now") || 66 (owner.module.path == "environment.panack" && owner.name == "get")) { 67 module_name = if owner.module.path == "time.panack" { "time" } else { "environment" } 68 "async function cannot call ordinary function " + display_name + 69 "; import stdlib/" + module_name + "/async and await this call" 70 } else { 71 "async function cannot call blocking function " + display_name 72 } 73 }, 74 BodyCore(name) => "async function cannot call blocking function " + display_name 75 } 76 } 77 78 79 pure module_effect_for_target( 80 context: BodyContext, 81 target: BodyTarget 82 ): Option[SignatureEffect] { 83 match target { 84 BodyDeclaration(binding) => match body_signature(context.signatures, binding.identity) { 85 None() => if binding.kind == ModuleFunction() { None() } else { Some(SignaturePure()) }, 86 Some(signature) => match signature.effect { 87 None() => if binding.kind == ModuleFunction() { None() } else { Some(SignaturePure()) }, 88 Some(effect) => Some(effect) 89 } 90 }, 91 BodyCore(name) => { 92 if name == "$intrinsic_call" { 93 None() 94 } else { 95 if is_async_builtin(name) { 96 Some(SignatureAsync()) 97 } else { 98 if is_impure_builtin(name) { 99 Some(SignatureOrdinary()) 100 } else { 101 Some(SignaturePure()) 102 } 103 } 104 } 105 } 106 } 107 } 108 109 pure module_effect_for_call( 110 context: BodyContext, 111 target: BodyTarget, 112 expression: BoundBody 113 ): Option[SignatureEffect] { 114 match target { 115 BodyCore(name) => if name == "$intrinsic_call" { 116 if expression.children.len() == 0 { 117 None() 118 } else { 119 match expression.children[0].type { 120 None() => None(), 121 Some(signature_type) => match signature_type.identity { 122 SignatureCallable(callable_effect) => Some(callable_effect), 123 SignatureCore(core_name) => None(), 124 SignatureNominal(identity) => None(), 125 SignatureParameter(owner, index) => None(), 126 SignatureHole(owner, path, index) => None() 127 } 128 } 129 } 130 } else { 131 module_effect_for_target(context, target) 132 }, 133 BodyDeclaration(binding) => module_effect_for_target(context, target) 134 } 135 } 136 137 pure module_call_effect_known(context: BodyContext, target: BodyTarget, expression: BoundBody): Bool { 138 match target { 139 BodyCore(name) => if name == "$intrinsic_call" { 140 if expression.children.len() == 0 { 141 false 142 } else { 143 match expression.children[0].type { 144 None() => false, 145 Some(signature_type) => match signature_type.identity { 146 SignatureHole(owner, path, index) => false, 147 SignatureCore(core_name) => true, 148 SignatureNominal(identity) => true, 149 SignatureParameter(owner, index) => true, 150 SignatureCallable(effect) => true 151 } 152 } 153 } 154 } else { true }, 155 BodyDeclaration(binding) => match module_effect_for_target(context, target) { 156 None() => false, 157 Some(effect) => true 158 } 159 } 160 } 161 162 pure module_effect_target_name(target: BodyTarget): Str { 163 match target { 164 BodyDeclaration(binding) => binding.identity.module.path + ":" + module_declaration_display(binding), 165 BodyCore(name) => if name == "$intrinsic_call" { 166 "call" 167 } else { 168 name 169 } 170 } 171 } 172 173 pure module_effect_name(effect: SignatureEffect): Str { 174 match effect { 175 SignaturePure() => "pure", 176 SignatureOrdinary() => "ordinary", 177 SignatureAsync() => "async" 178 } 179 } 180 181 // Local resource operations mutate owned shells but cannot block on host I/O. 182 // Infer only their direct wrappers, transitively through checked identities. 183 // Unknown/indirect calls and ordinary host services never acquire this permission. 184 pure module_local_primitive(name: Str): Bool { 185 name == "http_body" || name == "http_body_size" || name == "http_body_append" || 186 name == "http_state_create" || name == "http_state_setup_error" || 187 name == "http_state_fail_setup" || name == "http_state_register" || 188 name == "http_writer_get_status" || name == "http_writer_get_headers" || 189 name == "http_writer_status" || name == "http_writer_headers" || 190 name == "http_writer_commit" || name == "http_writer_reject" || 191 name == "http_connection_writer" || name == "http_connection_routes" || 192 name == "http_connection_fallback" || name == "http_connection_admit" 193 } 194 195 pure module_local_target(target: BodyTarget, known: Set[DeclarationIdentity]): Bool { 196 match target { 197 BodyCore(name) => module_local_primitive(name), 198 BodyDeclaration(binding) => known.has(binding.identity) 199 } 200 } 201 202 record LocalEffectSummary { safe: Bool, local: Bool, dependencies: [EffectDependency] } 203 record LocalPermissions { allowed: Set[DeclarationIdentity], reasons: Map[DeclarationIdentity,[EffectDependency]] } 204 205 pure module_local_body(context: BodyContext, body: BoundBody, known: Set[DeclarationIdentity], retain: Bool): LocalEffectSummary { 206 mut safe = true 207 mut local = false 208 mut dependencies: [EffectDependency] = [] 209 match body.node { 210 BodyCall(target, types, arguments) => { 211 local = module_local_target(target, known) 212 if retain && local { dependencies = dependencies.append(EffectDependency(module_effect_target_name(target), body.span)) } 213 safe = local || module_effect_for_call(context, target, body) == Some(SignaturePure()) 214 match target { 215 BodyCore(name) => if name == "$intrinsic_call" { safe = false }, 216 BodyDeclaration(binding) => {} 217 } 218 }, 219 BodyLiteral(value) => {}, BodyInterpolation(parts) => {}, BodyLocalUse(identity, captured_domain) => {}, 220 BodyFunction(binding) => {}, 221 BodyAnonymousFunction(anonymous) => {}, BodyArray() => {}, BodyUnary(operator) => {}, 222 BodyBinary(operator) => {}, BodyField(field) => {}, BodyIndex() => {}, BodyIf(value) => {}, 223 BodyBlock(value, original_span, statement_spans) => {}, BodyMatch(targets, locals, spans) => {}, BodyBinding(identity, type, mutable, inferred, evidence) => {}, 224 BodyAssignment(identity, evidence) => {}, BodyWhile() => {}, BodyFor(identity) => {}, BodyEmpty() => {} 225 } 226 for child in body.children { 227 summary = module_local_body(context, child, known, retain) 228 if retain { dependencies = dependencies.concat(summary.dependencies) } 229 safe = safe && summary.safe 230 local = local || summary.local 231 } 232 LocalEffectSummary(safe, local, dependencies) 233 } 234 235 pure module_local_functions(graph: ModuleBindingGraph, modules: [LoadedModule], 236 signatures: [ModuleSignature], functions: [BoundFunctionBody], retain: Bool): LocalPermissions { 237 mut reasons: Map[DeclarationIdentity,[EffectDependency]] = map() 238 mut known: Set[DeclarationIdentity] = set() 239 mut changed = true 240 while changed { 241 changed = false 242 for function in body_functions_with_anonymous(functions) { 243 identity = function.signature.binding.identity 244 if function.status != BodyInvalid() && function.signature.effect == Some(SignatureOrdinary()) && !known.has(identity) { 245 context = BodyContext(graph, modules, signatures, identity, function.signature.parameters, map(), false) 246 summary = module_local_body(context, function.body, known, retain) 247 if summary.safe && summary.local { 248 if retain { reasons = reasons.put(identity, summary.dependencies) } 249 known = known.add(identity) 250 changed = true 251 } 252 } 253 } 254 } 255 LocalPermissions(known, reasons) 256 } 257 258 pure module_effect_call( 259 context: ModuleEffectContext, target: BodyTarget, expression: BoundBody, 260 awaited: Bool, retain: Bool 261 ): CheckedEffects { 262 effect = module_effect_for_call(context.body, target, expression) 263 known = if effect == None() && awaited { 264 module_call_effect_known(context.body, target, expression) 265 } else { false } 266 module_effect_call_details(context, target, expression.span, effect, known, awaited, retain) 267 } 268 269 pure module_effect_call_details( 270 context: ModuleEffectContext, target: BodyTarget, span: SourceSpan, 271 effect: Option[SignatureEffect], known: Bool, awaited: Bool, retain: Bool 272 ): CheckedEffects { 273 mut diagnostics: [Diagnostic] = [] 274 mut evidence: [EffectEvidence] = [] 275 mut violations: [Str] = [] 276 target_name: Str = module_effect_target_name(target) 277 display_name: Str = if target_name == "call" { "call" } else { target_name } 278 279 match effect { 280 None() => { 281 if awaited && known { 282 reason: Str = "await requires an async call" 283 diagnostics = diagnostics.append(Diagnostic(reason, span.start)) 284 violations = violations.append(reason) 285 } 286 mut indirect_call: Bool = false 287 match target { 288 BodyCore(name) => { indirect_call = name == "$intrinsic_call" }, 289 BodyDeclaration(binding) => {} 290 } 291 if retain && indirect_call { 292 evidence = evidence.append(EffectEvidence( 293 context.function_name, 294 Some(span), 295 "call", 296 context.mode, 297 target_name, 298 "indirect call; effect unavailable", 299 "unavailable", 300 awaited, 301 violations, [], context.owner_file 302 )) 303 } 304 }, 305 Some(target_effect) => { 306 async_call: Bool = target_effect == SignatureAsync() 307 impure: Bool = target_effect != SignaturePure() 308 if awaited && !async_call { 309 reason: Str = "await requires an async call" 310 diagnostics = diagnostics.append(Diagnostic(reason, span.start)) 311 violations = violations.append(reason) 312 } 313 if async_call && !awaited { 314 reason: Str = "async call requires await inside an async function" 315 diagnostics = diagnostics.append(Diagnostic(reason, span.start)) 316 violations = violations.append(reason) 317 } 318 if context.mode == "pure" && impure { 319 reason: Str = "pure function cannot call impure function ${display_name}" 320 diagnostics = diagnostics.append(Diagnostic(reason, span.start)) 321 violations = violations.append(reason) 322 } 323 if context.mode == "async" && impure && !async_call && !module_local_target(target, context.local_functions) { 324 reason: Str = module_ordinary_call_diagnostic(target, display_name) 325 diagnostics = diagnostics.append(Diagnostic(reason, span.start)) 326 violations = violations.append(reason) 327 } 328 if retain { 329 allowed_local = context.mode == "async" && impure && !async_call && module_local_target(target, context.local_functions) 330 mut supporting: [EffectDependency] = [] 331 if allowed_local { 332 match target { 333 BodyCore(name) => {}, 334 BodyDeclaration(binding) => if context.local_reasons.has(binding.identity) { 335 supporting = context.local_reasons.get(binding.identity) 336 } 337 } 338 } 339 evidence = evidence.append(EffectEvidence( 340 context.function_name, 341 Some(span), 342 "call", 343 context.mode, 344 target_name, 345 if allowed_local { "local resource permission" } else if target_name == "call" { "callable type" } else { "checked declaration identity" }, 346 module_effect_name(target_effect), 347 awaited, 348 violations, supporting, context.owner_file 349 )) 350 } 351 } 352 } 353 CheckedEffects(diagnostics, evidence) 354 } 355 356 pure module_effect_expression( 357 context: ModuleEffectContext, 358 expression: BoundBody, 359 awaited: Bool, 360 retain: Bool 361 ): CheckedEffects { 362 mut result: CheckedEffects = CheckedEffects([], []) 363 mut children_walked: Bool = false 364 match expression.node { 365 BodyUnary(operator) => { 366 if operator == "await" { 367 mut violations: [Str] = [] 368 mut diagnostics: [Diagnostic] = [] 369 if context.mode != "async" { 370 reason: Str = "await requires an async function" 371 diagnostics = diagnostics.append(Diagnostic(reason, expression.span.start)) 372 violations = violations.append(reason) 373 } 374 mut invalid_await_operand: Bool = expression.children.len() == 0 375 if expression.children.len() > 0 { 376 match expression.children[0].node { 377 BodyCall(target, types, call_arguments) => {}, 378 BodyLiteral(value) => { invalid_await_operand = true }, 379 BodyInterpolation(parts) => { invalid_await_operand = true }, 380 BodyLocalUse(identity, captured_domain) => { invalid_await_operand = true }, 381 BodyFunction(binding) => { invalid_await_operand = true }, 382 BodyAnonymousFunction(anonymous) => { invalid_await_operand = true }, 383 BodyArray() => { invalid_await_operand = true }, 384 BodyUnary(nested) => { invalid_await_operand = true }, 385 BodyBinary(nested) => { invalid_await_operand = true }, 386 BodyField(field) => { invalid_await_operand = true }, 387 BodyIndex() => { invalid_await_operand = true }, 388 BodyIf(has_else) => { invalid_await_operand = true }, 389 BodyBlock(has_value, original_span, statement_spans) => { invalid_await_operand = true }, 390 BodyMatch(targets, locals, spans) => { invalid_await_operand = true }, 391 BodyBinding(identity, type, mutable, inferred, type_evidence) => { invalid_await_operand = true }, 392 BodyAssignment(identity, assignment_evidence) => { invalid_await_operand = true }, 393 BodyWhile() => { invalid_await_operand = true }, 394 BodyFor(identity) => { invalid_await_operand = true }, 395 BodyEmpty() => { invalid_await_operand = true } 396 } 397 } 398 if invalid_await_operand { 399 reason: Str = "await requires an async call" 400 diagnostics = diagnostics.append(Diagnostic(reason, expression.span.start)) 401 violations = violations.append(reason) 402 } 403 if retain { 404 result = CheckedEffects(diagnostics, [EffectEvidence( 405 context.function_name, 406 Some(expression.span), 407 "await", 408 context.mode, 409 "", 410 "checked call boundary", 411 "async", 412 true, 413 violations, [], context.owner_file 414 )]) 415 } else { 416 result = CheckedEffects(diagnostics, []) 417 } 418 if expression.children.len() > 0 { 419 result = combine_effects(result, module_effect_expression(context, expression.children[0], true, retain)) 420 } 421 children_walked = true 422 } else { 423 if expression.children.len() > 0 { 424 result = module_effect_expression(context, expression.children[0], false, retain) 425 } 426 children_walked = true 427 } 428 }, 429 BodyCall(target, types, call_arguments) => { 430 result = module_effect_call(context, target, expression, awaited, retain) 431 for child in expression.children { 432 result = combine_effects(result, module_effect_expression(context, child, false, retain)) 433 } 434 children_walked = true 435 }, 436 BodyBlock(has_value, original_span, statement_spans) => { 437 mut statement_count: Nat = expression.children.len() 438 if has_value { 439 if statement_count > 0 { 440 statement_count = statement_count - 1 441 } 442 } 443 mut index: Nat = 0 444 for child in expression.children { 445 if index < statement_count { 446 match child.node { 447 BodyUnary(operator) => if operator == "await" { 448 match child.type { 449 None() => {}, 450 Some(type) => if type.identity != SignatureCore("Unit") { 451 reason: Str = "bind, match or return a non-Unit await result" 452 result = combine_effects(result, CheckedEffects( 453 [Diagnostic(reason, child.span.start)], 454 if retain { [EffectEvidence( 455 context.function_name, 456 Some(child.span), 457 "await result", 458 context.mode, 459 "", 460 "result type", 461 body_type_text(type), 462 true, 463 [reason], [], context.owner_file 464 )] } else { [] } 465 )) 466 } 467 } 468 }, 469 BodyLiteral(value) => {}, BodyInterpolation(parts) => {}, BodyLocalUse(identity, captured_domain) => {}, 470 BodyFunction(binding) => {}, 471 BodyAnonymousFunction(anonymous) => {}, BodyCall(target, types, call_arguments) => {}, BodyArray() => {}, 472 BodyBinary(operator) => {}, BodyField(field) => {}, BodyIndex() => {}, BodyIf(value) => {}, 473 BodyBlock(value, nested_span, nested_statement_spans) => {}, BodyMatch(targets, locals, spans) => {}, BodyBinding(identity, type, mutable, inferred, type_evidence) => {}, 474 BodyAssignment(identity, assignment_evidence) => {}, BodyWhile() => {}, BodyFor(identity) => {}, BodyEmpty() => {} 475 } 476 } 477 result = combine_effects(result, module_effect_expression(context, child, false, retain)) 478 index = index + 1 479 } 480 children_walked = true 481 }, 482 BodyLiteral(value) => {}, BodyInterpolation(parts) => {}, BodyLocalUse(identity, captured_domain) => {}, 483 BodyFunction(binding) => {}, 484 BodyAnonymousFunction(anonymous) => {}, BodyArray() => {}, BodyBinary(operator) => {}, BodyField(field) => {}, 485 BodyIndex() => {}, BodyIf(value) => {}, BodyMatch(targets, locals, spans) => {}, 486 BodyBinding(identity, type, mutable, inferred, type_evidence) => {}, BodyAssignment(identity, assignment_evidence) => {}, 487 BodyWhile() => {}, BodyFor(identity) => {}, BodyEmpty() => {} 488 } 489 if !children_walked { 490 for child in expression.children { 491 result = combine_effects(result, module_effect_expression(context, child, false, retain)) 492 } 493 } 494 result 495 } 496 497 pub pure check_module_effects( 498 graph: ModuleBindingGraph, 499 modules: [LoadedModule], 500 signatures: [ModuleSignature], 501 functions: [BoundFunctionBody], 502 retain: Bool 503 ): CheckedModuleEffects { 504 mut diagnostics: [Diagnostic] = [] 505 mut evidence: [EffectEvidence] = [] 506 mut function_types: Map[Str, Bool] = map() 507 local_functions = module_local_functions(graph, modules, signatures, functions, retain) 508 for function in body_functions_with_anonymous(functions) { 509 valid_body: Bool = function.status != BodyInvalid() 510 function_types = function_types.put(function.signature.binding.identity.name, 511 valid_body && function.status == BodyIdentityChecked()) 512 if valid_body { 513 body_context: BodyContext = BodyContext( 514 graph, 515 modules, 516 signatures, 517 function.signature.binding.identity, 518 function.signature.parameters, 519 map(), 520 false 521 ) 522 context: ModuleEffectContext = ModuleEffectContext( 523 body_context, 524 function.signature.binding.identity.name, 525 function.signature.binding.span.start.file, 526 module_effect_mode(function.signature.effect), 527 local_functions.allowed, local_functions.reasons 528 ) 529 checked: CheckedEffects = module_effect_expression(context, function.body, false, retain) 530 diagnostics = diagnostics.concat(checked.diagnostics) 531 evidence = evidence.concat(checked.evidence) 532 } 533 } 534 CheckedModuleEffects(diagnostics, evidence, function_types) 535 } 536 537 // Plain-mode cache facts retain call boundaries, not checked expression trees. 538 // Direct declaration effects and local-resource permissions are resolved again 539 // against the current project. Only indirect callable type facts are retained. 540 pub record EffectCallFact { 541 target: BodyTarget, 542 span: SourceSpan, 543 indirect_effect: Option[SignatureEffect], 544 indirect_known: Bool 545 } 546 pub enum EffectCheckFact { 547 EffectCallCheck(EffectCallFact, Bool), 548 EffectStaticCheck(Diagnostic) 549 } 550 pub record StateCallFact { 551 target: DeclarationIdentity, 552 arguments: [SignatureType], 553 span: SourceSpan 554 } 555 556 pub record FunctionEffectFacts { 557 identity: DeclarationIdentity, 558 owner_file: Str, 559 effect: Option[SignatureEffect], 560 status: BodyCheckStatus, 561 local_calls: [EffectCallFact], 562 checks: [EffectCheckFact], 563 state_payloads: [SignatureType], 564 state_calls: [StateCallFact] 565 } 566 567 pure effect_call_fact(expression: BoundBody, target: BodyTarget): EffectCallFact { 568 mut effect: Option[SignatureEffect] = None() 569 mut known = false 570 match target { 571 BodyCore(name) => if name == "$intrinsic_call" && expression.children.len() > 0 { 572 match expression.children[0].type { 573 None() => {}, 574 Some(type) => match type.identity { 575 SignatureCallable(callable_effect) => { effect = Some(callable_effect); known = true }, 576 SignatureHole(owner, path, index) => {}, 577 SignatureCore(core_name) => { known = true }, 578 SignatureNominal(identity) => { known = true }, 579 SignatureParameter(owner, index) => { known = true } 580 } 581 } 582 }, 583 BodyDeclaration(binding) => {} 584 } 585 EffectCallFact(target, expression.span, effect, known) 586 } 587 588 pure effect_local_calls(body: BoundBody): [EffectCallFact] { 589 mut calls: [EffectCallFact] = [] 590 match body.node { 591 BodyCall(target, types, arguments) => { calls = calls.append(effect_call_fact(body, target)) }, 592 BodyLiteral(value) => {}, BodyInterpolation(parts) => {}, BodyLocalUse(identity, domain) => {}, 593 BodyFunction(binding) => {}, 594 BodyAnonymousFunction(anonymous) => {}, BodyArray() => {}, BodyUnary(ignored_unary) => {}, 595 BodyBinary(ignored_binary) => {}, BodyField(field) => {}, BodyIndex() => {}, BodyIf(value) => {}, 596 BodyBlock(value, ignored_span, ignored_spans) => {}, BodyMatch(targets, locals, ignored_match_spans) => {}, 597 BodyBinding(identity, type, mutable, inferred, evidence) => {}, BodyAssignment(identity, evidence) => {}, 598 BodyWhile() => {}, BodyFor(identity) => {}, BodyEmpty() => {} 599 } 600 for child in body.children { calls = calls.concat(effect_local_calls(child)) } 601 calls 602 } 603 604 pure effect_check_facts(expression: BoundBody, mode: Str, awaited: Bool): [EffectCheckFact] { 605 mut checks: [EffectCheckFact] = [] 606 mut walked = false 607 match expression.node { 608 BodyUnary(operator) => { 609 if operator == "await" { 610 if mode != "async" { 611 checks = checks.append(EffectStaticCheck(Diagnostic("await requires an async function", expression.span.start))) 612 } 613 mut valid_operand = false 614 if expression.children.len() > 0 { 615 match expression.children[0].node { 616 BodyCall(target, types, arguments) => { valid_operand = true }, 617 BodyLiteral(value) => {}, BodyInterpolation(parts) => {}, BodyLocalUse(identity, domain) => {}, 618 BodyFunction(binding) => {}, 619 BodyAnonymousFunction(anonymous) => {}, BodyArray() => {}, BodyUnary(ignored_unary) => {}, 620 BodyBinary(ignored_binary) => {}, BodyField(field) => {}, BodyIndex() => {}, BodyIf(value) => {}, 621 BodyBlock(value, ignored_span, ignored_spans) => {}, BodyMatch(targets, locals, ignored_match_spans) => {}, 622 BodyBinding(identity, type, mutable, inferred, evidence) => {}, BodyAssignment(identity, evidence) => {}, 623 BodyWhile() => {}, BodyFor(identity) => {}, BodyEmpty() => {} 624 } 625 } 626 if !valid_operand { 627 checks = checks.append(EffectStaticCheck(Diagnostic("await requires an async call", expression.span.start))) 628 } 629 } 630 if expression.children.len() > 0 { 631 checks = checks.concat(effect_check_facts(expression.children[0], mode, operator == "await")) 632 } 633 walked = true 634 }, 635 BodyCall(target, types, arguments) => { 636 checks = checks.append(EffectCallCheck(effect_call_fact(expression, target), awaited)) 637 }, 638 BodyBlock(has_value, span, spans) => { 639 mut statements = expression.children.len() 640 if has_value && statements > 0 { statements = statements - 1 } 641 mut index: Nat = 0 642 for child in expression.children { 643 if index < statements { 644 match child.node { 645 BodyUnary(operator) => if operator == "await" { 646 match child.type { 647 None() => {}, 648 Some(type) => if type.identity != SignatureCore("Unit") { 649 checks = checks.append(EffectStaticCheck(Diagnostic("bind, match or return a non-Unit await result", child.span.start))) 650 } 651 } 652 }, 653 BodyLiteral(value) => {}, BodyInterpolation(parts) => {}, BodyLocalUse(identity, domain) => {}, 654 BodyFunction(binding) => {}, 655 BodyAnonymousFunction(anonymous) => {}, BodyCall(target, types, arguments) => {}, BodyArray() => {}, 656 BodyBinary(ignored_binary) => {}, BodyField(field) => {}, BodyIndex() => {}, BodyIf(value) => {}, 657 BodyBlock(value, ignored_span, ignored_spans) => {}, BodyMatch(targets, locals, ignored_match_spans) => {}, 658 BodyBinding(identity, type, mutable, inferred, evidence) => {}, BodyAssignment(identity, evidence) => {}, 659 BodyWhile() => {}, BodyFor(identity) => {}, BodyEmpty() => {} 660 } 661 } 662 checks = checks.concat(effect_check_facts(child, mode, false)) 663 index = index + 1 664 } 665 walked = true 666 }, 667 BodyLiteral(value) => {}, BodyInterpolation(parts) => {}, BodyLocalUse(identity, domain) => {}, 668 BodyFunction(binding) => {}, 669 BodyAnonymousFunction(anonymous) => {}, BodyArray() => {}, BodyBinary(ignored_binary) => {}, BodyField(field) => {}, 670 BodyIndex() => {}, BodyIf(value) => {}, BodyMatch(targets, locals, ignored_match_spans) => {}, 671 BodyBinding(identity, type, mutable, inferred, evidence) => {}, BodyAssignment(identity, evidence) => {}, 672 BodyWhile() => {}, BodyFor(identity) => {}, BodyEmpty() => {} 673 } 674 if !walked { 675 for child in expression.children { checks = checks.concat(effect_check_facts(child, mode, false)) } 676 } 677 checks 678 } 679 680 pub pure collect_function_effect_facts(functions: [BoundFunctionBody]): [FunctionEffectFacts] { 681 mut result: [FunctionEffectFacts] = [] 682 for function in body_functions_with_anonymous(functions) { 683 valid = function.status != BodyInvalid() 684 result = result.append(FunctionEffectFacts( 685 function.signature.binding.identity, function.signature.binding.span.start.file, 686 function.signature.effect, function.status, 687 if valid { effect_local_calls(function.body) } else { [] }, 688 if valid { effect_check_facts(function.body, module_effect_mode(function.signature.effect), false) } else { [] }, 689 if valid { state_payload_facts(function.body) } else { [] }, 690 if valid { state_call_facts(function.body, function.signature.binding.identity) } else { [] } 691 )) 692 } 693 result 694 } 695 696 pure effect_fact_effect(context: BodyContext, call: EffectCallFact): Option[SignatureEffect] { 697 match call.target { 698 BodyCore(name) => if name == "$intrinsic_call" { call.indirect_effect } 699 else { module_effect_for_target(context, call.target) }, 700 BodyDeclaration(binding) => module_effect_for_target(context, call.target) 701 } 702 } 703 704 pub pure check_function_effect_facts( 705 graph: ModuleBindingGraph, modules: [LoadedModule], signatures: [ModuleSignature], 706 functions: [FunctionEffectFacts] 707 ): CheckedModuleEffects { 708 mut known: Set[DeclarationIdentity] = set() 709 mut changed = true 710 while changed { 711 changed = false 712 for function in functions { 713 if function.status != BodyInvalid() && function.effect == Some(SignatureOrdinary()) && !known.has(function.identity) { 714 context = BodyContext(graph, modules, signatures, function.identity, [], map(), false) 715 mut safe = true 716 mut local = false 717 for call in function.local_calls { 718 allowed = module_local_target(call.target, known) 719 local = local || allowed 720 safe = safe && (allowed || effect_fact_effect(context, call) == Some(SignaturePure())) 721 match call.target { 722 BodyCore(name) => if name == "$intrinsic_call" { safe = false }, 723 BodyDeclaration(binding) => {} 724 } 725 } 726 if safe && local { known = known.add(function.identity); changed = true } 727 } 728 } 729 } 730 mut diagnostics: [Diagnostic] = [] 731 mut function_types: Map[Str,Bool] = map() 732 for function in functions { 733 valid = function.status != BodyInvalid() 734 function_types = function_types.put(function.identity.name, valid && function.status == BodyIdentityChecked()) 735 if valid { 736 context = BodyContext(graph, modules, signatures, function.identity, [], map(), false) 737 checking = ModuleEffectContext(context, function.identity.name, function.owner_file, 738 module_effect_mode(function.effect), known, map()) 739 for check in function.checks { 740 match check { 741 EffectStaticCheck(diagnostic) => { diagnostics = diagnostics.append(diagnostic) }, 742 EffectCallCheck(call, awaited) => { 743 effect = effect_fact_effect(context, call) 744 effect_known = match call.target { 745 BodyCore(name) => if name == "$intrinsic_call" { call.indirect_known } else { true }, 746 BodyDeclaration(binding) => effect != None() 747 } 748 checked = module_effect_call_details(checking, call.target, call.span, effect, effect_known, awaited, false) 749 diagnostics = diagnostics.concat(checked.diagnostics) 750 } 751 } 752 } 753 } 754 } 755 CheckedModuleEffects(diagnostics, [], function_types) 756 } 757 758 pure state_payload_types(type: SignatureType): [SignatureType] { 759 mut result: [SignatureType] = [] 760 if type.identity == SignatureCore("State") && type.arguments.len() == 1 { 761 result = result.append(type.arguments[0]) 762 } 763 for argument in type.arguments { result = result.concat(state_payload_types(argument)) } 764 result 765 } 766 767 pure state_payload_facts(body: BoundBody): [SignatureType] { 768 mut result: [SignatureType] = [] 769 match body.type { 770 None() => {}, Some(type) => { result = state_payload_types(type) } 771 } 772 for child in body.children { result = result.concat(state_payload_facts(child)) } 773 result 774 } 775 776 pure state_call_facts(body: BoundBody, owner: DeclarationIdentity): [StateCallFact] { 777 mut result: [StateCallFact] = [] 778 match body.node { 779 BodyCall(target, arguments, evidence) => match target { 780 BodyDeclaration(binding) => { 781 if arguments.len() > 0 { 782 result = result.append(StateCallFact(binding.identity, arguments, body.span)) 783 } 784 }, 785 BodyCore(name) => {} 786 }, 787 BodyLiteral(value) => {}, BodyInterpolation(parts) => {}, BodyLocalUse(identity, domain) => {}, 788 BodyFunction(binding) => {}, BodyAnonymousFunction(anonymous) => { 789 mut arguments: [SignatureType] = [] 790 for index in 0..anonymous.signature.parameters.len() { 791 arguments = arguments.append(SignatureType(SignatureParameter(owner, index), [])) 792 } 793 if arguments.len() > 0 { 794 result = result.append(StateCallFact(anonymous.signature.binding.identity, arguments, body.span)) 795 } 796 }, BodyArray() => {}, 797 BodyUnary(operator) => {}, BodyBinary(operator) => {}, BodyField(field) => {}, BodyIndex() => {}, 798 BodyIf(value) => {}, BodyBlock(value, span, spans) => {}, BodyMatch(targets, locals, spans) => {}, 799 BodyBinding(identity, type, mutable, inferred, evidence) => {}, BodyAssignment(identity, evidence) => {}, 800 BodyWhile() => {}, BodyFor(identity) => {}, BodyEmpty() => {} 801 } 802 for child in body.children { result = result.concat(state_call_facts(child, owner)) } 803 result 804 } 805 806 pure state_add_parameter(values: [Nat], value: Nat): [Nat] { 807 mut present = false 808 for previous in values { present = present || previous == value } 809 if present { values } else { values.append(value) } 810 } 811 812 pure state_parameter_indices(type: SignatureType, owner: DeclarationIdentity): [Nat] { 813 mut result: [Nat] = [] 814 match type.identity { 815 SignatureParameter(identity, index) => { if identity == owner { result = state_add_parameter(result, index) } }, 816 SignatureCallable(effect) => {}, SignatureCore(name) => {}, SignatureNominal(identity) => {}, 817 SignatureHole(hole_owner, path, index) => {} 818 } 819 for argument in type.arguments { 820 for index in state_parameter_indices(argument, owner) { result = state_add_parameter(result, index) } 821 } 822 result 823 } 824 825 // This closed requirement is inferred from checked bodies, not a public trait. 826 // Propagate parameter indices rather than expanding recursive generic types, so 827 // recursive call graphs converge over a finite set. Cached code retains these 828 // same facts and checks them against every current call-site instantiation. 829 pub pure check_state_payload_facts(graph: ModuleBindingGraph, modules: [LoadedModule], 830 signatures: [ModuleSignature], functions: [FunctionEffectFacts]): [Diagnostic] { 831 mut required: Map[DeclarationIdentity,[Nat]] = map() 832 for function in functions { 833 mut parameters: [Nat] = [] 834 for payload in function.state_payloads { 835 for index in state_parameter_indices(payload, function.identity) { parameters = state_add_parameter(parameters, index) } 836 } 837 required = required.put(function.identity, parameters) 838 } 839 mut changed = true 840 while changed { 841 changed = false 842 for function in functions { 843 mut parameters = required.get(function.identity) 844 for call in function.state_calls { 845 if required.has(call.target) { 846 for index in required.get(call.target) { 847 if index < call.arguments.len() { 848 for parameter in state_parameter_indices(call.arguments[index], function.identity) { 849 next = state_add_parameter(parameters, parameter) 850 if next.len() != parameters.len() { parameters = next; changed = true } 851 } 852 } 853 } 854 } 855 } 856 required = required.put(function.identity, parameters) 857 } 858 } 859 mut diagnostics: [Diagnostic] = [] 860 for function in functions { 861 context = BodyContext(graph, modules, signatures, function.identity, [], map(), false) 862 for call in function.state_calls { 863 if required.has(call.target) { 864 for index in required.get(call.target) { 865 if index < call.arguments.len() && body_state_payload_restricted(context, call.arguments[index], []) { 866 diagnostics = diagnostics.append(Diagnostic("This call uses " + body_type_text(call.arguments[index]) + 867 " as a State payload inside " + call.target.name + 868 ". Store immutable data and keep cells, callbacks and resources outside the cell.", call.span.start)) 869 } 870 } 871 } 872 } 873 } 874 diagnostics 875 } 876
Functions
[
{
"id": "declaration/14",
"name": "module_effect_mode",
"line": 49,
"state": "covered",
"entries": "16374"
},
{
"id": "declaration/15",
"name": "module_ordinary_call_diagnostic",
"line": 60,
"state": "covered",
"entries": "15"
},
{
"id": "declaration/16",
"name": "module_effect_for_target",
"line": 79,
"state": "covered",
"entries": "44352"
},
{
"id": "declaration/17",
"name": "module_effect_for_call",
"line": 109,
"state": "covered",
"entries": "36838"
},
{
"id": "declaration/18",
"name": "module_call_effect_known",
"line": 137,
"state": "zero",
"entries": "0"
},
{
"id": "declaration/19",
"name": "module_effect_target_name",
"line": 162,
"state": "covered",
"entries": "38334"
},
{
"id": "declaration/20",
"name": "module_effect_name",
"line": 173,
"state": "covered",
"entries": "5062"
},
{
"id": "declaration/21",
"name": "module_local_primitive",
"line": 184,
"state": "covered",
"entries": "2860"
},
{
"id": "declaration/22",
"name": "module_local_target",
"line": 195,
"state": "covered",
"entries": "8460"
},
{
"id": "declaration/25",
"name": "module_local_body",
"line": 205,
"state": "covered",
"entries": "18210"
},
{
"id": "declaration/26",
"name": "module_local_functions",
"line": 235,
"state": "covered",
"entries": "882"
},
{
"id": "declaration/27",
"name": "module_effect_call",
"line": 258,
"state": "covered",
"entries": "31065"
},
{
"id": "declaration/28",
"name": "module_effect_call_details",
"line": 269,
"state": "covered",
"entries": "38334"
},
{
"id": "declaration/29",
"name": "module_effect_expression",
"line": 356,
"state": "covered",
"entries": "193603"
},
{
"id": "declaration/30",
"name": "check_module_effects",
"line": 497,
"state": "covered",
"entries": "882"
},
{
"id": "declaration/35",
"name": "effect_call_fact",
"line": 567,
"state": "covered",
"entries": "67748"
},
{
"id": "declaration/36",
"name": "effect_local_calls",
"line": 588,
"state": "covered",
"entries": "209328"
},
{
"id": "declaration/37",
"name": "effect_check_facts",
"line": 604,
"state": "covered",
"entries": "209328"
},
{
"id": "declaration/38",
"name": "collect_function_effect_facts",
"line": 680,
"state": "covered",
"entries": "265"
},
{
"id": "declaration/39",
"name": "effect_fact_effect",
"line": 696,
"state": "covered",
"entries": "7517"
},
{
"id": "declaration/40",
"name": "check_function_effect_facts",
"line": 704,
"state": "covered",
"entries": "119"
},
{
"id": "declaration/41",
"name": "state_payload_types",
"line": 758,
"state": "covered",
"entries": "257091"
},
{
"id": "declaration/42",
"name": "state_payload_facts",
"line": 767,
"state": "covered",
"entries": "209328"
},
{
"id": "declaration/43",
"name": "state_call_facts",
"line": 776,
"state": "covered",
"entries": "209328"
},
{
"id": "declaration/44",
"name": "state_add_parameter",
"line": 806,
"state": "zero",
"entries": "0"
},
{
"id": "declaration/45",
"name": "state_parameter_indices",
"line": 812,
"state": "zero",
"entries": "0"
},
{
"id": "declaration/46",
"name": "check_state_payload_facts",
"line": 829,
"state": "covered",
"entries": "172"
}
]Source branch outcomes
[
{
"id": "declaration/14/tail/arm/0",
"outcome": "None",
"line": 51,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/14/tail/arm/1",
"outcome": "Some",
"line": 52,
"state": "covered",
"hits": "16374"
},
{
"id": "declaration/14/tail/arm/1/body/arm/0",
"outcome": "SignaturePure",
"line": 53,
"state": "covered",
"hits": "15029"
},
{
"id": "declaration/14/tail/arm/1/body/arm/1",
"outcome": "SignatureOrdinary",
"line": 54,
"state": "covered",
"hits": "1100"
},
{
"id": "declaration/14/tail/arm/1/body/arm/2",
"outcome": "SignatureAsync",
"line": 55,
"state": "covered",
"hits": "245"
},
{
"id": "declaration/15/tail/arm/0",
"outcome": "BodyDeclaration",
"line": 62,
"state": "covered",
"hits": "12"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/decision/true",
"outcome": "true",
"line": 64,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/decision/false",
"outcome": "false",
"line": 64,
"state": "covered",
"hits": "12"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 64,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/condition/decision/skip-right",
"outcome": "skip-right",
"line": 64,
"state": "covered",
"hits": "11"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/condition/right/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 65,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/condition/right/decision/skip-right",
"outcome": "skip-right",
"line": 65,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/condition/right/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 65,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/condition/right/left/decision/skip-right",
"outcome": "skip-right",
"line": 65,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/condition/right/right/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 66,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/condition/right/right/decision/skip-right",
"outcome": "skip-right",
"line": 66,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/true/statement/0/value/decision/true",
"outcome": "true",
"line": 67,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/15/tail/arm/0/body/block/tail/true/statement/0/value/decision/false",
"outcome": "false",
"line": 67,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/15/tail/arm/1",
"outcome": "BodyCore",
"line": 74,
"state": "covered",
"hits": "3"
},
{
"id": "declaration/16/tail/arm/0",
"outcome": "BodyDeclaration",
"line": 84,
"state": "covered",
"hits": "32620"
},
{
"id": "declaration/16/tail/arm/0/body/arm/0",
"outcome": "None",
"line": 85,
"state": "covered",
"hits": "2417"
},
{
"id": "declaration/16/tail/arm/0/body/arm/0/body/decision/true",
"outcome": "true",
"line": 85,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/16/tail/arm/0/body/arm/0/body/decision/false",
"outcome": "false",
"line": 85,
"state": "covered",
"hits": "2417"
},
{
"id": "declaration/16/tail/arm/0/body/arm/1",
"outcome": "Some",
"line": 86,
"state": "covered",
"hits": "30203"
},
{
"id": "declaration/16/tail/arm/0/body/arm/1/body/arm/0",
"outcome": "None",
"line": 87,
"state": "covered",
"hits": "2663"
},
{
"id": "declaration/16/tail/arm/0/body/arm/1/body/arm/0/body/decision/true",
"outcome": "true",
"line": 87,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/16/tail/arm/0/body/arm/1/body/arm/0/body/decision/false",
"outcome": "false",
"line": 87,
"state": "covered",
"hits": "2663"
},
{
"id": "declaration/16/tail/arm/0/body/arm/1/body/arm/1",
"outcome": "Some",
"line": 88,
"state": "covered",
"hits": "27540"
},
{
"id": "declaration/16/tail/arm/1",
"outcome": "BodyCore",
"line": 91,
"state": "covered",
"hits": "11732"
},
{
"id": "declaration/16/tail/arm/1/body/block/tail/decision/true",
"outcome": "true",
"line": 92,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/16/tail/arm/1/body/block/tail/decision/false",
"outcome": "false",
"line": 92,
"state": "covered",
"hits": "11732"
},
{
"id": "declaration/16/tail/arm/1/body/block/tail/false/tail/decision/true",
"outcome": "true",
"line": 95,
"state": "covered",
"hits": "16"
},
{
"id": "declaration/16/tail/arm/1/body/block/tail/false/tail/decision/false",
"outcome": "false",
"line": 95,
"state": "covered",
"hits": "11716"
},
{
"id": "declaration/16/tail/arm/1/body/block/tail/false/tail/false/tail/decision/true",
"outcome": "true",
"line": 98,
"state": "covered",
"hits": "4231"
},
{
"id": "declaration/16/tail/arm/1/body/block/tail/false/tail/false/tail/decision/false",
"outcome": "false",
"line": 98,
"state": "covered",
"hits": "7485"
},
{
"id": "declaration/17/tail/arm/0",
"outcome": "BodyCore",
"line": 115,
"state": "covered",
"hits": "9312"
},
{
"id": "declaration/17/tail/arm/0/body/decision/true",
"outcome": "true",
"line": 115,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/17/tail/arm/0/body/decision/false",
"outcome": "false",
"line": 115,
"state": "covered",
"hits": "9310"
},
{
"id": "declaration/17/tail/arm/0/body/true/tail/decision/true",
"outcome": "true",
"line": 116,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/17/tail/arm/0/body/true/tail/decision/false",
"outcome": "false",
"line": 116,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/17/tail/arm/0/body/true/tail/false/tail/arm/0",
"outcome": "None",
"line": 120,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/17/tail/arm/0/body/true/tail/false/tail/arm/1",
"outcome": "Some",
"line": 121,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/17/tail/arm/0/body/true/tail/false/tail/arm/1/body/arm/0",
"outcome": "SignatureCallable",
"line": 122,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/17/tail/arm/0/body/true/tail/false/tail/arm/1/body/arm/1",
"outcome": "SignatureCore",
"line": 123,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/17/tail/arm/0/body/true/tail/false/tail/arm/1/body/arm/2",
"outcome": "SignatureNominal",
"line": 124,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/17/tail/arm/0/body/true/tail/false/tail/arm/1/body/arm/3",
"outcome": "SignatureParameter",
"line": 125,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/17/tail/arm/0/body/true/tail/false/tail/arm/1/body/arm/4",
"outcome": "SignatureHole",
"line": 126,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/17/tail/arm/1",
"outcome": "BodyDeclaration",
"line": 133,
"state": "covered",
"hits": "27526"
},
{
"id": "declaration/18/tail/arm/0",
"outcome": "BodyCore",
"line": 139,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/decision/true",
"outcome": "true",
"line": 139,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/decision/false",
"outcome": "false",
"line": 139,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/true/tail/decision/true",
"outcome": "true",
"line": 140,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/true/tail/decision/false",
"outcome": "false",
"line": 140,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/true/tail/false/tail/arm/0",
"outcome": "None",
"line": 144,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/true/tail/false/tail/arm/1",
"outcome": "Some",
"line": 145,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/true/tail/false/tail/arm/1/body/arm/0",
"outcome": "SignatureHole",
"line": 146,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/true/tail/false/tail/arm/1/body/arm/1",
"outcome": "SignatureCore",
"line": 147,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/true/tail/false/tail/arm/1/body/arm/2",
"outcome": "SignatureNominal",
"line": 148,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/true/tail/false/tail/arm/1/body/arm/3",
"outcome": "SignatureParameter",
"line": 149,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/0/body/true/tail/false/tail/arm/1/body/arm/4",
"outcome": "SignatureCallable",
"line": 150,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/1",
"outcome": "BodyDeclaration",
"line": 155,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/1/body/arm/0",
"outcome": "None",
"line": 156,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/18/tail/arm/1/body/arm/1",
"outcome": "Some",
"line": 157,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/19/tail/arm/0",
"outcome": "BodyDeclaration",
"line": 164,
"state": "covered",
"hits": "28614"
},
{
"id": "declaration/19/tail/arm/1",
"outcome": "BodyCore",
"line": 165,
"state": "covered",
"hits": "9720"
},
{
"id": "declaration/19/tail/arm/1/body/decision/true",
"outcome": "true",
"line": 165,
"state": "covered",
"hits": "3"
},
{
"id": "declaration/19/tail/arm/1/body/decision/false",
"outcome": "false",
"line": 165,
"state": "covered",
"hits": "9717"
},
{
"id": "declaration/20/tail/arm/0",
"outcome": "SignaturePure",
"line": 175,
"state": "covered",
"hits": "4361"
},
{
"id": "declaration/20/tail/arm/1",
"outcome": "SignatureOrdinary",
"line": 176,
"state": "covered",
"hits": "657"
},
{
"id": "declaration/20/tail/arm/2",
"outcome": "SignatureAsync",
"line": 177,
"state": "covered",
"hits": "44"
},
{
"id": "declaration/21/tail/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2858"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/left/left/left/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 185,
"state": "covered",
"hits": "2860"
},
{
"id": "declaration/21/tail/left/left/left/left/left/left/left/left/left/left/left/left/left/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 185,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/22/tail/arm/0",
"outcome": "BodyCore",
"line": 197,
"state": "covered",
"hits": "2860"
},
{
"id": "declaration/22/tail/arm/1",
"outcome": "BodyDeclaration",
"line": 198,
"state": "covered",
"hits": "5600"
},
{
"id": "declaration/25/statement/3/value/arm/0",
"outcome": "BodyCall",
"line": 210,
"state": "covered",
"hits": "5775"
},
{
"id": "declaration/25/statement/3/value/arm/0/body/block/statement/1/value/decision/true",
"outcome": "true",
"line": 212,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/25/statement/3/value/arm/0/body/block/statement/1/value/decision/false",
"outcome": "false",
"line": 212,
"state": "covered",
"hits": "5775"
},
{
"id": "declaration/25/statement/3/value/arm/0/body/block/statement/1/value/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 212,
"state": "covered",
"hits": "1787"
},
{
"id": "declaration/25/statement/3/value/arm/0/body/block/statement/1/value/condition/decision/skip-right",
"outcome": "skip-right",
"line": 212,
"state": "covered",
"hits": "3988"
},
{
"id": "declaration/25/statement/3/value/arm/0/body/block/statement/2/value/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 213,
"state": "covered",
"hits": "5773"
},
{
"id": "declaration/25/statement/3/value/arm/0/body/block/statement/2/value/decision/skip-right",
"outcome": "skip-right",
"line": 213,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/25/statement/3/value/arm/0/body/block/tail/arm/0",
"outcome": "BodyCore",
"line": 215,
"state": "covered",
"hits": "1879"
},
{
"id": "declaration/25/statement/3/value/arm/0/body/block/tail/arm/0/body/decision/true",
"outcome": "true",
"line": 215,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/25/statement/3/value/arm/0/body/block/tail/arm/0/body/decision/false",
"outcome": "false",
"line": 215,
"state": "covered",
"hits": "1879"
},
{
"id": "declaration/25/statement/3/value/arm/0/body/block/tail/arm/1",
"outcome": "BodyDeclaration",
"line": 216,
"state": "covered",
"hits": "3896"
},
{
"id": "declaration/25/statement/3/value/arm/1",
"outcome": "BodyLiteral",
"line": 219,
"state": "covered",
"hits": "3076"
},
{
"id": "declaration/25/statement/3/value/arm/2",
"outcome": "BodyInterpolation",
"line": 219,
"state": "covered",
"hits": "28"
},
{
"id": "declaration/25/statement/3/value/arm/3",
"outcome": "BodyLocalUse",
"line": 219,
"state": "covered",
"hits": "3849"
},
{
"id": "declaration/25/statement/3/value/arm/4",
"outcome": "BodyFunction",
"line": 220,
"state": "covered",
"hits": "42"
},
{
"id": "declaration/25/statement/3/value/arm/5",
"outcome": "BodyAnonymousFunction",
"line": 221,
"state": "covered",
"hits": "162"
},
{
"id": "declaration/25/statement/3/value/arm/6",
"outcome": "BodyArray",
"line": 221,
"state": "covered",
"hits": "278"
},
{
"id": "declaration/25/statement/3/value/arm/7",
"outcome": "BodyUnary",
"line": 221,
"state": "covered",
"hits": "106"
},
{
"id": "declaration/25/statement/3/value/arm/8",
"outcome": "BodyBinary",
"line": 222,
"state": "covered",
"hits": "910"
},
{
"id": "declaration/25/statement/3/value/arm/9",
"outcome": "BodyField",
"line": 222,
"state": "covered",
"hits": "695"
},
{
"id": "declaration/25/statement/3/value/arm/10",
"outcome": "BodyIndex",
"line": 222,
"state": "covered",
"hits": "160"
},
{
"id": "declaration/25/statement/3/value/arm/11",
"outcome": "BodyIf",
"line": 222,
"state": "covered",
"hits": "252"
},
{
"id": "declaration/25/statement/3/value/arm/12",
"outcome": "BodyBlock",
"line": 223,
"state": "covered",
"hits": "1401"
},
{
"id": "declaration/25/statement/3/value/arm/13",
"outcome": "BodyMatch",
"line": 223,
"state": "covered",
"hits": "256"
},
{
"id": "declaration/25/statement/3/value/arm/14",
"outcome": "BodyBinding",
"line": 223,
"state": "covered",
"hits": "881"
},
{
"id": "declaration/25/statement/3/value/arm/15",
"outcome": "BodyAssignment",
"line": 224,
"state": "covered",
"hits": "232"
},
{
"id": "declaration/25/statement/3/value/arm/16",
"outcome": "BodyWhile",
"line": 224,
"state": "covered",
"hits": "12"
},
{
"id": "declaration/25/statement/3/value/arm/17",
"outcome": "BodyFor",
"line": 224,
"state": "covered",
"hits": "95"
},
{
"id": "declaration/25/statement/3/value/arm/18",
"outcome": "BodyEmpty",
"line": 224,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/25/statement/4/decision/body",
"outcome": "body",
"line": 226,
"state": "covered",
"hits": "17755"
},
{
"id": "declaration/25/statement/4/decision/exit",
"outcome": "exit",
"line": 226,
"state": "covered",
"hits": "18210"
},
{
"id": "declaration/25/statement/4/body/statement/1/value/decision/true",
"outcome": "true",
"line": 228,
"state": "covered",
"hits": "4337"
},
{
"id": "declaration/25/statement/4/body/statement/1/value/decision/false",
"outcome": "false",
"line": 228,
"state": "covered",
"hits": "13418"
},
{
"id": "declaration/25/statement/4/body/statement/2/value/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 229,
"state": "covered",
"hits": "12919"
},
{
"id": "declaration/25/statement/4/body/statement/2/value/decision/skip-right",
"outcome": "skip-right",
"line": 229,
"state": "covered",
"hits": "4836"
},
{
"id": "declaration/25/statement/4/body/statement/3/value/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 230,
"state": "covered",
"hits": "17755"
},
{
"id": "declaration/25/statement/4/body/statement/3/value/decision/skip-right",
"outcome": "skip-right",
"line": 230,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/26/statement/3/decision/body",
"outcome": "body",
"line": 240,
"state": "covered",
"hits": "884"
},
{
"id": "declaration/26/statement/3/decision/exit",
"outcome": "exit",
"line": 240,
"state": "covered",
"hits": "882"
},
{
"id": "declaration/26/statement/3/body/statement/1/decision/body",
"outcome": "body",
"line": 242,
"state": "covered",
"hits": "6790"
},
{
"id": "declaration/26/statement/3/body/statement/1/decision/exit",
"outcome": "exit",
"line": 242,
"state": "covered",
"hits": "884"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/decision/true",
"outcome": "true",
"line": 244,
"state": "covered",
"hits": "455"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/decision/false",
"outcome": "false",
"line": 244,
"state": "covered",
"hits": "6335"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 244,
"state": "covered",
"hits": "458"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/condition/decision/skip-right",
"outcome": "skip-right",
"line": 244,
"state": "covered",
"hits": "6332"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/condition/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 244,
"state": "covered",
"hits": "6755"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/condition/left/decision/skip-right",
"outcome": "skip-right",
"line": 244,
"state": "covered",
"hits": "35"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/true/tail/decision/true",
"outcome": "true",
"line": 247,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/true/tail/decision/false",
"outcome": "false",
"line": 247,
"state": "covered",
"hits": "453"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/true/tail/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 247,
"state": "covered",
"hits": "27"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/true/tail/condition/decision/skip-right",
"outcome": "skip-right",
"line": 247,
"state": "covered",
"hits": "428"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/true/tail/true/statement/0/value/decision/true",
"outcome": "true",
"line": 248,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/26/statement/3/body/statement/1/body/tail/true/tail/true/statement/0/value/decision/false",
"outcome": "false",
"line": 248,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/27/statement/1/value/decision/true",
"outcome": "true",
"line": 263,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/27/statement/1/value/decision/false",
"outcome": "false",
"line": 263,
"state": "covered",
"hits": "31065"
},
{
"id": "declaration/27/statement/1/value/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 263,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/27/statement/1/value/condition/decision/skip-right",
"outcome": "skip-right",
"line": 263,
"state": "covered",
"hits": "31063"
},
{
"id": "declaration/28/statement/4/value/decision/true",
"outcome": "true",
"line": 277,
"state": "covered",
"hits": "3"
},
{
"id": "declaration/28/statement/4/value/decision/false",
"outcome": "false",
"line": 277,
"state": "covered",
"hits": "38331"
},
{
"id": "declaration/28/statement/5/value/arm/0",
"outcome": "None",
"line": 280,
"state": "covered",
"hits": "3"
},
{
"id": "declaration/28/statement/5/value/arm/0/body/block/statement/0/value/decision/true",
"outcome": "true",
"line": 281,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/0/body/block/statement/0/value/decision/false",
"outcome": "false",
"line": 281,
"state": "covered",
"hits": "3"
},
{
"id": "declaration/28/statement/5/value/arm/0/body/block/statement/0/value/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 281,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/0/body/block/statement/0/value/condition/decision/skip-right",
"outcome": "skip-right",
"line": 281,
"state": "covered",
"hits": "3"
},
{
"id": "declaration/28/statement/5/value/arm/0/body/block/statement/2/value/arm/0",
"outcome": "BodyCore",
"line": 288,
"state": "covered",
"hits": "3"
},
{
"id": "declaration/28/statement/5/value/arm/0/body/block/statement/2/value/arm/1",
"outcome": "BodyDeclaration",
"line": 289,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/0/body/block/tail/decision/true",
"outcome": "true",
"line": 291,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/28/statement/5/value/arm/0/body/block/tail/decision/false",
"outcome": "false",
"line": 291,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/28/statement/5/value/arm/0/body/block/tail/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 291,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/28/statement/5/value/arm/0/body/block/tail/condition/decision/skip-right",
"outcome": "skip-right",
"line": 291,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/28/statement/5/value/arm/1",
"outcome": "Some",
"line": 305,
"state": "covered",
"hits": "38331"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/2/value/decision/true",
"outcome": "true",
"line": 308,
"state": "covered",
"hits": "4"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/2/value/decision/false",
"outcome": "false",
"line": 308,
"state": "covered",
"hits": "38327"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/2/value/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 308,
"state": "covered",
"hits": "205"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/2/value/condition/decision/skip-right",
"outcome": "skip-right",
"line": 308,
"state": "covered",
"hits": "38126"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/3/value/decision/true",
"outcome": "true",
"line": 313,
"state": "covered",
"hits": "12"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/3/value/decision/false",
"outcome": "false",
"line": 313,
"state": "covered",
"hits": "38319"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/3/value/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 313,
"state": "covered",
"hits": "213"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/3/value/condition/decision/skip-right",
"outcome": "skip-right",
"line": 313,
"state": "covered",
"hits": "38118"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/4/value/decision/true",
"outcome": "true",
"line": 318,
"state": "covered",
"hits": "18"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/4/value/decision/false",
"outcome": "false",
"line": 318,
"state": "covered",
"hits": "38313"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/4/value/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 318,
"state": "covered",
"hits": "29454"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/4/value/condition/decision/skip-right",
"outcome": "skip-right",
"line": 318,
"state": "covered",
"hits": "8877"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/5/value/decision/true",
"outcome": "true",
"line": 323,
"state": "covered",
"hits": "15"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/5/value/decision/false",
"outcome": "false",
"line": 323,
"state": "covered",
"hits": "38316"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/5/value/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 323,
"state": "covered",
"hits": "17"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/5/value/condition/decision/skip-right",
"outcome": "skip-right",
"line": 323,
"state": "covered",
"hits": "38314"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/5/value/condition/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 323,
"state": "covered",
"hits": "219"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/5/value/condition/left/decision/skip-right",
"outcome": "skip-right",
"line": 323,
"state": "covered",
"hits": "38112"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/5/value/condition/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 323,
"state": "covered",
"hits": "436"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/statement/5/value/condition/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 323,
"state": "covered",
"hits": "37895"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/decision/true",
"outcome": "true",
"line": 328,
"state": "covered",
"hits": "5062"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/decision/false",
"outcome": "false",
"line": 328,
"state": "covered",
"hits": "33269"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/0/value/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 329,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/0/value/decision/skip-right",
"outcome": "skip-right",
"line": 329,
"state": "covered",
"hits": "5062"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/0/value/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 329,
"state": "covered",
"hits": "44"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/0/value/left/decision/skip-right",
"outcome": "skip-right",
"line": 329,
"state": "covered",
"hits": "5018"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/0/value/left/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 329,
"state": "covered",
"hits": "92"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/0/value/left/left/decision/skip-right",
"outcome": "skip-right",
"line": 329,
"state": "covered",
"hits": "4970"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/2/value/decision/true",
"outcome": "true",
"line": 331,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/2/value/decision/false",
"outcome": "false",
"line": 331,
"state": "covered",
"hits": "5062"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/2/value/true/tail/arm/0",
"outcome": "BodyCore",
"line": 333,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/2/value/true/tail/arm/1",
"outcome": "BodyDeclaration",
"line": 334,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/2/value/true/tail/arm/1/body/decision/true",
"outcome": "true",
"line": 334,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/2/value/true/tail/arm/1/body/decision/false",
"outcome": "false",
"line": 334,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/3/value/args/0/args/5/decision/true",
"outcome": "true",
"line": 345,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/3/value/args/0/args/5/decision/false",
"outcome": "false",
"line": 345,
"state": "covered",
"hits": "5062"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/3/value/args/0/args/5/false/tail/decision/true",
"outcome": "true",
"line": 345,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/28/statement/5/value/arm/1/body/block/tail/true/statement/3/value/args/0/args/5/false/tail/decision/false",
"outcome": "false",
"line": 345,
"state": "covered",
"hits": "5062"
},
{
"id": "declaration/29/statement/2/value/arm/0",
"outcome": "BodyUnary",
"line": 365,
"state": "covered",
"hits": "801"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/decision/true",
"outcome": "true",
"line": 366,
"state": "covered",
"hits": "133"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/decision/false",
"outcome": "false",
"line": 366,
"state": "covered",
"hits": "668"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/2/value/decision/true",
"outcome": "true",
"line": 369,
"state": "covered",
"hits": "3"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/2/value/decision/false",
"outcome": "false",
"line": 369,
"state": "covered",
"hits": "130"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/decision/true",
"outcome": "true",
"line": 375,
"state": "covered",
"hits": "133"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/decision/false",
"outcome": "false",
"line": 375,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/0",
"outcome": "BodyCall",
"line": 377,
"state": "covered",
"hits": "131"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/1",
"outcome": "BodyLiteral",
"line": 378,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/2",
"outcome": "BodyInterpolation",
"line": 379,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/3",
"outcome": "BodyLocalUse",
"line": 380,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/4",
"outcome": "BodyFunction",
"line": 381,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/5",
"outcome": "BodyAnonymousFunction",
"line": 382,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/6",
"outcome": "BodyArray",
"line": 383,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/7",
"outcome": "BodyUnary",
"line": 384,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/8",
"outcome": "BodyBinary",
"line": 385,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/9",
"outcome": "BodyField",
"line": 386,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/10",
"outcome": "BodyIndex",
"line": 387,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/11",
"outcome": "BodyIf",
"line": 388,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/12",
"outcome": "BodyBlock",
"line": 389,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/13",
"outcome": "BodyMatch",
"line": 390,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/14",
"outcome": "BodyBinding",
"line": 391,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/15",
"outcome": "BodyAssignment",
"line": 392,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/16",
"outcome": "BodyWhile",
"line": 393,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/17",
"outcome": "BodyFor",
"line": 394,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/4/value/true/tail/arm/18",
"outcome": "BodyEmpty",
"line": 395,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/5/value/decision/true",
"outcome": "true",
"line": 398,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/5/value/decision/false",
"outcome": "false",
"line": 398,
"state": "covered",
"hits": "131"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/6/value/decision/true",
"outcome": "true",
"line": 403,
"state": "covered",
"hits": "44"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/6/value/decision/false",
"outcome": "false",
"line": 403,
"state": "covered",
"hits": "89"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/7/value/decision/true",
"outcome": "true",
"line": 418,
"state": "covered",
"hits": "133"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/true/statement/7/value/decision/false",
"outcome": "false",
"line": 418,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/false/statement/0/value/decision/true",
"outcome": "true",
"line": 423,
"state": "covered",
"hits": "668"
},
{
"id": "declaration/29/statement/2/value/arm/0/body/block/tail/false/statement/0/value/decision/false",
"outcome": "false",
"line": 423,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/1",
"outcome": "BodyCall",
"line": 429,
"state": "covered",
"hits": "31065"
},
{
"id": "declaration/29/statement/2/value/arm/1/body/block/statement/1/decision/body",
"outcome": "body",
"line": 431,
"state": "covered",
"hits": "48252"
},
{
"id": "declaration/29/statement/2/value/arm/1/body/block/statement/1/decision/exit",
"outcome": "exit",
"line": 431,
"state": "covered",
"hits": "31065"
},
{
"id": "declaration/29/statement/2/value/arm/2",
"outcome": "BodyBlock",
"line": 436,
"state": "covered",
"hits": "22201"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/1/value/decision/true",
"outcome": "true",
"line": 438,
"state": "covered",
"hits": "14091"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/1/value/decision/false",
"outcome": "false",
"line": 438,
"state": "covered",
"hits": "8110"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/1/value/true/tail/decision/true",
"outcome": "true",
"line": 439,
"state": "covered",
"hits": "14091"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/1/value/true/tail/decision/false",
"outcome": "false",
"line": 439,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/decision/body",
"outcome": "body",
"line": 444,
"state": "covered",
"hits": "33688"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/decision/exit",
"outcome": "exit",
"line": 444,
"state": "covered",
"hits": "22201"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/decision/true",
"outcome": "true",
"line": 445,
"state": "covered",
"hits": "19597"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/decision/false",
"outcome": "false",
"line": 445,
"state": "covered",
"hits": "14091"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0",
"outcome": "BodyUnary",
"line": 447,
"state": "covered",
"hits": "4"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/decision/true",
"outcome": "true",
"line": 447,
"state": "covered",
"hits": "4"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/decision/false",
"outcome": "false",
"line": 447,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/true/tail/arm/0",
"outcome": "None",
"line": 449,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/true/tail/arm/1",
"outcome": "Some",
"line": 450,
"state": "covered",
"hits": "4"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/true/tail/arm/1/body/decision/true",
"outcome": "true",
"line": 450,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/true/tail/arm/1/body/decision/false",
"outcome": "false",
"line": 450,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/true/tail/arm/1/body/true/statement/1/value/args/1/args/1/decision/true",
"outcome": "true",
"line": 454,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/true/tail/arm/1/body/true/statement/1/value/args/1/args/1/decision/false",
"outcome": "false",
"line": 454,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/1",
"outcome": "BodyLiteral",
"line": 469,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/2",
"outcome": "BodyInterpolation",
"line": 469,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/3",
"outcome": "BodyLocalUse",
"line": 469,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/4",
"outcome": "BodyFunction",
"line": 470,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/5",
"outcome": "BodyAnonymousFunction",
"line": 471,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/6",
"outcome": "BodyCall",
"line": 471,
"state": "covered",
"hits": "1202"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/7",
"outcome": "BodyArray",
"line": 471,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/8",
"outcome": "BodyBinary",
"line": 472,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/9",
"outcome": "BodyField",
"line": 472,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/10",
"outcome": "BodyIndex",
"line": 472,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/11",
"outcome": "BodyIf",
"line": 472,
"state": "covered",
"hits": "1391"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/12",
"outcome": "BodyBlock",
"line": 473,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/13",
"outcome": "BodyMatch",
"line": 473,
"state": "covered",
"hits": "311"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/14",
"outcome": "BodyBinding",
"line": 473,
"state": "covered",
"hits": "7833"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/15",
"outcome": "BodyAssignment",
"line": 474,
"state": "covered",
"hits": "6888"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/16",
"outcome": "BodyWhile",
"line": 474,
"state": "covered",
"hits": "827"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/17",
"outcome": "BodyFor",
"line": 474,
"state": "covered",
"hits": "1141"
},
{
"id": "declaration/29/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/18",
"outcome": "BodyEmpty",
"line": 474,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/2/value/arm/3",
"outcome": "BodyLiteral",
"line": 482,
"state": "covered",
"hits": "24244"
},
{
"id": "declaration/29/statement/2/value/arm/4",
"outcome": "BodyInterpolation",
"line": 482,
"state": "covered",
"hits": "433"
},
{
"id": "declaration/29/statement/2/value/arm/5",
"outcome": "BodyLocalUse",
"line": 482,
"state": "covered",
"hits": "53909"
},
{
"id": "declaration/29/statement/2/value/arm/6",
"outcome": "BodyFunction",
"line": 483,
"state": "covered",
"hits": "76"
},
{
"id": "declaration/29/statement/2/value/arm/7",
"outcome": "BodyAnonymousFunction",
"line": 484,
"state": "covered",
"hits": "383"
},
{
"id": "declaration/29/statement/2/value/arm/8",
"outcome": "BodyArray",
"line": 484,
"state": "covered",
"hits": "2345"
},
{
"id": "declaration/29/statement/2/value/arm/9",
"outcome": "BodyBinary",
"line": 484,
"state": "covered",
"hits": "22704"
},
{
"id": "declaration/29/statement/2/value/arm/10",
"outcome": "BodyField",
"line": 484,
"state": "covered",
"hits": "9551"
},
{
"id": "declaration/29/statement/2/value/arm/11",
"outcome": "BodyIndex",
"line": 485,
"state": "covered",
"hits": "2262"
},
{
"id": "declaration/29/statement/2/value/arm/12",
"outcome": "BodyIf",
"line": 485,
"state": "covered",
"hits": "5263"
},
{
"id": "declaration/29/statement/2/value/arm/13",
"outcome": "BodyMatch",
"line": 485,
"state": "covered",
"hits": "1677"
},
{
"id": "declaration/29/statement/2/value/arm/14",
"outcome": "BodyBinding",
"line": 486,
"state": "covered",
"hits": "7833"
},
{
"id": "declaration/29/statement/2/value/arm/15",
"outcome": "BodyAssignment",
"line": 486,
"state": "covered",
"hits": "6888"
},
{
"id": "declaration/29/statement/2/value/arm/16",
"outcome": "BodyWhile",
"line": 487,
"state": "covered",
"hits": "827"
},
{
"id": "declaration/29/statement/2/value/arm/17",
"outcome": "BodyFor",
"line": 487,
"state": "covered",
"hits": "1141"
},
{
"id": "declaration/29/statement/2/value/arm/18",
"outcome": "BodyEmpty",
"line": 487,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/29/statement/3/value/decision/true",
"outcome": "true",
"line": 489,
"state": "covered",
"hits": "139536"
},
{
"id": "declaration/29/statement/3/value/decision/false",
"outcome": "false",
"line": 489,
"state": "covered",
"hits": "54067"
},
{
"id": "declaration/29/statement/3/value/true/statement/0/decision/body",
"outcome": "body",
"line": 490,
"state": "covered",
"hits": "104113"
},
{
"id": "declaration/29/statement/3/value/true/statement/0/decision/exit",
"outcome": "exit",
"line": 490,
"state": "covered",
"hits": "139536"
},
{
"id": "declaration/30/statement/4/decision/body",
"outcome": "body",
"line": 508,
"state": "covered",
"hits": "6784"
},
{
"id": "declaration/30/statement/4/decision/exit",
"outcome": "exit",
"line": 508,
"state": "covered",
"hits": "882"
},
{
"id": "declaration/30/statement/4/body/statement/1/value/args/1/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 511,
"state": "covered",
"hits": "6749"
},
{
"id": "declaration/30/statement/4/body/statement/1/value/args/1/decision/skip-right",
"outcome": "skip-right",
"line": 511,
"state": "covered",
"hits": "35"
},
{
"id": "declaration/30/statement/4/body/tail/decision/true",
"outcome": "true",
"line": 512,
"state": "covered",
"hits": "6749"
},
{
"id": "declaration/30/statement/4/body/tail/decision/false",
"outcome": "false",
"line": 512,
"state": "covered",
"hits": "35"
},
{
"id": "declaration/35/statement/2/value/arm/0",
"outcome": "BodyCore",
"line": 571,
"state": "covered",
"hits": "16758"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/decision/true",
"outcome": "true",
"line": 571,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/decision/false",
"outcome": "false",
"line": 571,
"state": "covered",
"hits": "16756"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 571,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/condition/decision/skip-right",
"outcome": "skip-right",
"line": 571,
"state": "covered",
"hits": "16756"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/true/tail/arm/0",
"outcome": "None",
"line": 573,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/true/tail/arm/1",
"outcome": "Some",
"line": 574,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/true/tail/arm/1/body/arm/0",
"outcome": "SignatureCallable",
"line": 575,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/true/tail/arm/1/body/arm/1",
"outcome": "SignatureHole",
"line": 576,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/true/tail/arm/1/body/arm/2",
"outcome": "SignatureCore",
"line": 577,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/true/tail/arm/1/body/arm/3",
"outcome": "SignatureNominal",
"line": 578,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/35/statement/2/value/arm/0/body/true/tail/arm/1/body/arm/4",
"outcome": "SignatureParameter",
"line": 579,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/35/statement/2/value/arm/1",
"outcome": "BodyDeclaration",
"line": 583,
"state": "covered",
"hits": "50990"
},
{
"id": "declaration/36/statement/1/value/arm/0",
"outcome": "BodyCall",
"line": 591,
"state": "covered",
"hits": "33874"
},
{
"id": "declaration/36/statement/1/value/arm/1",
"outcome": "BodyLiteral",
"line": 592,
"state": "covered",
"hits": "26428"
},
{
"id": "declaration/36/statement/1/value/arm/2",
"outcome": "BodyInterpolation",
"line": 592,
"state": "covered",
"hits": "453"
},
{
"id": "declaration/36/statement/1/value/arm/3",
"outcome": "BodyLocalUse",
"line": 592,
"state": "covered",
"hits": "58068"
},
{
"id": "declaration/36/statement/1/value/arm/4",
"outcome": "BodyFunction",
"line": 593,
"state": "covered",
"hits": "86"
},
{
"id": "declaration/36/statement/1/value/arm/5",
"outcome": "BodyAnonymousFunction",
"line": 594,
"state": "covered",
"hits": "459"
},
{
"id": "declaration/36/statement/1/value/arm/6",
"outcome": "BodyArray",
"line": 594,
"state": "covered",
"hits": "2481"
},
{
"id": "declaration/36/statement/1/value/arm/7",
"outcome": "BodyUnary",
"line": 594,
"state": "covered",
"hits": "867"
},
{
"id": "declaration/36/statement/1/value/arm/8",
"outcome": "BodyBinary",
"line": 595,
"state": "covered",
"hits": "24740"
},
{
"id": "declaration/36/statement/1/value/arm/9",
"outcome": "BodyField",
"line": 595,
"state": "covered",
"hits": "9537"
},
{
"id": "declaration/36/statement/1/value/arm/10",
"outcome": "BodyIndex",
"line": 595,
"state": "covered",
"hits": "2522"
},
{
"id": "declaration/36/statement/1/value/arm/11",
"outcome": "BodyIf",
"line": 595,
"state": "covered",
"hits": "5665"
},
{
"id": "declaration/36/statement/1/value/arm/12",
"outcome": "BodyBlock",
"line": 596,
"state": "covered",
"hits": "24178"
},
{
"id": "declaration/36/statement/1/value/arm/13",
"outcome": "BodyMatch",
"line": 596,
"state": "covered",
"hits": "1795"
},
{
"id": "declaration/36/statement/1/value/arm/14",
"outcome": "BodyBinding",
"line": 597,
"state": "covered",
"hits": "8571"
},
{
"id": "declaration/36/statement/1/value/arm/15",
"outcome": "BodyAssignment",
"line": 597,
"state": "covered",
"hits": "7440"
},
{
"id": "declaration/36/statement/1/value/arm/16",
"outcome": "BodyWhile",
"line": 598,
"state": "covered",
"hits": "951"
},
{
"id": "declaration/36/statement/1/value/arm/17",
"outcome": "BodyFor",
"line": 598,
"state": "covered",
"hits": "1213"
},
{
"id": "declaration/36/statement/1/value/arm/18",
"outcome": "BodyEmpty",
"line": 598,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/36/statement/2/decision/body",
"outcome": "body",
"line": 600,
"state": "covered",
"hits": "201920"
},
{
"id": "declaration/36/statement/2/decision/exit",
"outcome": "exit",
"line": 600,
"state": "covered",
"hits": "209328"
},
{
"id": "declaration/37/statement/2/value/arm/0",
"outcome": "BodyUnary",
"line": 608,
"state": "covered",
"hits": "867"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/decision/true",
"outcome": "true",
"line": 609,
"state": "covered",
"hits": "145"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/decision/false",
"outcome": "false",
"line": 609,
"state": "covered",
"hits": "722"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/0/value/decision/true",
"outcome": "true",
"line": 610,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/0/value/decision/false",
"outcome": "false",
"line": 610,
"state": "covered",
"hits": "143"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/decision/true",
"outcome": "true",
"line": 614,
"state": "covered",
"hits": "145"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/decision/false",
"outcome": "false",
"line": 614,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/0",
"outcome": "BodyCall",
"line": 616,
"state": "covered",
"hits": "144"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/1",
"outcome": "BodyLiteral",
"line": 617,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/2",
"outcome": "BodyInterpolation",
"line": 617,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/3",
"outcome": "BodyLocalUse",
"line": 617,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/4",
"outcome": "BodyFunction",
"line": 618,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/5",
"outcome": "BodyAnonymousFunction",
"line": 619,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/6",
"outcome": "BodyArray",
"line": 619,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/7",
"outcome": "BodyUnary",
"line": 619,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/8",
"outcome": "BodyBinary",
"line": 620,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/9",
"outcome": "BodyField",
"line": 620,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/10",
"outcome": "BodyIndex",
"line": 620,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/11",
"outcome": "BodyIf",
"line": 620,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/12",
"outcome": "BodyBlock",
"line": 621,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/13",
"outcome": "BodyMatch",
"line": 621,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/14",
"outcome": "BodyBinding",
"line": 622,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/15",
"outcome": "BodyAssignment",
"line": 622,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/16",
"outcome": "BodyWhile",
"line": 623,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/17",
"outcome": "BodyFor",
"line": 623,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/statement/2/value/true/tail/arm/18",
"outcome": "BodyEmpty",
"line": 623,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/tail/decision/true",
"outcome": "true",
"line": 626,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/0/value/true/tail/decision/false",
"outcome": "false",
"line": 626,
"state": "covered",
"hits": "144"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/1/value/decision/true",
"outcome": "true",
"line": 630,
"state": "covered",
"hits": "867"
},
{
"id": "declaration/37/statement/2/value/arm/0/body/block/statement/1/value/decision/false",
"outcome": "false",
"line": 630,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/1",
"outcome": "BodyCall",
"line": 635,
"state": "covered",
"hits": "33874"
},
{
"id": "declaration/37/statement/2/value/arm/2",
"outcome": "BodyBlock",
"line": 638,
"state": "covered",
"hits": "24178"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/1/value/decision/true",
"outcome": "true",
"line": 640,
"state": "covered",
"hits": "15555"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/1/value/decision/false",
"outcome": "false",
"line": 640,
"state": "covered",
"hits": "8623"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/1/value/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 640,
"state": "covered",
"hits": "15555"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/1/value/condition/decision/skip-right",
"outcome": "skip-right",
"line": 640,
"state": "covered",
"hits": "8623"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/decision/body",
"outcome": "body",
"line": 642,
"state": "covered",
"hits": "37014"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/decision/exit",
"outcome": "exit",
"line": 642,
"state": "covered",
"hits": "24178"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/decision/true",
"outcome": "true",
"line": 643,
"state": "covered",
"hits": "21459"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/decision/false",
"outcome": "false",
"line": 643,
"state": "covered",
"hits": "15555"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0",
"outcome": "BodyUnary",
"line": 645,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/decision/true",
"outcome": "true",
"line": 645,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/decision/false",
"outcome": "false",
"line": 645,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/true/tail/arm/0",
"outcome": "None",
"line": 647,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/true/tail/arm/1",
"outcome": "Some",
"line": 648,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/true/tail/arm/1/body/decision/true",
"outcome": "true",
"line": 648,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/0/body/true/tail/arm/1/body/decision/false",
"outcome": "false",
"line": 648,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/1",
"outcome": "BodyLiteral",
"line": 653,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/2",
"outcome": "BodyInterpolation",
"line": 653,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/3",
"outcome": "BodyLocalUse",
"line": 653,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/4",
"outcome": "BodyFunction",
"line": 654,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/5",
"outcome": "BodyAnonymousFunction",
"line": 655,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/6",
"outcome": "BodyCall",
"line": 655,
"state": "covered",
"hits": "1430"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/7",
"outcome": "BodyArray",
"line": 655,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/8",
"outcome": "BodyBinary",
"line": 656,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/9",
"outcome": "BodyField",
"line": 656,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/10",
"outcome": "BodyIndex",
"line": 656,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/11",
"outcome": "BodyIf",
"line": 656,
"state": "covered",
"hits": "1513"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/12",
"outcome": "BodyBlock",
"line": 657,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/13",
"outcome": "BodyMatch",
"line": 657,
"state": "covered",
"hits": "339"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/14",
"outcome": "BodyBinding",
"line": 658,
"state": "covered",
"hits": "8571"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/15",
"outcome": "BodyAssignment",
"line": 658,
"state": "covered",
"hits": "7440"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/16",
"outcome": "BodyWhile",
"line": 659,
"state": "covered",
"hits": "951"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/17",
"outcome": "BodyFor",
"line": 659,
"state": "covered",
"hits": "1213"
},
{
"id": "declaration/37/statement/2/value/arm/2/body/block/statement/3/body/statement/0/value/true/tail/arm/18",
"outcome": "BodyEmpty",
"line": 659,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/2/value/arm/3",
"outcome": "BodyLiteral",
"line": 667,
"state": "covered",
"hits": "26428"
},
{
"id": "declaration/37/statement/2/value/arm/4",
"outcome": "BodyInterpolation",
"line": 667,
"state": "covered",
"hits": "453"
},
{
"id": "declaration/37/statement/2/value/arm/5",
"outcome": "BodyLocalUse",
"line": 667,
"state": "covered",
"hits": "58068"
},
{
"id": "declaration/37/statement/2/value/arm/6",
"outcome": "BodyFunction",
"line": 668,
"state": "covered",
"hits": "86"
},
{
"id": "declaration/37/statement/2/value/arm/7",
"outcome": "BodyAnonymousFunction",
"line": 669,
"state": "covered",
"hits": "459"
},
{
"id": "declaration/37/statement/2/value/arm/8",
"outcome": "BodyArray",
"line": 669,
"state": "covered",
"hits": "2481"
},
{
"id": "declaration/37/statement/2/value/arm/9",
"outcome": "BodyBinary",
"line": 669,
"state": "covered",
"hits": "24740"
},
{
"id": "declaration/37/statement/2/value/arm/10",
"outcome": "BodyField",
"line": 669,
"state": "covered",
"hits": "9537"
},
{
"id": "declaration/37/statement/2/value/arm/11",
"outcome": "BodyIndex",
"line": 670,
"state": "covered",
"hits": "2522"
},
{
"id": "declaration/37/statement/2/value/arm/12",
"outcome": "BodyIf",
"line": 670,
"state": "covered",
"hits": "5665"
},
{
"id": "declaration/37/statement/2/value/arm/13",
"outcome": "BodyMatch",
"line": 670,
"state": "covered",
"hits": "1795"
},
{
"id": "declaration/37/statement/2/value/arm/14",
"outcome": "BodyBinding",
"line": 671,
"state": "covered",
"hits": "8571"
},
{
"id": "declaration/37/statement/2/value/arm/15",
"outcome": "BodyAssignment",
"line": 671,
"state": "covered",
"hits": "7440"
},
{
"id": "declaration/37/statement/2/value/arm/16",
"outcome": "BodyWhile",
"line": 672,
"state": "covered",
"hits": "951"
},
{
"id": "declaration/37/statement/2/value/arm/17",
"outcome": "BodyFor",
"line": 672,
"state": "covered",
"hits": "1213"
},
{
"id": "declaration/37/statement/2/value/arm/18",
"outcome": "BodyEmpty",
"line": 672,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/37/statement/3/value/decision/true",
"outcome": "true",
"line": 674,
"state": "covered",
"hits": "184283"
},
{
"id": "declaration/37/statement/3/value/decision/false",
"outcome": "false",
"line": 674,
"state": "covered",
"hits": "25045"
},
{
"id": "declaration/37/statement/3/value/true/statement/0/decision/body",
"outcome": "body",
"line": 675,
"state": "covered",
"hits": "164039"
},
{
"id": "declaration/37/statement/3/value/true/statement/0/decision/exit",
"outcome": "exit",
"line": 675,
"state": "covered",
"hits": "184283"
},
{
"id": "declaration/38/statement/1/decision/body",
"outcome": "body",
"line": 682,
"state": "covered",
"hits": "7435"
},
{
"id": "declaration/38/statement/1/decision/exit",
"outcome": "exit",
"line": 682,
"state": "covered",
"hits": "265"
},
{
"id": "declaration/38/statement/1/body/statement/1/value/args/0/args/4/decision/true",
"outcome": "true",
"line": 687,
"state": "covered",
"hits": "7408"
},
{
"id": "declaration/38/statement/1/body/statement/1/value/args/0/args/4/decision/false",
"outcome": "false",
"line": 687,
"state": "covered",
"hits": "27"
},
{
"id": "declaration/38/statement/1/body/statement/1/value/args/0/args/5/decision/true",
"outcome": "true",
"line": 688,
"state": "covered",
"hits": "7408"
},
{
"id": "declaration/38/statement/1/body/statement/1/value/args/0/args/5/decision/false",
"outcome": "false",
"line": 688,
"state": "covered",
"hits": "27"
},
{
"id": "declaration/38/statement/1/body/statement/1/value/args/0/args/6/decision/true",
"outcome": "true",
"line": 689,
"state": "covered",
"hits": "7408"
},
{
"id": "declaration/38/statement/1/body/statement/1/value/args/0/args/6/decision/false",
"outcome": "false",
"line": 689,
"state": "covered",
"hits": "27"
},
{
"id": "declaration/38/statement/1/body/statement/1/value/args/0/args/7/decision/true",
"outcome": "true",
"line": 690,
"state": "covered",
"hits": "7408"
},
{
"id": "declaration/38/statement/1/body/statement/1/value/args/0/args/7/decision/false",
"outcome": "false",
"line": 690,
"state": "covered",
"hits": "27"
},
{
"id": "declaration/39/tail/arm/0",
"outcome": "BodyCore",
"line": 698,
"state": "covered",
"hits": "2423"
},
{
"id": "declaration/39/tail/arm/0/body/decision/true",
"outcome": "true",
"line": 698,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/39/tail/arm/0/body/decision/false",
"outcome": "false",
"line": 698,
"state": "covered",
"hits": "2422"
},
{
"id": "declaration/39/tail/arm/1",
"outcome": "BodyDeclaration",
"line": 700,
"state": "covered",
"hits": "5094"
},
{
"id": "declaration/40/statement/2/decision/body",
"outcome": "body",
"line": 710,
"state": "covered",
"hits": "121"
},
{
"id": "declaration/40/statement/2/decision/exit",
"outcome": "exit",
"line": 710,
"state": "covered",
"hits": "119"
},
{
"id": "declaration/40/statement/2/body/statement/1/decision/body",
"outcome": "body",
"line": 712,
"state": "covered",
"hits": "2248"
},
{
"id": "declaration/40/statement/2/body/statement/1/decision/exit",
"outcome": "exit",
"line": 712,
"state": "covered",
"hits": "121"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/decision/true",
"outcome": "true",
"line": 713,
"state": "covered",
"hits": "159"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/decision/false",
"outcome": "false",
"line": 713,
"state": "covered",
"hits": "2089"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 713,
"state": "covered",
"hits": "162"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/condition/decision/skip-right",
"outcome": "skip-right",
"line": 713,
"state": "covered",
"hits": "2086"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/condition/left/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 713,
"state": "covered",
"hits": "2223"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/condition/left/decision/skip-right",
"outcome": "skip-right",
"line": 713,
"state": "covered",
"hits": "25"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/decision/body",
"outcome": "body",
"line": 717,
"state": "covered",
"hits": "2668"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/decision/exit",
"outcome": "exit",
"line": 717,
"state": "covered",
"hits": "159"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/body/statement/1/value/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 719,
"state": "covered",
"hits": "2668"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/body/statement/1/value/decision/skip-right",
"outcome": "skip-right",
"line": 719,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/body/statement/2/value/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 720,
"state": "covered",
"hits": "250"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/body/statement/2/value/decision/skip-right",
"outcome": "skip-right",
"line": 720,
"state": "covered",
"hits": "2418"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/body/statement/2/value/right/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 720,
"state": "covered",
"hits": "248"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/body/statement/2/value/right/decision/skip-right",
"outcome": "skip-right",
"line": 720,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/body/tail/arm/0",
"outcome": "BodyCore",
"line": 722,
"state": "covered",
"hits": "978"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/body/tail/arm/0/body/decision/true",
"outcome": "true",
"line": 722,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/body/tail/arm/0/body/decision/false",
"outcome": "false",
"line": 722,
"state": "covered",
"hits": "978"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/statement/3/body/tail/arm/1",
"outcome": "BodyDeclaration",
"line": 723,
"state": "covered",
"hits": "1690"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/tail/decision/true",
"outcome": "true",
"line": 726,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/tail/decision/false",
"outcome": "false",
"line": 726,
"state": "covered",
"hits": "157"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/tail/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 726,
"state": "covered",
"hits": "13"
},
{
"id": "declaration/40/statement/2/body/statement/1/body/tail/true/tail/condition/decision/skip-right",
"outcome": "skip-right",
"line": 726,
"state": "covered",
"hits": "146"
},
{
"id": "declaration/40/statement/5/decision/body",
"outcome": "body",
"line": 732,
"state": "covered",
"hits": "2242"
},
{
"id": "declaration/40/statement/5/decision/exit",
"outcome": "exit",
"line": 732,
"state": "covered",
"hits": "119"
},
{
"id": "declaration/40/statement/5/body/statement/1/value/args/1/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 734,
"state": "covered",
"hits": "2217"
},
{
"id": "declaration/40/statement/5/body/statement/1/value/args/1/decision/skip-right",
"outcome": "skip-right",
"line": 734,
"state": "covered",
"hits": "25"
},
{
"id": "declaration/40/statement/5/body/tail/decision/true",
"outcome": "true",
"line": 735,
"state": "covered",
"hits": "2217"
},
{
"id": "declaration/40/statement/5/body/tail/decision/false",
"outcome": "false",
"line": 735,
"state": "covered",
"hits": "25"
},
{
"id": "declaration/40/statement/5/body/tail/true/statement/2/decision/body",
"outcome": "body",
"line": 739,
"state": "covered",
"hits": "7273"
},
{
"id": "declaration/40/statement/5/body/tail/true/statement/2/decision/exit",
"outcome": "exit",
"line": 739,
"state": "covered",
"hits": "2217"
},
{
"id": "declaration/40/statement/5/body/tail/true/statement/2/body/tail/arm/0",
"outcome": "EffectStaticCheck",
"line": 741,
"state": "covered",
"hits": "4"
},
{
"id": "declaration/40/statement/5/body/tail/true/statement/2/body/tail/arm/1",
"outcome": "EffectCallCheck",
"line": 742,
"state": "covered",
"hits": "7269"
},
{
"id": "declaration/40/statement/5/body/tail/true/statement/2/body/tail/arm/1/body/block/statement/1/value/arm/0",
"outcome": "BodyCore",
"line": 745,
"state": "covered",
"hits": "2286"
},
{
"id": "declaration/40/statement/5/body/tail/true/statement/2/body/tail/arm/1/body/block/statement/1/value/arm/0/body/decision/true",
"outcome": "true",
"line": 745,
"state": "covered",
"hits": "1"
},
{
"id": "declaration/40/statement/5/body/tail/true/statement/2/body/tail/arm/1/body/block/statement/1/value/arm/0/body/decision/false",
"outcome": "false",
"line": 745,
"state": "covered",
"hits": "2285"
},
{
"id": "declaration/40/statement/5/body/tail/true/statement/2/body/tail/arm/1/body/block/statement/1/value/arm/1",
"outcome": "BodyDeclaration",
"line": 746,
"state": "covered",
"hits": "4983"
},
{
"id": "declaration/41/statement/1/value/decision/true",
"outcome": "true",
"line": 760,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/41/statement/1/value/decision/false",
"outcome": "false",
"line": 760,
"state": "covered",
"hits": "257091"
},
{
"id": "declaration/41/statement/1/value/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 760,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/41/statement/1/value/condition/decision/skip-right",
"outcome": "skip-right",
"line": 760,
"state": "covered",
"hits": "257091"
},
{
"id": "declaration/41/statement/2/decision/body",
"outcome": "body",
"line": 763,
"state": "covered",
"hits": "47765"
},
{
"id": "declaration/41/statement/2/decision/exit",
"outcome": "exit",
"line": 763,
"state": "covered",
"hits": "257091"
},
{
"id": "declaration/42/statement/1/value/arm/0",
"outcome": "None",
"line": 770,
"state": "covered",
"hits": "2"
},
{
"id": "declaration/42/statement/1/value/arm/1",
"outcome": "Some",
"line": 770,
"state": "covered",
"hits": "209326"
},
{
"id": "declaration/42/statement/2/decision/body",
"outcome": "body",
"line": 772,
"state": "covered",
"hits": "201920"
},
{
"id": "declaration/42/statement/2/decision/exit",
"outcome": "exit",
"line": 772,
"state": "covered",
"hits": "209328"
},
{
"id": "declaration/43/statement/1/value/arm/0",
"outcome": "BodyCall",
"line": 779,
"state": "covered",
"hits": "33874"
},
{
"id": "declaration/43/statement/1/value/arm/0/body/arm/0",
"outcome": "BodyDeclaration",
"line": 780,
"state": "covered",
"hits": "25495"
},
{
"id": "declaration/43/statement/1/value/arm/0/body/arm/0/body/block/tail/decision/true",
"outcome": "true",
"line": 781,
"state": "covered",
"hits": "1051"
},
{
"id": "declaration/43/statement/1/value/arm/0/body/arm/0/body/block/tail/decision/false",
"outcome": "false",
"line": 781,
"state": "covered",
"hits": "24444"
},
{
"id": "declaration/43/statement/1/value/arm/0/body/arm/1",
"outcome": "BodyCore",
"line": 785,
"state": "covered",
"hits": "8379"
},
{
"id": "declaration/43/statement/1/value/arm/1",
"outcome": "BodyLiteral",
"line": 787,
"state": "covered",
"hits": "26428"
},
{
"id": "declaration/43/statement/1/value/arm/2",
"outcome": "BodyInterpolation",
"line": 787,
"state": "covered",
"hits": "453"
},
{
"id": "declaration/43/statement/1/value/arm/3",
"outcome": "BodyLocalUse",
"line": 787,
"state": "covered",
"hits": "58068"
},
{
"id": "declaration/43/statement/1/value/arm/4",
"outcome": "BodyFunction",
"line": 788,
"state": "covered",
"hits": "86"
},
{
"id": "declaration/43/statement/1/value/arm/5",
"outcome": "BodyAnonymousFunction",
"line": 788,
"state": "covered",
"hits": "459"
},
{
"id": "declaration/43/statement/1/value/arm/5/body/block/statement/1/decision/body",
"outcome": "body",
"line": 790,
"state": "covered",
"hits": "23"
},
{
"id": "declaration/43/statement/1/value/arm/5/body/block/statement/1/decision/exit",
"outcome": "exit",
"line": 790,
"state": "covered",
"hits": "459"
},
{
"id": "declaration/43/statement/1/value/arm/5/body/block/tail/decision/true",
"outcome": "true",
"line": 793,
"state": "covered",
"hits": "23"
},
{
"id": "declaration/43/statement/1/value/arm/5/body/block/tail/decision/false",
"outcome": "false",
"line": 793,
"state": "covered",
"hits": "436"
},
{
"id": "declaration/43/statement/1/value/arm/6",
"outcome": "BodyArray",
"line": 796,
"state": "covered",
"hits": "2481"
},
{
"id": "declaration/43/statement/1/value/arm/7",
"outcome": "BodyUnary",
"line": 797,
"state": "covered",
"hits": "867"
},
{
"id": "declaration/43/statement/1/value/arm/8",
"outcome": "BodyBinary",
"line": 797,
"state": "covered",
"hits": "24740"
},
{
"id": "declaration/43/statement/1/value/arm/9",
"outcome": "BodyField",
"line": 797,
"state": "covered",
"hits": "9537"
},
{
"id": "declaration/43/statement/1/value/arm/10",
"outcome": "BodyIndex",
"line": 797,
"state": "covered",
"hits": "2522"
},
{
"id": "declaration/43/statement/1/value/arm/11",
"outcome": "BodyIf",
"line": 798,
"state": "covered",
"hits": "5665"
},
{
"id": "declaration/43/statement/1/value/arm/12",
"outcome": "BodyBlock",
"line": 798,
"state": "covered",
"hits": "24178"
},
{
"id": "declaration/43/statement/1/value/arm/13",
"outcome": "BodyMatch",
"line": 798,
"state": "covered",
"hits": "1795"
},
{
"id": "declaration/43/statement/1/value/arm/14",
"outcome": "BodyBinding",
"line": 799,
"state": "covered",
"hits": "8571"
},
{
"id": "declaration/43/statement/1/value/arm/15",
"outcome": "BodyAssignment",
"line": 799,
"state": "covered",
"hits": "7440"
},
{
"id": "declaration/43/statement/1/value/arm/16",
"outcome": "BodyWhile",
"line": 800,
"state": "covered",
"hits": "951"
},
{
"id": "declaration/43/statement/1/value/arm/17",
"outcome": "BodyFor",
"line": 800,
"state": "covered",
"hits": "1213"
},
{
"id": "declaration/43/statement/1/value/arm/18",
"outcome": "BodyEmpty",
"line": 800,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/43/statement/2/decision/body",
"outcome": "body",
"line": 802,
"state": "covered",
"hits": "201920"
},
{
"id": "declaration/43/statement/2/decision/exit",
"outcome": "exit",
"line": 802,
"state": "covered",
"hits": "209328"
},
{
"id": "declaration/44/statement/1/decision/body",
"outcome": "body",
"line": 808,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/44/statement/1/decision/exit",
"outcome": "exit",
"line": 808,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/44/statement/1/body/statement/0/value/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 808,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/44/statement/1/body/statement/0/value/decision/skip-right",
"outcome": "skip-right",
"line": 808,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/44/tail/decision/true",
"outcome": "true",
"line": 809,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/44/tail/decision/false",
"outcome": "false",
"line": 809,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/1/value/arm/0",
"outcome": "SignatureParameter",
"line": 815,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/1/value/arm/0/body/block/tail/decision/true",
"outcome": "true",
"line": 815,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/1/value/arm/0/body/block/tail/decision/false",
"outcome": "false",
"line": 815,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/1/value/arm/1",
"outcome": "SignatureCallable",
"line": 816,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/1/value/arm/2",
"outcome": "SignatureCore",
"line": 816,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/1/value/arm/3",
"outcome": "SignatureNominal",
"line": 816,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/1/value/arm/4",
"outcome": "SignatureHole",
"line": 817,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/2/decision/body",
"outcome": "body",
"line": 819,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/2/decision/exit",
"outcome": "exit",
"line": 819,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/2/body/statement/0/decision/body",
"outcome": "body",
"line": 820,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/45/statement/2/body/statement/0/decision/exit",
"outcome": "exit",
"line": 820,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/1/decision/body",
"outcome": "body",
"line": 832,
"state": "covered",
"hits": "7767"
},
{
"id": "declaration/46/statement/1/decision/exit",
"outcome": "exit",
"line": 832,
"state": "covered",
"hits": "172"
},
{
"id": "declaration/46/statement/1/body/statement/1/decision/body",
"outcome": "body",
"line": 834,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/1/body/statement/1/decision/exit",
"outcome": "exit",
"line": 834,
"state": "covered",
"hits": "7767"
},
{
"id": "declaration/46/statement/1/body/statement/1/body/statement/0/decision/body",
"outcome": "body",
"line": 835,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/1/body/statement/1/body/statement/0/decision/exit",
"outcome": "exit",
"line": 835,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/3/decision/body",
"outcome": "body",
"line": 840,
"state": "covered",
"hits": "172"
},
{
"id": "declaration/46/statement/3/decision/exit",
"outcome": "exit",
"line": 840,
"state": "covered",
"hits": "172"
},
{
"id": "declaration/46/statement/3/body/statement/1/decision/body",
"outcome": "body",
"line": 842,
"state": "covered",
"hits": "7767"
},
{
"id": "declaration/46/statement/3/body/statement/1/decision/exit",
"outcome": "exit",
"line": 842,
"state": "covered",
"hits": "172"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/decision/body",
"outcome": "body",
"line": 844,
"state": "covered",
"hits": "1152"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/decision/exit",
"outcome": "exit",
"line": 844,
"state": "covered",
"hits": "7767"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/body/tail/decision/true",
"outcome": "true",
"line": 845,
"state": "covered",
"hits": "818"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/body/tail/decision/false",
"outcome": "false",
"line": 845,
"state": "covered",
"hits": "334"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/body/tail/true/statement/0/decision/body",
"outcome": "body",
"line": 846,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/body/tail/true/statement/0/decision/exit",
"outcome": "exit",
"line": 846,
"state": "covered",
"hits": "818"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/body/tail/true/statement/0/body/tail/decision/true",
"outcome": "true",
"line": 847,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/body/tail/true/statement/0/body/tail/decision/false",
"outcome": "false",
"line": 847,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/body/tail/true/statement/0/body/tail/true/statement/0/decision/body",
"outcome": "body",
"line": 848,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/body/tail/true/statement/0/body/tail/true/statement/0/decision/exit",
"outcome": "exit",
"line": 848,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/body/tail/true/statement/0/body/tail/true/statement/0/body/tail/decision/true",
"outcome": "true",
"line": 850,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/3/body/statement/1/body/statement/1/body/tail/true/statement/0/body/tail/true/statement/0/body/tail/decision/false",
"outcome": "false",
"line": 850,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/5/decision/body",
"outcome": "body",
"line": 860,
"state": "covered",
"hits": "7767"
},
{
"id": "declaration/46/statement/5/decision/exit",
"outcome": "exit",
"line": 860,
"state": "covered",
"hits": "172"
},
{
"id": "declaration/46/statement/5/body/statement/1/decision/body",
"outcome": "body",
"line": 862,
"state": "covered",
"hits": "1152"
},
{
"id": "declaration/46/statement/5/body/statement/1/decision/exit",
"outcome": "exit",
"line": 862,
"state": "covered",
"hits": "7767"
},
{
"id": "declaration/46/statement/5/body/statement/1/body/tail/decision/true",
"outcome": "true",
"line": 863,
"state": "covered",
"hits": "818"
},
{
"id": "declaration/46/statement/5/body/statement/1/body/tail/decision/false",
"outcome": "false",
"line": 863,
"state": "covered",
"hits": "334"
},
{
"id": "declaration/46/statement/5/body/statement/1/body/tail/true/statement/0/decision/body",
"outcome": "body",
"line": 864,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/5/body/statement/1/body/tail/true/statement/0/decision/exit",
"outcome": "exit",
"line": 864,
"state": "covered",
"hits": "818"
},
{
"id": "declaration/46/statement/5/body/statement/1/body/tail/true/statement/0/body/tail/decision/true",
"outcome": "true",
"line": 865,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/5/body/statement/1/body/tail/true/statement/0/body/tail/decision/false",
"outcome": "false",
"line": 865,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/5/body/statement/1/body/tail/true/statement/0/body/tail/condition/decision/evaluate-right",
"outcome": "evaluate-right",
"line": 865,
"state": "zero",
"hits": "0"
},
{
"id": "declaration/46/statement/5/body/statement/1/body/tail/true/statement/0/body/tail/condition/decision/skip-right",
"outcome": "skip-right",
"line": 865,
"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": 13
},
{
"id": "declaration/10",
"reason": "import",
"line": 28
},
{
"id": "declaration/11",
"reason": "import",
"line": 29
},
{
"id": "declaration/12",
"reason": "record-declaration",
"line": 34
},
{
"id": "declaration/13",
"reason": "record-declaration",
"line": 43
},
{
"id": "declaration/23",
"reason": "record-declaration",
"line": 202
},
{
"id": "declaration/24",
"reason": "record-declaration",
"line": 203
},
{
"id": "declaration/31",
"reason": "record-declaration",
"line": 540
},
{
"id": "declaration/32",
"reason": "enum-declaration",
"line": 546
},
{
"id": "declaration/33",
"reason": "record-declaration",
"line": 550
},
{
"id": "declaration/34",
"reason": "record-declaration",
"line": 556
}
]