{"$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":"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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"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":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"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":"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"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":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"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":"UTIF.UTIF.toRGBA8 (cyclomatic 91): UTIF.UTIF.toRGBA8 has cyclomatic complexity 91 (threshold 15). Of this number, 90 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e901db63b305c32aa7327e5ba002db4fc6606e5e266d584f9642c76d554f0db3"}},{"ruleId":"D1","level":"warning","message":{"text":"ag::parse (cyclomatic 67): ag::parse has cyclomatic complexity 67 (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":"src/UTIF.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"316fa3440b579f6893a4f442a4e02fee59c06ccad2c4ad2b41928bb69cbcec80"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.UTIF._readIFD (cyclomatic 66): UTIF.UTIF._readIFD has cyclomatic complexity 66 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a889bef2fe8824a1093182f2dc7b957cfc6395e7ee7861eb91efeddcf3dd1d8"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageConverterSettingTab.updateConversionPresetFormFields (cyclomatic 66): ImageConverterSettingTab.updateConversionPresetFormFields has cyclomatic complexity 66 (threshold 15). Most of this is not in the body itself: 15 of the 66 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 2433, a function literal at line 2620, a function literal at line 2356, \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":"src/ImageConverterSettings.ts"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d4f9efe8ec239d5a1ef9b0781953a5d153d2028fa450e3a16a3ab36dcd9ddf"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableProcessor.getImageMetadata (cyclomatic 65): VariableProcessor.getImageMetadata has cyclomatic complexity 65 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 48 belong to 11 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":"src/VariableProcessor.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"0085f066ed4373e02c266f16f4ae8848eb905c1a476ae0be87d86b92ea05f290"}},{"ruleId":"D1","level":"warning","message":{"text":"_decodeVC5::av (cyclomatic 57): _decodeVC5::av has cyclomatic complexity 57 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"2463b35dcf025f7a240aa6a2715daaf6ba6cc88fcc25e755be47601d5b8866d4"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageConverterPlugin.handlePaste (cyclomatic 55): ImageConverterPlugin.handlePaste has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 4 of the 55 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 939, 922). 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":"src/main.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dfca3e3391a89dc202b1a03d041268fefa965378c832ecb4a5eea6cad0be5c"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.UTIF.decode._decodeOldJPEGInit (cyclomatic 54): UTIF.UTIF.decode._decodeOldJPEGInit has cyclomatic complexity 54 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dafb03a334a4ca66e000aa0fb69e6e69b36603744bd4534c583ddf3cefbeee9"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageConverterPlugin.handleDrop (cyclomatic 53): ImageConverterPlugin.handleDrop has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 4 of the 53 points are its own statements and the rest belongs to one function literal inside it that branches (line 595). 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":"src/main.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"929582de213ccdfcd5f7e397f3ede3024e2d8dbe01241149d59601c9fc8bc4a6"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkFormatter.getResizeParams (cyclomatic 51): LinkFormatter.getResizeParams has cyclomatic complexity 51 (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":"src/LinkFormatter.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b4a72ef6b85c73675b6b816b106af364b7c7988f38773d693c47886b778b39"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableProcessor.processDynamicVariables (cyclomatic 50): VariableProcessor.processDynamicVariables has cyclomatic complexity 50 (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":"src/VariableProcessor.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d26d39f840fa5a38562557c17c4fb0690afb7c7fbc15bc8af7a6934fcadb9e"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageResizer.updateMarkdownLink (cyclomatic 48): ImageResizer.updateMarkdownLink has cyclomatic complexity 48 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 32 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3df538861a9bc434b63278532517d14f3bec67894de1b9e3b66abeaa443b87d"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessSingleImageModal.renderConversionSettings (cyclomatic 45): ProcessSingleImageModal.renderConversionSettings has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 8 of the 45 points are its own statements and the rest belongs to 10 function items inside it that branch (updateEncoderConfig, a function literal at line 396, a function literal at line 454, \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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c760264db369d8f953ce102079c5ea935d7c15a544c7224cb6fade38cc07dc0b"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.UTIF.decode._decompress (cyclomatic 44): UTIF.UTIF.decode._decompress has cyclomatic complexity 44 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6a81ecddd1231266fe9e9b9a17714108938a644af8306b2080b426e79d8d29"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.UTIF.decode._decodePanasonic (cyclomatic 44): UTIF.UTIF.decode._decodePanasonic has cyclomatic complexity 44 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8872824ae397996447186190eedb84b7e8a779499350810869de57ae12af27"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageConverterSettingTab.updateResizePresetFormFields (cyclomatic 42): ImageConverterSettingTab.updateResizePresetFormFields has cyclomatic complexity 42 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 14 belong to 12 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":3456}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe4646a0ac598f19d1009d9e312e2ff44089dc08bca83fa99b4e0e991343c50"}},{"ruleId":"D1","level":"warning","message":{"text":"SaveGlobalPresetModal.updateSummary::addPresetSummary (cyclomatic 41): SaveGlobalPresetModal.updateSummary::addPresetSummary has cyclomatic complexity 41 (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":"src/ImageConverterSettings.ts"},"region":{"startLine":4086}}}],"partialFingerprints":{"codehealthFindingId/v1":"c331c20394e7199b3be95deaefdfba2504a474b80607a60d377a59f8575aea16"}},{"ruleId":"D1","level":"warning","message":{"text":"LosslessJpegDecode::l (cyclomatic 41): LosslessJpegDecode::l has cyclomatic complexity 41 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31d264753d4dce487a95e388e169a242fb8e71e9ad2d1a38d390f63a9c5e8ed"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchImageProcessor.processLinkedImagesInFolder (cyclomatic 39): BatchImageProcessor.processLinkedImagesInFolder has cyclomatic complexity 39 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 6 belong to 3 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":"src/BatchImageProcessor.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0264229613b517f47502b5cf596c04f96a1fafa57d3b71eee6cea8aabf296c7a"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.UTIF.decodeImage (cyclomatic 34): UTIF.UTIF.decodeImage has cyclomatic complexity 34 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77f537859137a39e1e189be45ad7f2ff044564961d38ba111acf2a3f9a20de5"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.UTIF._writeIFD (cyclomatic 33): UTIF.UTIF._writeIFD has cyclomatic complexity 33 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f39b10e3a31f1ac06094b6808c24d98613db380298b818083f6c2afdd6e21b8"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.UTIF.decode._decodeNewJPEG (cyclomatic 30): UTIF.UTIF.decode._decodeNewJPEG has cyclomatic complexity 30 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ffbe556a812433e16b0b8e1e0e86aecbe2d97bdcf4f8aba3e2948ce7a8c749"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchImageProcessor.processImagesInNote (cyclomatic 30): BatchImageProcessor.processImagesInNote has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BatchImageProcessor.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"160eda29964f0f0d7d19333ee8a94076c4088da403f17b015ff0ee467a862cda"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageProcessor.processWithFFmpeg (cyclomatic 29): ImageProcessor.processWithFFmpeg has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1036, 933, 1017, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddcd57d52b2ec9ade8a7ac0d96b7681bece4e6f5a2a1db77dc49cbe8c792e09"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageResizer.handleMouseWheel (cyclomatic 29): ImageResizer.handleMouseWheel has cyclomatic complexity 29 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f424b6603c2450a45a75c43a6168d72593d5f43ba0ad6d0ae6766226a46571d"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageExporter.calculateBounds (cyclomatic 28): ImageExporter.calculateBounds has cyclomatic complexity 28 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/export/ImageExporter.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1824e1252ab77d9caf0f7a179bc83222c3dd7016113adaa32cd35a39ac67620a"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageResizer.handleImageHover (cyclomatic 28): ImageResizer.handleImageHover has cyclomatic complexity 28 (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":"src/ImageResizer.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"234f8bf0914706b6d903f6127c5b076dcc17296f6b0fc462ee8c7260b74a7d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchImageProcessor.processAllVaultImages (cyclomatic 27): BatchImageProcessor.processAllVaultImages has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"src/BatchImageProcessor.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eef908f07f11551bf4ef3f9e21764b621599d0efd0a1a4a6649abe3631e8665"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessSingleImageModal.processImage (cyclomatic 26): ProcessSingleImageModal.processImage has cyclomatic complexity 26 (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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"785a979f70ed019be2fe42a613f18549c2efda2bc4cfd50af29636ec8cdaaa11"}},{"ruleId":"D1","level":"warning","message":{"text":"PresetSelectionModal.createGlobalPresetDropdown (cyclomatic 26): PresetSelectionModal.createGlobalPresetDropdown has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 553, 543). 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":"src/PresetSelectionModal.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"79200f6622341b5815863418871d5e3073f523063df33958203d5f0b17ad3284"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.UTIF.decode._decodeNikon (cyclomatic 25): UTIF.UTIF.decode._decodeNikon has cyclomatic complexity 25 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c6de0daf0a96c98f5a230bba154dac13f0ad29200798e334943fb57dd9d7bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageProcessor.detectAvifEncoder (cyclomatic 25): ImageProcessor.detectAvifEncoder has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 4 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 150, 113, 214). 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":"src/ImageProcessor.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a5885769e9312da2fe9a21ce140e539cf43ddd16fbbbe8245df80ecc6afd8c"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageConverterSettingTab.addSaveButton (cyclomatic 25): ImageConverterSettingTab.addSaveButton has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 3820). 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":"src/ImageConverterSettings.ts"},"region":{"startLine":3803}}}],"partialFingerprints":{"codehealthFindingId/v1":"897079bb40cbd1e3cac0d4a2d8b818dfa5135785f025f3df674f715befc9c8a5"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageResizer.handleMouseMove::runResizeCalc (cyclomatic 25): ImageResizer.handleMouseMove::runResizeCalc has cyclomatic complexity 25 (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":"src/ImageResizer.ts"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef535b8d2e91abcf6de9f7e203db9cdb729d4a5afef1845b27af3553a00de11"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageConverterSettingTab.renderPresetCard (cyclomatic 24): ImageConverterSettingTab.renderPresetCard has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1650, 1712, 1629). 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":"src/ImageConverterSettings.ts"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfc1ca2589c8efbe5dc882844432d13edc2baea03872de378561c3ba49ab0f7"}},{"ruleId":"D1","level":"warning","message":{"text":"ag::al (cyclomatic 24): ag::al has cyclomatic complexity 24 (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":"src/UTIF.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba60781b7cebb37132e665cfeb578fbcf9e5d8029b281f7b26c9aff998d35e28"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageAnnotationModal.initializeCanvasEventHandlers (cyclomatic 23): ImageAnnotationModal.initializeCanvasEventHandlers has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 597, a function literal at line 550, a function literal at line 627, \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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a64927d31055fdbb00335058670284265b3690357817c1dcf08461faba71d14"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageAnnotationModal.loadPreset (cyclomatic 23): ImageAnnotationModal.loadPreset has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5924a2deaa09cffe5776871984d107aae642bc164b52015251a20ffef2d0ca"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.UTIF.decode._decodeARW (cyclomatic 23): UTIF.UTIF.decode._decodeARW has cyclomatic complexity 23 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2df205241f9fc2bb546f1d4106b4528d7dfde7f82c55c6349842abd8986c46b"}},{"ruleId":"D1","level":"warning","message":{"text":"Crop.saveImage (cyclomatic 23): Crop.saveImage has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crop.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e628b5c2afdebbf5607e278f0435829ba651fc2a5149860e13d762a9a3047d"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextMenu.loadCurrentDimensions (cyclomatic 23): ContextMenu.loadCurrentDimensions has cyclomatic complexity 23 (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":"src/ContextMenu.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6e30db7a3eb28ad30ef3bf4b557b17ed1ae105888be523295a9bd95a95cdb0"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.UTIF.decode._decodeG3 (cyclomatic 22): UTIF.UTIF.decode._decodeG3 has cyclomatic complexity 22 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"70023c19bf995a5b81fc4c764d961c7de5a0b8a1c787a1aff2ddac46ba0a5929"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageProcessor.processImageHelper (cyclomatic 22): ImageProcessor.processImageHelper has cyclomatic complexity 22 (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":"src/ImageProcessor.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e267c0dec83d4bf123eea48a0d911985fc0c5b0dcb1d1c62bfc98155d510ad"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextMenu.findImageMatches (cyclomatic 22): ContextMenu.findImageMatches has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf24c46814b06261b395882cf9ab6e34fd42aed957b6c2421c79cc484d73334"}},{"ruleId":"D1","level":"warning","message":{"text":"ag::a7 (cyclomatic 22): ag::a7 has cyclomatic complexity 22 (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":"src/UTIF.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d81708a287470cc67e3639756fbc8d5bd37e05ceaca5e849e5b8599fcb2b72"}},{"ruleId":"D1","level":"warning","message":{"text":"UTIF.r (cyclomatic 21): UTIF.r has cyclomatic complexity 21 (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. This is NOT this file\u0027s highest cyclomatic complexity: UTIF.a5 (cyclomatic 22) 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/UTIF.js holds 12 of the 69 methods over the threshold \u2014 including the worst \u2014 and 307 of the 1086 points over it (28%), 2.1\u00D7 the next-largest file (src/UTIF.js at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"221b01eade0300d083f6ca39197851ab4f055c38c608da27d7439c1b6a0fffd0"}},{"ruleId":"D1","level":"warning","message":{"text":"PresetSelectionModal.updatePreviews (cyclomatic 21): PresetSelectionModal.updatePreviews has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. 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":"src/PresetSelectionModal.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbf43b218efa3044f91337ae916894900173898aa0b7a96fbdf5de10b238df5"}},{"ruleId":"D1","level":"warning","message":{"text":"_inflateRaw::N (cyclomatic 21): _inflateRaw::N has cyclomatic complexity 21 (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. This is NOT this file\u0027s highest cyclomatic complexity: a5 (cyclomatic 22) 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":"src/UTIF.js"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b71734960c819781de7f1b4c665566132aa10ffcd0ee73635b100b47bc5fc8"}},{"ruleId":"D1","level":"warning","message":{"text":"SupportedImageFormats.getMimeTypeFromFile (cyclomatic 20): SupportedImageFormats.getMimeTypeFromFile has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SupportedImageFormats.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c0dc9c3898fa2824043e4bbb5858f88f8964595b0aafffad3ea3c8cd34ea35"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageResizer.handleEdgeDetection (cyclomatic 20): ImageResizer.handleEdgeDetection has cyclomatic complexity 20 (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":"src/ImageResizer.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"947471045ee8f4f6fcae5f993e78717f15d07b08c30ad267dc4451a3f8553b74"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageExporter.save (cyclomatic 19): ImageExporter.save has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"src/ImageAnnotation/export/ImageExporter.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"543aab994332d45d3a387b6fabdaf93f6204dcc195884906e900cde1eb1aa016"}},{"ruleId":"D1","level":"warning","message":{"text":"ag::a7::a4 (cyclomatic 19): ag::a7::a4 has cyclomatic complexity 19 (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. This is NOT this file\u0027s highest cyclomatic complexity: a5 (cyclomatic 22) 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":"src/UTIF.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf9c9eb71115e0808b19deee9399d63d5a74a5e495752845187a0d15b83a632"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageProcessor.calculateDesiredDimensions (cyclomatic 18): ImageProcessor.calculateDesiredDimensions 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":"src/ImageProcessor.ts"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"036ed27af81cf80dbf2b5694a1f5e9889decc1cfd3c89be93d69fa3d5a9930e3"}},{"ruleId":"D1","level":"warning","message":{"text":"Crop.setupResizeHandlers (cyclomatic 18): Crop.setupResizeHandlers has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 693). 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":"src/Crop.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1644289e8c886e0e888d587efd0c0f7c17eaa072617fb592cff67f54e4406c"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextMenu.getCaptionFromFullMatch (cyclomatic 18): ContextMenu.getCaptionFromFullMatch 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":"src/ContextMenu.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2c1f0da2d906b6d488fe41cd4beb0a10172db9f6428c517d3f9d9c3a93913e"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextMenu.updateImageLinkWithDimensions (cyclomatic 18): ContextMenu.updateImageLinkWithDimensions has cyclomatic complexity 18 (threshold 15). 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 671, 698). 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":"src/ContextMenu.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"825842b0ee6f61aa38ee09ad2f7394083d16c863b36dc4315bac678958f1cd87"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageResizer.getImageClickOverrideContext (cyclomatic 18): ImageResizer.getImageClickOverrideContext 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":"src/ImageResizer.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca56de2e13f3273e59b728516f9b1ff0108df919911f0ec51a063664efd2ff49"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageResizer.updateCursorPositionDuringResize (cyclomatic 18): ImageResizer.updateCursorPositionDuringResize 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":"src/ImageResizer.ts"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab5db6f0f2ba54492dd45e82dea8369e6c8db4203b0e949c5425e97285f0500"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageConverterPlugin.insertLinkAtCursorPosition (cyclomatic 18): ImageConverterPlugin.insertLinkAtCursorPosition has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.ts"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"604ad966bba015f5dcd5efb5e07837f3f1cb4b52377711b177da9be5541b4d88"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageProcessor.validateEncoder (cyclomatic 17): ImageProcessor.validateEncoder has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 283, 233, 274, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"91046299092501ebd93706bf59d9bcb8dd95e11a377bfffaa192c140cd848989"}},{"ruleId":"D1","level":"warning","message":{"text":"FolderAndFilenameManagement.getImagePath (cyclomatic 17): FolderAndFilenameManagement.getImagePath has cyclomatic complexity 17 (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":"src/FolderAndFilenameManagement.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08e7b46b23e05be39baac1df41c7c12248db924c79b0b3115cd1290394fe988"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextMenu.addRenameAndMoveInputs (cyclomatic 17): ContextMenu.addRenameAndMoveInputs has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 848, 1051). 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":"src/ContextMenu.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"3436c7424cba9f27bd25d6e3f311f925fc9625958a4b40146e2eb135b274a507"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextMenu.deleteImageAndLinkFromNote (cyclomatic 17): ContextMenu.deleteImageAndLinkFromNote has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":2282}}}],"partialFingerprints":{"codehealthFindingId/v1":"764538c2ff4e1374b020969eadea18ba773a630af794396dfc0f85a9bed1a734"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolManager.switchTool (cyclomatic 16): ToolManager.switchTool 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":"src/ImageAnnotation/managers/ToolManager.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa6edbc60fff32a51083f58e62b16fc927db9086ed474cc09c804bfc9ae01d6"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageAnnotationModal.preventDefaultHandlers (cyclomatic 16): ImageAnnotationModal.preventDefaultHandlers has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 3 function items inside it that branch (shouldAllowEvent, handleKeyboard, handleEvent). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"253dc068155456126efebd1fa3ab835315e7223cdf474c301dbc57324e7cf7b4"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageConverterSettingTab.getConversionPresetSummary (cyclomatic 16): ImageConverterSettingTab.getConversionPresetSummary 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. This is NOT this file\u0027s highest cyclomatic complexity: ImageConverterSettingTab.getResizePresetSummary (cyclomatic 17) 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":"src/ImageConverterSettings.ts"},"region":{"startLine":3243}}}],"partialFingerprints":{"codehealthFindingId/v1":"21703b3ffae8db15615992b89757de69e4b71ea5afd1d0a5fb49c4f75cdb26ac"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageResizer.findAllMatches (cyclomatic 16): ImageResizer.findAllMatches has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (parseLinkSections, getPipeDelimiter, parseDimensions, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"01394d6fdcc9632ba076ea4d3ae8a25deb3b07090f2665199d87e02b0dbffc75"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageConverterPlugin.dropPasteRegisterEvents (cyclomatic 16): ImageConverterPlugin.dropPasteRegisterEvents has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 499, 537, 556, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d7ef6d737f7af79107676a5c2f90e6e77d350dd82047c497a18e4d0894ed5b"}},{"ruleId":"D1","level":"warning","message":{"text":"LosslessJpegDecode::M (cyclomatic 16): LosslessJpegDecode::M 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. This is NOT this file\u0027s highest cyclomatic complexity: a5 (cyclomatic 22) 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":"src/UTIF.js"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c64095084ce34bce1f5fee76ded526c62ddcac7ff21d59171b1ba848598f5ac"}},{"ruleId":"D2","level":"warning","message":{"text":"toRGBA8 (cognitive 218): toRGBA8 has cognitive complexity 218 (threshold 15). Drivers by points: loops 31 (103 pts), if/else 44 (84 pts), ternaries 12 (26 pts), boolean chains 5 (nesting depth added 126). Of this number, 217 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"820400119ae1b0ac1ab7390073dc693d05cd63e996a9c46bbe913e82c7fa9732"}},{"ruleId":"D2","level":"warning","message":{"text":"_decodeVC5::av (cognitive 206): _decodeVC5::av has cognitive complexity 206 (threshold 15). Drivers by points: loops 19 (107 pts), if/else 38 (84 pts), ternaries 3 (13 pts), boolean chains 2 (nesting depth added 144). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ea9187b19b93869e688efa2ed9bf21e90ed3e5818e0571ecb6f5bed8b44895"}},{"ruleId":"D2","level":"warning","message":{"text":"_readIFD (cognitive 151): _readIFD has cognitive complexity 151 (threshold 15). Drivers by points: if/else 32 (74 pts), ternaries 10 (36 pts), loops 10 (29 pts), boolean chains 12 (nesting depth added 87). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"63453be16d83303813d2863eba3f3fb21f480d052ead76ffc51dd336200ebdaf"}},{"ruleId":"D2","level":"warning","message":{"text":"_decodePanasonic (cognitive 142): _decodePanasonic has cognitive complexity 142 (threshold 15). Drivers by points: if/else 24 (77 pts), ternaries 12 (36 pts), loops 9 (26 pts), boolean chains 3 (nesting depth added 94). Of this number, 137 points are the body\u0027s own statements and 5 belong to 5 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e881c4a2763e7e1fc6c350e853c9de8a7bcc2a621fec3017733d8709ff772d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageConverterSettingTab.updateConversionPresetFormFields (cognitive 120): ImageConverterSettingTab.updateConversionPresetFormFields has cognitive complexity 120 (threshold 15). Drivers by points: if/else 40 (76 pts), ternaries 8 (22 pts), boolean chains 16, error handling 3 (6 pts) (nesting depth added 53). Of this number, 18 points are the body\u0027s own statements and 102 belong to 13 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":"src/ImageConverterSettings.ts"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c946dc07ffb6556ba844281e7eeae555cf538b0566f583fec1bf91961768860"}},{"ruleId":"D2","level":"warning","message":{"text":"_decodeOldJPEGInit (cognitive 117): _decodeOldJPEGInit has cognitive complexity 117 (threshold 15). Drivers by points: if/else 30 (52 pts), loops 13 (38 pts), ternaries 7 (18 pts), boolean chains 9 (nesting depth added 58). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"155b51084bb16285a234b5b0db2c8b58a2fb424c85836335957bbabdbee5fe0a"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableProcessor.getImageMetadata (cognitive 106): VariableProcessor.getImageMetadata has cognitive complexity 106 (threshold 15). Drivers by points: if/else 42 (76 pts), ternaries 7 (15 pts), boolean chains 9, error handling 3 (6 pts) (nesting depth added 45). Of this number, 24 points are the body\u0027s own statements and 82 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":"src/VariableProcessor.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fa4797c886f00d8efe5b4ffa32799597621e1da71510ad4c45c3f4d2cf25f5"}},{"ruleId":"D2","level":"warning","message":{"text":"LosslessJpegDecode::l (cognitive 104): LosslessJpegDecode::l has cognitive complexity 104 (threshold 15). Drivers by points: loops 15 (52 pts), if/else 22 (45 pts), boolean chains 6, ternaries 1 (nesting depth added 60). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc726a9c27ebb777ed121070b4b2b5ab81b7811a257e3b62447591b46c3da9e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageConverterPlugin.handlePaste (cognitive 95): ImageConverterPlugin.handlePaste has cognitive complexity 95 (threshold 15). Drivers by points: if/else 23 (36 pts), ternaries 10 (32 pts), error handling 9 (20 pts), boolean chains 7 (nesting depth added 46). Most of this is not in the body itself: 3 of the 95 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 939, 922). 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":"src/main.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6f842710254a919ad7168b1362225063a4101f3c5402f70cb1a11ed28665b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ag::parse (cognitive 95): ag::parse has cognitive complexity 95 (threshold 15). Drivers by points: if/else 18 (49 pts), loops 10 (32 pts), boolean chains 5, ternaries 1 (4 pts), error handling 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 59). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff06b3cb85be21a43673fcc3bdfebb53ffae08043381f22ca24de02d90bd1751"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageConverterPlugin.handleDrop (cognitive 94): ImageConverterPlugin.handleDrop has cognitive complexity 94 (threshold 15). Drivers by points: if/else 23 (36 pts), ternaries 10 (32 pts), error handling 9 (20 pts), boolean chains 6 (nesting depth added 46). Most of this is not in the body itself: 3 of the 94 points are its own statements and the rest belongs to one function literal inside it that branches (line 595). 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":"src/main.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e911d09415941e24e5a3042198c366b13f45572cb544722fa504944e5fdc7b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessSingleImageModal.renderConversionSettings (cognitive 83): ProcessSingleImageModal.renderConversionSettings has cognitive complexity 83 (threshold 15). Drivers by points: if/else 28 (53 pts), ternaries 7 (19 pts), boolean chains 7, error handling 2 (4 pts) (nesting depth added 39). Most of this is not in the body itself: 12 of the 83 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 396, updateEncoderConfig, a function literal at line 454, \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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"946c07d86e999bd08feb9d89f87f245f903d5be573695ae8bf9641a5525796a0"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchImageProcessor.processLinkedImagesInFolder (cognitive 81): BatchImageProcessor.processLinkedImagesInFolder has cognitive complexity 81 (threshold 15). Drivers by points: if/else 15 (31 pts), error handling 5 (17 pts), loops 6 (16 pts), ternaries 7 (11 pts), boolean chains 6 (nesting depth added 42). Of this number, 74 points are the body\u0027s own statements and 7 belong to 3 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":"src/BatchImageProcessor.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a04d2464753318185d58a05923a550761a5fc1dd7a7f92b81526ecd2f060b8"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkFormatter.getResizeParams (cognitive 67): LinkFormatter.getResizeParams has cognitive complexity 67 (threshold 15). Drivers by points: if/else 30 (52 pts), boolean chains 8, ternaries 3 (6 pts), match/switch 1 (nesting depth added 25). 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":"src/LinkFormatter.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fa40b166e77fa16265e2b5ecc706765f5db99d5f2b0cafcefec6fee41f9acc"}},{"ruleId":"D2","level":"warning","message":{"text":"_decodeG3 (cognitive 66): _decodeG3 has cognitive complexity 66 (threshold 15). Drivers by points: if/else 20 (62 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 43). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"75296189fd762ff12c6ce9b4b3132cd94d430375c94f707fdedf9a457de28a16"}},{"ruleId":"D2","level":"warning","message":{"text":"UTIF.UTIF.decode._decompress (cognitive 64): UTIF.UTIF.decode._decompress has cognitive complexity 64 (threshold 15). Drivers by points: if/else 26 (30 pts), loops 7 (21 pts), ternaries 5 (7 pts), boolean chains 6 (nesting depth added 20). 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":"src/UTIF.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebf4017fa822a51bb7626696f29a37780e9ad9dad4b5a3b4baddc28b689ed69"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageResizer.updateMarkdownLink (cognitive 63): ImageResizer.updateMarkdownLink has cognitive complexity 63 (threshold 15). Drivers by points: if/else 32 (47 pts), boolean chains 13, ternaries 3 (nesting depth added 15). Of this number, 17 points are the body\u0027s own statements and 46 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e14610155248cede2aed571af1d7b10425c86d4e6a274be0d638246cf103dbd"}},{"ruleId":"D2","level":"warning","message":{"text":"ag::a7 (cognitive 63): ag::a7 has cognitive complexity 63 (threshold 15). Drivers by points: loops 7 (30 pts), if/else 14 (21 pts), ternaries 4 (11 pts), boolean chains 1 (nesting depth added 37). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06962db34018b8b32254338df56590c7fafa762306d7452c14b0e50d8152407"}},{"ruleId":"D2","level":"warning","message":{"text":"UTIF.UTIF._writeIFD (cognitive 61): UTIF.UTIF._writeIFD has cognitive complexity 61 (threshold 15). Drivers by points: if/else 21 (35 pts), loops 7 (19 pts), boolean chains 4, ternaries 1 (3 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":"src/UTIF.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2767cd835a35572308cbcd88167ff257e0defea71474a083b8f9b037d96fdbbd"}},{"ruleId":"D2","level":"warning","message":{"text":"UTIF.UTIF.decode._decodeNewJPEG (cognitive 58): UTIF.UTIF.decode._decodeNewJPEG has cognitive complexity 58 (threshold 15). Drivers by points: loops 10 (29 pts), if/else 15 (22 pts), boolean chains 6, ternaries 1 (nesting depth added 26). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bed85e6c6a0daace8c29683043f3210a700929db37b9847c052f5deefc0cc39"}},{"ruleId":"D2","level":"warning","message":{"text":"SaveGlobalPresetModal.updateSummary::addPresetSummary (cognitive 58): SaveGlobalPresetModal.updateSummary::addPresetSummary has cognitive complexity 58 (threshold 15). Drivers by points: if/else 10 (32 pts), ternaries 3 (15 pts), match/switch 3 (10 pts), boolean chains 1 (nesting depth added 41). 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":"src/ImageConverterSettings.ts"},"region":{"startLine":4086}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0416b85f607936dacb1892e6ec2be646dbba63ecabc24f3424c52cbc6a9b01"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenu.loadCurrentDimensions (cognitive 56): ContextMenu.loadCurrentDimensions has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (37 pts), ternaries 3 (14 pts), boolean chains 4, error handling 1 (nesting depth added 33). 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":"src/ContextMenu.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e903f1001a10b59b7c8f2bccb86350c3b7744aa2a12664e2faed318e9ccb24"}},{"ruleId":"D2","level":"warning","message":{"text":"_decodeARW (cognitive 52): _decodeARW has cognitive complexity 52 (threshold 15). Drivers by points: loops 11 (26 pts), if/else 8 (20 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 29). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf34c10f95b404c15dc0e0836f2d51ab89300b35e3d51cc9792e8f0e5a3a3004"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenu.findImageMatches (cognitive 50): ContextMenu.findImageMatches has cognitive complexity 50 (threshold 15). Drivers by points: if/else 11 (38 pts), boolean chains 7, loops 3 (5 pts) (nesting depth added 29). Of this number, 48 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"src/ContextMenu.ts"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"429ddb7b508722b0ba03a86ed10e626109e518765afedd66aa9a78c1c03f9314"}},{"ruleId":"D2","level":"warning","message":{"text":"decodeImage (cognitive 48): decodeImage has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (23 pts), loops 4 (11 pts), boolean chains 7, ternaries 6 (7 pts) (nesting depth added 14). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"de81b8dc882aa4cb0daa08f488757862dabe92ea6906c49252dfbcb3dec041e4"}},{"ruleId":"D2","level":"warning","message":{"text":"_inflateRaw::N (cognitive 46): _inflateRaw::N has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 5 (13 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 25). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe2c49b97245332a3fa74623d430ade580c3704cf2f2a32b7221a85c3b280b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageAnnotationModal.loadPreset (cognitive 45): ImageAnnotationModal.loadPreset has cognitive complexity 45 (threshold 15). Drivers by points: if/else 22 (43 pts), boolean chains 2 (nesting depth added 21). Of this number, 32 points are the body\u0027s own statements and 13 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d853b1172f38c4d3cef20817ae88eb4129c463b9ab3d9633dcfd3f1637c77b0"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchImageProcessor.processImagesInNote (cognitive 45): BatchImageProcessor.processImagesInNote has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (20 pts), error handling 4 (10 pts), ternaries 5 (10 pts), boolean chains 4, loops 1 (nesting depth added 17). Of this number, 44 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BatchImageProcessor.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f466477c6fc5bdb8c88887d2712e758dbf073a60b63127308b4dd9d3478b083"}},{"ruleId":"D2","level":"warning","message":{"text":"ag::a7::a4 (cognitive 45): ag::a7::a4 has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (31 pts), ternaries 3 (11 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 27). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ec48bf946738deb9601407eacee5d811d02e73fc60033396acfeb5ea50589b"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageExporter.calculateBounds (cognitive 44): ImageExporter.calculateBounds has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 10, ternaries 4, error handling 1 (2 pts) (nesting depth added 14). Of this number, 22 points are the body\u0027s own statements and 22 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/export/ImageExporter.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ea30a356a0c2ff58e6467fb7a74212c3bbaa43c3ab0027f16bfea4ee99ed02"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchImageProcessor.processAllVaultImages (cognitive 44): BatchImageProcessor.processAllVaultImages has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (18 pts), error handling 4 (10 pts), ternaries 5 (10 pts), boolean chains 5, loops 1 (nesting depth added 18). Of this number, 43 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BatchImageProcessor.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"963576374029acbe92b850f8fd4444931b9b761ba3769e909384e71ef77885e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ag::al (cognitive 44): ag::al has cognitive complexity 44 (threshold 15). Drivers by points: if/else 30 (42 pts), loops 2 (nesting depth added 12). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1279138b5c0a7dd57d22d1acbf2d450ac08deae9ebcdccc4e16b5783bed9af0"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableProcessor.processDynamicVariables (cognitive 41): VariableProcessor.processDynamicVariables has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, loops 6, error handling 2 (5 pts), match/switch 2 (5 pts), ternaries 2 (4 pts) (nesting depth added 13). 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":"src/VariableProcessor.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5754b4cbd3a69ae2d206b1cedaa8a604d317540042428828ce3578791c44588"}},{"ruleId":"D2","level":"warning","message":{"text":"_decodeNikon (cognitive 40): _decodeNikon has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 7 (15 pts), ternaries 3 (6 pts), boolean chains 4 (nesting depth added 16). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eca0853c6746be5f9d52f9118bfa96468e278022d9969723b1e287916eda973"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProcessor.processWithFFmpeg (cognitive 35): ImageProcessor.processWithFFmpeg has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 6 (10 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 2 of the 35 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1036, 933, 1017, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"305209b26b06dd3061b4dea31f519f2bff898ecdba3cb2fc81930c3fd190f956"}},{"ruleId":"D2","level":"warning","message":{"text":"_decodeG4 (cognitive 35): _decodeG4 has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 2, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 20). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56d5a708b47225fe8f4e882906f22b44e30fefe229536445c1872c63ae06449"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenu.addRenameAndMoveInputs (cognitive 33): ContextMenu.addRenameAndMoveInputs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 1 (4 pts), boolean chains 2 (nesting depth added 16). Most of this is not in the body itself: 7 of the 33 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 848, 1051). 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":"src/ContextMenu.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9adfc0ee4c0bb158971ea7fc8204feaab12d143374a83853ed309a80c7c5b9d"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenu.handleRenameAndMove (cognitive 33): ContextMenu.handleRenameAndMove has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (30 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 17). 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":"src/ContextMenu.ts"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"126e44e18822b3d2ee5b4f8ee022b7d96ccf2df7c3a35957b04b2beba89098f8"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenu.getCaptionFromFullMatch (cognitive 32): ContextMenu.getCaptionFromFullMatch has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 6, ternaries 1 (4 pts) (nesting depth added 14). 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":"src/ContextMenu.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4704c2d09b5537b03e7c01f51446cd43fd37654fb746bc074accf81b65aa3f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageResizer.handleImageHover (cognitive 32): ImageResizer.handleImageHover has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 11, ternaries 1 (nesting depth added 6). 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":"src/ImageResizer.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b14e987d84e9a652f379980ae71fb3001e2947383860aec5dbf5a09f556d7e"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageConverterSettingTab.updateResizePresetFormFields (cognitive 31): ImageConverterSettingTab.updateResizePresetFormFields has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 9, ternaries 2 (3 pts), match/switch 1 (nesting depth added 6). Of this number, 25 points are the body\u0027s own statements and 6 belong to 12 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":"src/ImageConverterSettings.ts"},"region":{"startLine":3456}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc2e2e17d3ced1e733f1e324e22564a0850ef82e17eba7a0bad54baeee93c8e"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageResizer.handleMouseMove::runResizeCalc (cognitive 31): ImageResizer.handleMouseMove::runResizeCalc has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"b348d7506dc45f4b2a7428efa7a7b6fb07c49d69ed87827eb3eea0520f6eae6a"}},{"ruleId":"D2","level":"warning","message":{"text":"_decompressRAF (cognitive 31): _decompressRAF has cognitive complexity 31 (threshold 15). Drivers by points: loops 9 (24 pts), if/else 2 (5 pts), ternaries 1 (2 pts) (nesting depth added 19). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0aa6583706a1fa1d74c2632aa56bed361803345e9e2848ab3e855d130e0041"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProcessor.detectAvifEncoder (cognitive 29): ImageProcessor.detectAvifEncoder has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 5, error handling 2 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 3). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 150, 113, 214). 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":"src/ImageProcessor.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"193b92cd844e7916bab8205942fc939e8521fec5efb55fe362d35d54b38d7f01"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessSingleImageModal.processImage (cognitive 28): ProcessSingleImageModal.processImage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 6, error handling 2, ternaries 2 (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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"0779ffec8795c7d505814d19ef8924c41f0bd26c5a98aadc30cf774f850c8d86"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageResizer.handleMouseWheel (cognitive 28): ImageResizer.handleMouseWheel has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 7, ternaries 1 (nesting depth added 1). 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":"src/ImageResizer.ts"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55263cff09ba5571e1b9784415b9c9d2e8f88e86682fea1ec538ba72a200e08"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageConverterSettingTab.renderPresetCard (cognitive 27): ImageConverterSettingTab.renderPresetCard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (22 pts), match/switch 1 (2 pts), ternaries 2, boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1650, 1712, 1629). 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":"src/ImageConverterSettings.ts"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4a03d6d1cb951506ea984663932b092d701adae4f7c597fdf4b94d717fca43"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageAlignmentManager.registerEvents (cognitive 27): ImageAlignmentManager.registerEvents has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 13). None of this is in the body itself: all 27 points belong to 2 function literals inside it that branch (lines 233, 196). 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":"src/ImageAlignmentManager.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2760fbc415d8e7ad9ce97629fe2ad65b548eeea1e6137f0bab813fe210469694"}},{"ruleId":"D2","level":"warning","message":{"text":"PresetSelectionModal.createGlobalPresetDropdown (cognitive 27): PresetSelectionModal.createGlobalPresetDropdown has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 19, if/else 6 (7 pts), ternaries 1 (nesting depth added 1). None of this is in the body itself: all 27 points belong to 2 function literals inside it that branch (lines 553, 543). 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":"src/PresetSelectionModal.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ec98a2a87932dd8361420c972d72e1380b873d5633cddf0bda7df0a8a3d35b"}},{"ruleId":"D2","level":"warning","message":{"text":"r (cognitive 27): r has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 6 (9 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cf2c85217c984f68e168184dc3b8ce142c93433e1aadd05f45babe58e54f57"}},{"ruleId":"D2","level":"warning","message":{"text":"SupportedImageFormats.getMimeTypeFromFile (cognitive 26): SupportedImageFormats.getMimeTypeFromFile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 4, error handling 1, loops 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":"src/SupportedImageFormats.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64c9e0d2eecc62ffb30ef7dbde221e66d4703ed53d21d2ac200b23682a45ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"UTIF.UTIF.decode._decodeThunder (cognitive 26): UTIF.UTIF.decode._decodeThunder has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (10 pts) (nesting depth added 16). 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":"src/UTIF.js"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d50f8450e8d63296b9464e47ba66047da4d9a439cd6b5e8b509a8236959ffe2"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProcessor.processImageHelper (cognitive 25): ImageProcessor.processImageHelper has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (9 pts), error handling 4 (7 pts), if/else 5, boolean chains 3, match/switch 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":"src/ImageProcessor.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d37f0cc289c051fa43c6760592e231412ae813282b7e386dc4d75fb1ba15076"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageConverterSettingTab.updateFolderPresetFormFields (cognitive 25): ImageConverterSettingTab.updateFolderPresetFormFields has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (20 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 10). Most of this is not in the body itself: 8 of the 25 points are its own statements and the rest belongs to 4 function items inside it that branch (updatePreview, a function literal at line 2084, a function literal at line 2063, \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":"src/ImageConverterSettings.ts"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"389d64572f5d9c38ade98618cc07df8cf91605cbcf4b96a904e0f8123fc57a9a"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderAndFilenameManagement.getImagePath (cognitive 25): FolderAndFilenameManagement.getImagePath has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 3, error handling 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":"src/FolderAndFilenameManagement.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba659edc262f0893ae30b5b974f7df7a94a90989cef0effa105d7120140eabe"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageConverterPlugin.onload (cognitive 25): ImageConverterPlugin.onload has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 2 (7 pts), boolean chains 1 (nesting depth added 13). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 196, 165, 184, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0a75ba18ee005cc391eba4cdb84b7dd30a9fd17854ec8141f06cee123adbd8"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessSingleImageModal.renderResizeSettings (cognitive 24): ProcessSingleImageModal.renderResizeSettings has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 12). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 553, 568, 583, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ProcessSingleImageModal.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbf1f1e5a06d55a71832dccfae1e1d766abdfecda74fd15822065323d1d7d11"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderAndFilenameManagement.ensureFolderExists (cognitive 24): FolderAndFilenameManagement.ensureFolderExists has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 13). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"src/FolderAndFilenameManagement.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf1bdc80d96c9479c27495ee5cb93d5401a257d1eb5405ce3ab980bad40f012"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageConverterPlugin.insertLinkAtCursorPosition (cognitive 24): ImageConverterPlugin.insertLinkAtCursorPosition has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 4 (7 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 10). Of this number, 17 points are the body\u0027s own statements and 7 belong to 2 function literals 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":"src/main.ts"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c2ccbd4af9c562d9658d911f10e2a5319c91027061c9e4dce9fb49fcd9ff44"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchImageProcessor.processImagesInFolder (cognitive 24): BatchImageProcessor.processImagesInFolder has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 3 (7 pts), ternaries 4 (7 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BatchImageProcessor.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cbd22a22d5b75fb2ad8c854cc7615f7894f190b1caa3d681bd2dba305a8eff"}},{"ruleId":"D2","level":"warning","message":{"text":"ag::a7::Y (cognitive 24): ag::a7::Y has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 3 (nesting depth added 13). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a569dcbe1a4755ccb7e1a64c40b1102bf54f23af6986448e2148b4f212daf35"}},{"ruleId":"D2","level":"warning","message":{"text":"LosslessJpegDecode::M (cognitive 24): LosslessJpegDecode::M has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 7 (12 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3d8d7924b854be9af99f87ae7f86b2c073d27843850fbcfd284c3a3d0f7ac8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageConverterSettingTab.addSaveButton (cognitive 23): ImageConverterSettingTab.addSaveButton has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, if/else 9 (10 pts), ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to one function literal inside it that branches (line 3820). 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":"src/ImageConverterSettings.ts"},"region":{"startLine":3803}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18e5f719d454e711dab659c0bb4b0321f538fd2e9a0efcc94da61f15aaee962"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenu.updateImageLinkWithDimensions (cognitive 23): ContextMenu.updateImageLinkWithDimensions has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 7 (10 pts), boolean chains 2 (nesting depth added 6). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 671, 698). 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":"src/ContextMenu.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaaf1b41fcc3db22d4e467fea90322078995d46c6cf79b0bc6c7f1cc45a0271"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageAlignmentManager.getRelativePath (cognitive 23): ImageAlignmentManager.getRelativePath has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 2 (nesting depth added 11). 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":"src/ImageAlignmentManager.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"252a7a1130b3eb771b347b2cd3281995d8c5904f07ec984d159048aa218cc7ad"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageAlignmentManager.cleanCache (cognitive 22): ImageAlignmentManager.cleanCache has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (6 pts) (nesting depth added 14). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 698). 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":"src/ImageAlignmentManager.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"04196defc85b8034383464b8565d5e6f4a80f0f4c781fbc4b20abba1039b8910"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageResizer.updateCursorPositionDuringResize (cognitive 22): ImageResizer.updateCursorPositionDuringResize has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3, ternaries 1 (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":"src/ImageResizer.ts"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c06695120b6a98a3c11372bbf26355465566946b714ed1bbe6b60c5318e942"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableProcessor.getAvailableVariables (cognitive 21): VariableProcessor.getAvailableVariables has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 3 (8 pts), boolean chains 4 (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":"src/VariableProcessor.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdf61b334b8651b4df3ccf5c6299853248f7139cb68f5ac717457ad28a2d714"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageAnnotationModal.initializeCanvasEventHandlers (cognitive 21): ImageAnnotationModal.initializeCanvasEventHandlers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 4, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 11 function items inside it that branch (a function literal at line 597, a function literal at line 534, a function literal at line 550, \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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fa44a4e212a85dc62fba4175fdea931426af1f9c01dd3c5ba0d767ca22b33d"}},{"ruleId":"D2","level":"warning","message":{"text":"UTIF.UTIF.decode._decodeG2 (cognitive 21): UTIF.UTIF.decode._decodeG2 has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 1 (nesting depth added 13). 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":"src/UTIF.js"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"293029e8ab176390d39a322233e1694e869ba1f7687fc3293ba8a885e19fd74d"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenu.deleteImageAndLinkFromNote (cognitive 20): ContextMenu.deleteImageAndLinkFromNote has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 2, boolean chains 1, error handling 1, ternaries 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":2282}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff2608a6f95be693193c1ad3999de8c0cf017477bdfe519e4751fd71e6fc0fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageResizer.handleEdgeDetection (cognitive 20): ImageResizer.handleEdgeDetection has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 9 (10 pts) (nesting depth added 1). 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":"src/ImageResizer.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1ad2eff4c62a580eb8cbe4f5ce6a58ce6ca37b3453b3d93364bdafcd43a19b"}},{"ruleId":"D2","level":"warning","message":{"text":"ag::Y (cognitive 20): ag::Y has cognitive complexity 20 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 4 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba9bd545ef9058985a9a476680ca0a39162dd722ef0ba648b6788adee7573d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolManager.switchTool (cognitive 19): ToolManager.switchTool has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 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":"src/ImageAnnotation/managers/ToolManager.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9780e4a925139a56fd69716627db05e5768b9f764d3b0d7bdf6804a32fab3f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProcessor.calculateDesiredDimensions (cognitive 19): ImageProcessor.calculateDesiredDimensions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, match/switch 2 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32f8ab5b193233dd936c152c8c5111f28949f56cc00863df4d352ed54501bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"Crop.saveImage (cognitive 19): Crop.saveImage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, ternaries 3 (4 pts), boolean chains 3, error handling 1, match/switch 1 (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"src/Crop.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a1d39a9d1482a37fcc80958fef04d0763a85dbfe59699b505fcaac87a71b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageResizer.cleanupHandles (cognitive 19): ImageResizer.cleanupHandles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). 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":"src/ImageResizer.ts"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"029886f004417cdc1299cf17b990202db964145ef6cf788b73bc0d508bddb4fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageExporter.save (cognitive 18): ImageExporter.save has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 3, ternaries 2, error handling 1. Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"src/ImageAnnotation/export/ImageExporter.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e5c8f36da88018668937b6f41068017795626dde8be4ce21ab8fd8cd8d5be0"}},{"ruleId":"D2","level":"warning","message":{"text":"UTIF.UTIF.decode._decodeOldJPEG (cognitive 18): UTIF.UTIF.decode._decodeOldJPEG has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 6 (7 pts), boolean chains 3 (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":"src/UTIF.js"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"78205d3dd91fe5c9f2634def4087f3708cd79f86f86c7aa1da399ce76e52bf35"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenu.showImageInNavigation (cognitive 18): ContextMenu.showImageInNavigation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (17 pts), error handling 1 (nesting depth added 11). 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":"src/ContextMenu.ts"},"region":{"startLine":2182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce4e36f44dca09bcc9f1deb18731516d9d98fd545aabddd7f336512819adb4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessFolderModal.getImagesFromCanvasFile (cognitive 18): ProcessFolderModal.getImagesFromCanvasFile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 3, loops 1 (2 pts), error handling 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":"src/ProcessFolderModal.ts"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd65d596c50f5a1e7045c3d623a0d94b700143cf19aa89daf8050245a0d1287f"}},{"ruleId":"D2","level":"warning","message":{"text":"UTIF.UTIF.decode._decodeLogLuv32 (cognitive 17): UTIF.UTIF.decode._decodeLogLuv32 has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (13 pts), if/else 2 (4 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b25b66e92d71b67dd18ae8e7f25c575ce16cf71cc4326795f002b50dd0223b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageConverterSettingTab.getConversionPresetSummary (cognitive 17): ImageConverterSettingTab.getConversionPresetSummary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), ternaries 1 (2 pts) (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":"src/ImageConverterSettings.ts"},"region":{"startLine":3243}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbade3c7ee8e1d28e456db60a35e7ae304a38424b5cc8129f2f85cbb0c0a35b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageResizer.handleMouseUp (cognitive 17): ImageResizer.handleMouseUp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 2 (nesting depth added 1). 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":"src/ImageResizer.ts"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d023009e593cd86cbe4fb8d029d08e3eef89254c6f6b4a5e5b83d8555b4ccd"}},{"ruleId":"D2","level":"warning","message":{"text":"_decodeLZW (cognitive 17): _decodeLZW has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3, boolean chains 2 (nesting depth added 5). None of this is in the body itself: all 17 points belong to 6 function items inside it that branch (T, m, L, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b47da161e403004306f0a1326b195ba6f194f663f3748a38411e0e09c8e2d7"}},{"ruleId":"D2","level":"warning","message":{"text":"a6 (cognitive 17): a6 has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (16 pts), loops 1 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/UTIF.js holds 23 of the 89 methods over the threshold \u2014 including the worst \u2014 and 1287 of the 2676 points over it (48%), 6.6\u00D7 the next-largest file (src/ImageConverterSettings.ts at 196). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f943bf54e21bc8f101ceaab3542b45d8ec993c8c30d336d7b6f0d53603093b6"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageAnnotationModal.syncColorPickerWithSelection (cognitive 16): ImageAnnotationModal.syncColorPickerWithSelection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (nesting depth added 6). 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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff769f6242486ff235ca246754a9998bf70f64259000d54b6a75403df314c259"}},{"ruleId":"D2","level":"warning","message":{"text":"UTIF._ (cognitive 16): UTIF._ has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 2 (4 pts), loops 1 (nesting depth added 2). 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":"src/UTIF.js"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"f944f3d1bcf5c572f2b8cb28c543d85a682a74c7b0c0b81573d3c1bb96efa0f2"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageResizer.findAllMatches (cognitive 16): ImageResizer.findAllMatches has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (5 pts), ternaries 5, if/else 4, boolean chains 2 (nesting depth added 1). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (parseLinkSections, getPipeDelimiter, parseDimensions, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d9004093f15155b272fe240725ed3eb8ba802becbcea048e5d2aad0906e578"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ImageConverterSettings.ts: FileTooLong \u2014 3118 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: ImageConverterSettingTab (437-3926). The bar is 500 significant lines; this is 2618 over it, 6.24\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":"src/ImageConverterSettings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b243f796630618e4e1dfb371b7b27bb842e7a8025b4becc78611c4ddb44633"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageConverterSettingTab: ClassTooLong \u2014 2422 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 2022 over it, 6.06\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":"src/ImageConverterSettings.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a422e73a7105b924da84978c17cb2275b76c921fe7a819904f2a89c4c4772e10"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageConverterSettingTab.updateConversionPresetFormFields: MethodTooLong \u2014 updateConversionPresetFormFields runs 498 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 398 over it, 4.98\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":"src/ImageConverterSettings.ts"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"64536e8c381d2ab12f2a3d0d58b681d6ff36bfd796154f4da66e9d5fd67dc2d1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContextMenu: ClassTooLong \u2014 1356 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 956 over it, 3.39\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":"src/ContextMenu.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c9d137b75cbb05b32c189924fa59976e49e728d60d0937ab483c59522128db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageResizer: ClassTooLong \u2014 1344 significant lines (blank, comment-only and punctuation-only lines excluded), 69 methods. The bar is 400 significant lines; this is 944 over it, 3.36\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":"src/ImageResizer.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"283209dc93f54fe8b9b37cbfeac0faf9cf88f8c4f139ceb8dce4f28d8219972c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageProcessor: ClassTooLong \u2014 1291 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 891 over it, 3.23\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":"src/ImageProcessor.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2fe7ba34f7a0c06cf09ffe63bff2ec46410f53e46dc49a01ae9116d5ce2544"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessSingleImageModal.renderConversionSettings: MethodTooLong \u2014 renderConversionSettings runs 281 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 181 over it, 2.81\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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7d150b0a1a6958305e29965ea7ddd10934fe0d5fd3918acdf5a19201642d1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ImageResizer.ts: FileTooLong \u2014 1400 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ImageResizer (82-2406). The bar is 500 significant lines; this is 900 over it, 2.80\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":"src/ImageResizer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3ca55b355b1ede846a8aaa57a63ff0ff43ae96c1eb58859210154b8de48e3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ContextMenu.ts: FileTooLong \u2014 1386 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ContextMenu (42-2441). The bar is 500 significant lines; this is 886 over it, 2.77\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":"src/ContextMenu.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae6dbe7e561cda27605b28556015e70d55d59a46eca61a036327e2d3bb8f0a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ImageProcessor.ts: FileTooLong \u2014 1340 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ImageProcessor (74-2307). The bar is 500 significant lines; this is 840 over it, 2.68\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":"src/ImageProcessor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de291460343c49d686088cfca01da5ada111f55e037707d304336a4958e9afae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/UTIF.js: FileTooLong \u2014 1212 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 712 over it, 2.42\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":"src/UTIF.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07df19b9e39944775f82a2113a280ea1a1cf6c0de9ee50ea37ecce523c20acaf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VariableProcessor: ClassTooLong \u2014 965 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 565 over it, 2.41\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":"src/VariableProcessor.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"619c48915ccb98d80831e249ec78ff1ee6c0d12fe2d50fe9148e6a53acdf8d43"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageConverterPlugin.handlePaste: MethodTooLong \u2014 handlePaste runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.31\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":"src/main.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"c465ce160b9e1d775ff51a719e44f0bde6ecf68cfb532cb64e7865f735e76282"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImageResizer: TooManyMethods \u2014 69 methods. The bar is 30 methods; this is 39 over it, 2.30\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":"src/ImageResizer.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d5eb4a51aa0f88c1d37e7411e2e8cf2c0706201c39eaa95e942fb1f69262c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageConverterSettingTab.updateResizePresetFormFields: MethodTooLong \u2014 updateResizePresetFormFields runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\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":"src/ImageConverterSettings.ts"},"region":{"startLine":3456}}}],"partialFingerprints":{"codehealthFindingId/v1":"90eedb3478594761cd943cfe8c57c8715c5b214473731d4dffec1a454361fb6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageConverterPlugin.handleDrop: MethodTooLong \u2014 handleDrop runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"4160f538289fcda16858874262d03e600831f466b720def347e2402db4e6ecd7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessCurrentNote.onOpen: MethodTooLong \u2014 onOpen runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\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":"src/ProcessCurrentNote.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8170c8aa8d901415ac689859b5249601dc26f54709f310d90aeb95bf29b892b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageConverterPlugin: ClassTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 427 over it, 2.07\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":"src/main.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2e3428eb71d71e3bc705b9307023d602667bbeeaf081761e76de7a1b48541c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContextMenu.addRenameAndMoveInputs: MethodTooLong \u2014 addRenameAndMoveInputs runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\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":"src/ContextMenu.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acd7b2a02ccb75145755448aba66e3d2ccc4252b6ccc8456286b284a057fc77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/VariableProcessor.ts: FileTooLong \u2014 976 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: VariableProcessor (22-1480). The bar is 500 significant lines; this is 476 over it, 1.95\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":"src/VariableProcessor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7285ed6c9d0c5247d76a70d0a8deb6e3b9145258b98dab61ce8ddbaf6111a1b1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VariableProcessor.getImageMetadata: MethodTooLong \u2014 getImageMetadata runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\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":"src/VariableProcessor.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"303b0ce7fab05d3b6d1b8ed0036dea47d8372b0d193ea20863b60fea92ffacbb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContextMenu: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"src/ContextMenu.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"99eb269ba31cfe6b8b156d4bca41bfe44632796dff610784aa68502d09e5bfff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.ts: FileTooLong \u2014 863 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ImageConverterPlugin (42-1397). The bar is 500 significant lines; this is 363 over it, 1.73\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":"src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b7b87df5022eb65739600889e1e3dc6655cb652300076b4c0ff01b1dafc077"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LinkFormatter.getResizeParams: MethodTooLong \u2014 getResizeParams runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"src/LinkFormatter.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12d0b24b6a09cd3abe386cca242c968d3904f0e475f564d4cfd0cf843367d77"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageAnnotationModal: ClassTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 279 over it, 1.70\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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a60277343ec3e3ef55c03c99a0da85c3974770f363d412452b6b433d0b7fc9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageConverterSettingTab.renderImageCaptionSettingsSection: MethodTooLong \u2014 renderImageCaptionSettingsSection runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"src/ImageConverterSettings.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9b367c93424c9da46e4d126e9fd068c277801b9c8056fdee058be351528662"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Crop: ClassTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 216 over it, 1.54\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":"src/Crop.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e052416eee83e74bc90438f5c260f541763d38021dc13ce3d93271f45767f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VariableProcessor.generateMD5: MethodTooLong \u2014 generateMD5 runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\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":"src/VariableProcessor.ts"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ca6cc4687f0a2d161376a42deed8aed54a500d985731154310bc0371acbac7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProcessFolderModal: ClassTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 208 over it, 1.52\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":"src/ProcessFolderModal.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c757be72ad07a3ba8f7a5991f56d35aec34d6c08684cd549761243464181c794"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProcessSingleImageModal: ClassTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 207 over it, 1.52\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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5f60a2ea52ebf434f479f19b1209ca0cc569159242d5f98051e1fe86308847"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImageAlignmentManager.murmurHash3128: FunctionTooLong \u2014 murmurHash3128 runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"src/ImageAlignmentManager.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1cfd270f338c08238f857e11e8acc54d5c7dc78f504b6a7e78d993c8595d26"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BatchImageProcessor: ClassTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 184 over it, 1.46\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":"src/BatchImageProcessor.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf68283d81fc54fe0e2b9e9d506bf7704f837986291c80ef5685364f7e55791f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageProcessor.processWithFFmpeg: MethodTooLong \u2014 processWithFFmpeg runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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":"src/ImageProcessor.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dece6eb1828d70912f2d7b4c072e06e08a06ddf97979c50d156b03e567bcb71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VariableProcessor.processDynamicVariables: MethodTooLong \u2014 processDynamicVariables runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"src/VariableProcessor.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"813e302f4eeb23fcdb7e5810dd67db6b75e929e798f80cccde8408aa1c47dc91"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ImageAnnotation/ImageAnnotationModal.ts: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ImageAnnotationModal (34-1061). The bar is 500 significant lines; this is 207 over it, 1.41\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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97b0c186d00c24305a6383cf8110ccd92169aff36b495aee90ec5b2e212bb2f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImageConverterSettingTab: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.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":"src/ImageConverterSettings.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bcc116ef1fff4cfcdbde96c7ad9af572fcdb71bd7b14ab514b78ae72f5635b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BatchImageProcessor.processLinkedImagesInFolder: MethodTooLong \u2014 processLinkedImagesInFolder runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"src/BatchImageProcessor.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84afcf4222f26d0e2db121afb5423123da44a91d530f4420f9deb45ac1b2062"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageConverterSettingTab.renderImageDragResizeSettingsSection: MethodTooLong \u2014 renderImageDragResizeSettingsSection runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"src/ImageConverterSettings.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"e994f46f502cf507fe3f16d30adec824124736497a6ce299390eff50c88b36fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SaveGlobalPresetModal.updateSummary: MethodTooLong \u2014 updateSummary runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"src/ImageConverterSettings.ts"},"region":{"startLine":4041}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9fc2e616a26d9314c016f52afed8668b6c72f165e7a9e55c688012d08966ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ProcessSingleImageModal.ts: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ProcessSingleImageModal (28-904). The bar is 500 significant lines; this is 130 over it, 1.26\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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc296315047285dba34eaf489bd7793853bcd9a9c1c59791c822e37f83a8595"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ProcessFolderModal.ts: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ProcessFolderModal (22-967). The bar is 500 significant lines; this is 126 over it, 1.25\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":"src/ProcessFolderModal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18888b533ec7aee704b02018c2a6881d774b31bbd0df61939a12e737fcc3dc93"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessSingleImageModal.processImage: MethodTooLong \u2014 processImage runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"190bfbc5bd818e20c884f2deed19eb95d321c63b6b532ff094dc1ad3811952be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/Crop.ts: FileTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Crop (6-995). The bar is 500 significant lines; this is 118 over it, 1.24\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":"src/Crop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa6a902f23c924311e0e36a04016c897a4564fd681738cbe3b76136a0e4c906"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImageAnnotationModal: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19b6829061a7bb86d06fb7106ac47e4d61e327a21e1aafedbbbf8118290c5a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BatchImageProcessor.processImagesInNote: MethodTooLong \u2014 processImagesInNote runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"src/BatchImageProcessor.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6f092794712554de77eaf410273eae5f03e0c90f5cb0ffef8a668aa0aba8a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/BatchImageProcessor.ts: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: BatchImageProcessor (24-966). The bar is 500 significant lines; this is 98 over it, 1.20\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":"src/BatchImageProcessor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3280053ce0796b43426af43a3beedf90b2f7643fcc86239af5649e49913f108"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Crop.saveImage: MethodTooLong \u2014 saveImage runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"src/Crop.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3169f63156610e094bd4f90ef696da9f378624dc1d9f924e75494a3d39abc68"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageConverterSettingTab.renderPresetCard: MethodTooLong \u2014 renderPresetCard runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"src/ImageConverterSettings.ts"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7e5df9c7b723bce951d7dfa64ee81b1de87cd11d19ca2cc832f0983adc1cdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ImageAlignmentManager.ts: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: ImageAlignmentManager (40-926). The bar is 500 significant lines; this is 86 over it, 1.17\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":"src/ImageAlignmentManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1e3cec5e04c6d3b8903a3562ea245850c8fba2bdd088d484fb73a12a3e6ac7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BatchImageProcessor.processAllVaultImages: MethodTooLong \u2014 processAllVaultImages runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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":"src/BatchImageProcessor.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac3bf6897520bbe13cc4cb73ed6f866816baa284892f30c1b2d7a1db86796b9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PresetSelectionModal: ClassTooLong \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 53 over it, 1.13\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":"src/PresetSelectionModal.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9516a1db7f1280d2412b4461cab232125543400d23c9a31aa97b58991522f3b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageResizer.updateMarkdownLink: MethodTooLong \u2014 updateMarkdownLink runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"src/ImageResizer.ts"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54a2cfd8f0dbf86626c5c0cc99facf552af027136666bf72eeb8187a81c0cc9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProcessCurrentNote: ClassTooLong \u2014 437 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 37 over it, 1.09\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":"src/ProcessCurrentNote.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c3fe6d59bedbbbddac8af72ae704cfa3deecf090a009e74db8e4898a2dd3ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageProcessor.convertToPNG: MethodTooLong \u2014 convertToPNG runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"src/ImageProcessor.ts"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"6207b54bcb77b196fcbd83565543e8cefd54397f40af3ed0e83098e35b65915c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FolderAndFilenameManagement: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 25 over it, 1.06\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":"src/FolderAndFilenameManagement.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ad042e6ec4e144cc3fd8a88fdda46198ad92f974b49c7376cb45f5113b5e9c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageConverterSettingTab.display: MethodTooLong \u2014 display runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"src/ImageConverterSettings.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"0893a2474c062bf0989cf402a862e3179df5adb6d667090454d2a562a3b246b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageProcessor.processImageHelper: MethodTooLong \u2014 processImageHelper runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"src/ImageProcessor.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13948bd64f48574c6498262d52ac5f9e8806545a953d4fc56b1e9fa4f22ad50"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VariableProcessor.getAvailableVariables: MethodTooLong \u2014 getAvailableVariables 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":"src/VariableProcessor.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"98397a5e0b663633888133678e2f4074043251409e112ea944c15ff44195f955"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageProcessor.convertToJPG: MethodTooLong \u2014 convertToJPG runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"src/ImageProcessor.ts"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a403b6089be22ecfb61463b6ab14d152bef6c24c6acf4a05ddfd13e91996d6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SupportedImageFormats (LCOM4 4): SupportedImageFormats\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":"src/SupportedImageFormats.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7daddc7af94088fa8dafde2dea9a8e16d09c48d45d4b3b6ff6261700309c953"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/FolderSuggest.ts: 32.4% line coverage (12/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/FolderSuggest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8d4238b924bf305141194c2bfb2577c17151490de405deab52217d69223733"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/ImageAnnotation/ImageAnnotationModal.ts: 47.8% line coverage (408/853)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adde08ca31289bbfb0ea9516c97fcdf826acb7aa3eddd29bb2ae1f8a861cd92b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/ImageAnnotation/managers/BackgroundManager.ts: 15.3% line coverage (25/163)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/managers/BackgroundManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e1057570e28ec2d2010c1559b42932e2458f27ba56ed171234db86deb95b98"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/ImageAnnotation/managers/LayerManager.ts: 13.6% line coverage (11/81)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/managers/LayerManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"748e5fc7b0db1e0cd0f077ee7b4263c3a4220b1f665ed40fc8dace4de9c143fb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/ImageAnnotation/managers/ViewportManager.ts: 25.5% line coverage (63/247)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/managers/ViewportManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2891f19b0986e95b4f96bfb3278e89109e4811074fd845d64c2b69583ae685"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/ImageAnnotation/utils/colorUtils.ts: 14.4% line coverage (21/146)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/utils/colorUtils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5d58231b238e3cf712f20f05e092ffacbd158c7ce8d92250d4aaf1f24dd938"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/ImageConverterSettings.ts: 49.9% line coverage (1734/3478)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d841d59a20eb4965d6d2bdc942f44503d594cf61c833e530dcfb29e97338e113"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/settingInfo.ts: 9.5% line coverage (2/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/settingInfo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5604e9f73fd88f21f65a1019e01f61a8db7251150bbcb904db9ea7d585e701be"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: src/ImageCaptionManager.ts: 8 line(s) (78-82, 84-86) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageCaptionManager.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2358a1ec85085f579164eeb8a2dcfd6492d3915f665d9672da0b840f038377b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Given error with Notice implementation point, When error occurs, Then Notice is shown with appropriate 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":"tests/unit/image/ImageProcessor.error-handling.test.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9363617cb174edeb7ac169775ee7089ca016c3879fd04448054ec0d75b0fa3"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: 21.10 Cancel: Given modal open, When Cancel is clicked, Then it closes without writing: This test starts work it did not wait for (\u0060openPromise\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 0))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/ui/Crop.test.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d356f7c0306e462675b5b24df0f01438530fe704caa7c507b6a2c1a7f14b8906"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: hides the previous image context menu before opening a replacement: This test sets up 4 test doubles (for example \u0060vi\n        .spyOn\u0060) against 3 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/ui/ContextMenu.test.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f34c82ea68254bf4292b7d6ab5e4463d87236215757e246b080e459aa11cda"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: 7.15 Process action view refresh failure: given refreshActiveNote throws, then fallback Notice shown and processing completes: This test sets up 8 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/modals/ProcessSingleImageModal.test.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"e915d87acabafec62ba45ada7d39c04c9ef0cf2a5fdb539cc9bad6e0da27dd42"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Given multiple files dropped, When handled concurrently, Then creates all files and inserts links without duplication: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/main/ConcurrentDropPaste.test.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"62afde5576c8447ce4c00d53d08b6aa90c84bd6d5f86ac1d3a801db9eb74fdac"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Given rapid successive pastes, When handled, Then processes all without crash and accumulates creates: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/main/ConcurrentDropPaste.test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b00963e654189ac462ef10b206cddcc0d3fd189deafaaa0d42695a14d20c9a6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: 27.2 reuse: when destination already exists, then no createBinary occurs and link points to existing file: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/main/ConflictResolution.test.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"07031f6a0ae290633a5150e42fdcbaab1eb99493b1b8cd2c90b2e115c40db8d2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Given conflict on createBinary (File already exists), When pasting two files, Then one is inserted and the conflicting one is skipped with error handling: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/main/CreateBinaryConflict.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd0bd203d4e6fccea49721f4a066e0cfe26e0bb9e6c32266d3fd5a387693b1f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Given CUSTOM template invalid (grandparent required), When pasting, Then no createBinary call occurs: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/main/InvalidTemplateBlocksWrite.test.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd37b18e3b7e0077ef53c82ba472836acbf201c92cee9172db4eff7d450efad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: 4.10 Skipping rules: files in skipFormats are skipped: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/batch/BatchImageProcessor.test.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8203eb53364a6bfee3beb4ed61b9c5aec5a17e02b331e504f6c1fc6aab6a8b68"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: 4.10 Skip target format (note): when convertTo=webp and skipImagesInTargetFormat=true, webp files are skipped: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/batch/BatchImageProcessor.test.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"082f233e9a4a5671d38f4d5e7d24b533a901c66bb5926af2c87ac9febd5f0bae"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: 4.5 Given recursive flag, When true vs false, Then subfolder files are included only when true: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/batch/ProcessImagesInFolder.test.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5d98379b50afd923f8d07c56e3516888b297d2a1b57cf8c495aeef27bacf5c"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: eslint: eslint 9.35.0, declared in package.json, is marked deprecated by its publisher: \u0022This version is no longer supported. Please see https://eslint.org/version-support for other options.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d6fe6ca46e7c5138acb9303f34c05bf26af5e4732d5aadfd02868b07841a1"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: abab: abab 2.0.6 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Use your platform\u0027s native atob() and btoa() methods instead\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c367013a350ee406f49934938db53f184f2718e75c7444984afbcc65e57739"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: are-we-there-yet: are-we-there-yet 2.0.0 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022This package is no longer supported.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7c590148506e0b193e827ee4b94b18397ddc84fc544b658b3b0a70597488ff"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: domexception: domexception 4.0.0 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Use your platform\u0027s native DOMException instead\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":2846}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42baf6cc2527d21e7aa9a9f5f448b4d8498228158c2fa5a47618122083f0a12"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: gauge: gauge 3.0.2 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022This package is no longer supported.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":4189}}}],"partialFingerprints":{"codehealthFindingId/v1":"466ff1f93ee23718231b13a9d84f4885f27844c62fd7bddf98d467da27dc176b"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":4292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a21a0f511e79bf1641d8781e0ca2d1a227ed4ef5f1fd822135ca3108ada0d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: inflight: inflight 1.0.6 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":4615}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f44f2d08ee8839d5172f941ab3bc1c660bb2257c3c3bd3354971f7072e14eb"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: npmlog: npmlog 5.0.1 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022This package is no longer supported.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":5748}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c75ef5f4fbae633b307e9eb0985227a925e701ed27ff897ccfac1fc426a828"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: rimraf: rimraf 3.0.2 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Rimraf versions prior to v4 are no longer supported\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":6345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f19ad8cb4391b735e04142442af28e60cbd91c2bb1f98ea175f4eb33e27294f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/ImageResizer.ts: src/ImageResizer.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ImageResizer.handleMouseWheel at line 1273. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-05-06..2026-08-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-06 13:31:33 \u002B00:00\u0027 --until=\u00272026-08-04 13:31:33 \u002B00:00\u0027 --full-history --no-merges -- src/ImageResizer.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e863ad1c14940c38cf53bda11c7f13fc12e24e520c7542b25add15acf6bf6f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/ImageAnnotation/ImageAnnotationModal.ts: src/ImageAnnotation/ImageAnnotationModal.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ImageAnnotationModal.initializeCanvasEventHandlers at line 516. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-05-06..2026-08-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-06 13:31:33 \u002B00:00\u0027 --until=\u00272026-08-04 13:31:33 \u002B00:00\u0027 --full-history --no-merges -- src/ImageAnnotation/ImageAnnotationModal.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c468fb82eed6c6a7417965a4547ee76c654aab2a1c3b4a54def91dae9b8ed342"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if all images are either in target format or in skip list\u0022 repeats the code it sits on: 5 of its 6 words (check, images, target, format, skip) are already in \u0060const allImagesSkippable = linkedFiles.every(file =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BatchImageProcessor.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"639f7771f5b7cbc5fb7cbf1e99f9e3ff8a4d545eec3bc413e471f56c41974478"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if all images are either in target format or in skip list\u0022 repeats the code it sits on: 5 of its 6 words (check, images, target, format, skip) are already in \u0060const allImagesSkippable = imageFiles.every(file =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BatchImageProcessor.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad957858f586e394174ef560516a39ae07bf43692b74c3850d98fae30860f4a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 16 comments in this file only repeat the code they sit on (lines 801, 965, 974, 983, 995, 1067, 1242, 1830, 1943, 2013, 2082, 2224, 2260, 2388, 2391, 2408), for example \u0022RENAME AND MOVE IMAGE\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"43472415a3ba9dcb08ed7afed2c7acae102ae2d67b8f103f9e42e83e4bc724ba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 147, 167, 183, 187, 233), for example \u0022Create selection area\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crop.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7aa9dc95941dc693a4f20c5ffba1bb5281891893b4fa1263244c09e0de4a365"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the potential extension is supported\u0022 repeats the code it sits on: 4 of its 4 words (check, potential, extension, supported) are already in \u0060if (this.supportedImageFormats.supportedExtensions.has(potentialExtension))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/FolderAndFilenameManagement.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77ea242b2ecd66aeffd89256af389695e8f46cc8f88b21d29e143cd77b1e797"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the mime type of the file\u0022 repeats the code it sits on: 4 of its 4 words (get, mime, type, file) are already in \u0060const mimeType = await this.supportedImageFormats.getMimeTypeFromFile(file);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/FolderAndFilenameManagement.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5795d637ec553bedf360ffc4ac3cb99fa4b631418e3b37300077f23014ab5da9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Initialize canvas event handlers\u0022 repeats the code it sits on: 4 of its 4 words (initialize, canvas, event, handlers) are already in \u0060this.initializeCanvasEventHandlers();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec30ba6fe984c7c459b1dda2f3f92e13d1842afd3854db74b229e972ffb0c195"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Text background controls\u0022 repeats the code it sits on: 3 of its 3 words (text, background, controls) are already in \u0060const textBackgroundControls = brushControlsColumn.createDiv(\u0027text-background-controls is-hidden\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/ui/ToolbarBuilder.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19f76d1d604bfecc3eefc35dddc6ceb1215b4b2d57fddb58ea7f97f879359eb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 23 comments in this file only repeat the code they sit on (lines 71, 737, 1078, 1283, 1331, 1603, 1752, 1762, 1813, 1820, 1831, 2423, 2752, 2872, 2889, 3075, 3429, 3943, 3960, 4263, 4266, 4279, 4293), for example \u0022Interface for a Conversion Preset\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a6b61c631a2029f9640a7a5c89338226e414bb5148a8fce0de71c99e64468a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Re-apply the metadata to the processed image\u0022 repeats the code it sits on: 4 of its 5 words (apply, metadata, processed, image) are already in \u0060return await this.applyMetadata(processedImage, stringifiedMetadata);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"706057d8607bd32d3cc971a7ac6e10c8a2401ee39a6985527298a5c6e0840927"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter out empty results and sort by size\u0022 repeats the code it sits on: 4 of its 5 words (filter, results, sort, size) are already in \u0060const validResults = results\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd396cc454ed3e4915b35515a666b7e19228cf70baceb8dbe1c14ca9f668051"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 9 comments in this file only repeat the code they sit on (lines 156, 388, 895, 981, 991, 1003, 1251, 1303, 1470), for example \u0022Throttled version of updateImageLink\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"14eaa9da37add62a318498bf74a426fda851975d1983e50948e63e416ab8bbc1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 8 comments in this file only repeat the code they sit on (lines 56, 107, 170, 204, 217, 238, 342, 449), for example \u0022Create main container\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ProcessCurrentNote.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"51517bf00089d8d4077ba37a14ba703307b79bdd4b030dc95e53be1c21b54446"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Format and Quality Container\u0022 repeats the code it sits on: 3 of its 3 words (format, quality, container) are already in \u0060const formatQualityContainer = settingsContainer.createDiv({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ProcessFolderModal.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a914bdc56b30af53138135f31be2d195100368f121ae851d59bddc635b184ccb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get Conversion Preset\u0022 repeats the code it sits on: 3 of its 3 words (get, conversion, preset) are already in \u0060const conversionPreset = this.plugin.getPresetByName(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ProcessSingleImageModal.ts"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cef8e3cade23304a36b150d11ae9856307ab606d1e86886051ec9a432d02f9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Pass the template to getAvailableVariables\u0022 repeats the code it sits on: 4 of its 5 words (template, get, available, variables) are already in \u0060const variables = await this.getAvailableVariables(context, template);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VariableProcessor.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"44de65ac260171b71951d02ce2f1d8c6115cb0cfa40622e8e1e2e7a058515060"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 58, 65, 279, 282, 426), for example \u0022Alignment imageAlignment: ImageAlignment | null = null;\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e405c2ef16b8fdb69bf1a9fb73e10ad7332cd91d6a27c32671cb22ee8cf377f4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Suite: Progress, scope, and error behaviors\u0022 repeats the code it sits on: 4 of its 5 words (progress, scope, error, behaviors) are already in \u0060describe(\u0027BatchImageProcessor \u2014 Progress, scope, and error behaviors\u0027, () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/batch/BatchImageProcessor.test.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4089ed16ffe3edbebf66b790c2398263840eca542f57aed7ffdbec0d03bff4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Spy on console.warn\u0022 repeats the code it sits on: 3 of its 3 words (spy, console, warn) are already in \u0060const consoleWarnSpy = vi.spyOn(console, \u0027warn\u0027).mockImplementation(() =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/modals/ProcessFolderModal.test.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ae51d9c641452ae5f13ed908cf248e7bbece0e55243a801d7a23b6a3aed16f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Call getImagesFromCanvasFile directly\u0022 repeats the code it sits on: 5 of its 6 words (call, get, images, canvas, file) are already in \u0060const images = await (modal as any).getImagesFromCanvasFile(malformedCanvas);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/modals/ProcessFolderModal.test.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ce2db731e5000ee9cf43a6a81d42919b26f29005cfa50c4f0edb34f3af6805"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022FileManager rename\u0022 repeats the code it sits on: 3 of its 3 words (file, manager, rename) are already in \u0060(app as any).fileManager = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/modals/ProcessSingleImageModal.test.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f7edd2fc8b9e6394ac675e910599bb202029348bcbdd37614b2bd66dfcfb93"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022FileManager rename\u0022 repeats the code it sits on: 3 of its 3 words (file, manager, rename) are already in \u0060(app as any).fileManager = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/modals/ProcessSingleImageModal.test.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"178a37a18cee666c689ed8f8f23fc9f783e8c0d1123b4067de84f84a86e2d2f8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Throttle policy when alignment disabled\u0022 repeats the code it sits on: 4 of its 4 words (throttle, policy, alignment, disabled) are already in \u0060describe(\u0027ImageResizer throttle policy when alignment disabled (13.23 variant)\u0027, () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/ui/ImageResizer.test.ts"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c63661be2ee93241c9fe538f84436a839b60bd63d451414c61c3e1d197aa4f3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock handleHeic to fail\u0022 repeats the code it sits on: 4 of its 4 words (mock, handle, heic, fail) are already in \u0060vi.spyOn(processor as any, \u0027handleHeic\u0027).mockRejectedValue(new Error(\u0027HEIC decode failed\u0027));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/image/ImageProcessor.error-handling.test.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a721de850899d6aa2542acf9ee8b91e1f11c91ea01a3a33ffbdd5ce9e68ac6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock UTIF decode\u0022 repeats the code it sits on: 3 of its 3 words (mock, utif, decode) are already in \u0060const mockUTIF = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/image/ImageProcessor.mime.test.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be8080ddab2770888467420d6579ed191df6508fbdefa58e160c26146f9a32d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 82, 217, 236, 252, 255), for example \u0022Create a mock FileSystemAdapter-like object\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/ui/ImageAlignmentManager.utilities.test.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f4628e46058b352850773467900491837175f565fac6b09e6d8e5a1d799537"}},{"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":"083e5ab0ddcee9889bf45295950b41bc1a1a50e271d50374e3e2b7ff42700226"},"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":"51bef6279eeb20eb185df592a0ae34c0a9227345c97acefe47b19b20c210445c"},"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":"944acf2c10373329fd3a174e71e42b1713882fa417f8d67e34e85a62eea619d2"},"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":"15340d287715dbad0add2470bf0061fff6e638ee0688da22fe105c49e274f240"},"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":"cf7d3a0b4de6f9d57c826475578ec874b55c1014b09d0322f29593f799fcacd0"},"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":"be6bf049eeb895dacb7d26559b3891d903f11b4a1ae382f0059829bf7d0cd28b"},"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":"a09d3801057f90d87667022b715b81165020868325e5ccfb89f850b93b5ed40d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"10351871885815e8a9ee613ba602ee866d9a36326409d62e770b0788a856b639"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"170f8e8af34de772d2b40e5a2b4d991ec9a50814cb2181fd0a19894a8b077fef"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"b46ee0e57cf5e517d2d044983af4afdaa769aaea95cf2ce7808f773ab28405ea"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"365f3a1591de0417e9bccdb8bf8c031a0ed13b735910d28929ca4cae500090e8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"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":"849ff712a3361bd997fd53f027ce88a9d2a5a6ed4e4c8be7d3dbffa7826e291b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"00ab67bff0ac5dd02f82388ddd6b696699f7af96b3a3a623d10663980e6c125b"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","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-7","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":"eadd8b9f389f6e62e9cce5aacb639e293a6ac05e54ccdf15fdab2bc12ed86c70"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","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-7","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":"18fbc9c18b53a7e4335c59606e0e24a85d4a89a5f3ed4cc9270c60f2804f1645"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"065d4e296c91c7f1787c73d2b6b97c3b2dffc497fcf1757edc4bef8d950388bf"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"13fd125626709efb37a02098a37012c39f7a8027a640e9a51962e7fbaab4587d"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"a20b2f42b37e8031f90b105fb11b2c658dfe4a5d7cf67787575d00212074d5eb"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"7aa8756cf83b24460929473676ea1d90aa9ed61f6753dea430b927b3e8d12c83"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4441156a9ab94cb69c051fdbbbc13557b36b72838b57c6a00e6b768fae760dc6"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c326f9ec042a647c3438ee205f10040aaecc9f1dfffe8a689d50bbc78433055d"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"118cc3c754a459b5d17a2a480c4aaad8cbf33ae11c405b535a4379d2b33a4490"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d5b027e935f599ba796c4cba7e607e65e2c074088a521b0eb71d5d545ad9827"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"b8b982f108de182ba77397a9b0f27addd5c03ae6840736a528b48703d2791837"},"properties":{"dependency":{"package":"form-data","version":"4.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"4.0.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"e61c58c6fef945f3ab5fbe04e762760467f3a4b89b7e7abbd5a113bbdc02d327"},"properties":{"dependency":{"package":"happy-dom","version":"18.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"20.0.0","relation":"direct","declaredRange":"^18.0.1","reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"ruleId":"D30","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":"1b422d7d2acf4ec86c8855b185b5bb8a76f746739db2b625b71467e001072cde"},"properties":{"dependency":{"package":"tar","version":"6.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"7.5.19","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"d1521d4df38892c8360f4021e3e60a84abee4ddb3bd9a9223f7ca0d504e933c2"},"properties":{"dependency":{"package":"tinypool","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"2.1.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"d3882d8f5ede49b4559d7821267f317a4d93792aa6769c400b1a3b03bef6989f"},"properties":{"dependency":{"package":"vitest","version":"3.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"3.2.6","relation":"direct","declaredRange":"^3.2.4","reachability":{"kind":"production","file":"tests/__mocks__/child_process.ts","line":1}}}},{"ruleId":"D30","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":"2ab9a118787cfcd7b9a9f0aa9a2741c59ff4acc7ade7d2e36a5cedff371d59ca"},"properties":{"dependency":{"package":"@faker-js/faker","version":"10.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"10.5.0","relation":"direct","declaredRange":"^10.0.0","reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"ruleId":"D30","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":"e375667e8ea36c2d3fbe0ff4fd63ce34cafc9c5538ee7512e685eb3fa92aaabb"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.1.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"ea3ade90015338e43b355e7ca57f737becad6190b34c19a6d8c9507f98b83d1e"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"9.0.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"9956f69651e45a4464756b34d77a0d93dc3e1508acc8a3dd189d6e2f8bebd085"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"a9cac0d6cc5a194bbd895ee03eb0b5411769a8f172e7ada3c79a86c3eb04341e"},"properties":{"dependency":{"package":"minimatch","version":"8.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.0.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"046c941c7a1536442272ebcb3b93cf356091a67125b0ecda9f1199c52a741c56"},"properties":{"dependency":{"package":"fabric","version":"6.5.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.2.0","relation":"direct","declaredRange":"^6.5.0","reachability":{"kind":"production","file":"src/ImageAnnotation/ImageAnnotationModal.ts","line":9}}}},{"ruleId":"D30","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":"2567ea2f56ae79977dadd3bf380bcb8e0d5204997d0db598b3e49e1891ff5525"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"a51cd9bac6da640e38cf883c1ea361c13f6e25c446f4643782afc1591a1c03f1"},"properties":{"dependency":{"package":"flatted","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.4.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"5a31a0b5364830f542d37385755d27dd90f97746286a80cb6c17836bc6e14179"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"ff1a8a3a663e4c7c857cfd31c41fafc98dcf5fc6d46fc6d8ae503c299e1851cb"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"a2e781aeeb54d3ae845ae518d9f9b4fabc9ce4afb31ec2d5eceab2c30473e850"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"a1e03b14734319d875bd0dac1f97ef300c97b23c9a470ff6af28213112e543c4"},"properties":{"dependency":{"package":"postcss","version":"8.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.12","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"2a97b7f163f2008119363b8420b4cfa12eea98423470b15ce1ecb79adbbd8728"},"properties":{"dependency":{"package":"rollup","version":"4.50.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.59.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"a143e49def50f6267786be10dea52190e0d09245364207bf6c8be5fcae3b49ff"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"835cc09071bb9e38cdc45f31c605c3d11b42abe2b5ad80d2c778222d3667e2bd"},"properties":{"dependency":{"package":"glob","version":"10.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.5.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"3e02f053898a35c81dd3976f70f76fbfb4f273ee92432eacacd848db60698976"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.0.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"b694dace86fb7d15873b2ddd65002632093db12bc6146d23cde087273cc549f5"},"properties":{"dependency":{"package":"vite","version":"7.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.3.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"5ccda73bd0143d5fffd3dfb7039e432d604944b26bd87c7e38e3f0435928ff6c"},"properties":{"dependency":{"package":"ws","version":"8.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.21.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"aa571a47ecd9af55f36a3364edd0ddcf29c643ee1a3b19589e5f86cf9b2dd947"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","severity":"medium","fixedVersion":"0.16.8","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"0a4dc13babfb2382446738b7540a2c2019b1f55765a2673688297cc2c443d2bc"},"properties":{"dependency":{"package":"@vitest/mocker","version":"3.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.1.11","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"55debc56ca6eed4c49dadedefe38b2c8ca16d39e73e26283165b7e87845cb005"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"6.14.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"9a78c520bb81051b7ec6e42d62ff75105f3b38b047d2de4313c0de69788553a2"},"properties":{"dependency":{"package":"ajv","version":"8.17.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"8.18.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"c98a45274708a8d77bc0379519bd153f209d8e140753a4013f877e2a841ab85f"},"properties":{"dependency":{"package":"fflate","version":"0.8.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.8.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"15a0f55bf98d45cec1e6067645c9a127cb539e6219bff589e0ceebe0057ab9e3"},"properties":{"dependency":{"package":"moment","version":"2.29.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.31.0","relation":"transitive","reachability":{"kind":"production","file":"src/VariableProcessor.ts","line":5}}}},{"ruleId":"D30","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":"ecb1107154e802ec55ca85cdbe70d70a0d97d489f92c05a139296378c387cde9"},"properties":{"dependency":{"package":"yaml","version":"2.8.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.8.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"04929f1ea59675c09d63a1854e58e18d3ca321f453dfef4be8fafa30fb75cd78"},"properties":{"dependency":{"package":"@tootallnate/once","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"2.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","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":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crop.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b288012cec2f6f6d2d58fd275deccc7e2449c61395b02ea92d62c15ba2039f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0696fedb9b09526bb5b85d381bcbc8268601ea1352fe5fff26137481320926"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .image-converter-contextmenu-button with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d291cf2f78cc6b4b65314d6e936ad1540865658d1251893bb539871dfeec42d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.crop-tool-modal .slider\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"894e83ea9d08c706340bfa12707b184ec884375d67cb66b060c6c5873938e971"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.map-view-main .image-resize-border\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":2798}}}],"partialFingerprints":{"codehealthFindingId/v1":"142463568ba4a8261f289df040e608037b02d1b696d599c70644f032508c6b26"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-converter-preset-group\u0060 moves (\u0060transition: transform 0.3s ease,\n\t\tfilter 0.3s ease,\n\t\topacity 0.3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d92b87bbd29eac92a8d01f559e728297e013ca64318a09ad1eeded375a33fdd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-converter-chevron-icon\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b27a039f5ee2e42525f0545efaad176cb9a25a29c9846d2f77fdc518a5ea933"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-converter-settings-tab .image-alignment-settings-section .settings-section-chevron-icon\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d2615f91fe4690fe3826c5056e51cb34f86eec856ca76350385908129132c8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-drag-resize-settings-section .settings-section-chevron-icon\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92c4e1705e74a7652275e41be0dd95001f1364b78db98bdb5dbfd68df2ff7c3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-converter-form-container.visible\u0060 moves (\u0060animation: slideDown 0.3s ease forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"958b63b0795ada26df11add2c0256db33e5145c6b8691a1836c2be31949f2278"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-converter-format-examples-section summary::after\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb104709ea507dbb71b3746dd5327c24c042027f62b0743581ace316ecde512d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-converter-settings-tab .image-caption-settings-section .settings-section-chevron-icon\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74392c55400f38e9f57075ec3dadea5974c2942f8c08cf7f884d8e7ff0473db"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-converter-annotation-tool-image-annotation-modal .color-swatch\u0060 moves (\u0060transition: transform 0.2s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b4eb89622ad1d9e07aa1274f0a33486dcb24a2aea238b99bbc24646bc62c7b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-converter-annotation-tool-image-annotation-modal .image-converter-annotation-tool-canvas-container\u0060 moves (\u0060transition: width 0.1s ease,\n\t\theight 0.1s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5f290f3e5481f3304e7e4b8e55bb5886de039647f97ebbd31ebbd2536f10ce"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.crop-tool-modal .modal\u0060 moves (\u0060animation: modalOpen 200ms ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":2255}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a4798df8e088ff2a676844c4503dff06079252d9131a0fd62ea98ac3f73035"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-resize-handle\u0060 moves (\u0060transition: opacity 0.2s ease,\n\t\ttransform 0.1s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":2699}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef63c2b753cc469836c1c5c59f1303574e4138af02af3e684a9615c7d0f6176c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-converter-processing-card-chevron\u0060 moves (\u0060transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":3537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ef4493b50d0a42ec59db1438dc464d052d3cf81a8c1bb00a178e04db5e355e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-converter-processing-card-content\u0060 moves (\u0060transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),\n\t\topacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),\n\t\tpadding 0.3s cubic-bezier(0.4, 0, 0.2, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"styles.css"},"region":{"startLine":3555}}}],"partialFingerprints":{"codehealthFindingId/v1":"121a6f8c0019880051815f983d88f97833822f10d5f8aaa7a5bf0dbe55318d97"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ToolbarCallbacks (26 required operations): \u0060ToolbarCallbacks\u0060 declares 26 required operations: \u0060onDrawingToggle\u0060, \u0060onTextToggle\u0060, \u0060onArrowToggle\u0060, \u0060onResetZoom\u0060, \u0060onClearAll\u0060, \u0060onSave\u0060, \u0060onBringToFront\u0060, \u0060onBringForward\u0060, \u0060onSendBackward\u0060, \u0060onSendToBack\u0060, \u0060onBackgroundToggle\u0060, \u0060onColorChange\u0060, \u0060onSizeChange\u0060, \u0060onOpacityChange\u0060, \u0060onBlendModeChange\u0060, \u0060onPresetSave\u0060, \u0060onPresetLoad\u0060, \u0060onTextBackgroundChange\u0060, \u0060getCanvas\u0060, \u0060getCurrentOpacity\u0060, \u0060getBrushSizeIndex\u0060, \u0060getOpacityIndex\u0060, \u0060getBlendMode\u0060, \u0060isDrawingMode\u0060, \u0060isTextMode\u0060, \u0060isArrowMode\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/ui/ToolbarBuilder.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1542eccaace569bc1ed452352b58ac5f325797056c34f6589f349146923a395a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return true;\u0060 also returns \u0060true\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SupportedImageFormats.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d406e4798b5282f3a873ce8a2a6da42dd728f66e5cc4e2eeb79525389a95cd7"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d69aa0e7265d066c5b30a39b27bca8ea4652eb6690837aeed78fe7393812671"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea31bd3d4251908e0b381e4813f21e0487f39285f6e0c5bddb0e8b52ae2885b0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8842f0860f8fb40ab512c51389e9e7d1426ef184082cd422f49641cdea207f2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec939a4a417fc6f0c779d9a34c7b1a5305ed4afec58f2d688b1938cea3446dd"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"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/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (223 matched lines \u00D7 2 locations): src/ProcessAllVaultModal.ts:187 \u00B7 src/ProcessFolderModal.ts:389 \u2014 the two spans are one implementation copied and then locally edited \u2014 1020 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":"src/ProcessAllVaultModal.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af6068ee21be7566c2b6d86a59d2dd107cb26d5d45be6a6bf5197477f38b9fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (167 matched lines \u00D7 2 locations): scripts/p95/context-menu-escape.mjs:86 \u00B7 scripts/p95/context-menu-runtime.mjs:107 \u2014 the two spans are one implementation copied and then locally edited \u2014 1593 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":"scripts/p95/context-menu-escape.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6566e3d04983153863dce616f32c231c252f9ff66cfdd83b1efc88c3e948dc87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (151 lines \u00D7 2 locations): src/main.ts:685 \u00B7 src/main.ts:1028 \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":"src/main.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7f6954aab80e6f1e1f1714d9dea2b2f0337b6c4570718540d2555934865b56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (114 matched lines \u00D7 2 locations): src/ProcessCurrentNote.ts:427 \u00B7 src/ProcessFolderModal.ts:545 \u2014 the two spans are one implementation copied and then locally edited \u2014 671 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":"src/ProcessCurrentNote.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"890dfc6140c410a4dcdcbaa74c894c631c3ba4f88efb497cebf8ad9a47de2089"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (112 matched lines \u00D7 2 locations): src/ImageConverterSettings.ts:2299 \u00B7 src/ProcessSingleImageModal.ts:238 \u2014 the two spans are one implementation copied and then locally edited \u2014 643 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":"src/ImageConverterSettings.ts"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeef35f21b359d61158f3de5b04fd42384de100d2e6577115ccfd277fa85c60a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (98 lines \u00D7 2 locations): scripts/p95/image-alignment-popout-scope.mjs:560 \u00B7 scripts/p95/image-alignment-unload.mjs:527 \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":"scripts/p95/image-alignment-popout-scope.mjs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb7cf07908f1498691f0ee4de733f3cf3ba38d18e8605587f03adad63b85cf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 5 locations): scripts/p95/available-variables-modal.mjs:447 \u00B7 scripts/p95/image-alignment-popout-scope.mjs:571 \u00B7 scripts/p95/image-alignment-unload.mjs:537 \u00B7 scripts/p95/image-resizer-runtime.mjs:688 \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":"scripts/p95/available-variables-modal.mjs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3b0a6e33d61d42e2a6e083ee10c399695e8992151a45f6fb5ccaa1d04bf9c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 2 locations): scripts/p95/context-menu-runtime.mjs:574 \u00B7 scripts/p95/main-runtime-safety.mjs:571 \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":"scripts/p95/context-menu-runtime.mjs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"168c76f3c8170ba0a86868c82b1ac5222a3bc188fbc5093f93893359f75c05fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (84 lines \u00D7 2 locations): scripts/p95/image-alignment-unload.mjs:78 \u00B7 scripts/p95/main-runtime-safety.mjs:88 \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":"scripts/p95/image-alignment-unload.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"382e9240d2ea43cfaf9cbcff694d5e7d71ea2c3062c21df484069f03b20266fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 2 locations): src/main.ts:580 \u00B7 src/main.ts:925 \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":"src/main.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"635c192b1150606b53a342a8b0ecc93bbff75a3d93cc417726c45cb000911190"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 3 locations): scripts/p95/image-alignment-popout-scope.mjs:72 \u00B7 scripts/p95/image-alignment-unload.mjs:78 \u00B7 scripts/p95/main-runtime-safety.mjs:88 \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":"scripts/p95/image-alignment-popout-scope.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98f49e4d5694ba779b6676706b74e97088721076ae37237900ccf554bfe7534"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): scripts/p95/available-variables-modal.mjs:77 \u00B7 scripts/p95/image-resizer-runtime.mjs:104 \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":"scripts/p95/available-variables-modal.mjs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5f2f2f700c378e1f4112f5a8dc34b2ada58bf3c738a34a2a72562ef312378c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2 locations): src/VariableProcessor.ts:1023 \u00B7 src/VariableProcessor.ts:1133 \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":"src/VariableProcessor.ts"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"d123fba0d86390e73291069f1be5ae178f1907eabbbc6d2247d33d8252ad7436"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 3 locations): src/ImageConverterSettings.ts:782 \u00B7 src/ImageConverterSettings.ts:909 \u00B7 src/ImageConverterSettings.ts:1105 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8820518aa766d09b9bc84783dec9ee0b8feca753f6b5c288fa5d01272ab6336"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): src/ProcessAllVaultModal.ts:114 \u00B7 src/ProcessFolderModal.ts:351 \u2014 the two spans are one implementation copied and then locally edited \u2014 204 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":"src/ProcessAllVaultModal.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc5e1dc7ad1ea5913ab72f73b580952c71605f27ec85da385fb44918a2612f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): scripts/p95/image-alignment-popout-scope.mjs:224 \u00B7 scripts/p95/image-alignment-unload.mjs:214 \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":"scripts/p95/image-alignment-popout-scope.mjs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee8b78d93925fcb158ec09d21bb7960c73cb0ffb735fd54d22428032d02f66d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): scripts/p95/context-menu-runtime.mjs:219 \u00B7 scripts/p95/image-resizer-runtime.mjs:228 \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":"scripts/p95/context-menu-runtime.mjs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"649c5f05a0470c542f41c13b76224f8b78497ef25e8d8228073eddd514fb03fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): scripts/p95/image-alignment-unload.mjs:490 \u00B7 scripts/p95/main-runtime-safety.mjs:527 \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":"scripts/p95/image-alignment-unload.mjs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"a832d78fd6ee0d8407f4d690b1e2ddfca3e5fd1f6e5d5710d919d0e81d60a0b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3 locations): src/ImageProcessor.ts:1260 \u00B7 src/ImageProcessor.ts:1440 \u00B7 src/ImageProcessor.ts:1621 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"49035a8e312d2c9815c2b0b354a47a5fec849409e7c571202ddff2fcb16e0110"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): src/VariableProcessor.ts:818 \u00B7 src/VariableProcessor.ts:882 \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":"src/VariableProcessor.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"e551ba78047339d593c7055a52147e76eb3a97475d4908235269defa9078683e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): scripts/stress-plugin-interactions.mjs:58 \u00B7 scripts/stress-plugin-unload.mjs:57 \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":"scripts/stress-plugin-interactions.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c343a9c08b26a15d0f610a66127e193dff3452ae7d33b702efa93e3a3f20111"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): scripts/p95/image-alignment-popout-scope.mjs:519 \u00B7 scripts/p95/image-alignment-unload.mjs:489 \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":"scripts/p95/image-alignment-popout-scope.mjs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceb7dcda80f4f9b0e3e9c45f3c46ed2d267af965221507f045b47099040b428"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/BatchImageProcessor.ts:150 \u00B7 src/BatchImageProcessor.ts:327 \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":"src/BatchImageProcessor.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e61a4bda86c83bc96e460284f0a3b45dcb9838a946ac819a5e3c248cd83d0ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/ContextMenu.ts:1971 \u00B7 src/ContextMenu.ts:2130 \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":"src/ContextMenu.ts"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe4eaa09aef1efd58bfdc95b9941e3b8213917ecbe108bd269cf7fbe77fbb4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/VariableProcessor.ts:971 \u00B7 src/VariableProcessor.ts:1091 \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":"src/VariableProcessor.ts"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"766639baf0d17800095b53e3149677d8257f42b601d69d9617bf8d225eec4e20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/ContextMenu.ts:1658 \u00B7 src/ContextMenu.ts:2269 \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":"src/ContextMenu.ts"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4b28f199e4250547064db3b039965ac2c8cc50614b93f464ca1d0b63d00c2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4 locations): scripts/p95/context-menu-runtime.mjs:535 \u00B7 scripts/p95/image-alignment-unload.mjs:505 \u00B7 scripts/p95/image-resizer-runtime.mjs:648 \u00B7 scripts/p95/main-runtime-safety.mjs:542 \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":"scripts/p95/context-menu-runtime.mjs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac52bf89e7a307ac0728077bcd9cc9154b7cbb37f7bb32b049fe4cca73b28b11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4 locations): scripts/p95/available-variables-modal.mjs:38 \u00B7 scripts/p95/image-alignment-popout-scope.mjs:39 \u00B7 scripts/p95/image-alignment-unload.mjs:45 \u00B7 scripts/p95/main-runtime-safety.mjs:55 \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":"scripts/p95/available-variables-modal.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48836ae36744131235c139eb30595ec7d1c7f523c922ba66eb135715eadb8d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/ProcessFolderModal.ts:250 \u00B7 src/ProcessFolderModal.ts:279 \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":"src/ProcessFolderModal.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc52edd9cde8bcd2bb8618bcf9864c7a84751399bfdf62c2104beead20741b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/BatchImageProcessor.ts:272 \u00B7 src/BatchImageProcessor.ts:400 \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":"src/BatchImageProcessor.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f7aee233f64cfd7a5aecdfd706cf76ddfe88164686cac220b8275e4c248fb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3 locations): src/ImageConverterSettings.ts:1870 \u00B7 src/ImageConverterSettings.ts:2014 \u00B7 src/ImageConverterSettings.ts:2072 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"1446d548fae36131ad505c8286b6104fbc4e5d3a5f87a761d202cc4dd16f12ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/ProcessCurrentNote.ts:643 \u00B7 src/ProcessSingleImageModal.ts:869 \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":"src/ProcessCurrentNote.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c00afd2ad7711a54091e7e1e66c037724f3dbaabde77fdeee61f84808b10393"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): scripts/p95/image-alignment-popout-scope.mjs:395 \u00B7 scripts/p95/image-alignment-unload.mjs:318 \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":"scripts/p95/image-alignment-popout-scope.mjs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"7827dc5d4695f1f40cbf166766af13207d659bdc4694ef2b9934f9186d6378c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/ContextMenu.ts:1696 \u00B7 src/ContextMenu.ts:2307 \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":"src/ContextMenu.ts"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4985312119e9642ac9867435b6c576a8847eadaa1ccce79ead25daff661dbc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/ImageProcessor.ts:1947 \u00B7 src/ImageProcessor.ts:2037 \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":"src/ImageProcessor.ts"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae3681dedbe71c3c2a121fd46b4e1df80c8e5b511cf54c54408a30fe5daf39d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/ImageConverterSettings.ts:3144 \u00B7 src/ImageConverterSettings.ts:3197 \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":"src/ImageConverterSettings.ts"},"region":{"startLine":3144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84bae33944d2cabef50948c8d91ab105ea73e1ee6914b96348ffc19b62e10ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/ImageProcessor.ts:2002 \u00B7 src/ImageProcessor.ts:2074 \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":"src/ImageProcessor.ts"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"049838b00729b9f2a12e67a5f608dbe2b508da59d75d3a65684857994420affd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): scripts/p95/image-resizer-runtime.mjs:507 \u00B7 scripts/p95/main-runtime-safety.mjs:328 \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":"scripts/p95/image-resizer-runtime.mjs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"68862fd6f473f3fa6663e3b0446d961c76201c13fdc21aacdf1bf66484c2c342"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/ContextMenu.ts:855 \u00B7 src/ContextMenu.ts:883 \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":"src/ContextMenu.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8a9fc889464a30159983aa1f124440f1d31aadee331d0af88e735b188544ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): src/ContextMenu.ts:1916 \u00B7 src/ContextMenu.ts:2012 \u00B7 src/ContextMenu.ts:2081 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"80996b7291e7bd1fa2d918e0ddc2126bd982b143a6f7b606ca9635639c00522a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): src/ContextMenu.ts:444 \u00B7 src/ContextMenu.ts:573 \u2014 the two spans are one implementation copied and then locally edited \u2014 141 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"3788d8db963c0a588c035243f6ee5e92e520bc78d3b4db0699d1fed656c5b348"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): src/ImageConverterSettings.ts:2470 \u00B7 src/ImageConverterSettings.ts:2512 \u00B7 src/ImageConverterSettings.ts:2641 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":2470}}}],"partialFingerprints":{"codehealthFindingId/v1":"96568eef75903eabcacc43b37346de7756b82e8ad6bd0cd3e5e1cd07de0189e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): scripts/p95/context-menu-runtime.mjs:262 \u00B7 scripts/p95/image-resizer-runtime.mjs:322 \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":"scripts/p95/context-menu-runtime.mjs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"079009ea178009e4eac0ce6822d36d3408a5d30a45d4506365272a03b795f10a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): src/ImageAnnotation/managers/HistoryManager.ts:202 \u00B7 src/ImageAnnotation/managers/HistoryManager.ts:262 \u2014 the two spans are one implementation copied and then locally edited \u2014 126 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/managers/HistoryManager.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fbdc5cd84bcb93c4fcb68f1e3fa9187c8c044b45abcd9908d80e1341f0699a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/ImageAnnotation/managers/LayerManager.ts:9 \u00B7 src/ImageAnnotation/managers/LayerManager.ts:29 \u00B7 src/ImageAnnotation/managers/LayerManager.ts:49 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/managers/LayerManager.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a98339526b2f20f20e6edf351aba3cc868dffdee925823f952098e3e51751b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/ImageProcessor.ts:1417 \u00B7 src/ImageProcessor.ts:1598 \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":"src/ImageProcessor.ts"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b07e2d38b732bf6b9ac9543073f1085ac3fb15b71b13187ae5b3b8a6637284"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main.ts:884 \u00B7 src/main.ts:1225 \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":"src/main.ts"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e05d027bcb8d166fe346525cf9204ecd58044a8266f5d7f66e2811c18203a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/ImageResizer.ts:1672 \u00B7 src/ImageResizer.ts:1698 \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":"src/ImageResizer.ts"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d329db954a49e98dc94105cb54fb50528dd401bf9580329bffe2c5cd8e3ba23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/LinkFormatter.ts:211 \u00B7 src/LinkFormatter.ts:249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LinkFormatter.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"48de8c3e07983de17d16582851951446c8e5ffb29922e071bd2bcc49d8e783b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): scripts/p95/available-variables-modal.mjs:404 \u00B7 scripts/p95/image-alignment-popout-scope.mjs:530 \u00B7 scripts/p95/image-alignment-unload.mjs:499 \u00B7 scripts/p95/main-runtime-safety.mjs:536 \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":"scripts/p95/available-variables-modal.mjs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e10040d5e15e94bc155edf002b2bab893026656d4f72c872c8d8db3cfb6f5bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): scripts/p95/context-menu-escape.mjs:57 \u00B7 scripts/p95/image-resizer-runtime.mjs:90 \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":"scripts/p95/context-menu-escape.mjs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebba20163a025927c3800670a37a0021b45f4ff2349f9cf2233b29a870637fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): scripts/p95/image-alignment-popout-scope.mjs:18 \u00B7 scripts/p95/main-runtime-safety.mjs:26 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/p95/image-alignment-popout-scope.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c152bac87e08db3b28b4650e98eeafc6973bf098c0daabe9428380981717e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/ContextMenu.ts:1791 \u00B7 src/ContextMenu.ts:1857 \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":"src/ContextMenu.ts"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e19e49309094253d93fbacd1bd88141ac23746ea560584257bdf401c792543"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/ImageProcessor.ts:990 \u00B7 src/ImageProcessor.ts:1854 \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":"src/ImageProcessor.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"5236740faf77ca132fe967c0cb1427159a44db5ed72cc274cb4b896494be3e1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/PresetSelectionModal.ts:213 \u00B7 src/PresetSelectionModal.ts:234 \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":"src/PresetSelectionModal.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e6df2cc7b4e7268b9ef8f15b5eaf337970aa82cffc5bb92f201e40211ba436"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6 locations): scripts/p95/available-variables-modal.mjs:179 \u00B7 scripts/p95/context-menu-runtime.mjs:219 \u00B7 scripts/p95/image-alignment-popout-scope.mjs:224 \u00B7 scripts/p95/image-alignment-unload.mjs:214 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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":"scripts/p95/available-variables-modal.mjs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c1015132523801bde6ef6190e5f6cc3d738be396de7f523fb1be3a19bee1a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/stress-plugin-unload.mjs:260 \u00B7 scripts/stress-plugin-unload.mjs:290 \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":"scripts/stress-plugin-unload.mjs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba842510ead689a2e0cc47883757b5790312b46cc1b23c489ea0070169ec18c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/ContextMenu.ts:1443 \u00B7 src/ContextMenu.ts:1480 \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":"src/ContextMenu.ts"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8b19efa69d2c566f59f59f5366862d5f310dc6b92479e8315e49998ea239cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/ImageConverterSettings.ts:2716 \u00B7 src/ImageConverterSettings.ts:2735 \u00B7 src/ImageConverterSettings.ts:2760 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"989f57e2f0248c492499f7cf13dfe414521a0dbbab84b55e0468caec217257d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/PresetSelectionModal.ts:397 \u00B7 src/PresetSelectionModal.ts:426 \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":"src/PresetSelectionModal.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b63afcc1753f732d2506ae7bd016d2edb5e32d0352b448dad1ac1c492d1640"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5 locations): scripts/p95/context-menu-runtime.mjs:175 \u00B7 scripts/p95/image-alignment-popout-scope.mjs:156 \u00B7 scripts/p95/image-alignment-unload.mjs:156 \u00B7 scripts/p95/image-resizer-runtime.mjs:178 \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":"scripts/p95/context-menu-runtime.mjs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d8f32b86f83f8c58d7f601f2be7ebc7cb93b5253f0d252b4806d807e3a9921"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/ImageAlignment.ts:157 \u00B7 src/ImageAlignment.ts:224 \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":"src/ImageAlignment.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a3f0c62aae769f570ed6e936dba06a1ef5603376ab43340353e32d905708b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/ImageConverterSettings.ts:2366 \u00B7 src/ImageConverterSettings.ts:2399 \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":"src/ImageConverterSettings.ts"},"region":{"startLine":2366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a84c3cd119fac0f40c37c94cb8e2bbe4560b5a41ef5b9a3506323d46391ebf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): scripts/p95/context-menu-escape.mjs:27 \u00B7 scripts/stress-plugin-interactions.mjs:18 \u00B7 scripts/stress-plugin-unload.mjs:16 \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":"scripts/p95/context-menu-escape.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d757320e62fc5b07a7c2959074065cc06a46365c7e062b78956cd80722da58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/p95/context-menu-runtime.mjs:378 \u00B7 scripts/p95/image-alignment-unload.mjs:337 \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":"scripts/p95/context-menu-runtime.mjs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4a6d64ab13ea958561e8b125b99b4c6004d6466d10a6d4f5fc818d7378d227"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/BatchImageProcessor.ts:316 \u00B7 src/BatchImageProcessor.ts:486 \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":"src/BatchImageProcessor.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed40bf18802d045efca55d6fee78150ce969d1e8ae28d9c0b0daf10ed5b5c86d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/ContextMenu.ts:2029 \u00B7 src/ContextMenu.ts:2100 \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":"src/ContextMenu.ts"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70debf1d8f70c320b2c04f98f156025134e0058373a737a461f435dd9d47aa3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/ImageConverterSettings.ts:2037 \u00B7 src/ImageConverterSettings.ts:2095 \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":"src/ImageConverterSettings.ts"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"361e78ea4550421b16d831ad73c62a6afe0a427f2313d397ae8aa2e959aa8479"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/ImageConverterSettings.ts:2263 \u00B7 src/ImageConverterSettings.ts:2280 \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":"src/ImageConverterSettings.ts"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad83da221d67ccc01e7dcfb46515064979e2dbd0151517e3eb0155c3b1d8257"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/ContextMenu.ts:229 \u00B7 src/ImageResizer.ts:415 \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":"src/ContextMenu.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"285fef0842114521509d0c486dd75f891c273809e396dfb4a148897b6c177323"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/ContextMenu.ts:748 \u00B7 src/ContextMenu.ts:1709 \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":"src/ContextMenu.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84c8458ef2c6b50909c9b1c6b1d7b46f2bcbe2e451fb14d1ed4a9318c4138f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/ContextMenu.ts:2169 \u00B7 src/ContextMenu.ts:2232 \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":"src/ContextMenu.ts"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f31ab1ba1bd69f3ee278813b6b9a2f1090ff11fff4cc728e21c6b6b084ab2cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/ImageCaptionManager.ts:144 \u00B7 src/ImageCaptionManager.ts:186 \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":"src/ImageCaptionManager.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd8b23716f3ce195b2229e3960de81976f8062dd827a073b9032cb8a2442344"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/ImageConverterSettings.ts:1854 \u00B7 src/ImageConverterSettings.ts:2057 \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":"src/ImageConverterSettings.ts"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"639fe88d5aa5c2cec4616beb8038eb827c22cd8d151c820d0b08c0ffb5071c9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/ImageConverterSettings.ts:2505 \u00B7 src/ImageConverterSettings.ts:2634 \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":"src/ImageConverterSettings.ts"},"region":{"startLine":2505}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd5988c0e4deadb0d94a624939c53bc4c470a111101aea92ceceb1bed4803da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/p95/image-alignment-popout-scope.mjs:496 \u00B7 scripts/p95/image-alignment-unload.mjs:474 \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":"scripts/p95/image-alignment-popout-scope.mjs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3adab1c58bf9cf438706da17813616d1f4fecaa3db6159266507cc1ef574bd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): src/ImageConverterSettings.ts:579 \u00B7 src/ImageConverterSettings.ts:815 \u00B7 src/ImageConverterSettings.ts:942 \u00B7 src/ImageConverterSettings.ts:1139 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"346f918daaa381ddb4e67cedf82fb25be8cc15da3afc0497afaec87753bdc06e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/ImageConverterSettings.ts:2010 \u00B7 src/ImageConverterSettings.ts:2068 \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":"src/ImageConverterSettings.ts"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4112916f8789bc489673dc210f911f4ebcabd7531e17557a392d821979353ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/ImageConverterSettings.ts:3376 \u00B7 src/ImageConverterSettings.ts:3388 \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":"src/ImageConverterSettings.ts"},"region":{"startLine":3376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87ed09d14812d33f29b76407d9afdbf428b019340511e30a4d6197ef88a39e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/ProcessSingleImageModal.ts:550 \u00B7 src/ProcessSingleImageModal.ts:565 \u00B7 src/ProcessSingleImageModal.ts:580 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ProcessSingleImageModal.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"752dec1c6d863c23cd8ea61ae2a306d8cf863f0f9c0b7dea52be1c78e245d792"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/UTIF.js:1089 \u00B7 src/UTIF.js:1170 \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":"src/UTIF.js"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"00be644231845ed43aead2aaec5ea4cebfa5676e03fa805c74092c4588c53e12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/p95/image-resizer-runtime.mjs:397 \u00B7 scripts/p95/main-runtime-safety.mjs:380 \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":"scripts/p95/image-resizer-runtime.mjs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfb71cc077c26fd15eb97e0bf7425fab1bd2dd08fa0f94d2df82a63a80b0d36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/BatchImageProcessor.ts:107 \u00B7 src/BatchImageProcessor.ts:659 \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":"src/BatchImageProcessor.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d23b3260b1bd014c5f20025ced382a594d277710f2cde80bcdd25bbc06d966b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/BatchImageProcessor.ts:435 \u00B7 src/BatchImageProcessor.ts:598 \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":"src/BatchImageProcessor.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c1ab116f08b4a86bd863562300432da48d60465784bd7933bf06cd66f3aa23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/ContextMenu.ts:516 \u00B7 src/ContextMenu.ts:548 \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":"src/ContextMenu.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"898f273be60597775d721dd214794cf55fce3d61d440e727b4f06192fc97a2a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/Crop.ts:603 \u00B7 src/Crop.ts:616 \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":"src/Crop.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7a8a1921859b02a9a3c76b1c66a8ecd0f27d318c20601b596dfcddc8f1b561"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/ImageAlignmentManager.ts:218 \u00B7 src/ImageAlignmentManager.ts:267 \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":"src/ImageAlignmentManager.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0493eacdd383566a8471b6f2b40d030612eb5a519970dc42162660b3f9c132"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/ImageAlignmentManager.ts:1017 \u00B7 src/ImageAlignmentManager.ts:1029 \u00B7 src/ImageAlignmentManager.ts:1041 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAlignmentManager.ts"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"c101e1e545d98792d886f63e11dedd03db881acfc72c659fa6e58dd5e9b3684a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/ImageAnnotation/ui/ToolbarBuilder.ts:258 \u00B7 src/ImageAnnotation/ui/ToolbarBuilder.ts:286 \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":"src/ImageAnnotation/ui/ToolbarBuilder.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f64e78555ba2749b2670fbcecd35b71b5d63467d9f05e89a8289daf74d9516"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 11 locations): src/ImageConverterSettings.ts:1185 \u00B7 src/ImageConverterSettings.ts:1203 \u00B7 src/ImageConverterSettings.ts:1215 \u00B7 src/ImageConverterSettings.ts:1236 \u00B7 \u002B7 more site(s) not listed \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f188c22b388e44b7aed9723374cd2567cdd0b1c90ad30a5a891690e6ee8d542"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/ImageProcessor.ts:133 \u00B7 src/ImageProcessor.ts:340 \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":"src/ImageProcessor.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b8234c722e3d55e4b0696d5938a0ad3da0749a2d08339b58f6d6c1b88175d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/ImageProcessor.ts:210 \u00B7 src/ImageProcessor.ts:368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1e999e3a2415eae5cfcc2d5b23fe8e241c37674c89bed3611c93755a2c5148"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/utils/ffmpegPath.ts:64 \u00B7 src/utils/ffmpegPath.ts:79 \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":"src/utils/ffmpegPath.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8b4da275e8cae2f35dbb1358eef5df243c536589725b50d71b7c9bb27554d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): scripts/p95/context-menu-escape.mjs:202 \u00B7 scripts/p95/context-menu-runtime.mjs:266 \u00B7 scripts/p95/image-alignment-popout-scope.mjs:302 \u00B7 scripts/p95/image-alignment-unload.mjs:290 \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":"scripts/p95/context-menu-escape.mjs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6060780e41668d0ad5cb2be75bcb0011d458ad86d68ec6216a825f05c1aa58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/p95/image-alignment-popout-scope.mjs:162 \u00B7 scripts/stress-plugin-unload.mjs:129 \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":"scripts/p95/image-alignment-popout-scope.mjs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c60d8b5aac7cce67f69f983e6ac94abb674e217f06be0765b04879b727d805"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/ImageAlignment.ts:103 \u00B7 src/ImageAlignment.ts:113 \u00B7 src/ImageAlignment.ts:123 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAlignment.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e196db6d9d4016de6168433dc754fb8f7bdccc890efe170a576133d7a2a086f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/ImageAlignmentManager.ts:1078 \u00B7 src/ImageAlignmentManager.ts:1089 \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":"src/ImageAlignmentManager.ts"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb0ce98b2753b2b12ea1920d2a98a6c6e48fc0961e33e88630e3a5ebbe8a77a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/ProcessCurrentNote.ts:224 \u00B7 src/ProcessCurrentNote.ts:246 \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":"src/ProcessCurrentNote.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d24a122bd8563a8454504ea15343a49e602686985d86e593346f2b93eaa1fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/ProcessCurrentNote.ts:588 \u00B7 src/ProcessCurrentNote.ts:606 \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":"src/ProcessCurrentNote.ts"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b3b56935ac0da0bbc1607f5440a1cb7452a8adbf74c26bc24a8cc277e1931f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/ProcessFolderModal.ts:741 \u00B7 src/ProcessFolderModal.ts:752 \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":"src/ProcessFolderModal.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc21dffc3739dddf02b046c885ab9ca0274e25a2db9462cc64bcddc3f4a716af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/copy-to-testing-vault.mjs:32 \u00B7 src/utils/ffmpegPath.ts:95 \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":"scripts/copy-to-testing-vault.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e47e3ad963cfe5f404aea56f0fafd506e7341e179dadaa60fc4868e9bebd1a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): scripts/p95/available-variables-modal.mjs:426 \u00B7 scripts/p95/context-menu-runtime.mjs:546 \u00B7 scripts/p95/image-alignment-popout-scope.mjs:547 \u00B7 scripts/p95/image-alignment-unload.mjs:515 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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":"scripts/p95/available-variables-modal.mjs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc628efa2d8f01b2625e5a24ca73218cd5b6cc0bb97c8a7f8e528f5328cd2e2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/p95/image-alignment-unload.mjs:184 \u00B7 scripts/p95/image-resizer-runtime.mjs:197 \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":"scripts/p95/image-alignment-unload.mjs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a350cced23b58b090eb01477e452e9ba2b9602f9ba1b334494b10d4f86a76f02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/stress-plugin-interactions.mjs:264 \u00B7 scripts/stress-plugin-interactions.mjs:281 \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":"scripts/stress-plugin-interactions.mjs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3247307774d793710adde4a8d516f8d5c5fe4a8168145bb75b61e4276e7a4852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/BatchImageProcessor.ts:67 \u00B7 src/BatchImageProcessor.ts:296 \u00B7 src/BatchImageProcessor.ts:421 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BatchImageProcessor.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"510e3f5536a95424047ce004f14e02b0984cd1e62af0691db71f26a7c68021d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/Crop.ts:948 \u00B7 src/ImageAnnotation/export/ImageExporter.ts:395 \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":"src/Crop.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"468c7c1a18371254894e9e179d2305f1d88a087615313c15d2484dd9f0d312ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/ImageAnnotation/ui/ToolbarBuilder.ts:189 \u00B7 src/ImageAnnotation/ui/ToolbarBuilder.ts:200 \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":"src/ImageAnnotation/ui/ToolbarBuilder.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a365b072c57c14a90b0fc71f8ba6b66fb741a1f6e96b78cb60d6ead15bd61e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/VariableProcessor.ts:778 \u00B7 src/VariableProcessor.ts:1010 \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":"src/VariableProcessor.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"93237aca368c52215aaf12c69c58d1b26f86cde35c1a8b5618a1bccab11be541"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/p95/main-runtime-safety.mjs:450 \u00B7 scripts/p95/main-runtime-safety.mjs:464 \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":"scripts/p95/main-runtime-safety.mjs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2f4d1bce5d805a2e8c2041f1d90a92a285ce45f9c64d9d9ebac8b1339f4232"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/stress-plugin-interactions.mjs:352 \u00B7 scripts/stress-plugin-interactions.mjs:369 \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":"scripts/stress-plugin-interactions.mjs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b157a3241e494b3a29664e45a75c7e2cb13d90f572134618f947d8f9fa84414"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/stress-plugin-interactions.mjs:372 \u00B7 scripts/stress-plugin-interactions.mjs:386 \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":"scripts/stress-plugin-interactions.mjs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15077af053232634c1864d431c8f469d308a0f596d999b6f2cc05c204d8d60a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/FolderAndFilenameManagement.ts:42 \u00B7 src/FolderAndFilenameManagement.ts:52 \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":"src/FolderAndFilenameManagement.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46f523d0d20199d1e62b9a3c9d5f66f24b2ae025d1d8a6c1cba32ae165096fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/ImageAlignmentManager.ts:829 \u00B7 src/ProcessFolderModal.ts:897 \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":"src/ImageAlignmentManager.ts"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9cc797152b8239f1e5508ec68cf88ddd9696d4826dbfa9dc0dfa7a7a980a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/ImageAnnotation/ui/ToolbarBuilder.ts:217 \u00B7 src/ImageAnnotation/ui/ToolbarBuilder.ts:228 \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":"src/ImageAnnotation/ui/ToolbarBuilder.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f43d72604eb697a1f7eb4bdefa39f378a7998ac70d4d9c81c959c9f5ae9636"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/ImageConverterSettings.ts:612 \u00B7 src/ImageConverterSettings.ts:1335 \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":"src/ImageConverterSettings.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1579c5a2a325b0a454724c911c9c67e95c8aa68caf04f5930af28117e97d66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/ImageConverterSettings.ts:1446 \u00B7 src/ImageConverterSettings.ts:1454 \u00B7 src/ImageConverterSettings.ts:1463 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cc277281f1ed9be50acfd5e46dbbf1741b9e0d82c7a9d1b7b4ad1f5a0af75a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/ImageResizer.ts:1634 \u00B7 src/ImageResizer.ts:2368 \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":"src/ImageResizer.ts"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3e3ef310a613d4a467be58490bc4107045b80624bd8eb0ec6f6fbc34b7ce1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/p95/context-menu-runtime.mjs:501 \u00B7 scripts/p95/image-resizer-runtime.mjs:623 \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":"scripts/p95/context-menu-runtime.mjs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"53383a66f4cf6dd388a6b319aa6425c4dcd0386aa5648460f64e44ea90118b6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/stress-plugin-interactions.mjs:48 \u00B7 scripts/stress-plugin-unload.mjs:48 \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":"scripts/stress-plugin-interactions.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc609ceca0c941899b86d6575d5e2964f77de34492dc017210c82b7d373c89f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/BatchImageProcessor.ts:392 \u00B7 src/BatchImageProcessor.ts:587 \u00B7 src/BatchImageProcessor.ts:786 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BatchImageProcessor.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b1f193f7e263f9481bab2a4d121fa644461e943193a756e5459555c2f13e52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/BatchImageProcessor.ts:463 \u00B7 src/BatchImageProcessor.ts:470 \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":"src/BatchImageProcessor.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d2048455763bd145bbb6bf82ca10438663299a7cdd3baff077ce55426396d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/ImageAnnotation/ImageAnnotationModal.ts:890 \u00B7 src/ImageAnnotation/ImageAnnotationModal.ts:899 \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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"5096a091bd4fc8443426ed702335a1cd05b35be07e004f5e26d499cb3686bd66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/ImageAnnotation/ui/ToolbarBuilder.ts:248 \u00B7 src/ImageAnnotation/ui/ToolbarBuilder.ts:276 \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":"src/ImageAnnotation/ui/ToolbarBuilder.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83f5057dec9beefa79b74dfed5932093e97030a7a1392ac44bd35c305d4ab25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): src/ImageConverterSettings.ts:1014 \u00B7 src/ImageConverterSettings.ts:1213 \u00B7 src/ImageConverterSettings.ts:1246 \u00B7 src/ImageConverterSettings.ts:1273 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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":"src/ImageConverterSettings.ts"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"424f46839b0f410d1c2a2422c1cecad997611cf9cf1250ef6c1c21309a069dd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/UTIF.js:903 \u00B7 src/UTIF.js:941 \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":"src/UTIF.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"6537eb510acda92e251ae94582850048a37fbf402cd08c41477320cbd63afba5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/UTIF.js:1079 \u00B7 src/UTIF.js:1150 \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":"src/UTIF.js"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb1423bc58958adc1e24b8a316cc89cc1ee922598e4f0bd6bfb1b6f56318d05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): src/ImageAlignmentManager.ts:967 \u00B7 src/ImageAlignmentManager.ts:975 \u00B7 src/ImageAlignmentManager.ts:983 \u00B7 src/ImageAlignmentManager.ts:991 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAlignmentManager.ts"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"811e9fd6c94d7474c395bfd990e5ad2d4e4fda93d06a99ae02261c4ef483fa1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/ImageAnnotation/utils/colorUtils.ts:155 \u00B7 src/ImageProcessor.ts:2218 \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":"src/ImageAnnotation/utils/colorUtils.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c65b268782e8e1f75976f079c5a23efe4ff795689fe6c7542387841ec804e3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/ImageCaptionManager.ts:280 \u00B7 src/ImageCaptionManager.ts:286 \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":"src/ImageCaptionManager.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab43a237e6db1a0dcadc21831475fd97d60dcfe2b4d925c11e879b4b9e6fe4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/ImageProcessor.ts:915 \u00B7 src/ImageProcessor.ts:1841 \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":"src/ImageProcessor.ts"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a8733b23041aa435ba0deb92ca0b3fc3d28a196405c67195baf308d33786eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/PresetSelectionModal.ts:384 \u00B7 src/PresetSelectionModal.ts:403 \u00B7 src/PresetSelectionModal.ts:432 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PresetSelectionModal.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53c1b7eea53d522f8e00bf9b069c680661478f439ad5f0eadf0630baf2bcd12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/VariableProcessor.ts:1283 \u00B7 src/VariableProcessor.ts:1293 \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":"src/VariableProcessor.ts"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cd65ac21c2f3b32f117b010c349a92317d56173a15dd84b4b8a4da6755ea2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): scripts/p95/context-menu-escape.mjs:47 \u00B7 scripts/p95/context-menu-runtime.mjs:65 \u00B7 scripts/p95/image-resizer-runtime.mjs:79 \u00B7 scripts/stress-plugin-interactions.mjs:36 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/p95/context-menu-escape.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a478d8b098819e5f02de64b50a4dba3a105b60f75c28e7cd6a4bb8b769623cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/p95/context-menu-runtime.mjs:70 \u00B7 scripts/p95/image-resizer-runtime.mjs:84 \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":"scripts/p95/context-menu-runtime.mjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4432b2ffcc900a8ddb80032d62b8cfd801883469384747d8d8e349c96d98d86b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/stress-plugin-interactions.mjs:473 \u00B7 scripts/stress-plugin-unload.mjs:773 \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":"scripts/stress-plugin-interactions.mjs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"318de0223187f404c9d51a7a354627e95d2ab9e3436167c98891103e0f898561"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/ImageAlignmentManager.ts:947 \u00B7 src/ImageAlignmentManager.ts:953 \u00B7 src/ImageAlignmentManager.ts:959 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAlignmentManager.ts"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89da16347c55f560925f56c88a2287f4b847d1f03822e14641db1acbc8f3a94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/ImageConverterSettings.ts:451 \u00B7 src/PresetSelectionModal.ts:647 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"src/ImageConverterSettings.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"803e63c0ce885b1468c420286e29b1a06537dcc09c9668f1092bad24e0f77bea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/UTIF.js:281 \u00B7 src/UTIF.js:299 \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":"src/UTIF.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"4052205f32a644a8629e64ec4d6768e305920c7fb7a4320fa5f33075751f826e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/VariableProcessor.ts:1453 \u00B7 src/VariableProcessor.ts:1471 \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":"src/VariableProcessor.ts"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"704142715fda948829e72e744404575be2a1e18eb85661ad0dbf2bb9e0fecb0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toRGBA8 (cyclomatic 90, cognitive 217): toRGBA8 has cyclomatic complexity 90 and cognitive complexity 217; 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":"src/UTIF.js"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6757d269158e9367dad06404f8512fe5f5788c6ba858220fb3a6c86e59972750"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 67, cognitive 95): parse has cyclomatic complexity 67 and cognitive complexity 95; 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":"src/UTIF.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f239a89d5bba5ca48ddb8029b04690f799257c3b842671fb5e981f9e7eb809a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _readIFD (cyclomatic 66, cognitive 151): _readIFD has cyclomatic complexity 66 and cognitive complexity 151; 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":"src/UTIF.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d1849d18cdd3f252bf7b3dffb1a9a11b6f40c519ba75dba9b8e7ca94b88ec3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResizeParams (cyclomatic 59, cognitive 94): getResizeParams has cyclomatic complexity 59 and cognitive complexity 94; 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":"src/LinkFormatter.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d844af806cc9c521633787913854d1acf7a891906ec05dbc432f384036cd74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function av (cyclomatic 57, cognitive 206): av has cyclomatic complexity 57 and cognitive complexity 206; 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":"src/UTIF.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a6d2fbd7f96c1837b219b7ab2a5659260dcdf0da28567fbb9177b61b7e963a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 122): (anonymous) has cyclomatic complexity 54 and cognitive complexity 122; 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":"src/main.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca9a0665c62dcf6c30da83b888687693bf23b2a903671825f3cd442ef1892a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 122): (anonymous) has cyclomatic complexity 54 and cognitive complexity 122; 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":"src/main.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c971c26f78b11f485cd3c63345b698583c36733abdcad571258a8dec0bc3c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decodeOldJPEGInit (cyclomatic 54, cognitive 117): _decodeOldJPEGInit has cyclomatic complexity 54 and cognitive complexity 117; 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":"src/UTIF.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"2650e8465fac11e7ab05f3902858b81382d2426cb22963118c44475c59d9295d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureMainRuntimeSafetyInObsidian (cyclomatic 51, cognitive 59): measureMainRuntimeSafetyInObsidian has cyclomatic complexity 51 and cognitive complexity 59; 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":"scripts/p95/main-runtime-safety.mjs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2bc6f289e35ea6ab782f62580ef66e6403bb4d427c5803da4c657327040f69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processDynamicVariables (cyclomatic 50, cognitive 55): processDynamicVariables has cyclomatic complexity 50 and cognitive complexity 55; 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":"src/VariableProcessor.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b5f4e65003d355db7644122a4aad6c89a17fa19de50ee9555e275ed99d3879"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureContextMenuRuntimeInObsidian (cyclomatic 49, cognitive 63): measureContextMenuRuntimeInObsidian has cyclomatic complexity 49 and cognitive complexity 63; 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":"scripts/p95/context-menu-runtime.mjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"702b14f57f8df951f5cc8f8ef2c4fc54b370b45469b61c0b8225d2d1252a7043"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureImageAlignmentUnloadInObsidian (cyclomatic 49, cognitive 52): measureImageAlignmentUnloadInObsidian has cyclomatic complexity 49 and cognitive complexity 52; 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":"scripts/p95/image-alignment-unload.mjs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f26474479998143ff6e7dddf8c3e61896a2e5fec67137cfd1c025a3ea02dcbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decompress (cyclomatic 44, cognitive 63): _decompress has cyclomatic complexity 44 and cognitive complexity 63; 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":"src/UTIF.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"542fa89db33fcc8cb8a6402e6742a5a65d09cf6633c9b01344a5e680b1b4d301"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureImageResizerRuntimeInObsidian (cyclomatic 42, cognitive 59): measureImageResizerRuntimeInObsidian has cyclomatic complexity 42 and cognitive complexity 59; 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":"scripts/p95/image-resizer-runtime.mjs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9b5155496b064307643fa32dfaad4f4314a99d94086ec9db08ff2fd5fe3af6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decodePanasonic (cyclomatic 41, cognitive 137): _decodePanasonic has cyclomatic complexity 41 and cognitive complexity 137; 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":"src/UTIF.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2dab775e2364f6a54a1439c558edd6b120b15288629b21d1a5255727d9e38e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function l (cyclomatic 41, cognitive 104): l has cyclomatic complexity 41 and cognitive complexity 104; 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":"src/UTIF.js"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"c045d939136b90606c0ceece952b839e122a67a7ed4e87fd24459dba49324c86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addPresetSummary (cyclomatic 41, cognitive 83): addPresetSummary has cyclomatic complexity 41 and cognitive complexity 83; 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":"src/ImageConverterSettings.ts"},"region":{"startLine":4086}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d50f108a0952a85941f5c1ca90c7afa7c316004eb56f95b064ea8536fb9bc45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureImageAlignmentPopoutScopeInObsidian (cyclomatic 41, cognitive 45): measureImageAlignmentPopoutScopeInObsidian has cyclomatic complexity 41 and cognitive complexity 45; 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":"scripts/p95/image-alignment-popout-scope.mjs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f6a2b0a12c95c5de4ffd9a2ce63e9e613a28d343ce4a87d3bde10b7381cc05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 61): (anonymous) has cyclomatic complexity 36 and cognitive complexity 61; 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":"src/ImageResizer.ts"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"496fdab89608c870dbaa923736a1e3d884b3f4ca5b94f9df618dd4b8ff3cdb17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeImage (cyclomatic 34, cognitive 48): decodeImage has cyclomatic complexity 34 and cognitive complexity 48; 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":"src/UTIF.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fcd14b0748cafc6272559c2ed9eb2b1f27b807ba36be156df0ee7780f57c59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processLinkedImagesInFolder (cyclomatic 33, cognitive 74): processLinkedImagesInFolder has cyclomatic complexity 33 and cognitive complexity 74; 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":"src/BatchImageProcessor.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"505c6018394f67200ef38e10f94602dcc9a788b7f1fa20f4ff597d936ffbd27d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _writeIFD (cyclomatic 33, cognitive 61): _writeIFD has cyclomatic complexity 33 and cognitive complexity 61; 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":"src/UTIF.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ea27d2906c7136c5d9bfb3717a35c78bf16e24dd04cfcf6d6cc18fe4ad6757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateBounds (cyclomatic 33, cognitive 34): calculateBounds has cyclomatic complexity 33 and cognitive complexity 34; 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":"src/ImageAnnotation/export/ImageExporter.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"694580e810d5476d30f3b31c5a40c40d3c7e6814db0e4a16bd277dc47f51ca26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureAvailableVariablesModalInObsidian (cyclomatic 32, cognitive 37): measureAvailableVariablesModalInObsidian has cyclomatic complexity 32 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/p95/available-variables-modal.mjs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccae1ee258227c5e213eee3706379859f5b53132a6e372e893de78afcdb87816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureContextMenuEscapeInObsidian (cyclomatic 32, cognitive 37): measureContextMenuEscapeInObsidian has cyclomatic complexity 32 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/p95/context-menu-escape.mjs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5629e6a92afb02cebca2a30a89d077cc8871ec43de86e4927f73ff2f75f6dfcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stressUnloadInObsidian (cyclomatic 32, cognitive 35): stressUnloadInObsidian has cyclomatic complexity 32 and cognitive complexity 35; 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":"scripts/stress-plugin-unload.mjs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab3c24fa903fc6a5863d90767de23517c4456a77bee7279e099f560150e3b1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 30): (anonymous) has cyclomatic complexity 31 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":"tests/helpers/test-setup.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d54a6ca5030750e9205e475f88ea837c96bba7165a7d4ae58191448dff8a03f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decodeNewJPEG (cyclomatic 30, cognitive 58): _decodeNewJPEG has cyclomatic complexity 30 and cognitive complexity 58; 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":"src/UTIF.js"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"c877b793b1492f46a8ddb18ca7b70c6f7258204cb7f97f8733fb01b8bbe4bf83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 30, cognitive 33): parseArgs has cyclomatic complexity 30 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/p95/context-menu-runtime.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2071b5abb51ed8ad5287cd525ccfcc335dfafc0a5df18c292f8b0f002498ab6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 30, cognitive 32): parseArgs has cyclomatic complexity 30 and cognitive complexity 32; 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":"scripts/p95/context-menu-escape.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fa77039f7a3e40cd1a7005484bc4918b692c5268b2e5e2ec441a0128973747"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleImageHover (cyclomatic 29, cognitive 34): handleImageHover has cyclomatic complexity 29 and cognitive complexity 34; 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":"src/ImageResizer.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"2887152702b7c22c5c3e3ac36a6aa5fa0d5a19e521f6bfb99a0fbfdfaafe11b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadCurrentDimensions (cyclomatic 27, cognitive 60): loadCurrentDimensions has cyclomatic complexity 27 and cognitive complexity 60; 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":"src/ContextMenu.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a30da424953745558b658bed34e0acbaf3e87759271d3e3880d890a5f399beb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processImagesInNote (cyclomatic 27, cognitive 44): processImagesInNote has cyclomatic complexity 27 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/BatchImageProcessor.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ee28916bac0896fb46b255c606f251b260353927b5ed71c946a1f2432d0a58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 27, cognitive 30): parseArgs has cyclomatic complexity 27 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/p95/image-resizer-runtime.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"82de7ce26a4a6f9b4b4366261a3dde5e4b6f7e7f51d2135335ebaaaaa7634ca3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMouseWheel (cyclomatic 27, cognitive 28): handleMouseWheel has cyclomatic complexity 27 and cognitive complexity 28; 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":"src/ImageResizer.ts"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dfa0af929c5138f9d526c08bc4829ddc6dfad896ef8c5bf0b01d92df85ce74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processImage (cyclomatic 26, cognitive 35): processImage has cyclomatic complexity 26 and cognitive complexity 35; 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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3380396e38c2d7b4f4ffec89708e9c52213a1ccfb303d77988b428b8d15985"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processAllVaultImages (cyclomatic 25, cognitive 43): processAllVaultImages has cyclomatic complexity 25 and cognitive complexity 43; 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":"src/BatchImageProcessor.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"4241c5016c52fa56175f337fe5e2547376f32fd8697bf7ae6a6075b32fd1d465"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decodeNikon (cyclomatic 25, cognitive 40): _decodeNikon has cyclomatic complexity 25 and cognitive complexity 40; 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":"src/UTIF.js"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"393eff21d8743ae107dfd46782f77c358bc21dd5c0b8d498e53edb2a4d6f1b4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runResizeCalc (cyclomatic 25, cognitive 32): runResizeCalc has cyclomatic complexity 25 and cognitive complexity 32; 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":"src/ImageResizer.ts"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf5b597488d54dc35ffb98f80183539e0ed52112e8e761cf2dd8f0ccc4cc1ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function al (cyclomatic 24, cognitive 44): al has cyclomatic complexity 24 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4556db5dd02482cc20b071c29bea33ca3ddfad88511036f95aaa13244e4f7e7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateResizePresetFormFields (cyclomatic 24, cognitive 21): updateResizePresetFormFields has cyclomatic complexity 24 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"src/ImageConverterSettings.ts"},"region":{"startLine":3456}}}],"partialFingerprints":{"codehealthFindingId/v1":"3801121ab06621aceb45c445e5c847c5bba00e1448487c825da944f410749483"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decodeARW (cyclomatic 23, cognitive 52): _decodeARW has cyclomatic complexity 23 and cognitive complexity 52; 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":"src/UTIF.js"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fcf79b37775a41781e6e2f16d498cc9f6b33bbce1293eff70107b50cbf8280"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 23, cognitive 26): parseArgs has cyclomatic complexity 23 and cognitive complexity 26; 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":"scripts/p95/available-variables-modal.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3844998ce2e7f89f6b25b13299984ab0bb683f1ccbc02aebe2c23895fa45eb56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 23, cognitive 26): parseArgs has cyclomatic complexity 23 and cognitive complexity 26; 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":"scripts/p95/image-alignment-popout-scope.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f16adefc16b59baf80b4f034cff1bd131f01828f263b97f21f794b15db6b3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 23, cognitive 26): parseArgs has cyclomatic complexity 23 and cognitive complexity 26; 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":"scripts/p95/image-alignment-unload.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"76002964c7567998ebc4f468c2a7aa93b605786809644391ba3a011faf32c65d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 23, cognitive 26): parseArgs has cyclomatic complexity 23 and cognitive complexity 26; 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":"scripts/p95/main-runtime-safety.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac441d6d06e64bae9e887de5803a1cb6e382b28db03086f5498315821789093"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processImageHelper (cyclomatic 23, cognitive 26): processImageHelper has cyclomatic complexity 23 and cognitive complexity 26; 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":"src/ImageProcessor.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"203a599b85996ffd19037df49d5ce3b410374be6d780c3d6761dbfa408a7c9bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decodeG3 (cyclomatic 22, cognitive 66): _decodeG3 has cyclomatic complexity 22 and cognitive complexity 66; 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":"src/UTIF.js"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fede8e63463fa6fcd5ee1e27691cd7ba47ebf664274539a84973524a7d4a730"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function a7 (cyclomatic 22, cognitive 63): a7 has cyclomatic complexity 22 and cognitive complexity 63; 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":"src/UTIF.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f2f7be4bbfba7ecd3f983500c1047fa4762eefec16f7ae0851afa8bf62d9fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCaptionFromFullMatch (cyclomatic 22, cognitive 36): getCaptionFromFullMatch has cyclomatic complexity 22 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"780b244c5d69d2fe4b99166d6b62caf9cef559433c0b26095807c803e6d45a4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadPreset (cyclomatic 22, cognitive 34): loadPreset has cyclomatic complexity 22 and cognitive complexity 34; 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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea77f032593fbf8c154fe896e98072664c033b81d494add950271e19f571977"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stressInteractionsInObsidian (cyclomatic 22, cognitive 22): stressInteractionsInObsidian has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/stress-plugin-interactions.mjs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1541f6d365a77d83bab27c64675cf2afa9b1149fb0672576d3b0e702964703"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveImage (cyclomatic 22, cognitive 19): saveImage has cyclomatic complexity 22 and cognitive complexity 19; 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":"src/Crop.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"2409f6b2039a1aa02d8f9cdcfa2c7c7ce5b99ed75d7aa1bf869cd7f290166055"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function N (cyclomatic 21, cognitive 46): N has cyclomatic complexity 21 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"1674b2e614fe7858f22ee509ae8226b8c48050cfc32656e091191b32ceea0533"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function r (cyclomatic 21, cognitive 27): r has cyclomatic complexity 21 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8915599e276b3667cd1b12862f494a6f32cedb5e927fed3a5e81b3678af03b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exifFrom (cyclomatic 21, cognitive 16): exifFrom has cyclomatic complexity 21 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":"tests/factories/exif.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cec149a474e19557e2601ce1a370472548e6ee0fde6a8b6f5f778b640822130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findImageMatches (cyclomatic 20, cognitive 48): findImageMatches has cyclomatic complexity 20 and cognitive complexity 48; 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":"src/ContextMenu.ts"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15ea84bae840fbb2ca59abae3da272a92350dc91b343b54baaad2acaab5be65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 45): (anonymous) has cyclomatic complexity 20 and cognitive complexity 45; 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":"src/ImageConverterSettings.ts"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf5e6942ae7115d7cddd180c2a56f60fae88a5a63a7917a0892ee3d21ab83ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMimeTypeFromFile (cyclomatic 20, cognitive 26): getMimeTypeFromFile has cyclomatic complexity 20 and cognitive complexity 26; 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":"src/SupportedImageFormats.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc6e49b6d7d3b4099ab99eebee72433207bb1653c32a4e494071aa0ea00cbb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 20, cognitive 21): parseArgs has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/stress-plugin-unload.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e16633d048246a00f4a1a1f32f6e32a7d3962cbaecebd8d0011d67947262a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 21): (anonymous) has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PresetSelectionModal.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb9ab43ef240857f78e1fa8b20bc5e9ad70f2be3641c9d3bbde12bc4ee0c698"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleEdgeDetection (cyclomatic 20, cognitive 20): handleEdgeDetection has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee4d652b09ec0f8efb27956cd137f1c1adc747e4a0a1063d9ade8682f8fceb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function a4 (cyclomatic 19, cognitive 45): a4 has cyclomatic complexity 19 and cognitive complexity 45; 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":"src/UTIF.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1150f54cb8d04629d9ca5341057d0e110856b8122a11e7f9fc3c71f0657c73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMarkdownLink (cyclomatic 19, cognitive 20): updateMarkdownLink has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d397f8165f8defe3faa563b1d2bf63aa8b40021ad69e071d7b413d7e6a36880"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 19): (anonymous) has cyclomatic complexity 19 and cognitive complexity 19; 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":"src/ImageConverterSettings.ts"},"region":{"startLine":3820}}}],"partialFingerprints":{"codehealthFindingId/v1":"7768a14523c131b28ee85198c62f937be694b54641fdcb5de85015f64a71de0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCursorPositionDuringResize (cyclomatic 18, cognitive 26): updateCursorPositionDuringResize has cyclomatic complexity 18 and cognitive complexity 26; 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":"src/ImageResizer.ts"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"04744f04bb076663c243a8f9a0170f890e1349b3cb8eea178c51fefaee7d5df0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateDesiredDimensions (cyclomatic 18, cognitive 19): calculateDesiredDimensions has cyclomatic complexity 18 and cognitive complexity 19; 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":"src/ImageProcessor.ts"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eb07f4a1d0ef2bf5a56e24c75908cbdb7193bbb6e04950a49cba7bc5994fbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 18): (anonymous) has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Crop.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bbd828f7d25f1021f76ccfccb6a6d1c24bbdf85bfcf8db033a07098fa98b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 18, cognitive 17): save has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/export/ImageExporter.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c0222e1c96475d96a793829a880884197b7c9bc8eb98da83dbd304faba50fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImageClickOverrideContext (cyclomatic 18, cognitive 15): getImageClickOverrideContext has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f617d07767d14e8c3f372d7758360e15cbbe334d9a4c60330101c58eee1ac47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImageMetadata (cyclomatic 17, cognitive 30): getImageMetadata has cyclomatic complexity 17 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VariableProcessor.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"d978e0ad43c5fe335470cbdaf0eae01065896acc6356c788dd6f1969d08fa77a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImagePath (cyclomatic 17, cognitive 25): getImagePath has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/FolderAndFilenameManagement.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1b2e62d72acfd0e165e2770de4e4d77e161c009860eb7aae0da41fe5260753"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMouseUp (cyclomatic 17, cognitive 20): handleMouseUp has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b29e684f5755614e8de47bb8351000a3d533d5990e7e0e2952fba336bed55d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 20): (anonymous) has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PresetSelectionModal.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39da9b3ee8200a8cfc73cbee66c862953fff9a1b3c91172580f8bb8a5b24afe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function M (cyclomatic 16, cognitive 24): M has cyclomatic complexity 16 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":"src/UTIF.js"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0da5778a105059f2e345f4c1ff3312006321a5ed264d332462db59d5e84a187"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchTool (cyclomatic 16, cognitive 19): switchTool has cyclomatic complexity 16 and cognitive complexity 19; 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":"src/ImageAnnotation/managers/ToolManager.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"32acee16b44877aebc647050e10ffc6bac58a27138bcd37e6f88d498baf02475"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertLinkAtCursorPosition (cyclomatic 16, cognitive 19): insertLinkAtCursorPosition has cyclomatic complexity 16 and cognitive complexity 19; 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":"src/main.ts"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc69fefc891520815cadb87840f7a21157a8e8892eb3e65402c4eadce575d37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 18): (anonymous) has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/export/ImageExporter.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d8d3877697fe758e16ba2c9a49b3d81e7265589acab08c61ecb0f52b06d584"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 16, cognitive 17): parseArgs has cyclomatic complexity 16 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":"scripts/stress-plugin-interactions.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d069faff8e5b4045b8fba20d4e8e41728f73cde748f55f604fe7706f75d8001"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConversionPresetSummary (cyclomatic 16, cognitive 17): getConversionPresetSummary has cyclomatic complexity 16 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":"src/ImageConverterSettings.ts"},"region":{"startLine":3243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4211cf595497d7de08dc15ee7eafe8c86f0e12ed95501892eb0baa6bfe4ae88a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decodeG4 (cyclomatic 15, cognitive 35): _decodeG4 has cyclomatic complexity 15 and cognitive complexity 35; 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":"src/UTIF.js"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89b1ff49f3dfa56d5e282ab6e071cb462a2a455c6691294d90ac6b1c37d7886"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRenameAndMove (cyclomatic 15, cognitive 33): handleRenameAndMove has cyclomatic complexity 15 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e19a3bc5349ad126363d6dedde53d255553fd33d2749165cae1c8f202655ced"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processImagesInFolder (cyclomatic 15, cognitive 24): processImagesInFolder has cyclomatic complexity 15 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":"src/BatchImageProcessor.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0624b9d800cef67811a6cdbe9f2655045d2a6bbcdad64ff1044b9e5784cd3e92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAvailableVariables (cyclomatic 15, cognitive 24): getAvailableVariables has cyclomatic complexity 15 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":"src/VariableProcessor.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"9818bbb9d992ac17bfd5244a6256dfd2f625afd75dc9a2ec1c8a2704483ad696"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateConversionPresetFormFields (cyclomatic 15, cognitive 18): updateConversionPresetFormFields has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc8e90c9bdf152553cf9dacf1a36c6e39fdcde03e62d551abc9dad032227d6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 17): (anonymous) has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"739a78e1a4a435e660f8ca9d07d3908a1fe591fe1a439647d4a53d8ca9ab1851"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _ (cyclomatic 15, cognitive 14): _ 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":"src/UTIF.js"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"7931578698a2c870aa4dc0ea54eb2dce807453aa00acf494b54305491286f6c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isExcalidrawImage (cyclomatic 15, cognitive 13): isExcalidrawImage has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"src/SupportedImageFormats.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1c5e3217eb070f446495b9830be316d553af8b2714bbaecebf8e0cd1217b37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 19): (anonymous) has cyclomatic complexity 14 and cognitive complexity 19; 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":"src/ContextMenu.ts"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e489b9cf9b02fcb5055e2e9534cb592a74e7adc1d33958dd0a07e484eb11392"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function forEachLineOutsideFrontmatter (cyclomatic 14, cognitive 17): forEachLineOutsideFrontmatter has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":1816}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadf169492dd54d54c588086d623b684b1dde730ede3c19c02f71e33b0bb0bd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteImageAndLinkFromNote (cyclomatic 14, cognitive 16): deleteImageAndLinkFromNote has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ContextMenu.ts"},"region":{"startLine":2282}}}],"partialFingerprints":{"codehealthFindingId/v1":"5820d051436df689f337b4260cecd8a0f0cf324ab2ae7d137ff05f83b6d19def"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e655e149b1e7d5b9bb960068810a49bc1852fed5b73b097234575c7aba184b96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processImageEmbed (cyclomatic 14, cognitive 14): processImageEmbed has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageCaptionManager.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b041436d75036512fb38888a81173dad377beb5c9d5a69d6febcc497f81431"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decompressRAF (cyclomatic 13, cognitive 31): _decompressRAF has cyclomatic complexity 13 and cognitive complexity 31; 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":"src/UTIF.js"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e7058c232b4640f05cda4996f18dfa81050e294f69163ea6d7b9e64819252a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRelativePath (cyclomatic 13, cognitive 23): getRelativePath has cyclomatic complexity 13 and cognitive complexity 23; 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":"src/ImageAlignmentManager.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fd453c04c0fa5bb50f351894bb2d99f4537b512bf18c7b3629b1e9e34f16a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Y (cyclomatic 13, cognitive 20): Y has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a1f2a5594d206fa40ca6cd00dbd343f403d2b49428c60698c19ba5f9415024"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1750cc13e2d6b074322b1d85c50da88cb5ef73b62019b59eb15f31dc0915ba3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertAndCompress (cyclomatic 13, cognitive 10): convertAndCompress has cyclomatic complexity 13 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":"src/ImageProcessor.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10c77b8840c3de85908677946d15f211d0082c021b45edecf759b9b7431ca22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Y (cyclomatic 12, cognitive 24): Y has cyclomatic complexity 12 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":"src/UTIF.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92ad8fc212eb8c437a9fa89e974ba9e4b9050d3b18f26a0d64affc037ac715b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupHandles (cyclomatic 12, cognitive 19): cleanupHandles has cyclomatic complexity 12 and cognitive complexity 19; 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":"src/ImageResizer.ts"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a8d9e499ac5b132066a6e3cd3faef00ddf1dbd50354a079001cf8d0186d47d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decodeOldJPEG (cyclomatic 12, cognitive 18): _decodeOldJPEG has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee4d40bc4ebc3a6b5d9c0ac1f2befac7a4a554c7515dca2746259b6a9d1a744"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncColorPickerWithSelection (cyclomatic 12, cognitive 16): syncColorPickerWithSelection has cyclomatic complexity 12 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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7eaecdf347b48d8434caec03bbcaa2246146e9db66e2507e66c196e9b19c58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildScaleFilter (cyclomatic 12, cognitive 13): buildScaleFilter has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aba4a9510643e6c372341c252463aaf6edc516abcc5aa096e69933a5f0d37b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLinkSections (cyclomatic 12, cognitive 12): parseLinkSections 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":"src/ImageResizer.ts"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efa52fe7dd4aa43cdf6da0b9a57b9b10ad76ce3bc7a426163361ca012e5b83c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateEncoderConfig (cyclomatic 12, cognitive 12): updateEncoderConfig 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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"60af6e2aafc9f89bd528575ff2c2c37789cabe4a7f32500eb8c9a5d180101466"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decodeThunder (cyclomatic 11, cognitive 26): _decodeThunder has cyclomatic complexity 11 and cognitive complexity 26; 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":"src/UTIF.js"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a12ec2a7c8d689519e0b9b888ea40cacb9767fe56e99e2c1e8127ee9f15202"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 18): (anonymous) has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ProcessSingleImageModal.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c8cbfd0332b8a3d25e76f8d843b5e0b3ae8ef855f98d0122088881d3421cbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateImageAlignment (cyclomatic 11, cognitive 17): updateImageAlignment has cyclomatic complexity 11 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":"src/ImageAlignment.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"239aba81a302cd3d77eb43ddb008b40ea327d69440a0a7b0a87d5d0f7d995804"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImageFiles (cyclomatic 11, cognitive 15): getImageFiles has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ProcessFolderModal.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df5039cca7b3a3a94b6638c90331314169252e8803fd8d34b8ea4b8b80c05ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getData (cyclomatic 11, cognitive 14): getData has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UTIF.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eec108a5378bf1f2479e2ea559dfe1fd291fb4bc5fabbbc8386ab5ba4da55c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadModalSettings (cyclomatic 11, cognitive 13): loadModalSettings has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ProcessSingleImageModal.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd03035474023913c3687b8e8a3c877b2a868327c1caf38abd0188bc7327066b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) 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":"src/ContextMenu.ts"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a847d1ee240cf143c85e73aca1d197a732dd0d7fd78b44fa0c19165bbdadae8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertStableLoaded (cyclomatic 11, cognitive 10): assertStableLoaded 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":"scripts/stress-plugin-interactions.mjs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da76bc21eea5ae469251877819d2a6acc0927b96d29b3980df0f0e3453fd879"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readImageLikeSize (cyclomatic 11, cognitive 10): readImageLikeSize 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":"src/ImageAnnotation/export/ImageExporter.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a782d00c35306ff436f2fd8dc0ea292baea40d962f5e51c7505607ec2efa3aee"}},{"ruleId":"R3","level":"warning","message":{"text":"src/ImageConverterSettings.ts: 3971 lines of code: src/ImageConverterSettings.ts has 3971 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":"src/ImageConverterSettings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4013596422e5cfea9483f06ad5a5097df8c1e04dfa061a47a739577ccd101aab"}},{"ruleId":"R3","level":"warning","message":{"text":"src/ContextMenu.ts: 2160 lines of code: src/ContextMenu.ts has 2160 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":"src/ContextMenu.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca8c04aaa5aec191a19b6b65dc8f2cb5c4326ead635cf4b4626b23550c7d988"}},{"ruleId":"R3","level":"warning","message":{"text":"src/ImageResizer.ts: 2077 lines of code: src/ImageResizer.ts has 2077 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":"src/ImageResizer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"230123d7e2863ce6a77833d926bb8795ba16d74b1e310d03e723cf8fd2b80aa8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/ImageProcessor.ts: 2055 lines of code: src/ImageProcessor.ts has 2055 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":"src/ImageProcessor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff67c4de0c0f9a06e032b605fab31d79a14c56e88eb797577e203849a5dc1f4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/UTIF.js: 1574 lines of code: src/UTIF.js has 1574 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":"src/UTIF.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"264a0bdf75c4e372a3bea35c4260a9930cfdf9de1944b61099f72d84d1bd2b72"}},{"ruleId":"R3","level":"warning","message":{"text":"src/VariableProcessor.ts: 1361 lines of code: src/VariableProcessor.ts has 1361 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":"src/VariableProcessor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73ba9ac734c2fc453668efb1c5f1f8cc07a36ad0477fac237cb8ffe58a5e480"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main.ts: 1235 lines of code: src/main.ts has 1235 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":"src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c95aa32f27742c4643d11b4260f2a26b2bd7a13d0c9f13dfe9bc664bf7af7b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/ImageAlignmentManager.ts: 966 lines of code: src/ImageAlignmentManager.ts has 966 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":"src/ImageAlignmentManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d513729d8ba53b479f009e4024ece44eef51b4840ea59e667b42df33e9092dc2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/ImageAnnotation/ImageAnnotationModal.ts: 895 lines of code: src/ImageAnnotation/ImageAnnotationModal.ts has 895 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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8eae2e7396ac72994a7fc76fafa6d643be1818ee5021ddbe3ffb61b276e699"}},{"ruleId":"R3","level":"warning","message":{"text":"src/ProcessFolderModal.ts: 856 lines of code: src/ProcessFolderModal.ts has 856 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":"src/ProcessFolderModal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b796d84db1ab8c934badfe789fcd703a4359730e17ffd1d84b7e2a0b6e3595d3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Crop.ts: 834 lines of code: src/Crop.ts has 834 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":"src/Crop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc4371e9ea195f75973b9e46c8912255d1f6598281c6eac4564a9c536ed44e5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/BatchImageProcessor.ts: 818 lines of code: src/BatchImageProcessor.ts has 818 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":"src/BatchImageProcessor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17700df769f692966d3d2e28287b6524864f73c897a836befc68552bca528b03"}},{"ruleId":"R3","level":"warning","message":{"text":"src/ProcessSingleImageModal.ts: 816 lines of code: src/ProcessSingleImageModal.ts has 816 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":"src/ProcessSingleImageModal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb78d2515378550910d12099bf070fe3614505641ed4234f3cc7700d36ac80bd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/FolderAndFilenameManagement.ts: 718 lines of code: src/FolderAndFilenameManagement.ts has 718 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":"src/FolderAndFilenameManagement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac342122a8ea1667575954b1b486c0c20cc295852e7e51b504e046725009db2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/PresetSelectionModal.ts: 649 lines of code: src/PresetSelectionModal.ts has 649 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":"src/PresetSelectionModal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5746ad8f335ff06b491947ac7c19afbf23a7ac999bb854ee9f8e6b346278e8f1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/ProcessCurrentNote.ts: 615 lines of code: src/ProcessCurrentNote.ts has 615 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":"src/ProcessCurrentNote.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"171b0a47ebc7cbd6bdf644572e802ecf70748c0e747e34caf39eaaf5c30c0c3c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/LinkFormatter.ts: 484 lines of code: src/LinkFormatter.ts has 484 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":"src/LinkFormatter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc6147283e152189ee94b3990366bc5be66c42a7f4716341823f30eceecb417"}},{"ruleId":"R6","level":"warning","message":{"text":"This package\u0027s lint script runs in no CI job: The root package declares the lint script \u0060lint\u0060 (\u0060eslint \u0022src/**/*.ts\u0022\u0060), but no step of this repository\u0027s CI runs it, by name, through another script, a Makefile target or a workspace runner, and no CI step runs the linter over the package itself. The rules it sets are enforced nowhere a pull request can fail. Run it in CI: a step that runs \u0060npm run lint\u0060 in \u0060.\u0060 (or the workspace\u0027s task runner)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a99e059e3a0cba570f525a46a8aa11293b8fdff66bdcbb6aab0186748d534a1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~159 LoC): no import path from any entry point (42 application, 18 tooling, 54 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":"scripts/selector-hierarchy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d06007a9fe3ccf4fae3352d92799dea75239c4d1664642428517bd3942fcca2"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027lastMouseEvent\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageResizer.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d32becc2b1822e9542b2b6ae19e6fdf55d69d24245fda2565b704815a59b091"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027moment\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VariableProcessor.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b88618a72bb00183c29232ad5253b5b67c2e04467726b19d9dc270d0fca7d02"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): src/ImageConverterSettings.ts \u2192 src/ImageAnnotation/index.ts \u2192 src/ImageAnnotation/ImageAnnotationModal.ts \u2192 src/ImageConverterSettings.ts (one verified cycle inside a mutually-dependent group of 16 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageConverterSettings.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"883e67de33b7cce9aba4e8dced5224820ef183021989b27789910df353aa93dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isNaN(quality) \u0026\u0026 quality \u003E= 0 \u0026\u0026 quality \u003C= 100\u0060 appears character-identically in 2 files \u2014 src/ProcessAllVaultModal.ts, src/ProcessFolderModal.ts. 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":"src/ProcessAllVaultModal.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31514ea06defa9a6ce07c5ce6aeedf152b0f0c9e08c4ad3863156710143ef43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeObject instanceof IText \u0026\u0026 activeObject.isEditing\u0060 appears character-identically in 2 files \u2014 src/ImageAnnotation/ImageAnnotationModal.ts, src/ImageAnnotation/managers/BackgroundManager.ts. 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":"src/ImageAnnotation/ImageAnnotationModal.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c43b28a59eac22d281684360a42f31e7e8b35f316dea9c87615bb6ff1ad463"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canvasData.nodes \u0026\u0026 Array.isArray(canvasData.nodes)\u0060 appears character-identically in 2 files \u2014 src/BatchImageProcessor.ts, src/ProcessFolderModal.ts. 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":"src/BatchImageProcessor.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f90e7c1ea67c6618cb756aaf551004a2dd96c8ff4d3f00178f873eca0e744a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file instanceof TFile \u0026\u0026 this.plugin.supportedImageFormats.isSupported(undefined, file.name)\u0060 appears character-identically in 2 files \u2014 src/BatchImageProcessor.ts, src/ProcessCurrentNote.ts. 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":"src/BatchImageProcessor.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd829cea2728d5c1c353bcd8c2c45546673aaaf9bb96a0acf8d0285704f873b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.plugin.settings.isImageAlignmentEnabled \u0026\u0026 this.plugin.ImageAlignmentManager\u0060 appears character-identically in 2 files \u2014 src/ContextMenu.ts, src/ImageResizer.ts. 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":"src/ContextMenu.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"619c2eb3ce4640bc51da350b847bff9f3e4da732962585975e148b3a880c82bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ced1855d655f40ca9af0537c2e162c0770a145c9215c8fc818f3f10e8fe529e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcabd389b3c6097f18e2f96aaf0ab23b70f7d48b89ddc17438fb02519654305"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5b0ac1fc168d1da7a3123643ee11989dbeae00d26f92e725b0270225525709"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0697ac2301013464acdd4173ce6c2ce8415f2ea742a8c55f9aa1bb9ca67af8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed8185dfebeafda7b23ea910c6a6270a982a3909c89f18b8ec82fbfbff84820"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3390a08d2b5bbb75b743ab60ea04a57f6248cb038e2bbc6e5ea557f1980d9496"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageProcessor.ts"},"region":{"startLine":2268}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d45e9df5e40f024a28726f4c6afed0385bfd51135ab4742517108a622113ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ImageAnnotation/export/ImageExporter.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b096a18209cf99189ad947ece1c85dfbfeb100383ec648e4e477f55fee0ab5"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~1.0 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 29 assertion(s) across the 27745 source line(s) of the 41 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: src/ImageAnnotation/ImageAnnotationModal.ts (10), src/main.ts (8), src/ImageConverterSettings.ts (4). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}}],"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-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-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-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-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"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"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":59,"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."]}]}