{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"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":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"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":"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":"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":"ReactSixteenAdapter.createShallowRenderer (cyclomatic 37): ReactSixteenAdapter.createShallowRenderer has cyclomatic complexity 37 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 16 belong to 4 function items 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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9d5c257fd9d62034e1490bff09fc75d4596da8bc1e4a865eb96702499a8911"}},{"ruleId":"D1","level":"warning","message":{"text":"ShallowWrapper.rerender (cyclomatic 35): ShallowWrapper.rerender has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 1 of the 35 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 605, 591). 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":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f1d5bda31736b796acf183958389ba8bb22b021673dfffbc280eeb171b6272"}},{"ruleId":"D1","level":"warning","message":{"text":"ShallowWrapper.setState (cyclomatic 33): ShallowWrapper.setState has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 6 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 742). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bd2c0c4b0783ff57293feeadfa1e29767afc5da86c9ad6f23631113d4f0b0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactSixteenAdapter.displayNameOfNode (cyclomatic 32): ReactSixteenAdapter.displayNameOfNode has cyclomatic complexity 32 (threshold 15). 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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"21305fe6447696b7a8adda3d3184b816ae82838b20d44fb771ff77e03ea6aa21"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactSixteenThreeAdapter.displayNameOfNode (cyclomatic 21): ReactSixteenThreeAdapter.displayNameOfNode has cyclomatic complexity 21 (threshold 15). 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":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"03adb406e9af4f2048221501d03caaa2cb7dc98908fc997e49c0ac716c47b5c3"}},{"ruleId":"D1","level":"warning","message":{"text":"findCurrentFiberUsingSlowPath.findCurrentFiberUsingSlowPath (cyclomatic 20): findCurrentFiberUsingSlowPath.findCurrentFiberUsingSlowPath has cyclomatic complexity 20 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55f2aa2c1d813f4654dfb819c565d48af6968804a3dfc9623574ce4be03e620"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactSixteenAdapter.createMountRenderer (cyclomatic 18): ReactSixteenAdapter.createMountRenderer has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 2 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. This is NOT this file\u0027s highest cyclomatic complexity: ReactSixteenAdapter.toTree (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfc5b836cd3c0daca415f69f476434c81f808570462452363abf96bbafcfc38"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.internalNodeCompare (cyclomatic 18): Utils.internalNodeCompare has cyclomatic complexity 18 (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":"packages/enzyme/src/Utils.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1e5c7a0ac65b8e869a3582a64bdf846f06a8f15ed147ed648a1dd0d1cfe5ab"}},{"ruleId":"D1","level":"warning","message":{"text":"selectors.matchAttributeSelector (cyclomatic 18): selectors.matchAttributeSelector 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":"packages/enzyme/src/selectors.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"128ed309b57705536fd53ef0b9bfe9f1e1054d23d9bdb489d41225e4990b3f37"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactFifteenFourAdapter.instanceToTree (cyclomatic 16): ReactFifteenFourAdapter.instanceToTree has cyclomatic complexity 16 (threshold 15). 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":"packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f107e0190740491a3bb742355b4b41324fdd9cd7c408b36462d02a9f83159938"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactFifteenAdapter.instanceToTree (cyclomatic 16): ReactFifteenAdapter.instanceToTree has cyclomatic complexity 16 (threshold 15). 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":"packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bd2e793cd939f826e424b29152fe71d6b253267ec6c8d6c868fbd9e4bd1142"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactSixteenThreeAdapter.createShallowRenderer (cyclomatic 16): ReactSixteenThreeAdapter.createShallowRenderer has cyclomatic complexity 16 (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":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"2feac802db172ef7a741c5905d58480af27908cc52ebb017c23850a7546c736f"}},{"ruleId":"D2","level":"warning","message":{"text":"findCurrentFiberUsingSlowPath.findCurrentFiberUsingSlowPath (cognitive 56): findCurrentFiberUsingSlowPath.findCurrentFiberUsingSlowPath has cognitive complexity 56 (threshold 15). Drivers by points: if/else 14 (42 pts), loops 4 (11 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 36). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94f4a76fa3ee3396cdceab6e71cf5b41d2d4a59268235f9e572838d28c62f12"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactSixteenAdapter.createShallowRenderer (cognitive 53): ReactSixteenAdapter.createShallowRenderer has cognitive complexity 53 (threshold 15). Drivers by points: if/else 26 (42 pts), boolean chains 7, ternaries 3 (4 pts) (nesting depth added 17). Of this number, 32 points are the body\u0027s own statements and 21 belong to 4 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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"1439d8aa2ca84317998ce0741028d65454fc215d184b6bbd3caf192724c30618"}},{"ruleId":"D2","level":"warning","message":{"text":"ShallowWrapper.setState (cognitive 47): ShallowWrapper.setState has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (35 pts), boolean chains 11, ternaries 1 (nesting depth added 14). Most of this is not in the body itself: 5 of the 47 points are its own statements and the rest belongs to one function literal inside it that branches (line 742). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"24022477ff16ddbc0bc7ef7473083fb19a0d5479424d142053e8f3b277b1ae31"}},{"ruleId":"D2","level":"warning","message":{"text":"rerender (cognitive 45): rerender has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 18 (nesting depth added 11). None of this is in the body itself: all 45 points belong to 3 function literals inside it that branch (lines 605, 591, 590). 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":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f698b31ba766fa4cab4607d6295c9983a2fdeb25bc8a3372b34683caa8e7896"}},{"ruleId":"D2","level":"warning","message":{"text":"index.setupEnzymeAdapter (cognitive 36): index.setupEnzymeAdapter has cognitive complexity 36 (threshold 15). Drivers by points: error handling 8 (36 pts) (nesting depth added 28). 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":"packages/enzyme-adapter-react-helper/src/index.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe68ab42e7909df2eb1dd80bfb055a92dcbf3b0915f64f50b59821ffc3e6e642"}},{"ruleId":"D2","level":"warning","message":{"text":"displayNameOfNode (cognitive 30): displayNameOfNode has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 13, ternaries 4 (10 pts), if/else 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 8). 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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b1eab0c444aa3169bf503d4d1421bf96acb8f1d197a83a2138a4f6925f5d87"}},{"ruleId":"D2","level":"warning","message":{"text":"createShallowRenderer.render (cognitive 26): createShallowRenderer.render has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 4 belong to 11 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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"1108ab88789a102a6d73ca59ae269e77034c3b27868befbe2443b074cab7cec6"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactSixteenOneAdapter.createShallowRenderer (cognitive 23): ReactSixteenOneAdapter.createShallowRenderer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 4, ternaries 1 (nesting depth added 9). 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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bace5d192dc89c9bff78a26fad4d7fb6f21a160a11b7148ad1db93ec312bae3"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactSixteenTwoAdapter.createShallowRenderer (cognitive 23): ReactSixteenTwoAdapter.createShallowRenderer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 4, ternaries 1 (nesting depth added 9). 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":"packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"63641592d55198c0fd0ea51bd3b5cc3fc26367c5b1075af51544979153b45116"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.internalNodeCompare (cognitive 22): Utils.internalNodeCompare has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3, loops 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":"packages/enzyme/src/Utils.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3c74bda22b99e63f05a3b156a4d43d72ccec1964eb6f088d60b69355be769d"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 21): constructor has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (6 pts), boolean chains 3 (nesting depth added 10). Of this number, 17 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"09462cbf2be97058476afde68a7b4e3da5a4827d1d0e13d647f4271c66a0832d"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactSixteenThreeAdapter.createShallowRenderer (cognitive 20): ReactSixteenThreeAdapter.createShallowRenderer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, ternaries 2 (3 pts) (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":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9484e848cf1dbb2694137be4c887d9ec5457aeedec655b34158bfed6f4036a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"createShallowRenderer.render (cognitive 20): createShallowRenderer.render has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4 (nesting depth added 9). Of this number, 16 points are the body\u0027s own statements and 4 belong to 7 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a470003045d2b7950a0a4134d07c67c2562dce349cec153b7560f105950d63"}},{"ruleId":"D2","level":"warning","message":{"text":"createShallowRenderer.render (cognitive 20): createShallowRenderer.render has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4 (nesting depth added 9). Of this number, 16 points are the body\u0027s own statements and 4 belong to 7 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4bf834d941cf6ed9b4497b8a334c1d78af6533669b8a35c806e4ccf9aeb8d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactFourteenAdapter.createShallowRenderer (cognitive 18): ReactFourteenAdapter.createShallowRenderer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (18 pts) (nesting depth added 10). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 194, 183). 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":"packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"52eed5b1e8a5043017620cd6db9b9c72da1a9878c040c91ba064e5bdbb50932d"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactSixteenThreeAdapter.displayNameOfNode (cognitive 18): ReactSixteenThreeAdapter.displayNameOfNode has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (4 pts), match/switch 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 3). 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":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c3b6c05d7b04886ace0591ea7be38473839af7c57cd76a9eb474cea7c76fdc"}},{"ruleId":"D2","level":"warning","message":{"text":"selectors.reduceTreeBySelector (cognitive 17): selectors.reduceTreeBySelector has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 1 (4 pts), loops 1 (2 pts), boolean chains 1 (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":"packages/enzyme/src/selectors.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"3326276eba21ad7d7adc8670ce7856336e4a934439ff851fd7dc9a21a7a94d0d"}},{"ruleId":"D2","level":"warning","message":{"text":"createShallowRenderer.render (cognitive 17): createShallowRenderer.render has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, ternaries 1 (2 pts) (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":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6d50f4b11a4bc893a2eaaa27cda3e5cb7c626f3087e8485d100c12d6b7afce"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactSixteenAdapter.createMountRenderer (cognitive 16): ReactSixteenAdapter.createMountRenderer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 1 (nesting depth added 1). Of this number, 8 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e7344150b2fa3d881b1724b646f764a17f2e116551f491b862fe2cdfe3c498"}},{"ruleId":"D2","level":"warning","message":{"text":"selectors.matchAttributeSelector (cognitive 16): selectors.matchAttributeSelector has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 3 (6 pts), boolean chains 3, match/switch 1 (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":"packages/enzyme/src/selectors.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"09495ee5d376e6c357560a7fa8ba585c99a3b7ffdc62526cef27447a1cf87709"}},{"ruleId":"D2","level":"warning","message":{"text":"createShallowRenderer.render (cognitive 16): createShallowRenderer.render has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (16 pts) (nesting depth added 10). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch ((anonymous)::updateComponent::(anonymous)::_processPendingState, (anonymous)::updateComponent, a function literal at line 183, \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":"packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca07a1a373ad12bf99c55dfd6df966ee4d9d33bca8b1f3085c6fbce640af201c"}},{"ruleId":"D2","level":"warning","message":{"text":"createShallowRenderer.wrapPureComponent (cognitive 16): createShallowRenderer.wrapPureComponent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 7). Of this number, 9 points are the body\u0027s own statements and 7 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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbf7e6e01ba073d44473688d5eab2af54fe9b25596b9445e6315c615acf8e7a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReactWrapper: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f841f18aed0cb35066be9120733093dc7337f9cf1527f26495766b119c28a58e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShallowWrapper: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e463eebd7a590c9ba24bf78bfbb3c88e3f39001a9a70fbbca05236d9389221"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReactSixteenAdapter.createShallowRenderer: MethodTooLong \u2014 createShallowRenderer runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4a37f830939604b9eeb5506255e74e86410cb4244164ee15bde718036186fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ShallowWrapper.js: FileTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 63% of them inside a single declaration: ShallowWrapper (388-1725). The bar is 500 significant lines; this is 289 over it, 1.58\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c89006d6d7d412c5c3c6a76f338d67d8188840e9970252271c302b21dfc73d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ReactSixteenAdapter.js: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 179 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40ddc4b7c6205e7280d790cb08f4417df7fa68157f926212594842f8c1edc05"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReactSixteenAdapter.toTree: FunctionTooLong \u2014 toTree runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7500e6277fa9414a817ce679e617c77e0299ddc2ff28ac621ab238967856f94b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReactWrapper (LCOM4 7): ReactWrapper\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"97831fbd9d669506bab5d79aecd22a23a7242a6add65c169a394f71249960ee0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShallowWrapper (LCOM4 4): ShallowWrapper\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdf8f8ba1c0a105a5e1677db1d5f65552e11f08f5c0830751f4080861218b5d"}},{"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 mocha suite in packages/enzyme-example-mocha/ ran and not one test passed (Error: Cannot find module \u0027@babel/register\u0027), so the coverage would describe the failed run, not the code. 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: recognizes render phases: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0275697e0f9783fecdfbc32c0a34372fbd5d18a37eba6d5b6759dcdbf430f7d3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: measures timings: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"71efd9835e108676179031277daf588c159157aa57856e3022f3506ecf371c28"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: throws with undefined: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-test-suite/test/shared/methods/renderProp.jsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dbf8438fbea0275275822506f7c7d0def369be1ca4b1dcc08e0f25fba87f03"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4182d73020e135e782a684fdc08a90c44258b9b2efc098102282bd7f5f7caf"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"132cda981f5be03abe8e3b250513e5ccbce8de156697947c516a0e0141e0bda7"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): uses the passed \u0060wrappingComponent\u0060: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-test-suite/test/adapter-utils-spec.jsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51612434dc17779858c5f618447669dfdb4fe8fe2d1b38984156fbf309b22fe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: parses booleans: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90a638033d4d3e7935ed700572f4678013f3a613431242a8a0bc87d977c8288"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: parses numeric literals: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6570ddac6ea6f0d95bc7b27e210a99c25317c07f29059f0638d712a86e3dd04"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: parses zeroes properly: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9084baf51800527f5d47379cc7521111f68b51214db7c676ad6af919891fce9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: works with empty strings: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c4d399f16f9743faada80c46353ed5f492b8fbab40ff78a378e614fbb53e5b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: works with NaN: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"8416ca60e524139aac237bcb7abb9f21ca79d1c93d71341eafba7d8d104bceed"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: works with null: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71fdb357968ecde3c5c77db1f8e5ddfcdc2e7207188e77a94cbc098bdb59338"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: works with false: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"713b513bd4828173f1ba3d66fabe31eebedebde3ff21e022ce628a6d46674dbb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: works with \u00B1Infinity: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82c15fcc8aa8d1a048892a048f9933c244fba710872a58bb3ac2d540cf9c36e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: whitespace list attribute selector: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"54be043863590c9a64ea788c0d9cb3d89cddc68a4b9aa17e946b9166095e28d1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: hypen attribute selector: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf730d195898e9099be5d92aba154eb445aad49d8fa2b77947791ebe04902aba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: prefix attribute operator: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"0228f1e06c8d0f6596a512d6f44d661041860738f74c3d268c24fad248da9123"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: suffix attribute operator: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"665d2a5fecefffe7888bb40ddc1d8c6c4383c3d6ffbf1671ff920627b10c0edf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: substring attribute operator: 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":"packages/enzyme-test-suite/test/selector-spec.jsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e0221c42ea3d59ef408bae9c8a96949bcf81e3b39d4378f49204fc99473560"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: works with strings: 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":"packages/enzyme-test-suite/test/shared/methods/renderProp.jsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4052718b5b6d38ae12da235d781d7e647a6c8da442d2c6f0d6eb05cfe0751670"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: works with numbers: 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":"packages/enzyme-test-suite/test/shared/methods/renderProp.jsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7c1aa9022f83f9a98c67a28a9a59ba815b3a02fc5b7af6506a819349e173a7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: works with null: 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":"packages/enzyme-test-suite/test/shared/methods/renderProp.jsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b64b235202c0d8b3743e3f1f42c02b546450d35fbc774776a0cc3da84b0bbd4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: works with arrays: 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":"packages/enzyme-test-suite/test/shared/methods/renderProp.jsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9e1120ccb6f124807b8d7cf01eed75cc7a1615484ea4c469da7d39006ac8d5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: works with false: 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":"packages/enzyme-test-suite/test/shared/methods/renderProp.jsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"44795f99727b12fd67d01bedb8edae4a8338dc8577da319d2d206d18f813e718"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ${message} ${testCase.message}: 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":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7142c5c4b9881cc5a880ff17a8b730c711695514ac1ab0d4a5588ec1029b75fe"}},{"ruleId":"D12","level":"warning","message":{"text":"One package at two majors across the workspace: react-is: \u0060react-is\u0060 is maintained at 2 different major versions inside this one repository \u2014 major 16 in packages/enzyme-adapter-react-16.3/package.json, packages/enzyme-adapter-react-16/package.json, packages/enzyme-test-suite/package.json; major 17 in packages/enzyme-adapter-react-14/package.json, packages/enzyme-adapter-react-15.4/package.json, packages/enzyme-adapter-react-15/package.json (\u002B2 more). Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f69e81c5bd135828c2bc1e4e28eb350fb3b3eb939a4844124a33be59cefe14fd"}},{"ruleId":"D12","level":"warning","message":{"text":"One package at two majors across the workspace: semver: \u0060semver\u0060 is maintained at 2 different major versions inside this one repository \u2014 major 5 in packages/enzyme-adapter-react-16/package.json, packages/enzyme-adapter-react-helper/package.json, packages/enzyme-test-suite/package.json; major 6 in packages/enzyme-adapter-utils/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"340ade01eaa4ce14ad8da2657e0db0455f8934bcabdbabdf06d2dadcc120f96f"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060enzyme-shallow-equal\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/enzyme-shallow-equal/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-shallow-equal/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2c244d4d2e5db33ff6549d49a6709cecde1043675ed31a506d55adfeba48b8"}},{"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 \u0060packages/enzyme-adapter-react-helper/package.json\u0060 makes this repository a deployable product (line 18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-helper/package.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e89c99df0403c6aaeb2b012f1cc53482184ef35c7e4961e049ed5f11106d34"}},{"ruleId":"D29","level":"error","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":"929a1514625da1c1841b04fa5ca113da21aa253324e4d37d04100b4380c01603"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"c32ae79580a25b8ebd990cb70c79dcdff027b74bd4010445c5636db46758fe22"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"a720def8586670d7d8bf8a6f9ad9e20374b67e7b104689deb1d91883f9db23ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"b47ce8293a03fad831dba9c0099e466c2ac567866396da9eb63cb5a9f676376a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"c95d1fb68eeb9a95024d3d33995d4b5739c5c34fc16298370ec4dd82d19adf3e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"efd909139786ef2a87124a4b2124f7b9821911685191ad8220429e5a18c9d465"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"a3ae322a3de72a874421868b8eab739a2c9f18827266515bb244959252952b08"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"d86a1206ff3eeadbb04fa60b863e359c0cd321dd9f63dd1805cd8b220b3898d5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"24e84b6178184cb116654b6306889f1266c5c5e7f74c42508ade87cddb6edd5d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"f7dec09188859ac3af43ed3b5c1aa9998ce2d278cfd11677277f57a925feff41"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"dd7e165b3aa2d3dff31822e4482b2e628a8ea11a78c1e5dc29d0d3cc90bc9fbf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"37a5c82d5603b9882319c20cfba6fb87f71bc77e01a72ecee668d5d069994631"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"2bb095b60e1b8eb7998e9cc81ee900ed7fb849c097b74f1037cc42b94f6776ae"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","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":"4bcf017e8c32c434cf1ea485843ec8b135ca2abe68f74bdf7bbb604ba67e7907"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"f12648391cca83491193d7ae459ce34c17f8e9d86fa0946234dcfdacefd46882"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"f560801679f1a9b69b1f7b45cb7f57d11c829f12a01ecaf4dc1f48775e61e42e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","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":"4e4a3da4814ee729ffa982efe94b2ac690a35309d3581b74bc43540424fc620e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"8af93b54d7b6d09176d9c9016e65470b9e3497c2e30cd6af0b8b0a89230292a4"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"2d4c76e7dec127004a27c63c029a3d89f4d971a4e731a2e8910e31c518faa79c"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"b8101728570fe47b28248981f6ccfcdf4f182e7966ad3b8ef29e05913c5e8269"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","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":"a7d6082257e2b451ea0893306a105240e46ef46553491935079e3894c05e1d2b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"727a56a84836df84e00342b5c7c9b961f176d2d37541eb0b4814bcce53407705"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e785f1d044062b5b2fb86b76a7bc18b1420eb39f2ea6bfcea645e939c7952fc7"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 20 of 20 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 20 separate risks. Counted over 20 of the 56 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":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53587c2b1532666ffc405b1c4faf260d501c4fa46d8ce73396aca199fed26044"}},{"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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55bba20025622c8ef27a6c10d82c78739e5ba252beda1143045dff6264d1772"}},{"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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c46343c55119d5bfd031bb263ce121fc140000d537b439a7b7583ae8ebbf15"}},{"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":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"152cdace4e5395aa855b1b92c352b86afaf7d082d7487cb8639b49be9a490279"}},{"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":"packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b761fb71ad5d2fa852e1fee36707171e187658a8cfb5c19b55f9ad48d0a4e6d"}},{"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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efded71f024fa027a2893f7ccfe2c74ea338fc13cf90507480c8ab57bdb12ae"}},{"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":"packages/enzyme/src/selectors.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e93b1176b0268146f9d28be01eef82b0dd0b88dddb46fe3a977fe94d3cab36a"}},{"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":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b41452f8cab7f40383097798ab70d615c29911e0b1fdc8944b766230a17d959"}},{"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":"packages/enzyme/src/Utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2d1135b69d7d4ba311ddccff4471e2cfd6bebe0aedf118d31d3613f5f0d743"}},{"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":"packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6236925d4090fc271b50cb2ef58827350e18deca9e61cbd57e58964ec194e588"}},{"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":"packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b106422c84568ccec0c53107e92b1fb2e40a64a261402ba353c7b82d2b192e"}},{"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":"packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6886934ce804315a6328090ddd078d81b37e86ee82570ac1ffa60269c5f381"}},{"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":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e18394bd26c1e26f59e34a43401aa99738f50d1b16ad77ab27dfdf6170c1be2"}},{"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":"packages/enzyme/src/RSTTraversal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bb177c4caca03628fd652d89b6b9d02bc3402b0390fa13666dd023b8383373"}},{"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":"env.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a2c0d32ed5648cd33fab6809c077d2e6d99fcf2b97506e5df5ef984b114137"}},{"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":"packages/enzyme-adapter-utils/src/createMountWrapper.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6806dff7055ec21455b7cab41accd7ce1e620f27e742f2c18603f295f860ace"}},{"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":"packages/enzyme-adapter-react-16/src/detectFiberTags.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a399f9da7a297f6b72c2982fb9fa7a1af87a866a0c5e92d3d61eab733d8baa"}},{"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":"packages/enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"108726cd7eb28d738eb6dc19322dcbd2c8219641783e35cd9bc2de5f0649e872"}},{"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":"karma.conf.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c62e8094f8de773b4d6fd9b39890057614186ea61cae2ed33160eef7ab628e3"}},{"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":"packages/enzyme/src/Debug.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b98ddc81be179b6009968169237e633d67ab65466346a6dc1f937e2e59295b"}},{"ruleId":"D36","level":"error","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":"de7379cd7f44918d0e73eb201a40a9652178f2c9b27b5d05b8f49feef0f44991"}},{"ruleId":"D36","level":"error","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":"c63267c7c301d788973330a6c333ea38b67173b3cef1529a15e5329050a8fc13"}},{"ruleId":"D36","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":"1e2b1254de67b855fd6befd179786d92d570c932ff20f6ae6568981130256ee6"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"f33c86a8a774526bfd248060bba86234405aad2088d5cb24d09776471dce957b"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"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":"packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"53925afe30ed475cf4894e659d350cb61bd4514f0c9f4ab6c97327f38ecfdacb"}},{"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":"packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e9828a6fe59447294f2734cd11b5715601c0beff58bdf4e8503500ca3f0dfb"}},{"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":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb00047a46520a7c9a75aec28a694053960080bdabe3b69e84b2430ce80e215"}},{"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":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d4f87cb775c4d8ac2ee8b04a5705ba3b086c87244469830259da0fdeaa94c2"}},{"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":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5064b6bad2962bc72f0eacb4f282be1a023aad2365c2afe332f5b030cf669282"}},{"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":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30128865e6c1fe7ba19ecc379e0395e173b3013eed403b4288b9c0f7f68deaa"}},{"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":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4c901852bccb1e6364b32c8e9fd4568d6399b839dcc01a2c08b5a6f84bfaa8"}},{"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":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caafe3478a9e97c9dc6320f9c927dd771f7cf283524ef80ed310f62e599b6b5"}},{"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":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"63855df1bad56bc4c10d846cbf5b06c2d53d69068d57487ad4e74116836a48dd"}},{"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":"packages/enzyme-test-suite/test/_helpers/index.jsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8229810cb1627e982cb3c2167b0dfead62585a2128d3cb3df708b313fca074c0"}},{"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":"packages/enzyme-test-suite/test/shared/methods/renderProp.jsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4d4093d2bfb5eafa2beb227d30d1c79cd4321c0663cbc096fcdb45e4180c8a"}},{"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: README.md names React 16, but the manifest declares \u0060react\u0060 ^0.13.0. 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":"README.md"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"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 4 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":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/node-pretest.yml"},"region":{"startLine":3}}}],"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":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 167 plain JS \u2014 the untyped files are env.js, karma.conf.js, packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js, packages/enzyme-adapter-react-13/src/ReactThirteenElementToTree.js, packages/enzyme-adapter-react-13/src/ReactThirteenMapNativeEventNames.js, packages/enzyme-adapter-react-13/src/index.js (\u002B161 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 10 sibling directories (17 clone groups): 17 duplicated blocks under packages/ have copies in at least two of the sibling directories enzyme, enzyme-adapter-react-13, enzyme-adapter-react-14, enzyme-adapter-react-15, enzyme-adapter-react-15.4, enzyme-adapter-react-16 (\u002B4 more sibling(s) not listed) \u2014 16 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 17 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 17 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 17 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f66374fe4e8cdf5247ac80c5cb920a2e12c6fbaa3f27734bc034272c4f58ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (457 matched lines \u00D7 2 locations): packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js:63 \u00B7 packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:73 \u2014 the two spans are one implementation copied and then locally edited \u2014 2426 tokens are still identical, in the same order in both files, 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":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d06b090a7ee1e8901e7615b4b374d3cc8099349bdddb15d3c63e6bc40dfd3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (323 identical lines \u00D7 2 files): packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js:2 \u00B7 packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js:2 \u2014 these 2 files are line-for-line copies of one another \u2014 323 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dd04a6ba53f46bc078764a42a9acbfab8a5604e51c1abff4bcc487d196bcf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (184 identical lines \u00D7 2 files): packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js:1 \u00B7 packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js:1 \u2014 these 2 files are line-for-line copies of one another \u2014 184 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bb20afe3275fc5611db47c1f21139862b178db4a04219f991fc7c77122582e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (89 matched lines \u00D7 2 locations): packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js:109 \u00B7 packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js:93 \u2014 the two spans are one implementation copied and then locally edited \u2014 459 tokens are still identical, in the same order in both files, 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":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c6563d0bf9c4444189a90a1e11371b01100759b886c45baed0190f0651a92b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:1002 \u00B7 packages/enzyme/src/ShallowWrapper.js:1481 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac51b3feb5804232fbfa00283969a76c76f6a9990631b6dc8633aa9472974599"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (80 lines \u00D7 2 locations): packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js:270 \u00B7 packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js:289 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"20696a8e39b66d3a55ed5963e284a687431404f104ed800da91707e31d165fa0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 2 locations): packages/enzyme-adapter-utils/src/Utils.js:376 \u00B7 packages/enzyme/src/Utils.js:295 \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":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b090564c03673b71ba25544ee8f69d447c4664b608549c00fbe6e4dafe92f04c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2 locations): packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js:244 \u00B7 packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js:234 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"be207d6427908194e625a74fe68c99130fcc6e5eaf7ca09e473e4ddc53f1e015"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2 locations): packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js:101 \u00B7 packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js:167 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf58eae8f2e8ea9e6c1a8a8fc1a8612c24f0cde0fb7be165465d616155adf9ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:849 \u00B7 packages/enzyme/src/ShallowWrapper.js:1327 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef27dac801f965cdef4baf09a445c90a6a540c21334468dda392ac935fc3d74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:430 \u00B7 packages/enzyme/src/ShallowWrapper.js:886 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"393ecaf8f358c107e74a1afe5cf1b8063dfeef8c1813180a56be142b924e2e1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 3 locations): packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js:211 \u00B7 packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js:256 \u00B7 packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js:246 \u2014 the 3 copies are spread across 3 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":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cc079b78e68c844a5b189e36ae51569715dc00a96bff9c8b69b8c525ab1b23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): packages/enzyme-adapter-react-13/src/ReactThirteenElementToTree.js:14 \u00B7 packages/enzyme-adapter-utils/src/Utils.js:201 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-13/src/ReactThirteenElementToTree.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f7bbf3d3b76a9fddaf600be7144d426bc26443d70e202e11c38008615331da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:758 \u00B7 packages/enzyme/src/ShallowWrapper.js:1223 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a54f02f95233c4500e16bd4ab702ed0680f90c9f5f69c7f1e95bbe7808db347"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js:184 \u00B7 packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js:334 \u00B7 packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js:336 \u2014 the 3 copies are spread across 3 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":"packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dfe5efce14ed098c97beb7da02d139454e47d8ceb06ecf10960e9e7bf1c8d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js:108 \u00B7 packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js:257 \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":"packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a34573c95ce884b00338d7bec8e01b8782aeffa6a887d069eb849f50046d2f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5 locations): packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js:222 \u00B7 packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js:423 \u00B7 packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js:425 \u00B7 packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js:442 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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":"packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebbfdb6385274bce1f604e196040be0c13851d70958df8b49cf30582b6b11be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/enzyme/src/ShallowWrapper.js:616 \u00B7 packages/enzyme/src/ShallowWrapper.js:774 \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":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"549305f39375c7fa8c175116c42f23c80f16e227d73cd36969988602b3f1e07f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js:130 \u00B7 packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js:115 \u00B7 packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js:181 \u00B7 packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js:148 \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":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca54d26aacb3b2a51d8e9dbdcfc8814486e62d88a82bead365f1978e98613e17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath.js:55 \u00B7 packages/enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath.js:73 \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":"packages/enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4003f82d40d1ab889ffddfdf19b916bb3b82b4d78cbc161ccd74ee63589fe75d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:1268 \u00B7 packages/enzyme/src/ShallowWrapper.js:1805 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6649905ef152a0c3a72caa3b2ac2fb06333bed33603ffde816077daa64f028a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:727 \u00B7 packages/enzyme/src/ShallowWrapper.js:1190 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b53487e263670e4e26afc4bf5ccf5257ccf5650cadf271ca14e81470f66b078"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:1294 \u00B7 packages/enzyme/src/ShallowWrapper.js:1831 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b6c9bc3519009ed0e4d027aaf2ab3ca64457c563d7042568db44395d6459a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js:165 \u00B7 packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js:232 \u00B7 packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js:199 \u2014 the 3 copies are spread across 3 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":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca71764ec95418b839e4774e85de42bc0985a56d56f94da22c3a206a45e89ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:686 \u00B7 packages/enzyme/src/ShallowWrapper.js:1148 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"33732d02870104d5751c87cc1e2fe5e9cfc8eedd46003df2be260eeaef7053c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:324 \u00B7 packages/enzyme/src/ShallowWrapper.js:685 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f0ca2e940ae707580a71b9f9a3d75d3c74b00f9ddc022181402390b21edfbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:88 \u00B7 packages/enzyme/src/ShallowWrapper.js:181 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd381b49bef59102804e965fe1a819a71cebed3a1e9c3cf6af1d8a91232a154c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/enzyme/src/ReactWrapper.js:192 \u00B7 packages/enzyme/src/ShallowWrapper.js:496 \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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d065868f1b73182961bed52b163364befee8eedb26910bbdd1ac434ba5517621"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/enzyme-adapter-utils/src/Utils.js:114 \u00B7 packages/enzyme/src/Utils.js:267 \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":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"02749f3ea545005e0ec42891b2f20bd89420797825266dd42a9ca1bb1e96cf9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/enzyme/src/selectors.js:300 \u00B7 packages/enzyme/src/selectors.js:328 \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":"packages/enzyme/src/selectors.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"56277e6462a28b5b996647606efd753aca63b6bc714708270364315c4392b034"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js:5 imports react/lib/ReactContext, 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":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f98ef92e524ca1b3a9905121aff743ae0a1c9f58ae80cbf4dadfb8eda291a7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js:25 imports react/lib/ExecutionEnvironment, 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":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2751466008fa02e8e018c3bda12e082e75e1452ea27da690460a595071fa50ea"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:undeclared-workspace-dep]: packages/enzyme-adapter-react-helper/src/index.js:8 imports enzyme-adapter-react-16, a package this repository publishes, but this package\u0027s own package.json does not list it in dependencies (or peer/optional dependencies) \u2014 it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package\u0027s dependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-helper/src/index.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd2ba9e9299789de267adca1ca428678bcbdf390d6d1a6cf82a4b7cb4917827"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:undeclared-workspace-dep]: packages/enzyme-adapter-react-helper/src/index.js:12 imports enzyme-adapter-react-16.3, a package this repository publishes, but this package\u0027s own package.json does not list it in dependencies (or peer/optional dependencies) \u2014 it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package\u0027s dependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-helper/src/index.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92212a63cd0cfc9fce9d8c310e565af6b688f95d5b69b7f48446737c2670dee"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:undeclared-workspace-dep]: packages/enzyme-adapter-react-helper/src/index.js:16 imports enzyme-adapter-react-16.2, a package this repository publishes, but this package\u0027s own package.json does not list it in dependencies (or peer/optional dependencies) \u2014 it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package\u0027s dependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-helper/src/index.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56db4e511b274bdcd3f7204086b8a268f2c4aa4ab27ae712cb198daae2a4c8a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:undeclared-workspace-dep]: packages/enzyme-adapter-react-helper/src/index.js:20 imports enzyme-adapter-react-16.1, a package this repository publishes, but this package\u0027s own package.json does not list it in dependencies (or peer/optional dependencies) \u2014 it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package\u0027s dependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-helper/src/index.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f51edccead5fb654eb4f01782f6ccfc3b73bc97942694894431b89d40c2978d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:undeclared-workspace-dep]: packages/enzyme-adapter-react-helper/src/index.js:24 imports enzyme-adapter-react-15, a package this repository publishes, but this package\u0027s own package.json does not list it in dependencies (or peer/optional dependencies) \u2014 it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package\u0027s dependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-helper/src/index.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1059f14cbd2c8c737b48c0cd5d8734c1318ff4326c650276ac6f468acedf87fd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:undeclared-workspace-dep]: packages/enzyme-adapter-react-helper/src/index.js:28 imports enzyme-adapter-react-15.4, a package this repository publishes, but this package\u0027s own package.json does not list it in dependencies (or peer/optional dependencies) \u2014 it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package\u0027s dependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-helper/src/index.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f808bcbe2c069cc18c80062003177ea88ac2d1980e95395bdbd5db0e235372f7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:undeclared-workspace-dep]: packages/enzyme-adapter-react-helper/src/index.js:32 imports enzyme-adapter-react-14, a package this repository publishes, but this package\u0027s own package.json does not list it in dependencies (or peer/optional dependencies) \u2014 it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package\u0027s dependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-helper/src/index.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa56cddfa5b78c897da9ff6004871ee223764dafecf22080ffbc669f163e452e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:undeclared-workspace-dep]: packages/enzyme-adapter-react-helper/src/index.js:36 imports enzyme-adapter-react-13, a package this repository publishes, but this package\u0027s own package.json does not list it in dependencies (or peer/optional dependencies) \u2014 it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package\u0027s dependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-helper/src/index.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1143fe5558a1f23575dcf9dd4b8736e8879a158f766c83bd2a3184c2f9aedd7f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/enzyme/src/Utils.js:11 imports cheerio/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":"packages/enzyme/src/Utils.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb6463fd425904aca38acc1831fe03d17d1cbbdf6946d6e7e7fe3f1594c2f88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function displayNameOfNode (cyclomatic 32, cognitive 30): displayNameOfNode has cyclomatic complexity 32 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 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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05edebc2a48877bf25fce1ca7cfce730b57fa7e5534ab81e1356c09bde9babc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 39): (anonymous) has cyclomatic complexity 29 and cognitive complexity 39; 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":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"730d8bb9f25150d7d5d4c78486736184fc1421b4de508c69b77a64c37c73f452"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 42): (anonymous) has cyclomatic complexity 28 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":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76f69673bba199f66618ffd22c92b62da7c8cb59db4372b664f194086465160"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function displayNameOfNode (cyclomatic 21, cognitive 18): displayNameOfNode has cyclomatic complexity 21 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 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":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"55993fab154dc19c2b7addebed9093f3436a97ceb7ee1f83d6d726069c31e3f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findCurrentFiberUsingSlowPath (cyclomatic 20, cognitive 56): findCurrentFiberUsingSlowPath has cyclomatic complexity 20 and cognitive complexity 56; 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":"packages/enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6665e99b7ca09c02c7da186239a4180cafbd663f1965c1a647ac0d48bb236e45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function internalNodeCompare (cyclomatic 18, cognitive 22): internalNodeCompare has cyclomatic complexity 18 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":"packages/enzyme/src/Utils.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6def725e1a13b98df17e1a5d249bcf276584c5fa89cc96f32b0396148819d7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchAttributeSelector (cyclomatic 18, cognitive 16): matchAttributeSelector has cyclomatic complexity 18 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 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":"packages/enzyme/src/selectors.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"918ebf96882f9dbce1bda086a83d9fea35ed2bf64ce69047d4a9bf4aed82ae16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function instanceToTree (cyclomatic 16, cognitive 12): instanceToTree has cyclomatic complexity 16 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":"packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5796b1f7cb410d8db26566628a1beefedf03843eec9d409a0adc5bb156bf781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function instanceToTree (cyclomatic 16, cognitive 12): instanceToTree has cyclomatic complexity 16 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":"packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1f63b1a3b9da59f33ddbe502b95ef9ecd2552a8ab824768e75b133ca6a2784"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectFiberTags (cyclomatic 15, cognitive 14): detectFiberTags has cyclomatic complexity 15 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 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":"packages/enzyme-adapter-react-16/src/detectFiberTags.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6caea7c385afc8bc6e65b5687fe439dc015a297ea2a928aa556f88a739ed25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 14, cognitive 24): (top-level) has cyclomatic complexity 14 and cognitive complexity 24; 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":"packages/enzyme-test-suite/test/_helpers/react-compat.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a0487a239001a934f9fbcdf004fa59067f3290aff5c8a91b8cda653b5f6314"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 14, cognitive 22): render has cyclomatic complexity 14 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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"beda4c514673e229239244fbbbf1f17b4540a0d5e9311ae2df39d74bc0c70a1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOptions (cyclomatic 14, cognitive 11): validateOptions has cyclomatic complexity 14 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":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc02fedfc676a53c55bdde12b12755b836890ae5c17ff83afd3527a0e58d6c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 13, cognitive 17): render has cyclomatic complexity 13 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":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f5f8cf45b13a38f58c19128f6dc995284d483ba7a9b5a6d8ec76de218f7943"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reduceTreeBySelector (cyclomatic 12, cognitive 17): reduceTreeBySelector has cyclomatic complexity 12 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":"packages/enzyme/src/selectors.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb33ef24df5ec54471f3025325417f6fee4686279ea7435484835946ea07b0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function debugNode (cyclomatic 12, cognitive 12): debugNode 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":"packages/enzyme/src/Debug.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d92db2dec14a333fa51b9c9c71da44e40a090f9fa4efb53a59d7e6c17945f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 11, cognitive 16): render has cyclomatic complexity 11 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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"045a2fce197a846268ec1e38c97f8f6e246e183d67b96531a041ae437a900f70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 11, cognitive 16): render has cyclomatic complexity 11 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":"packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"727bd08ee86cbe664607a52741c7d038ce50a0e7efa7ab844c534108077d3d3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function instanceToTree (cyclomatic 11, cognitive 11): instanceToTree 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":"packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"910e63951b1bbca325ea8c17193049b4bbce39e9b0c12c24c99a764c17fc8931"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function elementToTree (cyclomatic 11, cognitive 11): elementToTree 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":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9329582f16d1833c794434c5dcc4fe3e690995fcd4b37c16d24b0e4ccf7fef94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 11, cognitive 10): (top-level) 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":"packages/enzyme-test-suite/test/_helpers/adapter.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"215e28f08ece387cbbfc5e98fb6e9b1144a45b5002601f44e248ffdff6e76b14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTextFromRSTNode (cyclomatic 11, cognitive 9): getTextFromRSTNode has cyclomatic complexity 11 and cognitive complexity 9; 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":"packages/enzyme/src/RSTTraversal.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2400bc278d22e8cd70ebfda49f71e3502d46986b143beb54c07aab0c1cbc9723"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/enzyme/src/ShallowWrapper.js: 1712 lines of code: packages/enzyme/src/ShallowWrapper.js has 1712 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":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45da4e52a389b6d17923c2096d2480298025a95e2f17e9df255b51c6969e3315"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/enzyme/src/ReactWrapper.js: 1206 lines of code: packages/enzyme/src/ReactWrapper.js has 1206 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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40b817e787b24e14d65e1ed055091577f10919e9ef7b3ab1edf4817fe0f7ed0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js: 916 lines of code: packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js has 916 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":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06af894a4d458dbc5a80c21ef3f606bc654a403eff563c4c07da810645676155"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js: 596 lines of code: packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js has 596 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":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8233d9b168854760d407283336a181688891d113a84eaac143e8d41705714def"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js: 534 lines of code: packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js has 534 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":"packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4729ec2c27ad5a7eea97c78f5648549766395a9f875832926c7b5f0dba54d59"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js: 529 lines of code: packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js has 529 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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9843bd13df6897e991b732cf8c473bdefaf1943f20964958c658de3a3364583"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/enzyme/src/selectors.js: 433 lines of code: packages/enzyme/src/selectors.js has 433 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":"packages/enzyme/src/selectors.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e631b975cd23dea4f7bce8f3ae6fcb5ad8be9a8fcbfe8ae2155bbe987074e59"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/enzyme-adapter-utils/src/Utils.js: 421 lines of code: packages/enzyme-adapter-utils/src/Utils.js has 421 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":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d0232148b7747228ff942979837249d8c7dce3f4b75b0713624ca1b46819a5"}},{"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":"packages/enzyme/src/ShallowWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e14aab84f358fcc7a5ea1c9152f300d4284721faa39b07e6a3527e139466113"}},{"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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb67e88c18b075ec8e4c44e9f11c7f5fdbdb751c819e7a6ea1f5af23402f3ec2"}},{"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":"packages/enzyme/src/selectors.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d57c3dd29afd27262adc1af7828bece9746d744baee5426abd1013ab6f721f8"}},{"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":"packages/enzyme/src/Utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"821f35b01427187e82665416aa7b1dc45837d717f8b62df43711f7190e12f3c4"}},{"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":"packages/enzyme/src/RSTTraversal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3fcbae1defddac662423e7e82c0b32d53def0fc1c87b3ad911add420e21e1c"}},{"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":"env.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5d2e750913018db3659d308512b6117b187d2a737c0e64fdc026304d9a17f9"}},{"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":"packages/enzyme/src/Debug.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"013307c2bdf22e6d5c521aecb5e0c887fa779a626a474d1f0953580967f32fc6"}},{"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":"packages/enzyme/src/EnzymeAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a934b51ba1b28839ac7ced4fcbd7f9bacfb2882e7747b7b832e9c2ae3d146a"}},{"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":"packages/enzyme-adapter-react-helper/src/enzyme-adapter-react-install.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6efffb9bd2d29a42ba348dce2037980c21505c43fbfc473150abfdb4cac785"}},{"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":"packages/enzyme-adapter-react-helper/src/safeSFC.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0543b71acfd8b1246d499d3e7a5a1af654799468cbf2885e76577d4a19c8df"}},{"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":"packages/enzyme/src/validateAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90b8574e33d16c4efcde469640d0ce6e6dea51862ff1a3cda3f955add3040da"}},{"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":"packages/enzyme-adapter-react-helper/src/getAdapterForReactVersion.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb979775ddf81528c7cf57b2d6037665f1e837aaa777502e1b582c4e3e6078d"}},{"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":"packages/enzyme/withDom.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81630957c5b94151934a7c0ec8063ddadce919fc14eb62e1934b06012834b75"}},{"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":"since.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ac5ea9faf6b72fc8cfa71fc4d766f2e20f4bea722bf3e5949c8edb6134c9ab"}},{"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":"packages/enzyme/src/render.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2fd71041e9486bb63694d5af180e94f72334a8134e6ca2fdb2a57719966d55"}},{"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":"packages/enzyme/src/configuration.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f90642d5bedbb3ae514fe1bcd106f397ff8d2a250c12dae40e50e3781b89d4"}},{"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":"packages/enzyme/src/getAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3f0664ae553145939a2524ebc9f5de8976a9ee7574f89bc1db3c918780e757"}},{"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":"packages/enzyme/src/mount.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa84b2a75d0c8fd1f888cff483e359b9bb6d8c1f847c925b743bf23e428e3f5"}},{"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":"packages/enzyme/src/shallow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6150c86c20e93436d2189c36e4f260b03e98e2a324517c24c07f1c987f11079f"}},{"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":"packages/enzyme-adapter-react-helper/src/ifReact.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c755a5824e865ff53cff19acf91d87706221c43890964c56c0fa9d4d84e1cbdf"}},{"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":"packages/enzyme/ReactWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34beca9da5c45d7a7dbcdb373dadfe940cac6461852f775826dc232ac4715ea3"}},{"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":"packages/enzyme/ShallowWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4defab596d1237d1b72ebf57a23f57e38019115d4bfa9339e1010d25aa33f2"}},{"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":"packages/enzyme/mount.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f51772ab80902fcade3cf4731aae7a3f24cd517eb37b527e2f3cfb440a37c4c"}},{"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":"packages/enzyme/render.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15549c9e7d3793fcba5aa6e35ce1fa626de31c1bc67b8b6f3a7e1f3b1207631"}},{"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":"packages/enzyme/shallow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b8cc61565da6a127981776c9217cefb039184cfc40e7985f6855bac7df77f8"}},{"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 (~45 LoC): no import path from any entry point (14 application, 3 tooling, 112 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":"packages/enzyme-adapter-react-helper/src/safeSFC.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d27a9b8c76f8425da08aabf36b4d46c088541afcbd9ef48de45e1023dc0160"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~35 LoC): no import path from any entry point (14 application, 3 tooling, 112 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":"packages/enzyme/withDom.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bcb7d8b7a794cd553828c545eafdd7497058c20ed43a0695fb116a6b24bdc6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~8 LoC): no import path from any entry point (14 application, 3 tooling, 112 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (packages/enzyme-adapter-react-helper/src/safeSFC.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-helper/src/ifReact.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfd741cc2d29dd6bc4776a5fdcefa2a0742ed639074a6f65dd2692cadcf3540"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (14 application, 3 tooling, 112 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":"packages/enzyme/ReactWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a157b1d8e9339869dbce5968274bb5ddb4e504a0bd2a163e9eec659174357348"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (14 application, 3 tooling, 112 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":"packages/enzyme/ShallowWrapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"199c9de255be6e7bbc10e6b38c888643bf7d747cdb319abb5bafb213995075cc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (14 application, 3 tooling, 112 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":"packages/enzyme/mount.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08550909629d500d9950d51f569662f3a4ffa604ccbc0dd4d4bcadaa8fe9ad6c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (14 application, 3 tooling, 112 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":"packages/enzyme/render.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c56251736e97cd6e9e7bbf91197db08f738ed36c5283cbc1b678135ced6ebc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (14 application, 3 tooling, 112 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":"packages/enzyme/shallow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb88e27793bcb90e0996f02f6dec94a6aff75eb06947726c033aedfbcb1752b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"709e66f2611e18e0786899a0e1ca499567cb1d7d6738304e048409ffdfa5b2f0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"0083ac4071e72da515d4e3674c658718bee33ff94d93552a3ea6e805a02ff1af"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"899c4f5ad86b5d4c6cbedb15a9e45ebd1cc9f74c0a517ac2505d009bcc38cee0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f4faaf1190da0b4dde3718b815108cd8d6c889eec8dffae29b74dc391048a1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e5e7d76e131fa26af4ce7f96edc08888eac56f5c9845405ee5bbfdcca3bc32"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"9458760a564e7e0a91569d37ab41ed74f42376f37af1a6b3004430bcbe311098"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"6258090fd86c5a6117958fea607f188b5017a68d76b72ed0aa067d36ab2cffc6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.js"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"02235ab1ada2622fb7cc01fcbeebfdc12e6bf6b0bb147d3711328f1a325a93c8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027propFromEvent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e92b21024a89c98afb4da6528d2edcc9a332b82a4c8bd5537c05e48d9f78c8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027withSetStateAllowed\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"72230276139aaa14e948c3db2b9ca2e8771b5c697071cbe323945e7bf05576f8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027assertDomAvailable\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0168ecaffbf61e3199e6fecd396ff8de0f3fd5664480c0e328aa2e76b0c0e779"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027displayNameOfNode\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe20dc6e5067e129450a7ef1a38dcce98d1bcd831c3c3cc9f4778bf09d16ddcb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027elementToTree\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"38af9be1607d2d31395c811d48046f71c77a07285020acdfc482307e2357322a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027propsWithKeysAndRef\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"061872e8fbb364a53f93bd420ee2ba6cfcb75da7d234c6f3dc5b09f04454aca3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027simulateError\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"330a098bf41340195224490c3cf1e7dcbd93aea0511ed2f2c96034be69cd114a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getMaskedContext\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d53c652b6aa0d9ae4de2fb64dfface2ff044c2219baa3c0e7f4deee03ea934"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getNodeFromRootFinder\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c714f837af7d16791bd3377379d038263935431f69ddebd0f5ef3384a6174395"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027wrapWithWrappingComponent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a286831a43df548e82fbc2fcae9cc8fc3e0fb32b976406f039e62734fe472bd7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getWrappingComponentMountRenderer\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fa67481b4b5a36e9d9746221bbd8b40642f9c91d1cf65f06ea74da9e81ec4e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027fakeDynamicImport\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cca1ff15a86f8e61504055e9da9ba398222b6eaabb86a4d24a3f8aac62035c3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027compareNodeTypeOf\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62afc1e63f1e0893a9d7e4d309c5c0fc93eb7cc951592191f6aab380df75f84"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027spyMethod\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f53276d678cb270a23d5aa30b9ee6b2249d304963e750b4d5605ec51045ee01"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027spyProperty\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-utils/src/Utils.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81239571cd927acf1c57af1761f1d650778af2901c2794da53658cecbda45e2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getAdapter\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/Utils.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"058c8dd27f664f5d83154a7cf827648a164328f5f335082bf783adea4435c0ae"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AND\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/Utils.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a587f268f260fed3139b1aa222470a480763395ae8ff6ece684fb9b75e70d2ce"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027spyProperty\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/Utils.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eca7322677aaf862f7d4f4af088509554c72ad3d7cb62559636585f559981ad"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027reset\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/configuration.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd08289a5492a9849d8bbdcc6b3b3ec48f76b48193545898f2209aa40e011bd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/enzyme/src/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/enzyme/src/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/mount.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5d963d8be636db36e27866c123e2fdfe31b18e24d3880d8da814d148ade82b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/enzyme/src/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/enzyme/src/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/render.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe289453530624be4dc84dc188f820a051a8e8dfadffb235d01d1f306c75daf9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/enzyme/src/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/enzyme/src/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme/src/shallow.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b783e246193ab59334bb19d523cb66eeae42faf408c509cfa7490c55a026a91b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027gitbook-plugin-anchors\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":"2204170dac7ae3f1f98c3732f38b89f8d78a99173e72b6cc1d325b712cd46806"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027gitbook-plugin-codeblock-disable-glossary\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":"2568f3cb6e1ec506413990162f16fb4080427ef596fcbfd0033727dc151ac126"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027gitbook-plugin-collapsible-menu\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":"0d853b34483408d852b0f11eb5f7cdeb88013dfa3283a98b4ad7c5ff33acbf99"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027gitbook-plugin-edit-link\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":"90bff91e521209f55d545c7b221aa0772b372a77696ab0ed2382eefab20268c2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027gitbook-plugin-github\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":"1d599cc1683e38668f5cb969811d7cb023f68934111386d08f719e62d70432ed"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027in-publish\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":"95e9c6f2820cb48a69130ea26b8f64e219559817ea11f7b686f9bec0a0899799"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027in-publish\u0027: Declared in packages/enzyme-example-mocha/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":"ae519ffd9c08ca65c20eeefb6b425af2132ec42c43259c331113d6c5cdcdb54e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027safe-publish-latest\u0027: Declared in packages/enzyme-example-mocha/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":"d07a922d81aa3d9224bb2a34e304be2c065ef6b7920a8d35f2ef2b2506590759"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027psl\u0027: Declared in packages/enzyme-test-suite/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":"2079f6551c2a6e99a02cb635856984dafc4e3050f38ccbb07492908de577052e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027safe-publish-latest\u0027: Declared in packages/enzyme-test-suite/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":"9ba7b00365daa99d54923bb854dd40091109774962fcc02afc3751506f67ce22"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js \u2192 packages/enzyme-adapter-react-helper/src/index.js \u2192 packages/enzyme-adapter-react-15.4/src/index.js \u2192 packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c34f9aad931f8029d06371965b886b75b80a11c538262591e654b0500a198f6"}},{"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":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd699919aa591b262d8f4a07a70eed2e90d52ddb856cc6e42aa98540126b06b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isStateful \u0026\u0026 typeof Component === \u0027function\u0027\u0060 appears character-identically in 3 files \u2014 packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js, packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js, packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fc71281b7cfef8319f79539fd1bae72fb87252ecd9af5b28a743c2c5da0077"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(node.rendered) \u0026\u0026 node.nodeType === \u0027class\u0027\u0060 appears character-identically in 4 files \u2014 packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js, packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js, packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js, packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f305f5e1007dfe1d4e6c615f89347a3f61c7b82807a9fa6a39d1966b2bb14a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Component.prototype \u0026\u0026 ( Component.prototype.isReactComponent || Array.isArray(Component.__reactAutoBindPairs) )\u0060 appears character-identically in 4 files \u2014 packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js, packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js, packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js, packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"6345e94d5acac08d7221a4cffce499dfdfd4e00b62fcc65400713857bfc634dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arguments.length \u003E 1 \u0026\u0026 typeof callback !== \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 packages/enzyme/src/ReactWrapper.js, packages/enzyme/src/ShallowWrapper.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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"00035c284058a6555ba62afb2907910a063fb11acc29611326542836dfad1730"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060el === null || typeof el !== \u0027object\u0027 || !(\u0027type\u0027 in el)\u0060 appears character-identically in 2 files \u2014 packages/enzyme-adapter-react-13/src/ReactThirteenElementToTree.js, packages/enzyme-adapter-utils/src/Utils.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":"packages/enzyme-adapter-react-13/src/ReactThirteenElementToTree.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"01847ea299c4d1273921590185bc1bd6c8ca0af73a12bac1ebe9a21a4fe7deef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hydrateIn || attachTo || global.document.createElement(\u0027div\u0027)\u0060 appears character-identically in 4 files \u2014 packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js, packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js, packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js, packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"42880debee5330aa55d82a8ecb1c47811434c4486bc1b45601a6892e6948dab2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inst._instance || inst._hostNode || null\u0060 appears character-identically in 3 files \u2014 packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js, packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js, packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.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":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccf4e2013f5d34e425747cf6cb1d8d7eb125d0a7ad78004c17bf2b3b0f639c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node \u0026\u0026 !Array.isArray(node) \u0026\u0026 node.instance === null\u0060 appears character-identically in 4 files \u2014 packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js, packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js, packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js, packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"838e341c5d359b88a40bb91cbaaa117ba9d509aa546d6c5a99109dcfb2211529"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nodeType === \u0027host\u0027 \u0026\u0026 props.dangerouslySetInnerHTML\u0060 appears character-identically in 2 files \u2014 packages/enzyme-adapter-react-13/src/ReactThirteenElementToTree.js, packages/enzyme-adapter-utils/src/Utils.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":"packages/enzyme-adapter-react-13/src/ReactThirteenElementToTree.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd721c2f2f6faf477dd355af493008722e2789d288ecbea961acbd8e34329e3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.attachTo || global.document.createElement(\u0027div\u0027)\u0060 appears character-identically in 4 files \u2014 packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js, packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js, packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js, packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.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":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2fceffe4d1183798533622a956c244a87db2cf10e8fb142ef07c7378e22711"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.context \u0026\u0026 (el.type.contextTypes || options.childContextTypes)\u0060 appears character-identically in 8 files \u2014 packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js, packages/enzyme-adapter-react-14/src/ReactFourteenAdapter.js, packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js, packages/enzyme-adapter-react-15/src/ReactFifteenAdapter.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":"packages/enzyme-adapter-react-13/src/ReactThirteenAdapter.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f4bc043c63c819cacba76f9c956a004d2d94e32a3d1122b30b7e0a6dd08b3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060renderer._instance \u0026\u0026 el.props === renderer._instance.props \u0026\u0026 !shallowEqual(context, renderer._instance.context)\u0060 appears character-identically in 4 files \u2014 packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js, packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js, packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js, packages/enzyme-adapter-react-16/src/ReactSixteenAdapter.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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2535881b0b17c9ceb5d0b5befb18f38768b35a929968bdd02d417c08a2e9f1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof className === \u0027string\u0027 \u0026\u0026 className.indexOf(\u0027.\u0027) !== -1\u0060 appears character-identically in 2 files \u2014 packages/enzyme/src/ReactWrapper.js, packages/enzyme/src/ShallowWrapper.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":"packages/enzyme/src/ReactWrapper.js"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ecb29a47a0a74dafd56b55f00ed47b391d482044d07e12a864b2109cf7f799"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof node === \u0027string\u0027 || typeof node === \u0027number\u0027\u0060 appears character-identically in 4 files \u2014 packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js, packages/enzyme/src/Debug.js, packages/enzyme/src/RSTTraversal.js, packages/enzyme/src/Utils.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":"packages/enzyme-adapter-react-15.4/src/ReactFifteenFourAdapter.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fd047beaf7eb216b5b2e829571e6ec852f535e75bb8e86307272ad2d22c9fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x.instance \u0026\u0026 x.instance.componentDidCatch\u0060 appears character-identically in 3 files \u2014 packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js, packages/enzyme-adapter-react-16.2/src/ReactSixteenTwoAdapter.js, packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.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":"packages/enzyme-adapter-react-16.1/src/ReactSixteenOneAdapter.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4378543147d21fcf611201092ab412727fe75ce4e121f90916e136c9759e0821"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.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-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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":"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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"}]},{"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"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":28,"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."]}]}