{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"index.default (cyclomatic 146): index.default has cyclomatic complexity 146 (threshold 15). Most of this is not in the body itself: 1 of the 146 points is its own statement and the rest belongs to 26 function items inside it that branch (a function literal at line 731, a function literal at line 468, a function literal at line 849, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ae7586c7fd2bb1e79052a4aa54e953b36b1d2a4abed86bb0686c6603712dae"}},{"ruleId":"D1","level":"warning","message":{"text":"index.default (cyclomatic 64): index.default has cyclomatic complexity 64 (threshold 15). Most of this is not in the body itself: 1 of the 64 points is its own statement and the rest belongs to 19 function literals inside it that branch (lines 52, 361, 225, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee78367654d0f17c5ae909ab5a9427a94a91964c6a1e7699d462a4630f3c3be0"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-blueprint-options.parseBlueprintOptions (cyclomatic 58): parse-blueprint-options.parseBlueprintOptions has cyclomatic complexity 58 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 21 belong to 10 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2a0389e3bbe5838ae11f3bb5438481a61bef0030248546ba5070e8e19f8911"}},{"ruleId":"D1","level":"warning","message":{"text":"index.default.configure (cyclomatic 58): index.default.configure has cyclomatic complexity 58 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 24 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2902bbedfb2b58d253a00501ff7967eac6442f93598eaa6fa76432ce1fd19d3a"}},{"ruleId":"D1","level":"warning","message":{"text":"exports.configure (cyclomatic 58): exports.configure has cyclomatic complexity 58 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 24 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"863096353293e1ade0c649a232f5f98b5d76732a7505f1075d088ce35984aa23"}},{"ruleId":"D1","level":"warning","message":{"text":"res._buildResponse (cyclomatic 57): res._buildResponse has cyclomatic complexity 57 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 30 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c45918f53927a747420ea9d456d709ad9320ff6c025189bc6b69107cca228fb"}},{"ruleId":"D1","level":"warning","message":{"text":"res.view._addResViewMethod (cyclomatic 56): res.view._addResViewMethod has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 14 of the 56 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 83, 336, 276, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/res.view.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec3ed9ea6c2df7c414199344872f14751239e71bb3f4ebae9334a264c5cc0c4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.default (cyclomatic 54): index.default has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 1 of the 54 points is its own statement and the rest belongs to 17 function literals inside it that branch (lines 511, 426, 444, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/moduleloader/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7bcabfdd4d540e287be7b1ac8a202ae049da66dbe960b012bfac5895216c4f"}},{"ruleId":"D1","level":"warning","message":{"text":"exports (cyclomatic 54): exports has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 1 of the 54 points is its own statement and the rest belongs to 35 function items inside it that branch (a function literal at line 444, a function literal at line 511, a function literal at line 213, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/moduleloader/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5517b22b9250537978ea4107ffd7515a208dac717672eb42e95171179232f65b"}},{"ruleId":"D1","level":"warning","message":{"text":"initialize.default.initialize (cyclomatic 51): initialize.default.initialize has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 1 of the 51 points is its own statement and the rest belongs to 11 function literals inside it that branch (lines 42, 207, 340, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c65af2043797bd99c8e430a611abee86b3f3c429077ead1870528a9816e6a0"}},{"ruleId":"D1","level":"warning","message":{"text":"req.buildRequest (cyclomatic 44): req.buildRequest has cyclomatic complexity 44 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/req.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"602d9ca7bc3cc59efcdc29ddc6bd00873d49657a2c64dd2d8486dc059b3e4b0d"}},{"ruleId":"D1","level":"warning","message":{"text":"sails-run.default (cyclomatic 38): sails-run.default has cyclomatic complexity 38 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-run.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b792f4179a18245923c03590c2415122d5cb8b3944293cd805db11f4695f67c"}},{"ruleId":"D1","level":"warning","message":{"text":"loadHooks.default.initializeHooks (cyclomatic 36): loadHooks.default.initializeHooks has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to 10 function items inside it that branch (loadHook, prepareHook, applyDefaults, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/loadHooks.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5b22c8aa6ebfa22dd559d0916e562810541e890ddf59784bb27b697181a18c"}},{"ruleId":"D1","level":"warning","message":{"text":"load-action-modules.loadActionModules (cyclomatic 36): load-action-modules.loadActionModules has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 3 of the 36 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 46, 32, 79, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/controller/load-action-modules.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbdfa2edb7ed125dbf384d4e417fa002732c1881a47a42a534c9c8464734eae"}},{"ruleId":"D1","level":"warning","message":{"text":"exports (cyclomatic 36): exports has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to 23 function items inside it that branch (initializeHooks::loadHook, initializeHooks::prepareHook, initializeHooks::applyDefaults, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/loadHooks.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e745022c20596ac1566d54b40744bc46b137983ef57d1b59015844fb550714c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.default (cyclomatic 32): index.default has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 197, 183, 66, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/policies/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafdf828a3ad599729ed456fe238a68240f05e6b80321768f7b1ea691c01ea67"}},{"ruleId":"D1","level":"warning","message":{"text":"exports (cyclomatic 32): exports has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 19 function items inside it that branch (a function literal at line 197, a function literal at line 183, loadMiddleware::modulesLoaded, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/policies/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c043db501f76b5de7dbedd62f76e475bbbc5937ebc39634f09fe3c6692259120"}},{"ruleId":"D1","level":"warning","message":{"text":"lower.lower (cyclomatic 31): lower.lower has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 7 of the 31 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 111, 75, 160, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/lower.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7982b248f4912e0f7d3262a75a4ceb46602032f54909a1e48ea89ced4d3a1852"}},{"ruleId":"D1","level":"warning","message":{"text":"_addResViewMethod::view (cyclomatic 31): _addResViewMethod::view has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/res.view.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c3c5d60eb79339ae02ea9a3f1eeffcf825f9115b359293b079727647a816c6"}},{"ruleId":"D1","level":"warning","message":{"text":"index.default.bindShadowRoutes (cyclomatic 30): index.default.bindShadowRoutes has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 286, 255, 363, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0702550a72ad2425ce1d41e9f29e4e1c86f3f2d11b5a283477bc995039551cd8"}},{"ruleId":"D1","level":"warning","message":{"text":"exports.bindShadowRoutes (cyclomatic 30): exports.bindShadowRoutes has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to 26 function items inside it that branch (a function literal at line 286, a function literal at line 255, a function literal at line 363, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d2fee0f14a32d87a007f8b5f4f00a5b8d251e12d57e2f7b4a2745f69a29a33"}},{"ruleId":"D1","level":"warning","message":{"text":"rc.rc (cyclomatic 28): rc.rc has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 11 of the 28 points are its own statements and the rest belongs to 7 function items inside it that branch (envFn, a function literal at line 99, fileFn, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/util/rc.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9085fb363fe41a0ce543490a9d91a019f6f31ddd6865ee6ab31e36360b11be2"}},{"ruleId":"D1","level":"warning","message":{"text":"request.request (cyclomatic 28): request.request has cyclomatic complexity 28 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 11 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/request.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b5609e181cce1419dc9425d77fec5042564766933ef6df8a15f82d2ba52554"}},{"ruleId":"D1","level":"warning","message":{"text":"exports::initialize::_afterLoadingSessionHookIfApplicable (cyclomatic 28): exports::initialize::_afterLoadingSessionHookIfApplicable has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7292a9375c1aceaaa32dc84beebc2540b83d05d6f8f7b300340ebcb36168a21e"}},{"ruleId":"D1","level":"warning","message":{"text":"exports (cyclomatic 27): exports has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 116, cloneSpecificValue, a function literal at line 73, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/util/deep-extend.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3611b9ed31236a087260026420a12ca4628ab9eae6d1065f5c83603e2c4ce5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.default.initializeCsrf (cyclomatic 26): index.default.initializeCsrf has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 29, 85, 122). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/csrf/index.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e9f5bca41424df35af2251823e5231d21b77a73b6d59db94971b79cae67669"}},{"ruleId":"D1","level":"warning","message":{"text":"bindAction (cyclomatic 26): bindAction has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 157, a function literal at line 210, (anonymous)::mockNext, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bind.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab1f6371d81af75d8839fbbe28b0f860076035be5525ff4004947432aa3170e"}},{"ruleId":"D1","level":"warning","message":{"text":"bindFunction (cyclomatic 26): bindFunction has cyclomatic complexity 26 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 8 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bind.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5fcde3e352d4dc0a04a75c3b4751ecf68ef3867b6a795f60d2b04a3507ac97"}},{"ruleId":"D1","level":"warning","message":{"text":"exports.configure (cyclomatic 26): exports.configure has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 246, _gettingSVROfLocalSailsDep, inspect::(anonymous)::_onHelper, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebcf8456a53a9a59190b04fc14c2235fe4fc6f791a4c40ab55e58266c9253ea"}},{"ruleId":"D1","level":"warning","message":{"text":"exports (cyclomatic 26): exports has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 9 function items inside it that branch (a function literal at line 29, a function literal at line 85, a function literal at line 122, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/csrf/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dbafa4b10b7a0e02f48f99c9569d5ba3b634d619c5cf2d1cc62380cc51408e"}},{"ruleId":"D1","level":"warning","message":{"text":"load.default (cyclomatic 25): load.default has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 8 function items inside it that branch (a function literal at line 259, a function literal at line 30, a function literal at line 79, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/load.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b180affe067d795d9229e2fcacaf9bb839a6ecc6f6e08a1768ba14ca92d31c2"}},{"ruleId":"D1","level":"warning","message":{"text":"replace.replaceCollection (cyclomatic 25): replace.replaceCollection has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 4 of the 25 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 154, 212, 52, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/replace.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7cf3431ab96f18da0eeee04434e06acf99be2febe368c3b73565194cf0fb36"}},{"ruleId":"D1","level":"warning","message":{"text":"index.default.configure (cyclomatic 25): index.default.configure has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 246, 61, 212, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb1707f9a55a5a9d885bc9bcccf9e912ea5062617932815b86fce9b72ce600c"}},{"ruleId":"D1","level":"warning","message":{"text":"exports (cyclomatic 25): exports has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 14 function items inside it that branch (a function literal at line 259, load, a function literal at line 79, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/load.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"63210fefadea991504946fe94c8f288cb85e00187fc5a46c9637ab5a73041856"}},{"ruleId":"D1","level":"warning","message":{"text":"index.default.configure (cyclomatic 24): index.default.configure has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/index.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f60d3e507629bab18762f5543460e73c462d1e935136ff3aa08211307c02a6"}},{"ruleId":"D1","level":"warning","message":{"text":"exports (cyclomatic 24): exports has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 18 function items inside it that branch (a function literal at line 92, Hook::_normalize, Hook, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/index.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47905e1db970d7a742f168420b50ea0ef369a0e3c8fdc4eaa3ecd65ed971147"}},{"ruleId":"D1","level":"warning","message":{"text":"exports.configure (cyclomatic 24): exports.configure has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/index.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e209e11ec25dcfb5bb522025f8471b8b10dc657a275849542b7f017320a5c28"}},{"ruleId":"D1","level":"warning","message":{"text":"exports::configure (cyclomatic 24): exports::configure has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cf59702c7bd78ec49d9487877cc62559207d0abf1389c06c337b177b0f696b"}},{"ruleId":"D1","level":"warning","message":{"text":"index.default.Hook (cyclomatic 23): index.default.Hook has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (_normalize, a function literal at line 92, a function literal at line 50, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/index.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c530253c42f250a786d27f1f1042549a34092bbad5ef01badf38ab178836bd6"}},{"ruleId":"D1","level":"warning","message":{"text":"create.createRecord (cyclomatic 22): create.createRecord has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 115, 36, 89, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/create.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10795a963074e8e3d12db1e9059b020110cb72e31eb91ce3b03788fdcfb64da"}},{"ruleId":"D1","level":"warning","message":{"text":"default-view-rendering-fn.partial (cyclomatic 22): default-view-rendering-fn.partial has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/default-view-rendering-fn.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ea94fc21c115f9ecb2c643b66a0f4095ddf1e0f4706fe129abff8cd1304e90"}},{"ruleId":"D1","level":"warning","message":{"text":"add.addToCollection (cyclomatic 20): add.addToCollection has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 66, 106, 52, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/add.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83a11fc344c46292cbfaf562627aafeee24097e6feb3b7a7dbfed04a9f27915"}},{"ruleId":"D1","level":"warning","message":{"text":"exports (cyclomatic 20): exports has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 10 function items inside it that branch (loadConfig::mapOverrides, a function literal at line 82, a function literal at line 114, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/configuration/load.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"127a2814f0eeabe79c21ce12aa35fcedde66d93c577c7ca92f930e4640ec01f5"}},{"ruleId":"D1","level":"warning","message":{"text":"exports::getPubsubMethods::_publishAdd (cyclomatic 20): exports::getPubsubMethods::_publishAdd has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"41711f2a01a32bf9af1a2c0027f634be8fd2604b7e8813b979cf2f4b4c624c05"}},{"ruleId":"D1","level":"warning","message":{"text":"sails-upgrade.default (cyclomatic 19): sails-upgrade.default has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-upgrade.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de329befb4e0d68fb4167af76bc6110b3f836b014eb426dc567497f038b0b7f"}},{"ruleId":"D1","level":"warning","message":{"text":"start.default.startServer (cyclomatic 19): start.default.startServer has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 47, 144, 22, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95a5d935c48fa6760421f807404c15e56d6487966e72772cb6e9159a74d915d"}},{"ruleId":"D1","level":"warning","message":{"text":"html-scriptify.htmlScriptify (cyclomatic 19): html-scriptify.htmlScriptify has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/html-scriptify.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"609afabca76aa570eb68067328b6a9322c0271aae1fb24e080d7a806c325f561"}},{"ruleId":"D1","level":"warning","message":{"text":"exports (cyclomatic 19): exports has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 7 function items inside it that branch (startServer::start::failedToStart, a function literal at line 144, startServer, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78e6ceea9fdddf1f5f0cb6b19cd6a7ffcef3acec1f32bd25e6d9fad953c87cc"}},{"ruleId":"D1","level":"warning","message":{"text":"get-configured-http-middleware-fns.getBuiltInHttpMiddleware (cyclomatic 18): get-configured-http-middleware-fns.getBuiltInHttpMiddleware has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 83, 117, 150, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/get-configured-http-middleware-fns.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d571b954cbc858e62062ce7fbb681e060d56eb45f3e430b59d2fbe860dfbbb"}},{"ruleId":"D1","level":"warning","message":{"text":"render.default.renderView (cyclomatic 18): render.default.renderView has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 62, 142, 155, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/render.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01ed2f08547da291114953a2b17ec27cff5be038125f36e9f1eb12aa4e070f1"}},{"ruleId":"D1","level":"warning","message":{"text":"_buildResponse::_sendShim (cyclomatic 18): _buildResponse::_sendShim has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ac0298496d28826d4669bdbf661c654401eafffa668283db982c6bf2c19bf2"}},{"ruleId":"D1","level":"warning","message":{"text":"exports (cyclomatic 18): exports has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 62, renderView::(anonymous)::_internationalizingIfRelevant, a function literal at line 155, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/render.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"92143e773c62dc4dff96c16f4904724f3b81cdbbda5b6f26456d00344a05ff74"}},{"ruleId":"D1","level":"warning","message":{"text":"lift.lift (cyclomatic 17): lift.lift has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 69, 45, 71). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/lift.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a0a93ee8f8cc55930b35f1b3b1d5c8e8f7e1103c31c9efbb75c96a1ecee764"}},{"ruleId":"D1","level":"warning","message":{"text":"sails-www.default (cyclomatic 17): sails-www.default has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-www.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56bf598ed6fd34c4ef6a4e40408cafccd91dcf84f37402d62ff8ae461fa14b6"}},{"ruleId":"D1","level":"warning","message":{"text":"iterate-helpers.iterateHelpers (cyclomatic 16): iterate-helpers.iterateHelpers has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 44, 30). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/private/iterate-helpers.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"638b5a841104172255e6ca793e7fd34168e22c964ab0bf8f03adf32dd470f6db"}},{"ruleId":"D1","level":"warning","message":{"text":"middlewareWrapper (cyclomatic 16): middlewareWrapper has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 231, a function literal at line 262, optionsCallback, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/cors/set-headers.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c837900e7c8492162b5d6493644782f97848cca016778a1a7a26ce72a29d36"}},{"ruleId":"D2","level":"warning","message":{"text":"index.default (cognitive 216): index.default has cognitive complexity 216 (threshold 15). Drivers by points: if/else 89 (143 pts), boolean chains 44, ternaries 12 (20 pts), error handling 3 (6 pts), loops 3 (nesting depth added 65). None of this is in the body itself: all 216 points belong to 26 function items inside it that branch (a function literal at line 468, a function literal at line 731, a function literal at line 970, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"39368810a2b0cf9114a93099bb51a5f3e01cd5753d190e6245380916df5239e9"}},{"ruleId":"D2","level":"warning","message":{"text":"parseBlueprintOptions (cognitive 106): parseBlueprintOptions has cognitive complexity 106 (threshold 15). Drivers by points: if/else 38 (78 pts), error handling 6 (21 pts), boolean chains 4, ternaries 1 (2 pts), match/switch 1 (nesting depth added 56). Of this number, 44 points are the body\u0027s own statements and 62 belong to 16 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a7fc74510d7edf5474fa96f2293cfd9edfadac00473ea09b3b7febf6a4f3ac"}},{"ruleId":"D2","level":"warning","message":{"text":"index.default (cognitive 77): index.default has cognitive complexity 77 (threshold 15). Drivers by points: if/else 44 (59 pts), boolean chains 12, error handling 3 (6 pts) (nesting depth added 18). None of this is in the body itself: all 77 points belong to 19 function literals inside it that branch (lines 52, 361, 315, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"99779e1138547dd2e8f536502c9ef038056cd1fbc454e8bbe21a1905a6534acb"}},{"ruleId":"D2","level":"warning","message":{"text":"exports.configure (cognitive 69): exports.configure has cognitive complexity 69 (threshold 15). Drivers by points: if/else 34 (41 pts), boolean chains 12, ternaries 6 (12 pts), error handling 2 (4 pts) (nesting depth added 15). Of this number, 36 points are the body\u0027s own statements and 33 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"36aa5ad750c2c933ecd0e770c41326a698f92ea95ae923e0df20ef85103b194a"}},{"ruleId":"D2","level":"warning","message":{"text":"buildRequest (cognitive 60): buildRequest has cognitive complexity 60 (threshold 15). Drivers by points: boolean chains 24, if/else 9 (19 pts), error handling 2 (6 pts), loops 4 (6 pts), ternaries 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 18). Of this number, 46 points are the body\u0027s own statements and 14 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/req.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c0bb3d9e182bc52d08cbdc1aedf44f49aadf37101427ced8737ce9732d06d4"}},{"ruleId":"D2","level":"warning","message":{"text":"initialize.default.initialize (cognitive 58): initialize.default.initialize has cognitive complexity 58 (threshold 15). Drivers by points: if/else 33 (42 pts), boolean chains 14, error handling 1, ternaries 1 (nesting depth added 9). None of this is in the body itself: all 58 points belong to 11 function literals inside it that branch (lines 42, 340, 314, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"291c5aa634e119831cadf6100a27e6659301177d283ac34cff8feed19b8227d6"}},{"ruleId":"D2","level":"warning","message":{"text":"exports (cognitive 56): exports has cognitive complexity 56 (threshold 15). Drivers by points: if/else 26 (31 pts), boolean chains 18, error handling 4 (5 pts), ternaries 2 (nesting depth added 6). None of this is in the body itself: all 56 points belong to 35 function items inside it that branch (a function literal at line 444, a function literal at line 511, a function literal at line 253, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/moduleloader/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ca10ce1e7555d0ced4e4ddeddb063abaf553a5ed3f507406fe6fb854415802"}},{"ruleId":"D2","level":"warning","message":{"text":"index.default.configure (cognitive 55): index.default.configure has cognitive complexity 55 (threshold 15). Drivers by points: if/else 34 (41 pts), boolean chains 10, error handling 2 (4 pts) (nesting depth added 9). Of this number, 35 points are the body\u0027s own statements and 20 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"680e3846940c3e247b0a93ee4e517aae203e3657cc9be3e3d798db8f93556080"}},{"ruleId":"D2","level":"warning","message":{"text":"sails-run.default (cognitive 54): sails-run.default has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 10, match/switch 3 (7 pts), error handling 4 (6 pts), ternaries 1 (2 pts) (nesting depth added 16). Of this number, 42 points are the body\u0027s own statements and 12 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-run.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f205e89859415387f8140186062491cf26c5239f29deafaba823b19bc03e60"}},{"ruleId":"D2","level":"warning","message":{"text":"loadActionModules (cognitive 50): loadActionModules has cognitive complexity 50 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 7, match/switch 2 (6 pts), error handling 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 16). Most of this is not in the body itself: 2 of the 50 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 46, 79, 208, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/controller/load-action-modules.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4e882d25218285ecfdfa653e1251b38a48337829c468ac84b6bd90681b9156"}},{"ruleId":"D2","level":"warning","message":{"text":"index.default.bindShadowRoutes (cognitive 45): index.default.bindShadowRoutes has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (37 pts), boolean chains 8 (nesting depth added 16). Most of this is not in the body itself: 14 of the 45 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 286, 454, 255, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aa53b9dd7b9856cdb72f3fc5fd95e71707f9b96e0fee867f757cfed032bf36"}},{"ruleId":"D2","level":"warning","message":{"text":"exports.bindShadowRoutes (cognitive 45): exports.bindShadowRoutes has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (37 pts), boolean chains 8 (nesting depth added 16). Most of this is not in the body itself: 14 of the 45 points are its own statements and the rest belongs to 26 function items inside it that branch (a function literal at line 286, a function literal at line 454, a function literal at line 255, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f91c7268279a1e4867dec501b0135422224d0998b568287bcc64a241a633d1"}},{"ruleId":"D2","level":"warning","message":{"text":"exports.configure (cognitive 44): exports.configure has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 6, ternaries 2 (6 pts), error handling 2 (4 pts), loops 1 (nesting depth added 16). Most of this is not in the body itself: 8 of the 44 points are its own statements and the rest belongs to 9 function items inside it that branch (inspect::(anonymous)::_onHelper, a function literal at line 246, _gettingSVROfLocalSailsDep, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ae4d0478552dca8f4912338b32a9844c20eaba6225b13a41e0dfb8fc82d608"}},{"ruleId":"D2","level":"warning","message":{"text":"index.default (cognitive 41): index.default has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 17, error handling 3, ternaries 1 (nesting depth added 1). None of this is in the body itself: all 41 points belong to 17 function literals inside it that branch (lines 426, 511, 253, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/moduleloader/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c54d3dec49e6d06474b07ce6efe7d97496a2ddfd4e83071b63812bdf69aee44"}},{"ruleId":"D2","level":"warning","message":{"text":"index.default (cognitive 41): index.default has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 5, loops 2 (4 pts), error handling 2, ternaries 1 (2 pts) (nesting depth added 9). None of this is in the body itself: all 41 points belong to 10 function literals inside it that branch (lines 197, 183, 250, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/policies/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda5970a1e88116dd13dbb9883e3098cac96641d4fcbf8234644571f651b41ca"}},{"ruleId":"D2","level":"warning","message":{"text":"exports (cognitive 41): exports has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 5, loops 2 (4 pts), error handling 2, ternaries 1 (2 pts) (nesting depth added 9). None of this is in the body itself: all 41 points belong to 19 function items inside it that branch (a function literal at line 197, a function literal at line 183, a function literal at line 250, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/policies/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10474ddf1fd741e853f4c63df149af9274496cab7abc98e654f4193b1f0ffce"}},{"ruleId":"D2","level":"warning","message":{"text":"rc (cognitive 38): rc has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (24 pts), loops 3 (5 pts), boolean chains 4, ternaries 3, error handling 2 (nesting depth added 11). Most of this is not in the body itself: 10 of the 38 points are its own statements and the rest belongs to 9 function items inside it that branch (envFn, fileFn, envFn::_buildSubObj, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/util/rc.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cec67857dd8c1a6f9c3d9434bbcedf1226e78642ed02e8d41351c9a2a7948b"}},{"ruleId":"D2","level":"warning","message":{"text":"_addResViewMethod::view (cognitive 38): _addResViewMethod::view has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 7, ternaries 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/res.view.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b68543f2b359c5e931421b9650745fad9d9bd8e0725c1872df72fa4e55dd173"}},{"ruleId":"D2","level":"warning","message":{"text":"exports::initialize::_afterLoadingSessionHookIfApplicable (cognitive 37): exports::initialize::_afterLoadingSessionHookIfApplicable has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 10, error handling 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da2b21c414050687581f0e1b85a5afa070cf23769b24588847fc2a35d378452"}},{"ruleId":"D2","level":"warning","message":{"text":"request (cognitive 36): request has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 12, error handling 1 (2 pts), ternaries 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 19 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/request.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7e88e01a3f70521201834f6182a5716ceeac1b149f74ac1b9091ab9f56444b"}},{"ruleId":"D2","level":"warning","message":{"text":"loadHooks.default.initializeHooks (cognitive 33): loadHooks.default.initializeHooks has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 12, error handling 1 (nesting depth added 2). None of this is in the body itself: all 33 points belong to 10 function items inside it that branch (loadHook, prepareHook, a function literal at line 212, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/loadHooks.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbf70835827969032e1db905982f78d221891a29e9d033f84d0aefeaf146813"}},{"ruleId":"D2","level":"warning","message":{"text":"default-view-rendering-fn.partial (cognitive 33): default-view-rendering-fn.partial has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (21 pts), loops 3 (7 pts), boolean chains 4, ternaries 1 (nesting depth added 9). Of this number, 29 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/default-view-rendering-fn.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f537d8c46def500088af2c69ef0a76841498c2bcd5167daba4a16102bd16fd7b"}},{"ruleId":"D2","level":"warning","message":{"text":"html-scriptify.htmlScriptify (cognitive 33): html-scriptify.htmlScriptify has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (26 pts), error handling 3 (6 pts), boolean chains 1 (nesting depth added 9). Of this number, 30 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/html-scriptify.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6285abeeefb5d96ccad5e255c257ccb4c8eefe6d1ba8fa8059452b9f526829"}},{"ruleId":"D2","level":"warning","message":{"text":"exports (cognitive 33): exports has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 11, error handling 1, ternaries 1 (nesting depth added 2). None of this is in the body itself: all 33 points belong to 23 function items inside it that branch (initializeHooks::prepareHook, initializeHooks::loadHook, a function literal at line 212, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/loadHooks.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d6ec6e9cd3e440282635ef401894fdf58ec4ca7846c8cafa925b1e254a0866"}},{"ruleId":"D2","level":"warning","message":{"text":"index.default.initializeCsrf (cognitive 32): index.default.initializeCsrf has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 10 (nesting depth added 5). None of this is in the body itself: all 32 points belong to 3 function literals inside it that branch (lines 85, 29, 122). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/csrf/index.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"db17d52834ab225406ea1017216bfb5ae9074e9efd96a76cc84d35b3c25d7192"}},{"ruleId":"D2","level":"warning","message":{"text":"exports (cognitive 32): exports has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 9, ternaries 3 (4 pts) (nesting depth added 2). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 116, a function literal at line 73, cloneSpecificValue, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/util/deep-extend.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51ecfbbf9373923fd432da7c19369cd8e165a748e20d055cdf34e42c64e4dce"}},{"ruleId":"D2","level":"warning","message":{"text":"exports (cognitive 32): exports has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 10 (nesting depth added 5). None of this is in the body itself: all 32 points belong to 9 function items inside it that branch (a function literal at line 29, a function literal at line 85, a function literal at line 122, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/csrf/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d3d409dbed46f51d233702a536d379aa86823a8922b6d82e336bc65e699ccb"}},{"ruleId":"D2","level":"warning","message":{"text":"bindAction (cognitive 31): bindAction has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 13, if/else 10 (12 pts), error handling 3 (4 pts), ternaries 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 9 of the 31 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 157, a function literal at line 210, (anonymous)::mockNext, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bind.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5966a9d044e9e04e792eb2769db4cb1cf4584d3229c74ef2f5d24c3f0e314a6b"}},{"ruleId":"D2","level":"warning","message":{"text":"replace.replaceCollection (cognitive 30): replace.replaceCollection has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 6, match/switch 2 (5 pts) (nesting depth added 7). Most of this is not in the body itself: 3 of the 30 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 154, 212, 52, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/replace.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58b03a5dd8c824c25d74230016b3784ac897be80c4527c15113f70da973ad33"}},{"ruleId":"D2","level":"warning","message":{"text":"load.default (cognitive 29): load.default has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 10 (nesting depth added 3). None of this is in the body itself: all 29 points belong to 8 function items inside it that branch (a function literal at line 259, verifyEnvironment, a function literal at line 30, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/load.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2973ff86d517b2c5d3352d264d215fe9de31463f98c80647aa5e13bd1bbfa4ab"}},{"ruleId":"D2","level":"warning","message":{"text":"res._buildResponse (cognitive 29): res._buildResponse has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 23, if/else 5 (6 pts) (nesting depth added 1). Of this number, 28 points are the body\u0027s own statements and 1 belongs to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"382bde9fce10d6652f4f288c6df391f7f0b87a73b3289701819f0cf60b230e27"}},{"ruleId":"D2","level":"warning","message":{"text":"index.default.configure (cognitive 29): index.default.configure has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 6, error handling 2 (4 pts) (nesting depth added 4). Most of this is not in the body itself: 7 of the 29 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 246, 212, 61, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfd867f2d830ea3947ccfa54dc383c419703279dc8b7e674cbd79f081238967"}},{"ruleId":"D2","level":"warning","message":{"text":"exports (cognitive 29): exports has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 10 (nesting depth added 3). None of this is in the body itself: all 29 points belong to 14 function items inside it that branch (a function literal at line 259, verifyEnvironment, load, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/load.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7553198cdff2583f5ddec12d98f2dd5510e94aeb50f14342e094de490f4811c1"}},{"ruleId":"D2","level":"warning","message":{"text":"exports (cognitive 29): exports has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 10, error handling 2 (3 pts), ternaries 1 (nesting depth added 3). None of this is in the body itself: all 29 points belong to 18 function items inside it that branch (a function literal at line 92, Hook::_normalize, Hook, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/index.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f012d5fe55ccfa69521c082b2f925b7f382a41fb7f5d9c219709bba4ea1b95"}},{"ruleId":"D2","level":"warning","message":{"text":"exports::configure (cognitive 29): exports::configure has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 6 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad491dfa36beb063c034983298dea7efa49097a71c981265bba047dc27b254b4"}},{"ruleId":"D2","level":"warning","message":{"text":"bindFunction (cognitive 28): bindFunction has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 6, error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 11 belong to 10 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bind.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f70ad2eee1781e62dbccdb4ba82619b07c964c71e42ff4fd84f99c47d832c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"sails-upgrade.default (cognitive 27): sails-upgrade.default has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 2 (6 pts), error handling 3 (5 pts), boolean chains 1 (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-upgrade.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5e16f8f7c9c918a04f7f2cdec80c0b23c7b822a9e178ff501b91b01ef279aa"}},{"ruleId":"D2","level":"warning","message":{"text":"_buildResponse::_sendShim (cognitive 27): _buildResponse::_sendShim has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 3 (6 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65e37a48b2a998aab8aac9ffa12cc06776aa25456d994733ced7d9c0a03f1dd"}},{"ruleId":"D2","level":"warning","message":{"text":"create.createRecord (cognitive 25): create.createRecord has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 2 (5 pts), boolean chains 4 (nesting depth added 7). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 115, 89, 36, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/create.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf029b7bad600c105bf5925e83fafd6ec38c1eebb226e386dc0341859ae04730"}},{"ruleId":"D2","level":"warning","message":{"text":"lower (cognitive 25): lower has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, if/else 11, error handling 3. Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 12 function items inside it that branch ((anonymous)::shutdownHTTP, (anonymous)::shutdownSockets, (anonymous)::removeListeners, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/lower.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf9bf3846168ff42684dc9166ddebd2668d6535a0d6959ee689266c0d2ca96e"}},{"ruleId":"D2","level":"warning","message":{"text":"exports::getPubsubMethods::_publishAdd (cognitive 25): exports::getPubsubMethods::_publishAdd has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 8, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9eec41dc3eef56de1ea7666af74bb76ac7ed25e63150a66d054d322a595a22"}},{"ruleId":"D2","level":"warning","message":{"text":"index.default.configure (cognitive 24): index.default.configure has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 6 (nesting depth added 3). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/index.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1019ea5d8a6500c510cc0bbe29369b466a7cc4e634cb008d73a0e5f932c2456"}},{"ruleId":"D2","level":"warning","message":{"text":"exports.configure (cognitive 24): exports.configure has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 6 (nesting depth added 3). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/index.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"76241c94f44bb985b739a1a3f0b72896c5fce91f69bcf9f2eab08e3bff52b521"}},{"ruleId":"D2","level":"warning","message":{"text":"start.default.startServer (cognitive 23): start.default.startServer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 47, 22, 144, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7cfb96d3037f9240d1dfd71daaf8aac3f09d3e297418ed21d49f071373e5b3"}},{"ruleId":"D2","level":"warning","message":{"text":"getActionIdentityForTarget (cognitive 23): getActionIdentityForTarget has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 2 (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/index.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"1614d472bba061db72086e5af81c72c83b046b060d0f9586a543963c73b84e0e"}},{"ruleId":"D2","level":"warning","message":{"text":"middlewareWrapper (cognitive 23): middlewareWrapper has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 4 (nesting depth added 4). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 231, a function literal at line 262, optionsCallback, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/cors/set-headers.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"524e84592dc9ea795e0c861afb9cc5f772f1583248b764671d3f532eb8d295b2"}},{"ruleId":"D2","level":"warning","message":{"text":"add.addToCollection (cognitive 22): add.addToCollection has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 2 (5 pts), boolean chains 4 (nesting depth added 5). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 66, 106, 52, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/add.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af2c496abbdb6c4ef43ccf06db11664285b235ea49c50a7671af28133523d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"serverError (cognitive 22): serverError has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 9). Of this number, 12 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/responses/defaults/serverError.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"408fbe581684a2e3034bc02a4b40b7036e56b4ed341d62763b77b67be0696179"}},{"ruleId":"D2","level":"warning","message":{"text":"exports (cognitive 21): exports has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 5, ternaries 3, error handling 2. None of this is in the body itself: all 21 points belong to 10 function items inside it that branch (loadConfig::mapOverrides, a function literal at line 82, a function literal at line 114, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/configuration/load.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c5cb7bbc9394760bc3a036148756e2fcc36a2b5fdcc880a60373d9218aed87"}},{"ruleId":"D2","level":"warning","message":{"text":"_addResViewMethod::view::viewFailedToRender (cognitive 20): _addResViewMethod::view::viewFailedToRender has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/res.view.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e0b2dd81ae5d5c35d04de53a9450a13689b3cd847b61f5b971405dd757c9fd"}},{"ruleId":"D2","level":"warning","message":{"text":"lift (cognitive 19): lift has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7 (nesting depth added 4). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (whenSailsIsReady, defaultCallback, a function literal at line 71, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/lift.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2963989071259d767b464a0a6901f8c061414fb5b8b064b558cba94b9e8ded58"}},{"ruleId":"D2","level":"warning","message":{"text":"getBuiltInHttpMiddleware (cognitive 19): getBuiltInHttpMiddleware has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5, ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 117, a function literal at line 83, (anonymous)::onBodyParserError, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/get-configured-http-middleware-fns.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"97db47d0d5a230e45ed4e44336bb109a655183717e6e59ae2f3f88129681c274"}},{"ruleId":"D2","level":"warning","message":{"text":"update.updateOneRecord (cognitive 18): update.updateOneRecord has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 5). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 66, 50, 112). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/update.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1096fa21f9a0f9078bb5cab15f382a0f2fca24069e8d9dc1bfcdc678c0995c46"}},{"ruleId":"D2","level":"warning","message":{"text":"index.default.initializeCors (cognitive 17): index.default.initializeCors has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6 (nesting depth added 1). None of this is in the body itself: all 17 points belong to 2 function literals inside it that branch (lines 37, 19). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/cors/index.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57b7331b02a6d54250bf376c1e200dd83d3b8669fa8784bb7089c6985d68844"}},{"ruleId":"D2","level":"warning","message":{"text":"configure.configure (cognitive 17): configure.configure has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/configure.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79dbcd5327bb800a57f352ad82e4131db2c432d563d5c2f56fc56cdb49f6ede"}},{"ruleId":"D2","level":"warning","message":{"text":"render.default.renderView (cognitive 17): render.default.renderView has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 7. None of this is in the body itself: all 17 points belong to 5 function literals inside it that branch (lines 62, 142, 155, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/render.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf364b74c573e0c00ea03b38c7e81984fa9daecbad591a986d45d74d72dce4f"}},{"ruleId":"D2","level":"warning","message":{"text":"exports::startServer::start::failedToStart (cognitive 17): exports::startServer::start::failedToStart has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b79f04661019750578a9587a786fd5ebf9a4507e4b8fe7962927a902441784"}},{"ruleId":"D2","level":"warning","message":{"text":"exports::getPubsubMethods::_publishRemove (cognitive 17): exports::getPubsubMethods::_publishRemove has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"2818d5a37bb5111b2e124dc26bd23c0479947e96e94ee927fb32cc63780e31c2"}},{"ruleId":"D2","level":"warning","message":{"text":"exports (cognitive 17): exports has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 7. None of this is in the body itself: all 17 points belong to 6 function items inside it that branch (a function literal at line 62, renderView::(anonymous)::_internationalizingIfRelevant, a function literal at line 155, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/render.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed43f1fae78aacf1dc4c5398aa4e26a5fc33d8e0749c0a2e5a782277314ddb7"}},{"ruleId":"D2","level":"warning","message":{"text":"exports (cognitive 17): exports has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6 (nesting depth added 1). None of this is in the body itself: all 17 points belong to 3 function items inside it that branch (a function literal at line 37, a function literal at line 19, initializeCors). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/cors/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d535f53647239f32016e7a710170c10c6b04d24d55f3592872bb2dd89511050b"}},{"ruleId":"D2","level":"warning","message":{"text":"exposeGlobals.exposeGlobals (cognitive 16): exposeGlobals.exposeGlobals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/exposeGlobals.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0631cf3e929019011d3ea4d91c9b74a046b4f1decdd8d686b1f62c06ae693ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"bootstrap.runBootstrap (cognitive 16): bootstrap.runBootstrap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 56, 97). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/bootstrap.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d25b69af3eb15d9bb3cf265e7df6c640cb64d152de19b89919acd5579988cc"}},{"ruleId":"D2","level":"warning","message":{"text":"isLocalSailsValid.isLocalSailsValid (cognitive 16): isLocalSailsValid.isLocalSailsValid has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/isLocalSailsValid.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b716bec9daa9cd24116d38873997fc8158213a14e42ce1c690779484f05299"}},{"ruleId":"D2","level":"warning","message":{"text":"sails-www.default (cognitive 16): sails-www.default has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, match/switch 2 (4 pts), boolean chains 3, error handling 2 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-www.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7d5402f2f973f397528cb4b4154a4716b78bb6978bc83f305ca3619f32acdb"}},{"ruleId":"D2","level":"warning","message":{"text":"iterate-helpers.iterateHelpers (cognitive 16): iterate-helpers.iterateHelpers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4 (nesting depth added 3). None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 44, 30). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/private/iterate-helpers.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"995bc1aa381299e75988dcbff5da4c76b7e81d87cfc137be0008e20f798880c1"}},{"ruleId":"D2","level":"warning","message":{"text":"set-headers.middlewareWrapper.corsMiddleware (cognitive 16): set-headers.middlewareWrapper.corsMiddleware has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 231, 262). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/cors/set-headers.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aac65dc5a0ea29fed64569022f1d9c1ffda88905022348667f2133a8d35b091"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.default: FunctionTooLong \u2014 default runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d5d24522581378b255b94468232fcea998a08b897c1f5ef2612cf332711bb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.default: FunctionTooLong \u2014 default runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf06df98110c04f3aa2a68ae9e3609dc4a9dc201922e7e7b0dfb05e8c2fecf35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: initialize.default.initialize: FunctionTooLong \u2014 default.initialize runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"86887a93ad0578022f8bacda6f29f20a555e2c621b389f813f44b2dffe36f777"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.default.configure: FunctionTooLong \u2014 default.configure runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d90b10ee9dbc4904a0cec35ad17d2693b732179a1eceeee3b2578093055138f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.default.configure: FunctionTooLong \u2014 default.configure runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0294e7e31283ff8c0aa1a3666dfc47c00ba2d80e7216d0c4fc41bfc1f177ac4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: loadHooks.default.initializeHooks: FunctionTooLong \u2014 default.initializeHooks runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/loadHooks.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21d3cff6da133d0f4de252add547807dbc9bfd7a0fad62c9593443fc2eff16f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.default.bindShadowRoutes: FunctionTooLong \u2014 default.bindShadowRoutes runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58a318e48330f39e5f0d7280a17291d9c8b70bc382732fbfc53d72cbc0be8b7"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the repository root runs mocha but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060c8\u0060 (or \u0060nyc\u0060) as a devDependency so the suite can be wrapped for coverage. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should work w/ basic usage: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/views/res.view.test.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74d9517ca8d23c2e602f47635f28a8a7c987e2683bb51751f503d8194503c52"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should initialize w/ the session hook: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/App.prototype.load.test.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b23306564fa94c4a118db89711cc915468afb57ea2b693987c9bc7f5182fd7f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should not exist: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/req.session.test.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbde1b4f3ac849004a0eb961fbaf61479a2cb1c0014684174a33308cd2937fbb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should exist: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/req.session.test.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7996cb6a76837ea6d56a91caf0bd7a800374014b4505583edf3a75de93ea7436"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should persist data between requests: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/req.session.test.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cbbba1d8b1511a972d89b5a6019a0c88470d093f03976140ccd789d083753c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should send 404 response (put /whitespace2): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/router.bind.test.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0b2db39ab6fb6a69802d78a5bb72a54197079b767c6b23932d29324c238f60"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/globals.test.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce103e218ab0f297fdb6cb81809a72efffc730aebb37a22793922657d790cbf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/globals.test.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"92def22c29a986f2c41bc540b63de19749e3c49223faacf44c02242c2d8aba62"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/globals.test.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80d46ded2712dde344d22018f47a03e302abb5f990ace965c253338e5c10919"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/globals.test.js"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"d011b55a39b8360f5daed385c76db5ff1e070de838e322526c88d414cf2d0aad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/globals.test.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f6ae92a2957459c531f84a9230707b5956ad7aa16079fe74d5c30cea880272"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should return JSON for the specified collection of the test model: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.blueprints.restful.routes.test.js"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8900cc305bc111dc3a03bb59a069149dd067c0c8d96d193ea0af87cb44f8475"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should return a 404: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.blueprints.restful.routes.test.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"f907daeb1a0b86478a29b603faeac403363ab1214a54634668c2f56c151bba4b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: the delete blueprint should not cause any errors: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.blueprints.restful.routes.test.js"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9063b6138970a11fb72ac1ae8bf10206c180b8f1d9d1392471c2d55d26c549d2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should return JSON for the specified instance in the collection of the test model: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.blueprints.shortcut.routes.test.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"476ec8f2b3975c33ed7c5d088244d1a5d3025e39deb91b35d861f1c5835ab9e3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"0828151d7b9f3972cd451a5cf743072d8d1fd8194a387c951ba2d1e3165f30f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4f423840cc83ff2014ef30a815d33917878a019ab261d822a9ff3e04948d0f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a88e677fd2c7a5182b539102c9324ab093327b0370f43ce709dff9416f337af"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ee9ae86a371405dbcaceda0d57c0d73ec6f5bcded4bd66677fce36e1cbef0f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a96ae36dd49aa58b3d8b2dc1a30d6ce92a1bc6b1c10029231fcf045af1f4fb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"039a8625298f9550d5a445067397dc233dc2c2a920cfa58ea4151ecc68b2d6a7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e11ac5a6388367b9ee8a9ddf47af901e7f2b7115fdcd1806168534a358b92c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf68a86bd2a29c583e3ba571a4d14727cc2e08dd7dd11a6c9652998c74d609f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"85af9ed43c2dadbaece51b222dc8a4658167b73e2c39d88275858312948a81ec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e69f3d6edd528150d406b51c8b7c5dae769abf4f462afd6c76218ab070062b6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2e0d2c627ea7644738d55fe60b12041c98026b70ba82864fe2ebfdadfed7a5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a HEAD request to a route with the CSRF used as a view local should not result in an error: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"51486f485708732a72d587c9761edb5dc5146d19f517ce5343aa20ab2fd57271"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: an OPTIONS request to a route with the CSRF used as a view local should not result in an error: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4482595529ddf813abc0b4923c106310c1d20317153153cbf0d7ecee75dc0992"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request without a CSRF token should result in a 403 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19dd866474a7a61984771394160ade4ac58af5dd6708596c1751dc6e32fed6a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /foo/12 without a CSRF token should result in a 404 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f432caca472b8c2744fad2cad6ef5ef061a43ce916680a36b869a139dc6e837"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /foo/12?abc=123 without a CSRF token should result in a 404 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a4eb1821aa2ee41165606d5d4ca5b7f166839c3625bab4510b0109338442fd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /bar/12 without a CSRF token should result in a 404 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5cd287ce7be7f856ba41ec656b11d9c6f0e27248047fd664b7d56957d362e7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /bar/12?abc=123 without a CSRF token should result in a 404 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"407e2b41cf338e71b1c18776272f5f8d887003e8a03750884e2b5c3abf6d4352"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /bar without a CSRF token should result in a 404 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"32916e7b1ee744c9f0765ce6162796cf8b5b5e35ebed2e2f0736d5eee528b872"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /bar?abc=123 without a CSRF token should result in a 404 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0da92fecedfee661c14db5d99738fd0c75d7c18567be2fb982b1ce0fdd9e478"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a PUT request on /foo/12 without a CSRF token should result in a 403 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"56680b75f14348bdd671c0086aa5f9ced18224292c902c26f76d7553bdfc94f9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /test without a CSRF token should result in a 403 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fd18ed710fa621e7ea59b59b828f2baf537e7dce48a506c406c4f326c49341"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /foo without a CSRF token should result in a 403 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aedb542f488ab30db4f70701c2548d11149cdc6b0dc1c1d641f87f1da3d8e22"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a PUT request on /user/1 without a CSRF token should result in a 403 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6fe75240d8579ec6407ffda34eb712a434bed4b0f1516a058fb023e565b654"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /user/a without a CSRF token should result in a 403 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"20573e520b9c7b8d50a1b8b32d13c79e1c4f3a7c516175911f35788e89cbed34"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /user without a CSRF token should result in a 403 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a4e8749517180fa2d6046b638cf6465f56dc462139c6a3e4c37e08e12fcb62"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a POST request on /user/1 without a CSRF token should result in a 403 response: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a2f6b6fe16fd156d4984b85c640acadf87e2f9ce4d3af62b1467573007296d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.csrf.test.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"676e4eb337f12a714ea8934ef520fefdeca4cb96d84544a856221fa6c56e18f8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Sails should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.policies.test.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d958708f55dc6c28dcebb8e3762949754eb148aa92dc92617ad1ae2cfbf4bd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Sails should fail to lift: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.policies.test.js"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58234d9bb82ca7cdc283259f5e0f7be582e2dc7af587f0e1f43a6846ebb07f9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause a \u0060created\u0060 notification to be received by all \u0060user\u0060 subscribers: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4da3e3b184355a19055d57bc2d053b53d7ba0df29728294d194d1576aea1a82"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060addedTo\u0060 notification to be received by all subscribers to the child record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d382d80febd54e93e6bbf0d14fb4f226fee2b8c9384be4554a9d4187567f36b6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060updated\u0060 notification to be received by all subscribers to the child record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1c235039d92c98c5db603f578dc8a2b69138e532244803098414352771c38c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060updated\u0060 notification to be received by all subscribers to the child record, and a \u0060removedFrom\u0060 notification to be received by all subscribers to the child\u0027s former parent record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"034655b23ecf5c3417df548a51ffd5c4a835da05602d3e9879955b6880d36dda"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060addedTo\u0060 notification to be received by all subscribers to the child record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ccbba05ff3941cab202695a1316888ad1a58e1eba0680f51c9ef5b93bd06d5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060updated\u0060 notification to be received by all subscribers to the parent record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13fb8d174b9c046cb0c76705a6c122dd8d901185b6971ba079819a782ee0b7f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060addedTo\u0060 notification to be sent to all subscribers to the new parent record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae2f63f512a36d1942e4bbfea183cc3a87a3378c69150c603370d6071e180b9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause a \u0060removedFrom\u0060 notification to be sent to all subscribers to the old parent record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee09fa455ed7056663274730246b78c18774eba1638cf94dcd4fc362c9ccf5c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060addedTo\u0060 notification to be received by all subscribers to the parent record, and an \u0060updated\u0060 notification to be received by all subscribers to the child record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"f910c188c762e648639e173fe5d03f1ab0c69447010e0f661afd520273896907"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060updated\u0060 notification to be received by all subscribers to the child record, and a \u0060removedFrom\u0060 notification to be received by all subscribers to the child\u0027s former parent record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea7759cc7eb5f8122a0e7fe965b0b5cbf1fc94123414a74e54ec9dc834d649a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060addedTo\u0060 notification to be received by all subscribers to the child record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7973c6e7a2ea9c1c9fff6ec674cf480fe692005859b90dc1bcc493dfec3b16"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause a \u0060removedFrom\u0060 notification to be received by all subscribers to the parent record, and an \u0060updated\u0060 notification to be received by all subscribers to the child record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"81eb2b6f64009430248ab97deaa3389a5442ffe8e14c674ea530ebc25208bf31"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause a \u0060removedFrom\u0060 notification to be received by all subscribers to the child record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"14443e91bc2b4139205c59d7203f0bc7645f44ce69c91e3940d0343f40a080ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060updated\u0060 notification to be received by all subscribers to the replacement child records, an \u0060addedTo\u0060 notification to be received by all subscribers to the new parent record, a \u0060removedFrom\u0060 notification to be received by all subscribers to the new parent record (about replaced children) and a \u0060removedFrom\u0060 notification to be received by all subscribers to any \u0022stolen\u0022 child\u0027s former parent record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa8fa8ac61145e1f6de47749566b21dfc7fd49c657ab7d81bb8f4eb3414a070"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause an \u0060updated\u0060 notification to be received by all subscribers to the replacement child records, an \u0060addedTo\u0060 notification to be received by all subscribers to the new parent record, and a \u0060removedFrom\u0060 notification to be received by all subscribers to the new parent record (about replaced children): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbee72b4d0a7f264e81871a86a9085399ddc5b1ffbddce5e087d9adc59ba3e37"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause a \u0060destroyed\u0060 notification to be received by all subscribers to the parent record, and an \u0060updated\u0060 notification to be received by all subscribers to the child records: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf35b9ec9b97a0f9479099beea10509b736e8cf5c368131b5a5e58001986bb35"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cause a \u0060removedFrom\u0060 notification to be received by all subscribers to the child record: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"e165b05bcf748bf4cfd9c9389fcdbc824e00c3dd1e958abf58f681a98e541ced"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should NOT be able to contact localhost:1337 anymore: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/lift.test.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdb751c883f49a191df1e257475aba3aea6cbe88c907f165a604e228687a82b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should throw an error when lifting Sails: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/middleware.cookieParser.test.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3369a634d64b3a12de4fd9ed88169f2c038355e83d9a4fcc72a92f16407daf00"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should throw an error when lifting Sails: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/middleware.cookieParser.test.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d9f4398c9053dfb226f8a731ef35198bddd6acac1bbd6474159ca5cb9c8698"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail to lift if the Redis server can\u0027t be reached: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/middleware.session.redis.test.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebf62a181f3b586f42da760f1580cd52a3e5c41fc1adbfb77d8525a610a55ea"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should throw an error: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/middleware.session.test.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"36998bc759b12751f2c2bc0e8fdce904023c2c07ce28409be4bc7370fdba3851"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should throw an error when lifting Sails: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/middleware.session.test.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c108810b8a8d77b2f980425e6f0c20d646578eafd7cc10899af199dbc338cd0d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should add a _startTime to the request object: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/middleware.startRequestTimer.test.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ac3fe929ab1212d79b351c930d2fc6e289ca826e4b0db127d654725fffb9d6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should create new, liftable app in new folder: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/new.test.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcc5c479f95c94f23d93ed31d82a8d933e7f30c176c7bdcddeeceebd6d91267"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should create new app: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/new.test.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5b95e7487453f6473fea64723b7f01acdece995b37460eaf9a01d0c4f58335"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should create new app in existing folder: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/new.test.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"563f4c8ec6d5b015e70f3435595a8a2900f1c56e27e3b3946271bd47ed380af7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: --dev should execute grunt build: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/www.test.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dde3a6219d4967885bed88d535d80e6fdb2fd773ab92398c112e5bd0407c1d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: --prod should execute grunt buildProd: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/www.test.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"838e069654dda966f3ddb4c2d5104c14c2229640e8c26dc761b8cb1b7b687a34"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should FAIL to initialize if the http hook is NOT enabled: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/views/intialize.test.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a69627b485c5cefc758c27f400ab62f1d2b337f098e60906b67beafdbf2ce35"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should initialize as long as the http hook is included (even without the session hook): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/views/intialize.test.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0125be3d6f29a0867b63f2e1ebe4a8fb9e23abf3f48b76544593ba683b67aa57"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should initialize w/ the session hook: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/views/intialize.test.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2c46177448c35f64305dffcb94da0addf1e515dd41e695105a66d3408a7615"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should return a view when requesting \u0060http://localhost:1331/js/dependencies/sails.io.js\u0060: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/views/skipAssets.test.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9595b1acc7663650ab9a204086af8f63eb74533e1a0fc7a29afaa7734f7d42cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should return a JavaScript file when requesting \u0060http://localhost:1331/js/dependencies/sails.io.js\u0060: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/views/skipAssets.test.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0e04e1845abab3ed2210ed7880a9d631a7d80e6ba8b62f6d7be7b17eb03e62"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/pubsub/initialize.test.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"347b5f2a869ea22d0b24d1af75b2e7251e9fec9e5f5630382f4d1b95569ac4fc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/pubsub/initialize.test.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa50a7ca80c03d9ec0cb7f20f9c36e4d11f877589bf43d62b314381f7720981c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fail: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/pubsub/initialize.test.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ee9e8b927818a0d93bc02228840d98a3c1627b659b86e8ac8d7b34804019fc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should load successfully: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/pubsub/initialize.test.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ef63eb876bc584a82447663d3a1409398038c44409ca796694cd1c2a3d7806"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should throw an error: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/http/initialize.test.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44503ead076750d65e38b34318f07e15e0dd050a72cb135bf0f15ed957f281a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: , sails should deliberately terminate process: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/sails.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18ab4b113523700581c21036d1d4f2ba79eaeb46bcca5823961e605968f2a7a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should get a Sails instance: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/sails.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd724688b0a638831f2f7974cfda72799668ea5960aa3047fb73f4c3f482e337"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: sails loaded (with : This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/sails.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaf089eb2da392001b96c05ee79da9cfb3c4c759508a8e4718c8941d2141b48"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should still be lifted: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/test-spawning-sails-child-process-in-cwd.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb55b37c60e6d0b4d037a31101dda5d2fcf63962a650a149b71b2bab65a59f03"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should FAIL when a \u0060: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/test-spawning-sails-child-process-in-cwd.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad974c730e4a5f1dc80f1518c0051635d225cfde5d65ee9686fb2ad0edc6439"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should respond with a 200 status code when a \u0060: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/test-spawning-sails-child-process-in-cwd.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0954f4911a731f41fde7d3cb2004ec5e8989dd5d17a2b20756496cd977cc8694"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/benchmarks/sails.load.test.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa76956607ea5f2425925066e1c862c6d2644c40e54d7b3b370c7198605d159f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/benchmarks/sails.request.generic.test.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e413d633d58604becc4c8e26bdf6d9cb7e4bcbf6315499654d214a81a78638"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/benchmarks/sails.request.generic.test.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb26f80ad7f3da2fd3a81c0672be5b940d7181b929dd70793425e3f69842dae2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/benchmarks/sails.request.generic.test.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83e6e1ca59009b9176d7c2a97cab35eade7dc243a972b629703ef7d429cda2d"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: glob: glob 7.1.2, declared in package.json, is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dfa8364448a636dde7d466403280de05e962b7d69e34ec0d3707ec14687871"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: eslint: eslint 5.16.0, declared in package.json, is marked deprecated by its publisher: \u0022This version is no longer supported. Please see https://eslint.org/version-support for other options.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d6fe6ca46e7c5138acb9303f34c05bf26af5e4732d5aadfd02868b07841a1"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: supertest: supertest 1.1.0, declared in package.json, is marked deprecated by its publisher: \u0022Please upgrade to supertest v7.1.3\u002B, see release notes at https://github.com/forwardemail/supertest/releases/tag/v7.1.3 - maintenance is supported by Forward Email @ https://forwardemail.net\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c8a212ada218b7a2cead4c4d586750a31358950cc2bb08c12431a124e54789"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060package.json\u0060 makes this repository a deployable product (line 19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u003C/catch\u003E\u0022 only labels the closing brace of the catch. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/controller/load-action-modules.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e348ed7439593d0153eba4d1062109ec3df57e42970df4d50f280e6b131e391"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u003C/catch\u003E\u0022 only labels the closing brace of the catch. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/controller/load-action-modules.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8fd36e52fc9f07a11a1e4b753d56d32a1dc5df1cc8a312a3109326534cb93a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the blueprint action for parseBlueprintOptions.\u0022 repeats the code it sits on: 4 of its 5 words (set, blueprint, action, options) are already in \u0060req.options.blueprintAction = \u0027add\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/add.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5345dcc6aa5113a2719521a0d6ecd218e0475b7b7fac4c0faa36293ba25a4f2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the blueprint action for parseBlueprintOptions.\u0022 repeats the code it sits on: 4 of its 5 words (set, blueprint, action, options) are already in \u0060req.options.blueprintAction = \u0027create\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/create.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf395df3d3abd34f3e6b8a33001b6bfee9c1cdf9f66a9d3b4606d622eb87729"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the blueprint action for parseBlueprintOptions.\u0022 repeats the code it sits on: 4 of its 5 words (set, blueprint, action, options) are already in \u0060req.options.blueprintAction = \u0027destroy\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/destroy.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f00b018dc19d7af4a2fa83e2b1073978f6086491943a8f594b76f9602b6c58"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the blueprint action for parseBlueprintOptions.\u0022 repeats the code it sits on: 4 of its 5 words (set, blueprint, action, options) are already in \u0060req.options.blueprintAction = \u0027find\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/find.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"496fcd88944d0707f7dddbb8f41eaf5803f466afc1771d18d23f0379adccf026"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the blueprint action for parseBlueprintOptions.\u0022 repeats the code it sits on: 4 of its 5 words (set, blueprint, action, options) are already in \u0060req.options.blueprintAction = \u0027findOne\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/findOne.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5d3bb7debcdc6d0cface679fbfb0747c30036b0842539c560f7c9a7eb99c73"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the blueprint action for parseBlueprintOptions.\u0022 repeats the code it sits on: 4 of its 5 words (set, blueprint, action, options) are already in \u0060req.options.blueprintAction = \u0027populate\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/populate.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"123f21531b1bdeabf9337b8f8145cc7f8d3a6f14c6b40a7cbc2b899767359424"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the blueprint action for parseBlueprintOptions.\u0022 repeats the code it sits on: 4 of its 5 words (set, blueprint, action, options) are already in \u0060req.options.blueprintAction = \u0027remove\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/remove.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"66552b4f5be52302851620531265e8d05503dc9c2c5804d6803a18a9aadec9d2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the blueprint action for parseBlueprintOptions.\u0022 repeats the code it sits on: 4 of its 5 words (set, blueprint, action, options) are already in \u0060req.options.blueprintAction = \u0027replace\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/replace.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"679dfdb1b756b56d14d92e29af46fe34497fbdc5c5169fba91224781c96137e5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the inverse attribute (if any) on the related model.\u0022 repeats the code it sits on: 4 of its 5 words (inverse, attribute, related, model) are already in \u0060var inverseAttr = attr.via \u0026\u0026 relatedModel.attributes[attr.via];\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/replace.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87951d4c17e61962033aeda4b37ebca06f55dabd7610623963056f75a717886"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the blueprint action for parseBlueprintOptions.\u0022 repeats the code it sits on: 4 of its 5 words (set, blueprint, action, options) are already in \u0060req.options.blueprintAction = \u0027update\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/update.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40968bfab4aa91d23dab54170cc74b5ca74777f02e0931a79d62ea4f35bb049"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set \u0060fetch: true\u0060\u0022 repeats the code it sits on: 3 of its 3 words (set, fetch, true) are already in \u0060queryOptions.meta = { fetch: true };\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dee0ab7cdadf1630a15783ec044fb2e0c5d1b69de4aaba1ff9dd70985cd43e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u003C/catch\u003E\u0022 only labels the closing brace of the catch. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4330970bc6f88dfc2248c541f0a133306cee95b290a042d348c701dd7e0f83"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u003C/initialize()\u003E\u0022 only labels the closing brace of the function initialize. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5411b3ad932854aa5ebf19bf593cac78bb37e2ea8033f27dab44f9ee4b1b7a98"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u003C/failedToStart\u003E\u0022 only labels the closing brace of the function failedToStart. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3e6b923323d5fe8b22a2543ff94e2fb1da9a220e1f97dacf89f5117b671125"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022return glob.sync(path, { nocase: true });\u0022 repeats the code it sits on: 6 of its 6 words (return, glob, sync, path, nocase, true) are already in \u0060return glob.sync(path.basename(viewPath), {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/view.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab55e8bac62d663f305b31a1375575abb5184a9ea16088060d63625677cc371"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The file extension for locales files (e.g. in config/locales/)\u0022 repeats the code it sits on: 4 of its 5 words (file, extension, locales, files) are already in \u0060var I18N_LOCALES_FILE_EXTENSION = \u0027.json\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/i18n/index.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8c2dc26d72ab0d867f484f0c06a31bcf5dbe69ba1d75ea3b99e3f0933946f7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set its config key (defaults to the hook name)\u0022 repeats the code it sits on: 5 of its 6 words (set, config, key, hook, name) are already in \u0060hook.configKey = (sails.config.installedHooks \u0026\u0026 sails.config.installedHooks[identity] \u0026\u0026 sails.config.installedHooks[id \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/moduleloader/index.js"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"351e2efc000a0eb3b29e64a450e54eb9fc79b22d5923cf82293619852f5235a0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u003C/else\u003E\u0022 only labels the closing brace of the else. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"716a9a144d16187f6ed34e720879a4b6abe78a49dfc5e1279083f616089989b2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u003C/else\u003E\u0022 only labels the closing brace of the else. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb5a322907e3a1ea88e29c9de7943b2344b95a9a9e06236f3dbfd154301d798"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the reverse association, if any\u0022 repeats the code it sits on: 3 of its 3 words (find, reverse, association) are already in \u0060reverseAssociation = _.find(reverseModel.associations, {alias: _.find(this.associations, {alias: alias}).via});\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe20d2195499b7444c0f62c969cd371b9f59c38969462cba999a0ec489e4205"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a Redis connection manager.\u0022 repeats the code it sits on: 4 of its 4 words (create, redis, connection, manager) are already in \u0060Redis.createManager({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7c4b3f0d6bfb2afb6c7c5498557944f07f48a71b7958c015970fd31ad63c84"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Load config dictionary from app modules\u0022 repeats the code it sits on: 4 of its 5 words (load, config, app, modules) are already in \u0060sails.modules.loadUserConfig(function loadedAppConfigModules (err, userConfig)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/userconfig/index.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72f9f9518fc1b4389c91e83be8b9dc83eee7d2186aec1ea9124b0b60a737253"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Merge the overrides into the loaded user config.\u0022 repeats the code it sits on: 4 of its 5 words (merge, overrides, user, config) are already in \u0060config = mergeDictionaries(userConfig, overrides);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/userconfig/index.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a91747098a9a174c654a17910517df65290ea1107136e9c83680a5f58720d10"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Load user hook definitions\u0022 repeats the code it sits on: 4 of its 4 words (load, user, hook, definitions) are already in \u0060sails.modules.loadUserHooks(function hookDefinitionsLoaded(err, hooks)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/userhooks/index.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b458bcc7c9138ec12611520ced6c72510980974ae630d7b14ae1dd6b99f42ac7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u003C/catch\u003E\u0022 only labels the closing brace of the catch. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bindDefaultHandlers.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83d20932449945b14b8196432bcfd0cbf668ff9663d4cbfa929c505acd9ae2f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set status code\u0022 repeats the code it sits on: 3 of its 3 words (set, status, code) are already in \u0060res.statusCode = statusCode;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f631c766d6a6b1325081b48cbe0388a51b22cd7638e65fc5afee74d552734e0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Change environment to production in config file\u0022 repeats the code it sits on: 4 of its 5 words (environment, production, config, file) are already in \u0060fs.writeFileSync(\u0027config/application.js\u0027, \u0027module.exports = \u0027 \u002B JSON.stringify({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/www.test.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3798f076b0eb4b9c3c0647c34cb77ef9aa1961d1cd24636fdcea087c7cb1dfa1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set our own content-type!\u0022 repeats the code it sits on: 3 of its 3 words (set, content, type) are already in \u0060res.set(\u0027content-type\u0027, ourCustomMime)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/res.test.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e36ca2711917620e32f91587e68770ba12ff3e0232292cb575e7a1d3cde603"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set our own content-type!\u0022 repeats the code it sits on: 3 of its 3 words (set, content, type) are already in \u0060res.set(\u0027content-type\u0027, ourCustomMime)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/res.test.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1c679ff78c7ce59467cfd0eafe2292ca0461dd615b3f2c846bfe2e7aaf679e"}},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3784229e347000b3f7cd278be8dfb38423b28121ee13f94d4c406a7b96fedd83"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f8635ecd6fab0ebeba604b93fcc751ffb16d187ebc85bd9daa4dcac88e69bda"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89c1b3d28acc0cb334efada525b63e28da97bf35fdd5ab1ba26b870b96cb8c4a"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eadff8da5c80a5116eeb7b39505f75dc51b56a75fc0dbf4306c8042c65fcda2e"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b91f4ae016a64a58798c4853e125268a767b010c985bb9393b1013569307d773"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec3badb080b3cbb59394deff67f3a3c71c300b4f954c1dcfb918bc45f3d30342"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b9a659997d1cedb2e93e941071f63aeffb14cbc8137c7be31402b93c325e280"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94f37b0e413b89767070f98043474083429a89f3a707bdadcb932783477963c3"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ea9c6994756097ef6085e918f1c1d7a45626c925ff9631c7f4cc4ce727f9b9e"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"264f78d56f95bc244e5ef2256468c3a2ab20c09a0e9b67a055bf57b8be08ff48"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"240ecda82deb8a5196076b5d9b0ad4125d687c6cb55d24d3e28dc7c27a4b9bc2"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 66 of 66 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 66 separate risks. Counted over 66 of the 106 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31887727d4bcae9feeeddd40b27de5494fee9d641494df3011779548e6ad8912"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"514951d33a718bb8a80654db58663c5479c3e55dedb5bfdc6e78f4b7ab3d1cbe"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edf35e775b8a7bba6116381656e6d13530ea53182d2e0ec78247e27b35f2790"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/moduleloader/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9778e0b5218d46d29b8196fe37a5c444d39aad69b0dcc6ae6f777fdfee4504e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d4542542617cd848ae2fec4c6c525f287126fe972f88f9edf2b72a9cd851e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bind.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c576316c9499c8937f30ca8414bfb553348c1d87627e9e805fea5d93cc46111"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4e6144f4fffe8dac5003296b357c14fe76e3e2621a80c2e4905a094fd672d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37072d59c6381f861231ef72e687dec02db0e1827ce521823220b388dd1d5e40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51433ff0a5e1db380f328edfcadb5c841fa40c93396676cbc6c76ae0407a34ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbf265b78e91871c1c96a2260bd774ec60cb270d563bc8998a354db7ff1401c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/res.view.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6886ef8f8fc1703318b8020cc4900d83d26e1da195fe8acb2e4663b538065399"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/loadHooks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b3609d9a4d50907fa0e8aface6ce6e36fb602413fce26593b8d14da0892c7d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/load.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23847f3dbd3c6e06efd6e30d71ade6a6e9656d74018c87aa6437124c26dc8090"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e58e9fb3e53876a6cb47a5712c87071a614b2713c31e13974a2e8495a448e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10a67f1f9d13f059d0ba7f75cf364f89d9c9f4bd3b8182bdcb7e2d88b5fb6dd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/default-view-rendering-fn.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"176664715468083ece9feab7c61ac4055ed62a0c2696074fb395016b4afd060d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actionUtil.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7084246a8ed533192a0ef47af30a683b28a49bb0b8f4963b75672bf8f95cdca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/policies/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5891ed65f1262c1eb30300b503705be210cc6862b6e0d8ca2af6a97835e0cf24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/html-scriptify.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9444dde117633d919a36d3046272537b916069a2ba67f762ef42e8d09df90a2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/controller/load-action-modules.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5703490767a89dad62faa45919505738c11301edf7e85abb66edead86da2ecfe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/unescape-html-entities-deep-lite.min.string.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22218860c7ab1cc7db3f2ffafb75d3bd2f8e10e094878cddfc9409d14610d2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/cors/set-headers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"714c084315efdea75e85bfa90d0a5630b116101c02ea7ea45f813713b5b8bace"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/replace.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b881c9da6567351b67077a3abc6502f7759bd5e89861d2f2a5e55707d39176"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/responses/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12612d5701277774526866e22dd35438ad9d4ef1d5dd407df5bc7c706fc69d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/i18n/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca43329e20de5bd24609e8fd21b3be1b764a390499c3e8126ac36e4da1c4ff5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49655f9f1d9903e49501a67b0c1f8e804696b71c3d54230d4465022ea3eca0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"errors/fatal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82a1f5ac1a38477973f82358f5808b6d95aa298892263067f73cce0f1adea8a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/get-configured-http-middleware-fns.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5881278c5211e1af53258fe9967c009c21ebadfbe89b8e1ada2083f0c342955b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/configuration/load.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d8072313030f24744e74d8081295b9fd68f279d48f6ccac4296482fe3356eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/lower.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2420aa6228f266b65be5c5a4985f0f775c29aec1fafbf4f84d7675fc590af6f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a34774410154156715f0153a63c0b4af1254dccaa9bdd555ffd1934c6e2c3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/render.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b9ea98bb108be7804a61e097353cbe52831cd7dd03aa528a8a2d03b8a75731"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/req.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"984ea7307462f0a5497cf49f7b3081ff88eaa7a1a3a5232cd4a185725e308ebf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/create.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34047a8d35c78ccbd5b9b3eae2e9481f2cbcdfd0c6996c0565731ec2ed0a44da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/csrf/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a545abc14c5e7d64eb79b331d2c8294082250e1c4db029ff3ff33225301b51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/cors/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a426f491b3924d09b394ee28de4ff39c9dcc937894bd100abbf60c4f63852df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/Sails.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f6c66e4bea772a22235a4c79192ee587c9f183d4b34d1927bd9cf16eb555cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/lift.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34510bc8917e79f8f71d31102b40b8f0c3dc8272569424cea88a0d72603def3b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/add.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03a6cdb7820efd0940665e27aad9661ae2487c3d2aae866ba39b262712fb08c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/request.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7a93c8fe06199ca9a0d661578205951e15212f6c559c305bf48dee2d2204ce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/exposeGlobals.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"757f6764c7aed78d99aa203d7a8f5d3ed0ed21b098d08d374eef829894694073"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/private/load-helpers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd6d5f4dac162ad204faade311d22183241bbbb6664b9c452c8240641520252"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bindDefaultHandlers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5858c9a31b8fd0ca5810380594e943461ca0ac4ded16b99cffa9f315f6d803"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/update.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd59bd658f414e92d215d7fcdb052f43f52e16fb2508e9e1d569597b90d6d512"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/get-route-for.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b343a9ece6474b25f8a95245758bd8fa2d4b221384ed6010eb5092f978fa4961"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/after.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7e7f8e40aea17e1d7cebe65955174f73606e41b3518ba4ee1f4255e757145b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/controller/help-register-action.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b7a8e93a7272da7940a94e982016379ac53de32a524d5bc0a354d869489bc1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/configuration/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafc1e38967f5b5620b14435dd157afd854e55158e5b39dabe9f597fb5b10a7f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/remove.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02bddadb2464fdb846ad85a135d25acbd971eafa24bedcd3114536ed16b5823"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/checkGruntConfig.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a68fc468b26d64680824c0ced04f9b2753f596490f459d475eb6b22b25a6c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/isLocalSailsValid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6973df126926133af15b9758ccf1b7310cc22fbf17e87c904c253dc1cd5872e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/request/metadata.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce65d73e85eafcb19e0bef6ae413ce5ae9c66cdfb47a1198a38132d39b58cb9e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/request/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5aa7528a6efc9050525584a78fcea89f447d8f0c36d25ba15d319410bcefa1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/configure.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3cef680de0555ac8a03ea629ef5fe4919882dec3d9924200318414bbf605e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/onRoute.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b51787d91b18ac2e274df059e573873c98f73529f1716dc7265cc17111fec2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/destroy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b824b84455d4702e77a51faf8f0d5997c29ff74b33e28d0429fb88916412a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/toJSON.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b8c2e9a7bef5a02cf49dc9f740b25d83039e94b816d66cb491cc7a9ca592b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/request/params.all.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a78768dab67b19a4fcab0b55371351e762587703d5e593881e487ed4cc8f05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eb23c2c1fb8adc8ae02f3647c2549b7f91895747016c0e69d78b2e1779a388"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/responses/defaults/serverError.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3f639a57a9e14400c74e182f2aec9e590692e79848bdfc247826ab2181c903"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/request/qualifiers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6eab2039b388781b351c7fe6a49406c571c4831a8ab92922527b686067d8987"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/populate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acebd3e6a053f5f0e45579c51c09e2ac108ed6364291ae08a436c68e624454bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/services/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ce0151ce9369dc7438f04e4296109df612b5697ce3551875ab2d51500d5270"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/configuration/rc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f407ee1baf02926cb5fac9b9c7a2e7322ed555df5eeeae6d066b62b3efd4ecbe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/configuration/default-hooks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65ccff1b6f1668db49bb0f9e8b0fc1f21c3d21347c87a625a6992148b1c6249"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/register-action-middleware.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d78872e294aed2e27d95d0c25dc5dbfad07395c13d018581b474e7d2e1cee06"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: This repository serves requests \u2014 express() (lib/hooks/http/initialize.js:52) \u2014 and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"973d72946fd3149b188f437c77defc9849a541d18de22813f252749d57636f9d"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/mock-req.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"96587227366dedf16c211eae3756ed900a98a6054e9135976a0aa4a54777d8cd"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/mock-res.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"514991a9362f0395fba4b5b6df07dd7f4cd50581612c5e48a9364095a00344b3"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/pubsub/initialize.test.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf5f8c703cc23f04e63d2033541ce153d39ca55f8d80202fe94a205a3c9137c"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/hooks/views/res.view.test.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e55104e46d96017f960edb3f74c3e60126a54f7aba67200dcdeea47aad6cd46"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.blueprints.blacklist.test.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff14904864056e5b52c95810c94b10f4314b946f0c7fe2c81b40b8155ca47de"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/router.viewRendering.test.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ee6f7fd130784ba64f5e6b101f2916cb3c721d2e530d9f8f1983ca15c00bc5"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/reference/cli/sailsdebug.md names Node.js 6, but the repository declares engines \u0060\u003E= 0.10.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/reference/cli/sailsdebug.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"910a2a32dce5ac2a4a237a8308f5d3c0b83a58101769022143e4f7a82a91dabd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/bind.js\u0060 reports through \u0060console.*\u0060 at line 205 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bind.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df3ce24d51ee65f2b13fb33f10305773ebe28ae4546a30e849c6c06b6abe49a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/bindDefaultHandlers.js\u0060 reports through \u0060console.*\u0060 at line 29 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bindDefaultHandlers.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbe1c73c135ac8956fc2f8d3b03d7cbef94b96722fd9a82fb9f65b3c380b0fa"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/bindDefaultHandlers.js\u0060 reports through \u0060console.*\u0060 at line 30 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bindDefaultHandlers.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d56e40ed61e07b49aeae8367321272852a4389535ffffb48ea2ad9ddcde7b6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/bindDefaultHandlers.js\u0060 reports through \u0060console.*\u0060 at line 31 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bindDefaultHandlers.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f92fe4001595973ccd12438b25bfbe5095fcba193b66e32cd5b1515551900f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/bindDefaultHandlers.js\u0060 reports through \u0060console.*\u0060 at line 32 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bindDefaultHandlers.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8512b09dca8d8353493fc4baf475f0bff4636f869c7e52091a47a4a62799962"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 91 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"06420d226f4201523f968af8e5fbff4abdcdb25a464f8a3a1b16d846037d46e4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 134 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f691ac9fa14f5646a1f4a94bbefeb0b17f40dfa7bb2477a938700242dc394735"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 146 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"08131173a4251427b5cefbf701acbb6d7de0fd401373df3ef9383f8ffa4fdfb4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 152 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e22e09fad11936c672e7eaf2ca651bcb603e0125a75feb1446b78cee952c723"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 153 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18ac5bece5c734675c09fab23eaa5e6146a7644ea567847f6b05bbaf77f399d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 211 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"80422cfc87d69b3922a61c6fc3ccfe1e2714c422be055cb1ac3cdaac3e55a41e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 245 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8154112ff40816393df5feb51a4f8e43aa902b812497f05777106bbf05ca37c4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 246 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"541bd94e732f3bb4773ec51bae167905db5b77734327d6d964703a4de14684fc"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 247 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc986273c5278fdb47ac238b9a3b4cbd8365da0a423495f87e3ff9698bc6dcbd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 286 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"384530aae509a16a555fe912af58b5faebe8ed4c7db2aae483aadc22aedead5d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/router/res.js\u0060 reports through \u0060console.*\u0060 at line 358 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"690ae6bac167e40c896c4c4103830cede9e0a832123f3737991eefae203ae63b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/hooks/views/html-scriptify.js\u0060 reports through \u0060console.*\u0060 at line 126 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/html-scriptify.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8017adac8686d3655900304ffb5e8675f4e002209daa4dd44764925e0c08e6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/hooks/views/html-scriptify.js\u0060 reports through \u0060console.*\u0060 at line 127 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/html-scriptify.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a031318594e9260a44d971b2d8cd60caf0deefa159fe4b29e04bff43b2c10de"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/hooks/http/start.js\u0060 reports through \u0060console.*\u0060 at line 63 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54e16aedc230621aaac962e8128ab6875e0eb9de89e9a860aa7eef3ed8a9a7d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/hooks/http/start.js\u0060 reports through \u0060console.*\u0060 at line 132 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbf8b78d027438074ca8bc38d1ba49312dbcd63e497a483dfd714ff60899b40"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/app/request.js\u0060 reports through \u0060console.*\u0060 at line 62 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/request.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4050644133110458f01f69952f202156f5aae85d18c18b9a1e85776f0ae5c502"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/app/request.js\u0060 reports through \u0060console.*\u0060 at line 63 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/request.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d444a0154a6decaf3b464db4cfd7228936319c51ae431b845d0a2a710fa2d0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/app/request.js\u0060 reports through \u0060console.*\u0060 at line 64 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/request.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c5e5be9107a0c476ebb6e81e0ef19a78f7c590e62f53abe64dbc2ccc707242"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/app/request.js\u0060 reports through \u0060console.*\u0060 at line 107 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/request.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"967a801995f9eac14e1a619f2c88eb41ed38b038072ea95b57b3b4394b1cda3f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/app/private/after.js\u0060 reports through \u0060console.*\u0060 at line 107 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/after.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5664e33c3e00e09e1506f05878c9ccfad2df2cbaaa8f58a35db0ef873f8a34c5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/app/private/after.js\u0060 reports through \u0060console.*\u0060 at line 108 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/after.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"482204fe80f4f27c86dc19e33e4503e89f335d1b441fb54c1f2ff6f4cc0b459c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/app/private/bootstrap.js\u0060 reports through \u0060console.*\u0060 at line 63 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/bootstrap.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc69ee0a7f1be6713dfefce43173f8bfc74b796789478ec3e185f58ff911b765"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/app/private/inspect.js\u0060 reports through \u0060console.*\u0060 at line 14 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/inspect.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d174d812dca85f304648b8cacf60b845acb732b677c7e4ba9ad81ed1e845f6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/app/private/controller/load-action-modules.js\u0060 reports through \u0060console.*\u0060 at line 246 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/controller/load-action-modules.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08f466b12c2a415fe270bd53b2097dc49aba4fd96d0420d5cd05fe02c0bf8a3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/app/configuration/load.js\u0060 reports through \u0060console.*\u0060 at line 120 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/configuration/load.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd1bd4d9aa825fd9a1fdbbeffff54fa85a08769fc51c30672e280ce6749eb02"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060errors/fatal.js\u0060 reports through \u0060console.*\u0060 at line 43 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"errors/fatal.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed1b0b2980e2d0554ed4af1c32bde72cdcd881d7729c5edd71929c865959532"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/javascript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 184 plain JS \u2014 the untyped files are accessible/generate.js, accessible/rc.js, errors/fatal.js, errors/index.js, errors/warn.js, lib/app/Sails.js (\u002B178 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): lib/hooks/blueprints/parse-blueprint-options.js:134 \u00B7 lib/hooks/blueprints/parse-blueprint-options.js:476 \u2014 the two spans are one implementation copied and then locally edited \u2014 324 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d3f62103c0070a7953df1b293aa45a7f85510ccb1b91f107b75884e19c2a60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): lib/hooks/blueprints/index.js:272 \u00B7 lib/hooks/blueprints/index.js:351 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef30b7f12d71c676eff5bbcb762925e4ce1e7605845bd6b680861324ac050e16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): lib/hooks/blueprints/index.js:198 \u00B7 lib/hooks/blueprints/index.js:222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"801ee6f27e3bfea3c6377466ba326b154b35604b5cfe4830ed285930b4ae0031"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): lib/hooks/blueprints/actions/add.js:19 \u00B7 lib/hooks/blueprints/actions/remove.js:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/add.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8140484c0da1153649c354820c55518a652315b11b3132883dc01b0985845d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): bin/sails-generate.js:61 \u00B7 bin/sails-new.js:77 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-generate.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a75770dd31017dd9eb4194834c50210dff1db007f2f89d1667be9f60619f300"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): bin/sails-upgrade.js:35 \u00B7 bin/sails-www.js:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-upgrade.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"755700aa107c7b4e91fbd5dfd5be50d230c3c564a8c41533b923feecb3a66aac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): lib/hooks/responses/defaults/badRequest.js:37 \u00B7 lib/hooks/responses/defaults/ok.js:34 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/responses/defaults/badRequest.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffae80c2ba3bfbdcfc7b50a7613f4d2ba0fb0759dccfdd3b12195345830bda0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): bin/sails-run.js:120 \u00B7 bin/sails-upgrade.js:118 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-run.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3e93cac2d0c8ad412d3ac9ba448d6dce69efc38b9400b9a95d1d723a6ffc2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): lib/hooks/blueprints/actions/create.js:89 \u00B7 lib/hooks/blueprints/actions/update.js:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/create.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"29765096a09c7284378c998b979bd19ff697e53c847967d87e0b2eea2a1cd293"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): lib/hooks/pubsub/index.js:716 \u00B7 lib/hooks/pubsub/index.js:834 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6815dd94992c3c06dd361969af557f92dfc3c1a366767b3416c3e59613f41b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): bin/sails-debug-console.js:27 \u00B7 bin/sails-debug.js:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-debug-console.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91b4de912bdaca4441c0751db1662d0ec045c5dd550039fb190888473aa2b99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): bin/sails-debug-console.js:9 \u00B7 bin/sails-debug.js:6 \u00B7 bin/sails-inspect.js:6 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-debug-console.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ae36956c7321cf8bfc2a4d03325225e302b4155f07ba9f3480e3e7644d3ec9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): lib/hooks/pubsub/index.js:202 \u00B7 lib/hooks/pubsub/index.js:261 \u00B7 lib/hooks/pubsub/index.js:310 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fe05b0b5c50697681db114da50e88e3720f8838a20ff2e1e235c5ddd45ea4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/hooks/pubsub/index.js:271 \u00B7 lib/hooks/pubsub/index.js:321 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"727af517c705eca436b7c0e5b931eeea797b994385773b94a1859f97c84412c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/hooks/security/cors/set-headers.js:112 \u00B7 lib/hooks/security/cors/set-headers.js:128 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/cors/set-headers.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"de777c658201ea7eb456fb68abde8e714e5922c74bc9e49811aca5edef011057"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): bin/sails-console.js:60 \u00B7 bin/sails-migrate.js:55 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-console.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf63f7bc07163dea48e0b3478605e79dfd2cecec583c81a031a19a2df9c5b8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): bin/sails-lift.js:39 \u00B7 bin/sails-migrate.js:48 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-lift.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33b7b489098e9b7da42c23226d8f2485c12073baf1f497e565a56e14c75b162"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/hooks/blueprints/actions/add.js:99 \u00B7 lib/hooks/blueprints/actions/replace.js:206 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/add.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc73c2dfad55ad37d7d822f951c2bc15f10ba87f22c68af1c7c3134dc88f90be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): bin/sails-run.js:100 \u00B7 bin/sails-www.js:26 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-run.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9bef2142bb2df69ab4d55af71d4dbeafe458630e07f6f6b8dba5a1a54a86c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/hooks/helpers/index.js:194 \u00B7 lib/hooks/helpers/index.js:211 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd3bd5600900052d3c1984bdc6cc46f5a4cb855554c4a257e68382568851496"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): lib/hooks/blueprints/actionUtil.js:226 \u00B7 lib/hooks/blueprints/parse-blueprint-options.js:127 \u00B7 lib/hooks/blueprints/parse-blueprint-options.js:469 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actionUtil.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5dc09b2b07c5d3507b3800166aa388778317cdd602ad652453aee879e02ee8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/hooks/blueprints/actions/find.js:28 \u00B7 lib/hooks/blueprints/actions/findOne.js:32 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/find.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af4c2c9c8261b9307695fa17f9b16d5d030e516c7e4de8e6564aaddde94ad29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): bin/sails-upgrade.js:77 \u00B7 bin/sails-upgrade.js:93 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-upgrade.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b9ed9dd8e5e83b2c754e805eebfaec7959ca5a81247e435bb68f2dbe95437c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/app/private/controller/load-action-modules.js:100 \u00B7 lib/app/private/controller/load-action-modules.js:140 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/controller/load-action-modules.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca19932af1fca368b3d25822db2e1cd5639e64c442d2acd91bd7e8629abd98b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/hooks/blueprints/actions/findOne.js:36 \u00B7 lib/hooks/blueprints/actions/populate.js:34 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/findOne.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"63131b99c8b68f9235c01ea0b427a1d4c4b9d64ac8760da9c58ed7340b77cc12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/hooks/blueprints/index.js:340 \u00B7 lib/hooks/blueprints/index.js:428 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0556d13655d02ad06cabcae254d94c794ce3cb0517e973888522d69c4605cd59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/hooks/session/index.js:72 \u00B7 lib/hooks/session/index.js:116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd30d76170a9d54e65c8fa9e7b8f9e7aeaeba02668c38b0daf89c5870288699"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/hooks/helpers/index.js:232 \u00B7 lib/hooks/helpers/index.js:244 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f931ede4b74d3a08b64f90382c23c170d3922f058774d9695b87c947e279a82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/hooks/pubsub/index.js:471 \u00B7 lib/hooks/pubsub/index.js:973 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c6740de19bae645822512302bd7de437c97e27d3479d51d4173e4dd1dab3f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/hooks/request/qualifiers.js:55 \u00B7 lib/hooks/request/qualifiers.js:77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/request/qualifiers.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d773790693e1bb4a20512ad53502b275d8540b52602715c4490ab1d0bb1bdaf3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): lib/hooks/blueprints/actions/destroy.js:41 \u00B7 lib/hooks/blueprints/actions/find.js:32 \u00B7 lib/hooks/blueprints/actions/findOne.js:37 \u00B7 lib/hooks/blueprints/actions/populate.js:35 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/destroy.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"738fc1951c355edf56383adb0202da37cbff8edb69f0ab2630dee19fcbdeb22d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/hooks/blueprints/actions/destroy.js:60 \u00B7 lib/hooks/blueprints/actions/find.js:32 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/destroy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf20cb6174c1698621add2f09b2b897b1b84f5d4e294ec6246b05ffc7ae1c91e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/hooks/blueprints/parse-blueprint-options.js:349 \u00B7 lib/hooks/blueprints/parse-blueprint-options.js:368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a0eea2fb7b0b4238ce4fb7649eb5f8af8a544d4e5e725081ebb188e40eabcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/hooks/pubsub/index.js:257 \u00B7 lib/hooks/pubsub/index.js:305 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"335165c047dfdb229cbee706c5214ef8e468f9e2aaf046ce5d5693b138142098"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/hooks/responses/index.js:26 \u00B7 lib/hooks/responses/index.js:37 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/responses/index.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7559d7f5f9c9698a413b4361c78671356ef2c854d91eb713ea40097aab85b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/hooks/session/index.js:386 \u00B7 lib/hooks/session/index.js:420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b734889761221ab2b7639eab1049f081df0c5fdb69da95e6e3a9ea8032316366"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/router/index.js:202 \u00B7 lib/router/index.js:226 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/index.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0824a2f7a017a09b632b54b184c034878edf1896069477d7f8ccf5ed3a6a1536"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/app/private/loadHooks.js:310 \u00B7 lib/app/private/loadHooks.js:320 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/loadHooks.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"9feb75f66132949f0c94714d1cfae4dd9214c321125e98d9bd889cc6718f930c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/hooks/blueprints/actions/destroy.js:18 \u00B7 lib/hooks/blueprints/actions/update.js:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/destroy.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8320b7c549209142808d817cfe51e431b7eadf1ba01dacb98d6cbd4ec083a622"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/hooks/blueprints/index.js:107 \u00B7 lib/hooks/blueprints/index.js:115 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"68927ef125c39d6843a10203f09aa67f9de3cf3786d0a91e33a7bf4cbd0ba01d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): lib/hooks/security/index.js:273 \u00B7 lib/hooks/security/index.js:282 \u00B7 lib/hooks/security/index.js:291 \u00B7 lib/hooks/security/index.js:300 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08834652d183242753e41928eda5963f9e7a6e3e29dd6a593b311b2a35fc055"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/hooks/http/initialize.js:239 \u00B7 lib/hooks/http/initialize.js:249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d405d6b2b1ecc82cc6dd0588004cd95dbf6c7e88f36457e00a2bdf90d21a9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/hooks/pubsub/index.js:814 \u00B7 lib/hooks/pubsub/index.js:892 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"b845c75e7fa85648495ea81e09e2a59b24eeca201d2624f13ec6ea2ad273f5b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/hooks/security/csrf/index.js:90 \u00B7 lib/hooks/security/csrf/index.js:99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/csrf/index.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab39d7c7fd5bd30e17845cb40b59f2ca3a1f77a8399e01165af980d3e2682a54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/hooks/security/index.js:152 \u00B7 lib/hooks/security/index.js:198 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"01db2447ac9513dc82fde569f88554778b88a0f6ec047115d4403ba9aae6fe43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): lib/hooks/security/index.js:164 \u00B7 lib/hooks/security/index.js:172 \u00B7 lib/hooks/security/index.js:180 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda73f687af563df9c5748d92b941d2af3b6c3c14594d4e93c8e51bd460a4da1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/hooks/security/index.js:218 \u00B7 lib/hooks/security/index.js:338 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee068357bc8dd93d05f0430f6e66c473309fb727d3a33498e3cf9aa830ffef8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/hooks/moduleloader/index.js:179 \u00B7 lib/hooks/moduleloader/index.js:195 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/moduleloader/index.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e9a9dc604acec2f3b30ca47671a4d04f2b1c5ba5c506e7381faddf5f7b5809"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/hooks/session/index.js:544 \u00B7 lib/hooks/session/index.js:574 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"0364ac57510bd9f941e42cf3171145eedbbc829e15bd015114bc9462f6d090db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/router/res.js:139 \u00B7 lib/router/res.js:148 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"30620abf0f0aec4e74d95d559828decf2b1977deb713ca276496191c244749ae"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: lib/hooks/http/view.js:8 imports express/lib/view, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/view.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacaea5e8c1648588ba8f47733fe7162a1bf24ef14baaf09c72f35bc815599c9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: lib/hooks/http/view.js:9 imports express/lib/utils, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/view.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43762caec912ac131e532076ce6ca29abf3f3754f8bc348d37aa7a604e7fc13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configure (cyclomatic 34, cognitive 36): configure has cyclomatic complexity 34 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d680c0fd4a8b00da69439829aacbf88c0567ea0934bb3c654d413b8e73ea28d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBlueprintOptions (cyclomatic 33, cognitive 44): parseBlueprintOptions has cyclomatic complexity 33 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a24d6252713ba9724046ac6083205b7507a43ffefd4e26e3c1619626719dbce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exports (cyclomatic 32, cognitive 42): exports has cyclomatic complexity 32 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-run.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4a781425d5e274cc69687538379baa80410f9f3c6a3b7db01544c10b269328"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRequest (cyclomatic 31, cognitive 46): buildRequest has cyclomatic complexity 31 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/req.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bc37926aeea300f218554de052232572780de6b15a90d7ecf78a3c8cf6afb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function view (cyclomatic 31, cognitive 38): view has cyclomatic complexity 31 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/res.view.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9922590ef0af7f26dbc6da3d36abc5214458df056c30b2ad10e0ff4572ee1e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _afterLoadingSessionHookIfApplicable (cyclomatic 28, cognitive 37): _afterLoadingSessionHookIfApplicable has cyclomatic complexity 28 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42d572ebd250944a6f414c2c02a747c7648ba7c7fda5c6dd860389757ac5029"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 33): (anonymous) has cyclomatic complexity 25 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/index.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7acc53edbd45a9476e8a0e949d6c7873f849d281b9d046a71f0ad59fe03411"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configure (cyclomatic 24, cognitive 29): configure has cyclomatic complexity 24 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdfd536b180197c69e754c51144095a2f9f8c1b4716a123e1975975120208b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configure (cyclomatic 22, cognitive 22): configure has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/index.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"93412e3fae34731984fbfdf7dca8114998b080f682cad279b5ff774983aecfb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _publishAdd (cyclomatic 20, cognitive 25): _publishAdd has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05bb35ee04bd7a30bf222e484aa8336b017d18a410e00e486512b55b79252dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 37): (anonymous) has cyclomatic complexity 19 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9f83968461371341355ce09307cb74ce2b0f65d1054440155ce3a3894fc0d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function partial (cyclomatic 19, cognitive 29): partial has cyclomatic complexity 19 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/default-view-rendering-fn.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9718b047cd01488e339667e921a3eef8ef436bcbfe378563bf773f7a3ee0e2e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _sendShim (cyclomatic 18, cognitive 27): _sendShim has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b66bd5c662b4e6b1a69634258ae54d17ac7f574d390f6ba7455b8c5c46bb8b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exports (cyclomatic 18, cognitive 25): exports has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-upgrade.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f1f9ae75fc76eea730e86ab6c8b34c6e67b94ceab47718518afdd8bbd2fe77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindFunction (cyclomatic 18, cognitive 17): bindFunction has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bind.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb74dfb30f42d9a337578f725b753676fabd6a7092b4585e053df1fb7ff8b9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function htmlScriptify (cyclomatic 17, cognitive 30): htmlScriptify has cyclomatic complexity 17 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/html-scriptify.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea27339373ba0c58c1122795c8a1d7e1a9bb9a38f4bba64443b8107fe8a6b33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 17, cognitive 17): request has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/request.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d2a27bd4a8c68c2b49b4cd16b8162578092d09132cfd462ed0974999b176d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exports (cyclomatic 16, cognitive 15): exports has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/sails-www.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0d1cb8285642f4b3d772294ed029a31e213aadeedcb9028c5d4aa75e47dacd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 20): (anonymous) has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/moduleloader/index.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"4753b60e665924bbc489e13378d8c008804d34d13e86e23e80c8018880fbbe0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 17): (anonymous) has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/controller/load-action-modules.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8222933bcccb6cb1451bece23d4a9753f9bf1f450a4f828cbcd7a950eba7901"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _publishRemove (cyclomatic 15, cognitive 17): _publishRemove has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c6373f591fc3138020b9b5c5642b837065114b9b71b734900a0a22e95fbcad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exposeGlobals (cyclomatic 15, cognitive 16): exposeGlobals has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/exposeGlobals.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4cafdd8f2523fba7cfaabf5c87d1a06eaabd9ebfa7a459dc5275d1027d5897"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getActionIdentityForTarget (cyclomatic 14, cognitive 21): getActionIdentityForTarget has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/index.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bafca788c3a347af1336897b6ac45a966ef909010ef2b30b07029a23c657f18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failedToStart (cyclomatic 14, cognitive 17): failedToStart has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3bfccb7c28c8daba135487d1b2b9952752ffa470390f8583fad0f72cfc5cdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configure (cyclomatic 14, cognitive 17): configure has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/configure.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"373b880d72085903d13d03d8c6172c596598ebb2c92b9fbbcc093150c90e95d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLocalSailsValid (cyclomatic 14, cognitive 16): isLocalSailsValid has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/isLocalSailsValid.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3847da7dfcc3bcd6955598e8b31771d8ebdd617f7ba6ffec562d915ec02486c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/cors/index.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4356688e89c9fcc2719a84f5001eda30dd4bca93b97a18895f92b48cb973b6af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _buildResponse (cyclomatic 14, cognitive 15): _buildResponse has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9120213fb74776cfe24dad741cac529825c834d052cf5c2cd4f3084829f9e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bind (cyclomatic 14, cognitive 14): bind has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bind.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d64462bd98b5a91b97cd46639d4e2c4bbb5ae841d724c54a80e90bab20de0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 18): (anonymous) has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5f0a63b636974033140de365461924e54e765ffa8571d20e0e41ed12ead234"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/security/csrf/index.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"669ebf86c16f5de19ce3f3f232e7d939eec1e4b101943db8c43ae7b2c2ae5fd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function viewFailedToRender (cyclomatic 12, cognitive 20): viewFailedToRender has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/res.view.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebc9d6861d5ce4450eb0a5f959edc11b88745718104b09367acf2cb8f6b02d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _renderShim (cyclomatic 12, cognitive 15): _renderShim has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/res.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d50763c82eaf14ac87b28130a4d10c1257ce08c701851122aac7add975d933"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/add.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c60e3497361989127f80704443730b4581efac89fe22977dbd6f8c3d69b5c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc261dc87dc4c01329830526c32136d7d034a7c962cb0b932e076d81eac8577"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _mixinServerMetadata (cyclomatic 12, cognitive 14): _mixinServerMetadata has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/request/metadata.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb72f3b65fc723cff2d94027b47d255c0e7a27b190162b7ee1ee83b3ea977f33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function whenSailsIsReady (cyclomatic 12, cognitive 12): whenSailsIsReady has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/lift.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3d6af62a92b8ecd9d0b395d5faccb204d337cd21d9bf3c94eec9b3ef382901"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCriteria (cyclomatic 12, cognitive 12): parseCriteria has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actionUtil.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d60cf3cbbd6268a3182f3db721cd0a8219bccb2fffba82fb52e7482c755ad2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/render.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd476cb17e069d13ccede603f6b034a0d4576a232da2be9f1812594f3543cb0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/moduleloader/index.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"209dcf84018445514815b49233eacceef07ce2559d24df208a4e5fe3c56b9865"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindShadowRoutes (cyclomatic 11, cognitive 14): bindShadowRoutes has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"769da9df3a1d7d2783bc90a97418d9d38b1f9a0e6f6e54682117de28dd6855b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lookup (cyclomatic 11, cognitive 13): lookup has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/default-view-rendering-fn.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27a6df4227cecdba25f92f37bea2c03a57d9be489a5adb6ac8f49480bf217c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bind.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71f0f7eea69b0e1985da5a60e797c39635467f5cbace6ae8661f564a77d33a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function param (cyclomatic 11, cognitive 11): param has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/req.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63b38dc5340ea25e54cd207fe2e7c1ea7181b823b8af3a82e52eea12e9d0f1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkOriginUrl (cyclomatic 11, cognitive 10): checkOriginUrl has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/util/check-origin-url.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a47bf525006a8297204b55e7a8af8734a63fded4a5d7429e8785ec37e1bd60b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rc (cyclomatic 11, cognitive 10): rc has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/util/rc.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d1d9297c96395a8c1563bc68a4adbd25f19c67b507ae7568b6515e79cf7053"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/hooks/pubsub/index.js: 908 lines of code: lib/hooks/pubsub/index.js has 908 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/pubsub/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00c4fbe41187457d3348b3a7dd52f2b4afad51eb48a0acb62ebc57d891a307c"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/hooks/moduleloader/index.js: 548 lines of code: lib/hooks/moduleloader/index.js has 548 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/moduleloader/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea23695faa37296367a64b4319413de7e59b624c9323f4053936e9cda06a1cf"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/hooks/session/index.js: 491 lines of code: lib/hooks/session/index.js has 491 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/session/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"590236340f77c7b03434bd68d65086aa18cfaa92241706e73c5ea57889415d10"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/router/bind.js: 481 lines of code: lib/router/bind.js has 481 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bind.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfda8e1752234707fa5d84292f3261c45fef61c5f191fc7ab2924f7398c7c3a"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/router/index.js: 476 lines of code: lib/router/index.js has 476 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efee5965bb9d254a6c8ab400999cf1d2207c21b7bf50562d0d35dab3de1aa6f"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/hooks/blueprints/parse-blueprint-options.js: 443 lines of code: lib/hooks/blueprints/parse-blueprint-options.js has 443 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d54ee0fd309870efb6bf7e87029ea647bdbbee0da98f2ec27b19163be8dabd"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/hooks/blueprints/index.js: 410 lines of code: lib/hooks/blueprints/index.js has 410 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fa5c9fecbd3e634e0a4e1a91968b8da016d8d9fdbe0f033b4019e2f2f8c539"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/hooks/helpers/index.js: 402 lines of code: lib/hooks/helpers/index.js has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4062eef254b5cb013073d152170c8688183576f4875fc084bed92aabac882d4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accessible/generate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c025d4ab74dc9ba94c8c7da425ba34a93264606d630dd6b2f6c96944fc4cf9a4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accessible/rc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d34bfc538577b4d35e51aed752a4486f3ead2adbbb35311eb9254b51bd9bda6"}},{"ruleId":"R6","level":"warning","message":{"text":"No typecheck script: test \u2713 \u00B7 lint \u2713 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"912edc7f1fd20bf80ef68c3293e3048565115e48707dc5f9d492201598794658"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~36 LoC): no import path from any entry point (13 application, 2 tooling, 100 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accessible/generate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e447bef52f67ddd084b7265971dfa0b5dcbd2e984bf227f860867850fe5ce5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (13 application, 2 tooling, 100 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accessible/rc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69d698cc3821ea9b6954b2501e92a9a9a56252708f2f5a1f701ab6ebc1b000a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027unescapeHtmlEntitiesDeepLite\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/views/unescape-html-entities-deep-lite.min.string.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfccfd79813d8184116eaf931460abe8e42ae7d6f775adf5e20b69e56fe8cf2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Err\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.blueprints.action.routes.test.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d225e3c7b54ac3e8dd8ea6f5589ed7b23d7e3e46075605a7f65e9da382b8eb6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Err\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.blueprints.index.routes.test.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a880a4dacf3c5f84f400083f2ad5d0232be2d3a84b0b6337c36ce21395f43787"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Err\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.blueprints.restful.routes.test.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"64de2cd0926229ca014571efd96d8c3a2d560882c14e7f06d40b307461662616"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Err\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.blueprints.shortcut.routes.test.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6887a1fd3de64dde4feb942faec553eb01eab670a96fd16551453fdbe4c2572b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027makeRequest\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.cors.test.js"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23b001b5ced3bc77e0d9b574c424fdc487dd63d6852b8afea1de2403921c779"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Err\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.noSubscribers.test.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b086a596986cf17baeb17b236b7fe13057dd7357750e3f007302c3250fc53b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Err\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/hook.pubsub.modelEvents.subscribers.test.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fde29fcbd36a1306033a9fbd82d2b580d44772201eb17f8e519e8e0d141f10b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Err\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/controller.test.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9137944d227963c94428acc13797cf973a9d6400ecac607ba49602d701872649"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Err\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/router.ordering.test.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f4acf333c02b4af7ebe4d097c4eff06b41a0dd4e8e1579b87bf51c623c8618"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027ini\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/util/rc.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfffcd619feece1ae94c6b31c00167d25a763f8f6e2cf4466a2ece356948769e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027connect\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f93a305f9e77ecd71466de88e5faa1d8cba644799431cbab52bd05989edfa3ec"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027expect.js\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"847bde7ce0abbf46e426bea1695beec0482e2956dc8e814a565466508432f01a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027prompt\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0424c537441aeac701eb2c253b4d71f5075400eb891555d4ce3d919ee6399d0c"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/checkGruntConfig.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb678619e85e971acb5fa4138e920a786d80c3f6e7ea422147432efff9d0e96"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a83d3b0fb36377ad2d82ca85ef1f542fece5ac4e39c17735c73b8ba3afc688"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/start.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a60f6b6454b7712f382f583415da713e66d94745668e255e787e6a8c5be6a4"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd699919aa591b262d8f4a07a70eed2e90d52ddb856cc6e42aa98540126b06b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!req._sails.config.blueprints.mirror \u0026\u0026 req\u0060 appears character-identically in 2 files \u2014 lib/hooks/blueprints/actions/destroy.js, lib/hooks/blueprints/actions/remove.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/destroy.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"97620332f2a449ff44fa0f68ad9a37ccc9ecc8e8d764ce4cb1fe4272e11f20f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060appDependencies \u0026\u0026 appDependencies.sails\u0060 appears character-identically in 2 files \u2014 lib/app/private/isLocalSailsValid.js, lib/app/private/isSailsAppSync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/isLocalSailsValid.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2408a09311a08f261a0ea67bead87d4855fb941de8a860136329890761867a3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err || new Error(\u0027Error on response stream\u0027)\u0060 appears character-identically in 2 files \u2014 lib/app/request.js, lib/router/res.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/request.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"626d7a99add67db788c1e6c3f7eca6a73aebd04039510769a26dd49ea52af5a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060layer.route.path === routeToRemove.path \u0026\u0026 layer.route.methods[routeToRemove.verb] === true\u0060 appears character-identically in 2 files \u2014 lib/hooks/http/initialize.js, lib/router/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/initialize.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7052e05fe2820154bf1a0771efc866088a69d21d41faafedb2e5f771912d046c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.options.parseBlueprintOptions || req._sails.config.blueprints.parseBlueprintOptions\u0060 appears character-identically in 9 files \u2014 lib/hooks/blueprints/actions/add.js, lib/hooks/blueprints/actions/create.js, lib/hooks/blueprints/actions/destroy.js, lib/hooks/blueprints/actions/find.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actions/add.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cec2b1f2be8dda6ef1dd524cbf896dd45dd8bbc245e1aedb25f4986d8470aaa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sails.config.implementationSniffingTactic||undefined\u0060 appears character-identically in 2 files \u2014 lib/app/private/controller/help-register-action.js, lib/hooks/helpers/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/private/controller/help-register-action.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a636dbee3c4e9235f593dff9b12ce2aeca46162919a408e93c09a61064ecaa8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sails.config.session \u0026\u0026 sails.config.session.secret\u0060 appears character-identically in 2 files \u2014 lib/hooks/http/get-configured-http-middleware-fns.js, lib/router/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/http/get-configured-http-middleware-fns.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e113e1449ce9d48084d90f0a9731a2fd0d25abe82cc35189c45c712cac40f71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (unusedErr)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/util/rc.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"61910f0238b0d8075da7bdc4c60d42eafb273e3534037e0199e4c2897812296c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bindDefaultHandlers.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e297d08118406e9f54e48a333455e04885481453594958c7d622d3c981dcf1b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/bindDefaultHandlers.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"077781301a397f1cf58663b57cc6bf03a86db83fea207f31b8e012a58eb5f0de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/router/index.js"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d80387f3839c49f9fc0162f6ecba1d6e285dbe21ac61f4ada9071a765561bad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/responses/defaults/negotiate.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa7f33c1273408dc9f010814676a3ac89738da1f87045bcadf9c27d463e56f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"491049d7847f0930ff3017a2fc0fa1784261e4d195541c299ee03e9456a934d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/helpers/index.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"805be52e43678f2e7cdc8f981de7a16020cf28e1f0e334bb980d8b309c05f534"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/actionUtil.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eababa22b4dba101e23f3825074770bc3d93f20b54870db2bede29303ab4dca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d406eef5b927e7fffbc8690d25faee2f55455c6220919cc8413f41ba86dab7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cd67cc893698c7da1b740196578ee6c679ae775948e77d18b0c106686bd30c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/blueprints/parse-blueprint-options.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e27558fb6f610017f4fdc8d33362c8b38144228194c88c55a1c857d760e8ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/request.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf49be1443873703b2329ff641a703c0ecf1bf1f3e74c1fd2f9f2c050044ebb"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":12,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}