{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"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":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"index.html.bindEvents (cyclomatic 171): index.html.bindEvents has cyclomatic complexity 171 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 153 belong to 48 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/main/resources/web/chat/index.html"},"region":{"startLine":10364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7366040bbf9cedde92e31acb88b4a5d27473f0cb29ebb3713e868d9fc438101e"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatService.handleStreamChat (cyclomatic 130): EasyChatService.handleStreamChat has cyclomatic complexity 130 (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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"137d532dc615d789b3bc4fbcc1ec05c612cbdc3322351ecb50381a81f582aa2f"}},{"ruleId":"D1","level":"warning","message":{"text":"model-detail.extractSamplingSettingsFromConfig (cyclomatic 126): model-detail.extractSamplingSettingsFromConfig has cyclomatic complexity 126 (threshold 15). Of this number, 93 points are the body\u0027s own statements and 33 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8ed4f9c31c132a20c4a31ea83aefff20bb63029ad389e1cb9f460134f61ab0"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.requestAssistantResponse (cyclomatic 112): index.html.requestAssistantResponse has cyclomatic complexity 112 (threshold 15). Of this number, 110 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/resources/web/chat/index.html"},"region":{"startLine":7725}}}],"partialFingerprints":{"codehealthFindingId/v1":"043152fb5b3b92453b1f4c892b11dac5f0665b360e2028062f1d1bd237cecf2e"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.applyCmdToDynamicFields (cyclomatic 87): model-action-modal.applyCmdToDynamicFields has cyclomatic complexity 87 (threshold 15). Of this number, 81 points are the body\u0027s own statements and 6 belong to 2 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1edc4704f60e76c0e2f363b3b6fc5da787671b7a9023b10d1910a8599e85a9"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.createMessageElement (cyclomatic 80): index.html.createMessageElement has cyclomatic complexity 80 (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/main/resources/web/chat/index.html"},"region":{"startLine":6057}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e034c673c8557605df3db1dd9b5f38b14c60506e8432a8db094ca58637e70ff"}},{"ruleId":"D1","level":"warning","message":{"text":"download.renderDownloadsList (cyclomatic 77): download.renderDownloadsList has cyclomatic complexity 77 (threshold 15). Most of this is not in the body itself: 4 of the 77 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 256, getDownloadCreatedAtMs, a function literal at line 249). 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/main/resources/web/js/download.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"091418fbc5ec3e785275d49c282fab8c79fd6a6522d3ce14dae64000e58b869f"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicService.convertAnthropicToOai (cyclomatic 76): AnthropicService.convertAnthropicToOai has cyclomatic complexity 76 (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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13825fa422e8ea6465d114a79fc71f4ba9c4627cf98628f9753350675946367"}},{"ruleId":"D1","level":"warning","message":{"text":"submitModelAction (cyclomatic 76): submitModelAction has cyclomatic complexity 76 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 29 belong to 10 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"9611f249d25b482c1299e6a9a89a4ea7b067dc9d4622b1aabf1d05bab22c98b9"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.checkUpdate (cyclomatic 73): settings.checkUpdate has cyclomatic complexity 73 (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/main/resources/web/js/settings.js"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"865be128ae1f01e08dc64c6a26eb3cc9d32639d7258736676a5ee634ac0c727b"}},{"ruleId":"D1","level":"warning","message":{"text":"model-list.renderModelsList (cyclomatic 70): model-list.renderModelsList has cyclomatic complexity 70 (threshold 15). Most of this is not in the body itself: 13 of the 70 points are its own statements and the rest belongs to one function literal inside it that branches (line 332). 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/resources/web/js/model-list.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"2918e7df9395ecfb466e42b4f44d1fa92004a5b65943eaff3c6e0d10ee87fee6"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.buildLoadModelPayload (cyclomatic 69): model-action-modal.buildLoadModelPayload has cyclomatic complexity 69 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 7 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/resources/web/js/model-action-modal.js"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd74bef9dcc92eb86b1ba0946a3423aa393d3432d09b6d777faabd57322cfa7"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.buildPayload (cyclomatic 66): index.html.buildPayload has cyclomatic complexity 66 (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/main/resources/web/chat/index.html"},"region":{"startLine":9031}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3bd47f4ada2aa031b1863cea7c6ac9b8eccb44e2971e73728e9bef2d3baac4"}},{"ruleId":"D1","level":"warning","message":{"text":"model-benchmark.renderBenchmarkFieldFromParam (cyclomatic 66): model-benchmark.renderBenchmarkFieldFromParam has cyclomatic complexity 66 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 5 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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5f3b382363283d71ca521643928baa4defbf9ca322729069f23e453de733b9"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatService.handleStreamChatHistory (cyclomatic 64): EasyChatService.handleStreamChatHistory has cyclomatic complexity 64 (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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8e2d52958236b6ef584d992d202e0f5fcb1b74dc15e0ef63a3e82236ba2604"}},{"ruleId":"D1","level":"warning","message":{"text":"download.updateDownloadProgress (cyclomatic 63): download.updateDownloadProgress has cyclomatic complexity 63 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71f2ca15de4eb829fd607800cc3f82ff71f8fa562a38d67960270ad1105a789"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderSystemInfo (cyclomatic 61): index.html.renderSystemInfo has cyclomatic complexity 61 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 29 belong to 3 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/resources/web/index.html"},"region":{"startLine":6521}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7d69379f97b1728b66984e2d8c0bbf46b4b947fa34524386a19d7f9cb18dd1"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelSamplingService.applySamplingFromCmd (cyclomatic 60): ModelSamplingService.applySamplingFromCmd has cyclomatic complexity 60 (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/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2b96b520aecfcbb234789f24dba6673e78dcc92d784bca15f906c79b040b3c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.regenerateMessage (cyclomatic 60): index.html.regenerateMessage has cyclomatic complexity 60 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":8010}}}],"partialFingerprints":{"codehealthFindingId/v1":"818385b9388148ee7dc862c2e76939c0221e737c56e58379836fa9a8a2af4db2"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.loadModel (cyclomatic 60): model-action-modal.loadModel has cyclomatic complexity 60 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 35 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59352aa8bd20601b9202e22098379e504cf51a8f45d09779db50fd1f8de36b2"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-report.renderTokenSummary (cyclomatic 60): usage-report.renderTokenSummary has cyclomatic complexity 60 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 38 belong to 11 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ec5562a222e6cae3c8ed41f7946b5131243e6ca96471cd68082b99708cfb53"}},{"ruleId":"D1","level":"warning","message":{"text":"create.bindEvents (cyclomatic 60): create.bindEvents has cyclomatic complexity 60 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 41 belong to 25 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/resources/web/chat/chat-mcp.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"019e2e38f7aed1d3ea75990119c8aa199977ed0b957ff05cb3bda26c58bef054"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.updateAssistantMessageElement (cyclomatic 57): index.html.updateAssistantMessageElement has cyclomatic complexity 57 (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/main/resources/web/chat/index.html"},"region":{"startLine":6678}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af7f123a474fe792947ebe27e345d838c4b2e2ea7dfaf7d06c7367404017450"}},{"ruleId":"D1","level":"warning","message":{"text":"render (cyclomatic 55): render has cyclomatic complexity 55 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 25 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f029e292af3fb3f2d43c9109ed04494be124bd5c4ee9e374f9f72d89cd23d879"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-mcp.create.bindEvents (cyclomatic 54): chat-mcp.create.bindEvents has cyclomatic complexity 54 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 35 belong to 13 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/resources/web/chat/chat-mcp.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"a096deb1d96f79bc4d0f64cf064fdab79ba9a7f2380859eecaa6b8c4a900bfa0"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::token (cyclomatic 51): (anonymous)::token has cyclomatic complexity 51 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/marked.umd.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e2e243731d219355b920417621cd7c14a2aea07ee318eb3df783d59d641126"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemController.handleFsListRequest (cyclomatic 50): SystemController.handleFsListRequest has cyclomatic complexity 50 (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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2064f806d7f548a6679d4923440f11b42d980ad64e38bdec85f4685f7eea0da1"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.createResultRow (cyclomatic 50): benchmark-v3.createResultRow has cyclomatic complexity 50 (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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf35cfb863bfe80cf17618633dfc6d7c9e5e74b6b96b1cbb660a3f7d68961001"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.directoryBrowserRender (cyclomatic 49): index.html.directoryBrowserRender has cyclomatic complexity 49 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 30 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":5103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3432a2b63f63b6a892f529d8de2752e7c922d68008e81eb32e6ec73732e7794b"}},{"ruleId":"D1","level":"warning","message":{"text":"showModelDetailModal (cyclomatic 49): showModelDetailModal has cyclomatic complexity 49 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 22 belong to 28 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/main/resources/web/js/model-detail.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9eab52b618c483da574eb3127817d7d9a0537360aa57081f86748b851219961"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.addDraftFiles (cyclomatic 48): index.html.addDraftFiles has cyclomatic complexity 48 (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/main/resources/web/chat/index.html"},"region":{"startLine":2820}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdd869071fa96c14f2d6ace2f3a18f7473da10f86167aecd126ef7884c7db19"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.addFilesToEditingMessage (cyclomatic 47): index.html.addFilesToEditingMessage has cyclomatic complexity 47 (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/main/resources/web/chat/index.html"},"region":{"startLine":7424}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5a6861fe4a45cc0993b657c7477aaae9e627267e52ec41c6378184c8085c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderParamField (cyclomatic 47): index.html.renderParamField has cyclomatic complexity 47 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":5753}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f8c2ee8b8b5678b2af544e9370e0059cf40604fe73065deb0b3334d5a1608d"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.listModel (cyclomatic 45): LlamaServerManager.listModel has cyclomatic complexity 45 (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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7df1aaf93c767049eb9fb903f940b62f84d387b059029457869bac13f17987a"}},{"ruleId":"D1","level":"warning","message":{"text":"hf.createHfDownloadTasks (cyclomatic 44): hf.createHfDownloadTasks has cyclomatic complexity 44 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4b18f85db15cf26648028c342bf867b23970a0b0c1193a32a4f582552626cb"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelActionController.handleModelBenchmark (cyclomatic 43): ModelActionController.handleModelBenchmark has cyclomatic complexity 43 (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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cc73e9800d6532d73e683c3fd532097a9aaeff8565f47a611fe86e3b6a1fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"loadDeviceList (cyclomatic 43): loadDeviceList has cyclomatic complexity 43 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 24 belong to 5 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/resources/web/js/model-action-modal.js"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f808a71cb1e113edbc1a9cc037cb9d49db81130e4c395d3520a8a3390aa89d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.convertHistoryMessage (cyclomatic 42): index.html.convertHistoryMessage has cyclomatic complexity 42 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 6 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/main/resources/web/chat/index.html"},"region":{"startLine":8939}}}],"partialFingerprints":{"codehealthFindingId/v1":"745de8a3916948e862437f11eefc80e056e53202c0d7c4b54c60280a2693eac1"}},{"ruleId":"D1","level":"warning","message":{"text":"GGUFMetaData.readFile (cyclomatic 41): GGUFMetaData.readFile 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/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"701a2fb633dad7932848a4a8a53a09e4a92c8550ee0f595979eafbbd57c83e1f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.handleOpenAIModelsRequest (cyclomatic 40): OpenAIService.handleOpenAIModelsRequest has cyclomatic complexity 40 (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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc80bd5ccbfb8303fb91edecd5770081c8429ef4020f8d72c17ee268464b5a3"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelPathController.handleModelPathUpdate (cyclomatic 39): ModelPathController.handleModelPathUpdate has cyclomatic complexity 39 (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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22b4412c275c3d32d93aeec1abba19ac13d8920e048d6b2f5df2620c899d915"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.loadModelInBackgroundFromCmd (cyclomatic 39): LlamaServerManager.loadModelInBackgroundFromCmd has cyclomatic complexity 39 (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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58c171e1e869a83a9f1b8c689f0b4a784996ac4c01cddc569effeb2558a914b"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.generateHttpsCert (cyclomatic 39): settings.generateHttpsCert has cyclomatic complexity 39 (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/main/resources/web/js/settings.js"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"8255970a0a5b90ad7cc75b780cf92a6e2f1456079fd7966e2b21269df89ef955"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamacppController.handleLlamaCppReleaseLatest (cyclomatic 38): LlamacppController.handleLlamaCppReleaseLatest has cyclomatic complexity 38 (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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"b538fca9f17b4e39d7d879fede1ea4025b099c53a1dfead81a754d4a601981b5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.normalizeAssistant (cyclomatic 38): index.html.normalizeAssistant has cyclomatic complexity 38 (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/main/resources/web/chat/index.html"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4597ce5148bede41ff1b035a7ea57a48a2bcdbf2b3ef977ffd8e61a0dfb35a96"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.restoreUpdateStatus (cyclomatic 38): settings.restoreUpdateStatus has cyclomatic complexity 38 (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/main/resources/web/js/settings.js"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"568e9fff6821b8b2567c17abf5078aa7a6426550d2606cb44ec8652cb09ca0c4"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v2.html.runBenchmark (cyclomatic 38): benchmark-v2.html.runBenchmark has cyclomatic complexity 38 (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/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d77567c85c6213d4de486905f189142e90434126745faf9db8bfdab94af0c6"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::_compress (cyclomatic 38): (anonymous)::_compress has cyclomatic complexity 38 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/lz-string.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c9eb0ce9ab30f07185cc12e1da70ddd86b9584ac7fb6580dc26934ab80e401"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.loadModelFromMenu (cyclomatic 37): index.html.loadModelFromMenu has cyclomatic complexity 37 (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/main/resources/web/chat/index.html"},"region":{"startLine":4997}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc360d4a916a5c2a9b9548753255a778674dab511e39444441edecf2a91c491"}},{"ruleId":"D1","level":"warning","message":{"text":"onMsg (cyclomatic 37): onMsg has cyclomatic complexity 37 (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/main/resources/web/js/newui/app.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0f5214b2dbeb2bbbb19dbc7daa30505c2d889c1095e5f64df645fe2a210a8a"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatService.accumulateDelta (cyclomatic 36): EasyChatService.accumulateDelta has cyclomatic complexity 36 (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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9607697172f857a3258d0b7b62c733279e9a788d8ceba89f834c06bcdab7f6"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.handleOpenAIResponsesRequest (cyclomatic 36): OpenAIService.handleOpenAIResponsesRequest has cyclomatic complexity 36 (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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6a22017f9a018c71b21957a00e26d32089464be1d7b6414596bb4ff00da701"}},{"ruleId":"D1","level":"warning","message":{"text":"websocket.populateLogFilter (cyclomatic 36): websocket.populateLogFilter has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 12 of the 36 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 259, a function literal at line 263, fetchLogModels, \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/main/resources/web/js/websocket.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"6495061e30d4f328318d92dd796d4b04057c5c86a2af5fc9254e90c503a3ffba"}},{"ruleId":"D1","level":"warning","message":{"text":"ensureAutoUnloadWired (cyclomatic 36): ensureAutoUnloadWired has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 4 of the 36 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1125, 1172, 1155, \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/resources/web/js/model-action-modal.js"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1118de3d08dcc1c62925ba8027d5885fb62f309538ae20b0846ce8273a6e42ed"}},{"ruleId":"D1","level":"warning","message":{"text":"quickStartModel (cyclomatic 36): quickStartModel has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 6 of the 36 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 748, 784, 772, \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/resources/web/js/model-list.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"8557ccebaa536ff068560d2926154912fd79314fdc889270e37d1bdebe90f17a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.fetchSysInfo (cyclomatic 35): index.html.fetchSysInfo has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 7 of the 35 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 6468, 6512). 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/resources/web/index.html"},"region":{"startLine":6455}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e1cb2b272cd0bf8922a5b42c7e7d81ec2234a06d660014b221b487bb9ca9be"}},{"ruleId":"D1","level":"warning","message":{"text":"loadOverview (cyclomatic 35): loadOverview has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 13 of the 35 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 57, 56, 82, \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/resources/web/js/newui/model-detail.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e0948be44debc80a14aaf600d1638732807965642fed1f0557ed9a09cdfbe0"}},{"ruleId":"D1","level":"warning","message":{"text":"FileUploadRouterHandler.channelRead (cyclomatic 34): FileUploadRouterHandler.channelRead has cyclomatic complexity 34 (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/main/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0baf08216edc02c26fd32772cd0b54c11212c9d77e6df91d7bc009af39c4d23"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemController.handleVramEstimateRequest (cyclomatic 34): SystemController.handleVramEstimateRequest 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e008d1870d9c86e89d299af87646ac979d516d196b77e75b386a588bc8c9d9"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.handleOpenAIRerankRequest (cyclomatic 34): OpenAIService.handleOpenAIRerankRequest has cyclomatic complexity 34 (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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"8587e6dce4b73119dbff04d2b2d9ffd89e752b422458d0ec921c29b629dd8498"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.buildCommandStrFromForm (cyclomatic 34): LlamaServerManager.buildCommandStrFromForm has cyclomatic complexity 34 (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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"43822da1adcb7f2335f881323124f5ceb41fa73ffc72e6f13bd06ce9d6d1cbe6"}},{"ruleId":"D1","level":"warning","message":{"text":"submitModelBenchmark (cyclomatic 34): submitModelBenchmark has cyclomatic complexity 34 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"80955cc04d451e6121edbcda042f40daa6b8d46d3d261a7a60ff02ac000754e6"}},{"ruleId":"D1","level":"warning","message":{"text":"createCloneModel (cyclomatic 34): createCloneModel has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 670, 703, 711, \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/resources/web/js/model-list.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0db31cc68f30ba7c97049b529c1fb57414ce5a9572b52ab6e4adfcd97d7af12"}},{"ruleId":"D1","level":"warning","message":{"text":"PerplexityService.run (cyclomatic 33): PerplexityService.run has cyclomatic complexity 33 (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/main/java/org/mark/llamacpp/server/service/PerplexityService.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c6ddd90f9f6d3bdb2dab7d6a4e1ed29f28b90f7dafce16300aed86748d6976"}},{"ruleId":"D1","level":"warning","message":{"text":"MtpHelper.mergeDonor (cyclomatic 32): MtpHelper.mergeDonor has cyclomatic complexity 32 (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/main/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d6f4064ed5734ad9d4cb4acd43004fe01094d17806899a5a923fc7c4f8326d"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamacppController.handleInfillRequest (cyclomatic 32): LlamacppController.handleInfillRequest has cyclomatic complexity 32 (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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"92395cd835caa6e88a6bfe59c0bf7671034aa32339d5b2b9560d0c0e22745bf3"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicService.handleStreamResponse (cyclomatic 32): AnthropicService.handleStreamResponse has cyclomatic complexity 32 (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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0adc62e0db22ea217bfd6c1bf94d1ae219c86861e6770d7728de3d36f940f87"}},{"ruleId":"D1","level":"warning","message":{"text":"ParamTool.handleThinking (cyclomatic 32): ParamTool.handleThinking has cyclomatic complexity 32 (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/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f788aa241f092a43a179f6d5f95258915f6ea4808b54a62011f1185f2e12780e"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServer.loadApplicationConfig (cyclomatic 32): LlamaServer.loadApplicationConfig has cyclomatic complexity 32 (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/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"42505efe24bf7942c7f0fbc7579f21d73babbdfb693958cde121aa5f6bf6907a"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServer.main (cyclomatic 32): LlamaServer.main has cyclomatic complexity 32 (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/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6a7e2f85eef1bc9bbd690787330742022743d3abddf2da848fcd43723660cf"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.refreshModels (cyclomatic 32): index.html.refreshModels has cyclomatic complexity 32 (threshold 15). Of this number, 29 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/main/resources/web/chat/index.html"},"region":{"startLine":9559}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa29b5dbf5139110b40ed73c1fbb5039b52fe8c15c7d1b046c378fba65dc448c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.directoryBrowserLoad (cyclomatic 32): index.html.directoryBrowserLoad has cyclomatic complexity 32 (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/main/resources/web/index.html"},"region":{"startLine":5231}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafa1ea9d1b0e0ebd8180eb19654a66a3d55fdf4e99a64e7d37470dc0179c644"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v2.html.normalizeRecordRow (cyclomatic 32): benchmark-v2.html.normalizeRecordRow has cyclomatic complexity 32 (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/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"f013128d43f98cc600372591d3489d757ff3da702b8fc79645bd47d8402869f5"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v2.html.loadBenchmarkRecords (cyclomatic 32): benchmark-v2.html.loadBenchmarkRecords has cyclomatic complexity 32 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"6429fa1ed7c9fcda874c46b97328e6ba6af5d6854f947a032c1ad12f3086278b"}},{"ruleId":"D1","level":"warning","message":{"text":"mtp-bench.html.runBenchmark (cyclomatic 32): mtp-bench.html.runBenchmark has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73a49715afd194d5d30be0e9fb1f9b017e2c41b120087a7304ca4bd50ab697f"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::_decompress (cyclomatic 32): (anonymous)::_decompress has cyclomatic complexity 32 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/lz-string.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d92496be03033f470d80c80386f7e9a762b64e2a96aee4a58d809f423b93330"}},{"ruleId":"D1","level":"warning","message":{"text":"toggleFavouriteModel (cyclomatic 32): toggleFavouriteModel has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 9 of the 32 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 514, 498, 519, \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/resources/web/js/model-list.js"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"08af5f2c927f2ed14a341042863997bf9e49aeca5392148b80d589df7bdcf02e"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelActionController.buildLocalModelList (cyclomatic 31): ModelActionController.buildLocalModelList has cyclomatic complexity 31 (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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e006926d6bfa22331fdfce554c88f2c169785b6b42a42814e76d3d989dfa60f"}},{"ruleId":"D1","level":"warning","message":{"text":"BenchmarkService.handleBenchmark (cyclomatic 31): BenchmarkService.handleBenchmark has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e3821301361ff9c514dff2a6e47e66a2306f0f962e58070b8d31df251c08d6"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingForwarder.handleBooleanValue (cyclomatic 31): StreamingForwarder.handleBooleanValue has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef117661023219ea951cd0e4711ad1e95c1b785f788ea6e06e8224eb67ba653"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.directoryBrowserNormalizeItems (cyclomatic 31): index.html.directoryBrowserNormalizeItems has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 5 of the 31 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 5065, 5080, 5090). 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/resources/web/index.html"},"region":{"startLine":5063}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b235c587eae4aa82478647d349a2c00b29f73830d707233683620552643e98"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.runServer (cyclomatic 31): benchmark-v3.runServer has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c9a878b3c05eef2f6d15058fd6c826af7bd967ba219e537f3c6f50da1aec14"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-report.renderDailyChart (cyclomatic 31): usage-report.renderDailyChart has cyclomatic complexity 31 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 15 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e50c6186cb5847c7c3c0de993efa15a644ee771795c111c446aceeb82b38b5d"}},{"ruleId":"D1","level":"warning","message":{"text":"openModelBenchmarkDialog (cyclomatic 31): openModelBenchmarkDialog has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 90, a function literal at line 79, a function literal at line 82, \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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aec1efc3a47a463044a12996a7b5043dcd528c200a7b7ad8437a6f691471e3f"}},{"ruleId":"D1","level":"warning","message":{"text":"calculateModelTokens (cyclomatic 31): calculateModelTokens has cyclomatic complexity 31 (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/main/resources/web/js/model-detail.js"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dab01fabccfba4a2c5ec64866e4b7c3c0946ed9cb86c9e5bc37c4e642ea24a"}},{"ruleId":"D1","level":"warning","message":{"text":"card (cyclomatic 31): card has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/models.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"401673a9fa70156c64c5cd68d79dec66bce688427fc811da770787b745a1c381"}},{"ruleId":"D1","level":"warning","message":{"text":"FileDownloadRouterHandler.handleModelDownload (cyclomatic 30): FileDownloadRouterHandler.handleModelDownload has cyclomatic complexity 30 (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/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c06ecb85daff6d6463fa14bf90a575acfcc5e282eef52ba6e31da8843dbf5bc"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicService.handleModelsRequest (cyclomatic 30): AnthropicService.handleModelsRequest has cyclomatic complexity 30 (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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cddd0f2b647cff5d72cc67bd7e0de37a2bac9bc1575dd43280d7946236ccbd4"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.forwardStreamToRemote (cyclomatic 30): OpenAIService.forwardStreamToRemote has cyclomatic complexity 30 (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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c46732755d3ebe4a802ca10e72087cc70fa2427f149fafe2c9cd22ee87297a1"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.handleOpenAIEmbeddingsRequest (cyclomatic 30): OpenAIService.handleOpenAIEmbeddingsRequest has cyclomatic complexity 30 (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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"199bf1fc4b4c004c45e2fb45d100040205a7d38e70fb805aedba40c27bea995c"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.handleStreamResponse (cyclomatic 30): OpenAIService.handleStreamResponse has cyclomatic complexity 30 (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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb91bc89186de676d28c4cd8cfccb42a97f03e9dda0537ccfbc0c314e69ed32"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandLineRunner.applyExecutableDirEnv (cyclomatic 30): CommandLineRunner.applyExecutableDirEnv has cyclomatic complexity 30 (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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b3b7fadb3735e9623900b99dee2cd573de5d9c6042ca0aed225aa61c36837d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.continueMessage (cyclomatic 30): index.html.continueMessage has cyclomatic complexity 30 (threshold 15). Of this number, 27 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":8266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25f33b00d8bdeb875b46af009bc57967b89abcf237b478d778ddec7b9547613"}},{"ruleId":"D1","level":"warning","message":{"text":"websocket.handleWebSocketMessage (cyclomatic 30): websocket.handleWebSocketMessage has cyclomatic complexity 30 (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/main/resources/web/js/websocket.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ddc010d40a9e630fd6110e47d402ae5aa06f6243e4435e38d68f577302ba07"}},{"ruleId":"D1","level":"warning","message":{"text":"openModelBenchmarkList (cyclomatic 30): openModelBenchmarkList has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 12 of the 30 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 586, 575, 574, \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/resources/web/js/model-benchmark.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"509d76ea12c0e535888373f10ba0fb4eee70b9c6f436d035cc281e19692eaf7b"}},{"ruleId":"D1","level":"warning","message":{"text":"runServer (cyclomatic 30): runServer has cyclomatic complexity 30 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 5 belong to 7 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/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"67061128b81c21627ed34a7938ef3c274a5d411757e856d9be13408ccfff1528"}},{"ruleId":"D1","level":"warning","message":{"text":"applyCmdToForm (cyclomatic 30): applyCmdToForm has cyclomatic complexity 30 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 15 belong to 8 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/resources/web/js/newui/model-config.js"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"1358ac6880860a65252ec153c9c4ef0486fa957f524c6f2057a8fae372feef6a"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemController.handleRequest (cyclomatic 29): SystemController.handleRequest has cyclomatic complexity 29 (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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d37ff3a94b9cb2c730bc024807063f4350b53c73f48320f30e056df50aa829"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingForwarder.extractFields (cyclomatic 29): StreamingForwarder.extractFields has cyclomatic complexity 29 (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/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"00498edffdf5fd869f81d4ff9bc44cf187aa38115854827c2ebdcbf20c595a16"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.runBench (cyclomatic 29): benchmark-v3.runBench has cyclomatic complexity 29 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 8 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/resources/web/js/benchmark-v3.js"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbfd13060c933f584e5e32c1230ebb21b4c23bee219b449c8609c9a202e90e3"}},{"ruleId":"D1","level":"warning","message":{"text":"model-benchmark.resetModelBenchmarkForm (cyclomatic 29): model-benchmark.resetModelBenchmarkForm has cyclomatic complexity 29 (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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e52dc9f7b260e665be93cf3cd6719f8ca9e3d4ab26e5778b9d4bfddc38a50d"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.populate (cyclomatic 29): settings.populate has cyclomatic complexity 29 (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/main/resources/web/js/settings.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"112101a0b9d5270fbc463504937d303f55a0b2aebc31f6e63f74b3edd1774ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.handleAppUpdateEvent (cyclomatic 29): settings.handleAppUpdateEvent has cyclomatic complexity 29 (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/main/resources/web/js/settings.js"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"870b63b9dc5dda718acd2135ed7e4680aa34a6b12c097f7afcef5dad872e6c2a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::output (cyclomatic 29): (anonymous)::output has cyclomatic complexity 29 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/marked.umd.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e413f41aa03aa92453c564df64b9a80751401b66f0eba159fa359bbc1e10ad"}},{"ruleId":"D1","level":"warning","message":{"text":"render (cyclomatic 29): render has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 96, 104, 118, \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/resources/web/js/newui/models.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d477b09c8fced6c61caa7103b795558d2bf4a58d13e5a08dce3bfa873dbe13"}},{"ruleId":"D1","level":"warning","message":{"text":"BasicRouterHandler.handleRequest (cyclomatic 28): BasicRouterHandler.handleRequest 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/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41f8faaeb6ec4adc952b88478b44a1832c8fa9512b10dd2b3ac2981eb806b90"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamacppController.handleLlamaCppRemove (cyclomatic 28): LlamacppController.handleLlamaCppRemove 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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc8cf572bfa1b979aa7ff279818fda6d2315081d12a345a5e1261d20ce5d229"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelInfoController.handleModelConfigSetRequest (cyclomatic 28): ModelInfoController.handleModelConfigSetRequest 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"357931e0f710fb26099d9982c393bfded24ce108b9abd23cb305cc9c705d5236"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatRequestStreamingTransformer.transform (cyclomatic 28): ChatRequestStreamingTransformer.transform 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/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e2d780f81f9ff06d11f698847b7077d7b5dfb843895c9970bd7728226191ae"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.buildAutoLoadModelCache (cyclomatic 28): LlamaServerManager.buildAutoLoadModelCache 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dc76b7ef37080719beb146cf73012f04cb82c5cdf33789b4575dab50dc86c3"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.handleDirectory (cyclomatic 28): LlamaServerManager.handleDirectory 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafdfeb2de7e90415776cea3e9d112d5d1653d81238889c24739337582ced1bd"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-mcp.extractToolResultText (cyclomatic 28): chat-mcp.extractToolResultText has cyclomatic complexity 28 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 7 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dac4c1598a8d0b7b55b75753146de3fd3f1cc4c074f16a02d5abd1e3c34dce2"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.openVideoLightbox (cyclomatic 28): index.html.openVideoLightbox has cyclomatic complexity 28 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 4 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/main/resources/web/chat/index.html"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d57e7d1ef13623da8492ae4063865286ef69602d76518ce5ff7f0435dd3dfdb"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.renderParamField (cyclomatic 28): benchmark-v3.renderParamField has cyclomatic complexity 28 (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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f29136cc486bdc689eba8148cd59af7203ae68b8b6ed96ea564afdbbfc809d"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.downloadUpdate (cyclomatic 28): settings.downloadUpdate 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/main/resources/web/js/settings.js"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf0a4eccf0034b71c761d1b40515115560ef176e0b56b1f8bd1173eb2c9a2bc"}},{"ruleId":"D1","level":"warning","message":{"text":"download (cyclomatic 28): download has cyclomatic complexity 28 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b03a4ec728cd2967eac3135d1a2a68aad36a332ff4562d08fc9f0f1445f87e5"}},{"ruleId":"D1","level":"warning","message":{"text":"init (cyclomatic 28): init has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 19 function literals inside it that branch (lines 20, 36, 9, \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/resources/web/js/newui/settings.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed0fca523e1729c967e7b257f7e2c97a1790346b905abbdbd67806121258b3f"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelActionController.handleCloneCreateRequest (cyclomatic 27): ModelActionController.handleCloneCreateRequest has cyclomatic complexity 27 (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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17d1ddf5331bde4fbc682f8ceb7c1f56e85e1c04701fda46303eea4e970f508"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemController.handleFitParamsRequest (cyclomatic 27): SystemController.handleFitParamsRequest has cyclomatic complexity 27 (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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b121ff5ead8d7dc600b5f34fc8b5f1927a5dbde4beffbf9673816c081a5d95"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemController.handleSysSettingRequest (cyclomatic 27): SystemController.handleSysSettingRequest has cyclomatic complexity 27 (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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"334e5955728e1d8e758cfcdb26847a221f29643b48aef6b09ac0b4a057f80baf"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaCppProcess.start (cyclomatic 27): LlamaCppProcess.start has cyclomatic complexity 27 (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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a24260f4d700dff83b9b10f665577a5f983bc63e0a04dd7c4b31b14f2faec4e"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.autoLoadModelFromConfig (cyclomatic 27): LlamaServerManager.autoLoadModelFromConfig has cyclomatic complexity 27 (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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"742655a0fdda3a54482ec54eed598b9028af93d66c6ba9592e2f34d50f18a8b7"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.appendResultRow (cyclomatic 27): benchmark-v3.appendResultRow has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 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/resources/web/js/benchmark-v3.js"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e93bd306b3c9296f7107f66939ef31423a32de12e218ac13497467d2865d35"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.setModelActionMode (cyclomatic 27): model-action-modal.setModelActionMode has cyclomatic complexity 27 (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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cad2bb25c761f64f8b6602fa5ccb2c8e048ff25227ddff3d2d600b9344a1e1"}},{"ruleId":"D1","level":"warning","message":{"text":"mtp-bench.html.runDiff (cyclomatic 27): mtp-bench.html.runDiff has cyclomatic complexity 27 (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/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c079b0c5ff43cde4669a94b0afe8b99acf5a2943e3c45b14bf2608a395bb1e7"}},{"ruleId":"D1","level":"warning","message":{"text":"estimateVramAction (cyclomatic 27): estimateVramAction has cyclomatic complexity 27 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"1111b0937a9df5941ccb74567dbec9e2e51dd3d1d2487f7ec367da4bea86106e"}},{"ruleId":"D1","level":"warning","message":{"text":"loadModels (cyclomatic 27): loadModels has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 87, 111, 116, \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/resources/web/js/model-list.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f88a65f29581f3ac61c6fd87256727807dd0f05176976eac8a7ae9755d7e4ea"}},{"ruleId":"D1","level":"warning","message":{"text":"renderModelList (cyclomatic 27): renderModelList has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 99, 89, 96, \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/resources/web/js/newui/benchmark.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f8e61be2f6b14d3867d9d05ac6af63b9efa1fa4298dc534c91323ea60b948a"}},{"ruleId":"D1","level":"warning","message":{"text":"recordRowHtml (cyclomatic 27): recordRowHtml has cyclomatic complexity 27 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 6 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/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e849ead3c75b563a950acdf0eafda16ed142b09304b4390d73393daf7b4848"}},{"ruleId":"D1","level":"warning","message":{"text":"load (cyclomatic 27): load has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 37, 49, 45, \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/resources/web/js/newui/models.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"656c4928573a3b5fa88eb08f3aa158479635f73f5212e574db5feb10d5310f06"}},{"ruleId":"D1","level":"warning","message":{"text":"CertController.handleGenerate (cyclomatic 26): CertController.handleGenerate has cyclomatic complexity 26 (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/main/java/org/mark/llamacpp/server/controller/CertController.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdd1b73ae041dfb752797cc259bf10445f293631215e61b88bdbea17e3f345f"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelPathController.handleModelPathAdd (cyclomatic 26): ModelPathController.handleModelPathAdd 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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce05c0262d587681eb1e4e560c7d1dc938e04e1e68197f75a0315d37818706a"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.handleOpenAICompletionsRequest (cyclomatic 26): OpenAIService.handleOpenAICompletionsRequest has cyclomatic complexity 26 (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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"5582e09233b90b434a964cb6eeba09f8b458f2a12c675ddc1a0153a83d49f950"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.normalizeAssistantResponse (cyclomatic 26): index.html.normalizeAssistantResponse has cyclomatic complexity 26 (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/main/resources/web/chat/index.html"},"region":{"startLine":3677}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc93eeaf57f413e52782c2cf7947ecfddfc07ea30c0563c84ce66dc714aa30e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.sendMessage (cyclomatic 26): index.html.sendMessage has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":9652}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc82d3f255879692aa1d76492ef68bd2a2cb4abe23689fc2515b9e2936d08301"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.init (cyclomatic 26): settings.init has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8476fa1a6b44879d6b028f059de134d23be4c80edb32b8bcba0a6bbcfd3de4e"}},{"ruleId":"D1","level":"warning","message":{"text":"loadAutoUnloadPolicy (cyclomatic 26): loadAutoUnloadPolicy has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1204, 1227, 1203). 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/resources/web/js/model-action-modal.js"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a865622d93b5bc607eb8e59974a2875a0c79406ee9a82808cfdf32e18ba82e4f"}},{"ruleId":"D1","level":"warning","message":{"text":"fitParamsAction (cyclomatic 26): fitParamsAction has cyclomatic complexity 26 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce6590d1191223ed8b9daf11bb3a4eb52cbcac0550eb4ac8ce685b7fbb2091e"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelInfoController.handleOpenAIModelsRequest (cyclomatic 25): ModelInfoController.handleOpenAIModelsRequest 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"738ee7bcaa7c5725cc1f1ba6f8c201727fb8285088a4987e0fc60403b482e599"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelInfoController.handleRequest (cyclomatic 25): ModelInfoController.handleRequest has cyclomatic complexity 25 (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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cb267d9269b9387dfbffafa825ef9f972b5d089162a21d24bdb5df8192f1f5"}},{"ruleId":"D1","level":"warning","message":{"text":"PerplexityController.handleListRecords (cyclomatic 25): PerplexityController.handleListRecords 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/main/java/org/mark/llamacpp/server/controller/PerplexityController.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aed444399702b295c767f57537822591c13567cfbcbd365ec9d657f2b57386e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.getAssistantModelName (cyclomatic 25): index.html.getAssistantModelName has cyclomatic complexity 25 (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/main/resources/web/chat/index.html"},"region":{"startLine":3419}}}],"partialFingerprints":{"codehealthFindingId/v1":"088b6056aea34151d4d62b68f3b80ec726d32ec19d241b95caf1c198e605ca33"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.formatAssistantPerformanceDetailText (cyclomatic 25): index.html.formatAssistantPerformanceDetailText 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/main/resources/web/chat/index.html"},"region":{"startLine":3610}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9b0ff6cecfc88b4181b98fd87f7860cb41c046a49d06c06a4a5b33a57a84dc"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.consumeSse::processSseLine (cyclomatic 25): index.html.consumeSse::processSseLine has cyclomatic complexity 25 (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/main/resources/web/chat/index.html"},"region":{"startLine":9465}}}],"partialFingerprints":{"codehealthFindingId/v1":"514f6c335d6706fddf971a39f658e763fe61a803e3a358f66157f6a9b72d6226"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.generateAutoReply (cyclomatic 25): index.html.generateAutoReply has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":9780}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf90997f566e3fe0758345f2a4359f0fd13cf67af9ce66b1fa5cafd6b65523d4"}},{"ruleId":"D1","level":"warning","message":{"text":"check (cyclomatic 25): check 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 2 function literals inside it that branch (lines 35, 67). 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/resources/web/js/newui/settings-update.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b0066387172f9714ca147c9db682dafb027dca01bc84c2ddb0436d5782ee2f"}},{"ruleId":"D1","level":"warning","message":{"text":"renderTokenSummary (cyclomatic 25): renderTokenSummary has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 214, 196, 248, \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/resources/web/js/newui/usage-report.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f349c13eaace6fd013002c8f200958cf92309a14a64eeb4ef70c45ab635387"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatRequestWriter.writeRequestBody (cyclomatic 24): EasyChatRequestWriter.writeRequestBody 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/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d65c5b82537a0526d764edd24dfef7eb1e9ec92fee998e31a75a9298c0abe8"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.buildCommandStrFromCmd (cyclomatic 24): LlamaServerManager.buildCommandStrFromCmd 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2566}}}],"partialFingerprints":{"codehealthFindingId/v1":"a872c9fcb1f4e508298ffae1077cb988ef96f5007aba613b7afe60d5ce4197e0"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.handleModelInfo (cyclomatic 24): LlamaServerManager.handleModelInfo 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2837}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0825d3d87296e1377a1d0e2477655e7c5c19271d6d1d4fa3fe8d4211e82d39"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeManager.callRemoteApiStreaming (cyclomatic 24): NodeManager.callRemoteApiStreaming 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/main/java/org/mark/llamacpp/server/NodeManager.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7335310cf5c6be53545e7491d341a9052c094241d11fde01c92b5bc9b0f730"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.buildSamplingParamsJson (cyclomatic 24): index.html.buildSamplingParamsJson 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/main/resources/web/chat/index.html"},"region":{"startLine":8594}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57c63fa7cf0f4d2171b414724198679f3482cdeabe23a3ca389fd88b137fde2"}},{"ruleId":"D1","level":"warning","message":{"text":"model-detail.normalizeModelSamplingStringArray (cyclomatic 24): model-detail.normalizeModelSamplingStringArray has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 8 of the 24 points are its own statements and the rest belongs to 2 function items inside it that branch (splitText, pushValue). 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/main/resources/web/js/model-detail.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b5cb38f973c65b99174c1597fc9652b1c732d39bfcd081b180928e4c3af5d9"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.loadLlamaCppReleases (cyclomatic 24): settings.loadLlamaCppReleases has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6401786a63c9a30dc5562931707f16c4b422ac5ce34c37738fe3c41f468581f7"}},{"ruleId":"D1","level":"warning","message":{"text":"mtp-bench.html.renderModelList (cyclomatic 24): mtp-bench.html.renderModelList has cyclomatic complexity 24 (threshold 15). Of this number, 22 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/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93985a8b72ba91b844abc40bf5037485650cf2dabb6051be123aff2799ceb72"}},{"ruleId":"D1","level":"warning","message":{"text":"groupGgufFiles (cyclomatic 24): groupGgufFiles has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 285, 273, 305, \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/resources/web/js/hf.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"859dcbe4236824850499333b19e42defe3cb37df8db28821d47b40e1fe97d6fa"}},{"ruleId":"D1","level":"warning","message":{"text":"addModelSamplingConfig (cyclomatic 24): addModelSamplingConfig has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 belong to 3 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/resources/web/js/model-detail.js"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"19707ecc2358665fd10e80067fe8f7a548694fe20b3c4e2a457f23f5aa35e081"}},{"ruleId":"D1","level":"warning","message":{"text":"FileDownloadRouterHandler.inferContentType (cyclomatic 23): FileDownloadRouterHandler.inferContentType has cyclomatic complexity 23 (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/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e71015d3f30e1bdcceb0a4f0468930ee2e706df667a364642b79542529cf869"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaRouterHandler.handleApiRequest (cyclomatic 23): LlamaRouterHandler.handleApiRequest has cyclomatic complexity 23 (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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12a4cd065c7865fc820279c4b4ad515edbda2650f92a3ccf5384a0068b35993"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoLoadPolicyController.handleSetPolicy (cyclomatic 23): AutoLoadPolicyController.handleSetPolicy 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/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9835c8a32a217ed82172ff8b54ee1d85237e4f98fde45e6cf8b5c559d35ad1"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelActionController.loadLocalModel (cyclomatic 23): ModelActionController.loadLocalModel has cyclomatic complexity 23 (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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe907913abc9c44b0d232cf824be1ce5a7528a17557b32e1aa8b35d52db8b66"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.handleFitParam (cyclomatic 23): LlamaServerManager.handleFitParam 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3082}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f4e32a70287dc2c3ed01bed2c99bfe1f975632bcd1551b0115a8e21ff7ed5b"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.handleFitParam (cyclomatic 23): LlamaServerManager.handleFitParam 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df765f1ab56508db80f9a843cce378bde20fc022e5df250b5c6898065bbecde"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-mcp.create.restoreScrollPositions (cyclomatic 23): chat-mcp.create.restoreScrollPositions has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"87781395815fccedff8c804d541bd835fa44d5728e53dcded39c79ad97d93d0e"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-mcp.create.render (cyclomatic 23): chat-mcp.create.render has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 492, 500, 483). 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/resources/web/chat/chat-mcp.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"e025f1f640baba52a0f2ef17c87482b3155d580445cd762fdcf086199b1bf676"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderRichText (cyclomatic 23): index.html.renderRichText has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 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/resources/web/chat/index.html"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4465001f9e7ab480f5e1119a691a50fcaf54b14908b0f9e1954892030d86b2e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.normalizeConversationMessage (cyclomatic 23): index.html.normalizeConversationMessage has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 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/main/resources/web/chat/index.html"},"region":{"startLine":3718}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a091a42da6b338934cb995437e9c523eee39778676bb1a26f6c1b8abb02930"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.loadServerRecords (cyclomatic 23): benchmark-v3.loadServerRecords has cyclomatic complexity 23 (threshold 15). Of this number, 21 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbb9df11fca260b041d19a8859d13785326f8f5ae8aee507766d2b2c2b53fd0"}},{"ruleId":"D1","level":"warning","message":{"text":"create.restoreScrollPositions (cyclomatic 23): create.restoreScrollPositions has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd46170fed33537ad4a6bd3a795bf1fdf9b95ad99ca4a14591b945e047cdfe45"}},{"ruleId":"D1","level":"warning","message":{"text":"create.renderServerList (cyclomatic 23): create.renderServerList has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 492, 500, 483, \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/resources/web/chat/chat-mcp.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"0948de109ffe2a61ad0703edc14910e277ab67efd96cbec53ed9fcfa0699cd2a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::tok (cyclomatic 23): (anonymous)::tok has cyclomatic complexity 23 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/marked.umd.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"09808f3d1bfa12dffeae1a9642747d282a9ffda9d773f74ee51e367e47511c11"}},{"ruleId":"D1","level":"warning","message":{"text":"renderSources (cyclomatic 23): renderSources has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 108, 88, 89, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/logs.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aec58298526974f132fd42fe704e292e65fd06b190c66cb5d284d9cf029632"}},{"ruleId":"D1","level":"warning","message":{"text":"PerplexityController.fetchRemoteRecords (cyclomatic 22): PerplexityController.fetchRemoteRecords 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/main/java/org/mark/llamacpp/server/controller/PerplexityController.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1097a928f50d2c7ea68fef1daadeaa454c306bab2cf06096b9eefbc0c6219340"}},{"ruleId":"D1","level":"warning","message":{"text":"McpClientService.upsertServer (cyclomatic 22): McpClientService.upsertServer has cyclomatic complexity 22 (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/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb658622fdc43201031dda307c045a4c178e0bac90972ada9aee2bc52c41ff01"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatService.accumulateNonStreamResponse (cyclomatic 22): EasyChatService.accumulateNonStreamResponse 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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"35590f6357cca30f9895151fe3298282daa3ef7b0aa22a6f3177c9bcdcd89c55"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandLineRunner.splitCommandLineArgs (cyclomatic 22): CommandLineRunner.splitCommandLineArgs 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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b93983e8a9b366905c4b54978e74cea90a4079e77869cdf8478d5eb71cdab7a"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaCppProcess.splitCommandLineArgs (cyclomatic 22): LlamaCppProcess.splitCommandLineArgs 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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"773a4b43540d52395f44d77c3df00f94ec15306782eab89eddc60518e83aa573"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyExtractTool.parseExtractResponse (cyclomatic 22): TavilyExtractTool.parseExtractResponse 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/main/java/org/mark/test/mcp/tavily/tools/TavilyExtractTool.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2698016298d2410bed7c76d8e533436e44618baf3aea986c96b76c7922ec4226"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilySearchTool.parseSearchResponse (cyclomatic 22): TavilySearchTool.parseSearchResponse 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/main/java/org/mark/test/mcp/tavily/tools/TavilySearchTool.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9273a396829936f06e0b84be789baef68b9a16d4207145046627cc67da1b153e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.uploadAssistantAvatar (cyclomatic 22): index.html.uploadAssistantAvatar has cyclomatic complexity 22 (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/main/resources/web/chat/index.html"},"region":{"startLine":4115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd0216cfa886d1ebb892ffa093fe6838a8d170746f64d5b0e1c6fb5accd5f8d"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.doExport (cyclomatic 22): benchmark-v3.doExport has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1372, 1388, 1387). 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/resources/web/js/benchmark-v3.js"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01a3a63817aad8c5f80d1856df24ffb5299c7da0598a787da116fbc601736d7"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.enforceModelCapabilitiesRules (cyclomatic 22): model-action-modal.enforceModelCapabilitiesRules has cyclomatic complexity 22 (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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b3694ed8080ad936e4d25e2831ecaff2c59ed485945556cefd5078145f1263"}},{"ruleId":"D1","level":"warning","message":{"text":"toggleShareConfig (cyclomatic 22): toggleShareConfig has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 belong to 8 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/resources/web/js/model-action-modal.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"77502b98189952921e182396ab1fe09f1c133876d5fae1ed23297c5ba8ccbc92"}},{"ruleId":"D1","level":"warning","message":{"text":"loadModelSamplingSettings (cyclomatic 22): loadModelSamplingSettings has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 873, 870, 871, \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/resources/web/js/model-detail.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b675b6d506adb755b1c1b888b290dd86f60879c8d0132cfa17de76f1b672718"}},{"ruleId":"D1","level":"warning","message":{"text":"hfGroupGgufFiles (cyclomatic 22): hfGroupGgufFiles has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 382, 360, 376, \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/resources/web/js/newui/hf.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf85ce7f5a5c23a39397c23af46d7ed7484631ea5caae817a9dcba6c50a06e6"}},{"ruleId":"D1","level":"warning","message":{"text":"renderDailyChart (cyclomatic 22): renderDailyChart has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 7 function items inside it that branch (onmousemove, labelFn, a function literal at line 419, \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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1eba75c9bbb27e4764a5cdf6e5a82eeaf59655e409d7a144f0c0c0a3b32069"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelActionController.handleLoadModelRequest (cyclomatic 21): ModelActionController.handleLoadModelRequest 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a30ab524af9938e41408a1b20bb534299d3e18646ea12c8cc25dfbbc561bdff"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatService.handleGenerateTitle (cyclomatic 21): EasyChatService.handleGenerateTitle 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c5ac0429e6c3f900ad6029a03845fa2324039b564553461ee46be36182c828"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.handleOpenAIAudioTranscriptionsRequest (cyclomatic 21): OpenAIService.handleOpenAIAudioTranscriptionsRequest 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"387a64155f2ff473a72d9cb55063f092524cc1eb164f383a8641ba60679d734e"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.canFitModelInMemory (cyclomatic 21): LlamaServerManager.canFitModelInMemory 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3362}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d7b4c7b6ede20aebd3b71f76b3d5504e369669d486a52405b5f4f36399e083"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMcpServiceImpl.doProcessRequest (cyclomatic 21): DefaultMcpServiceImpl.doProcessRequest 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/test/mcp/DefaultMcpServiceImpl.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d37a62ce09ae8087f4e1bfc3139483ebff92bf65297bf06e742e2c5f706cec"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.replaceMathInPlainText (cyclomatic 21): index.html.replaceMathInPlainText 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9cd725847af9ae4ab1accc44b13c1800fa162a622a85eab0ff9a4debb00b46"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderGpuSection (cyclomatic 21): index.html.renderGpuSection 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":5327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbdec42f6d19d6ad90518b018d791ad67738274f767cd384e08434afbe2badf"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderHwStat (cyclomatic 21): index.html.renderHwStat has cyclomatic complexity 21 (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/main/resources/web/chat/index.html"},"region":{"startLine":5445}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e08e1e694506dc0f828a750e2f9859eee24e5f09d768bd1d86d337555e23880"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.requestEphemeralStreamChat (cyclomatic 21): index.html.requestEphemeralStreamChat 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":9239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3547117c4c2f99e6b3b18862ae14587aab914aade8532e251b86d1e7da0bd5ae"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.consumeEphemeralSse::processSseLine (cyclomatic 21): index.html.consumeEphemeralSse::processSseLine 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":9315}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde288d8058275d6565579d789fa974c207e5568781f9a9dbf024f24595f417e"}},{"ruleId":"D1","level":"warning","message":{"text":"hf.fetchDetailReadme (cyclomatic 21): hf.fetchDetailReadme 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cf02bfde2328f4687e6e5e7dbc4fb30dfaf5868a138f6268f9f2063ce9bc8b"}},{"ruleId":"D1","level":"warning","message":{"text":"model-detail.bindModelSamplingSamplersField (cyclomatic 21): model-detail.bindModelSamplingSamplersField has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 669). 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/resources/web/js/model-detail.js"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c2ef82e2e54e9d0c252a724cfab11d7c8076e2f688f6ffdf1a5fd9024fd087"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.fillLlamaCppTestModal (cyclomatic 21): settings.fillLlamaCppTestModal has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 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/main/resources/web/js/settings.js"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e38f8b643c8be28d66b664b9c05cfa378e303c6c1e1a7c368c83f475d457bc"}},{"ruleId":"D1","level":"warning","message":{"text":"mtp-bench.html.updateRow (cyclomatic 21): mtp-bench.html.updateRow 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed77074cda21037e503f30aa21683b2ec27df730ad6e0b15645d8895d207a09"}},{"ruleId":"D1","level":"warning","message":{"text":"perplexity.html.runTest (cyclomatic 21): perplexity.html.runTest 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/perplexity.html"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"48030616f1fddbe873c05bae0e552f9a8be4fdf1542b6ffc2adf052c0b5d4b3a"}},{"ruleId":"D1","level":"warning","message":{"text":"runBench (cyclomatic 21): runBench 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e3649fdff3c8bb0a9905a536615110d93c2c2360996b292f016f6ae609c460"}},{"ruleId":"D1","level":"warning","message":{"text":"HuggingFaceSearcher.resolveBaseUrl (cyclomatic 20): HuggingFaceSearcher.resolveBaseUrl 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c873fdddc6fc60bdca13ca0ae16f30cb6c736463023901c5799040e6e8aea6"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatController.handleAvatarUpload (cyclomatic 20): EasyChatController.handleAvatarUpload 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/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"881709cc6d11b7fa6dc84819158d16a97e4d3c771f42b25a239a9fc12da3c489"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelInfoController.handleSetModelAliasRequest (cyclomatic 20): ModelInfoController.handleSetModelAliasRequest 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc43f0e21a6193bc8408c67ac3914750a435c07d9a0684a6d4e282c0daeac16"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelPathController.syncModelPathsToRuntime (cyclomatic 20): ModelPathController.syncModelPathsToRuntime 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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8332b1042dffc01989066bf3907cce9146c34c31133cc101d17d52a0ebbc927"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServer.createWindowsSystemTray (cyclomatic 20): LlamaServer.createWindowsSystemTray 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/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d3fefcc3ba8d214fecd459443574e0d1b69b69ffaf1d6e085d8c313d321d07"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.buildStreamChatHeaders (cyclomatic 20): index.html.buildStreamChatHeaders has cyclomatic complexity 20 (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/main/resources/web/chat/index.html"},"region":{"startLine":8653}}}],"partialFingerprints":{"codehealthFindingId/v1":"591aaf6b021625ccbe1ebab9a7fcc7392f4b262fd9dbc507b8469711345850a5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.buildStreamUserMessage (cyclomatic 20): index.html.buildStreamUserMessage 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/main/resources/web/chat/index.html"},"region":{"startLine":8852}}}],"partialFingerprints":{"codehealthFindingId/v1":"095c8318dd406ab11be5c1ecf9ec8216e6276c049e2d4fedc1645ea4c2adb02a"}},{"ruleId":"D1","level":"warning","message":{"text":"model-benchmark.renderBenchmarkParamsContainer (cyclomatic 20): model-benchmark.renderBenchmarkParamsContainer has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a98d0d5352de93f22cd506641df40988356b1be18da489b74c9e02108877ee6"}},{"ruleId":"D1","level":"warning","message":{"text":"model-benchmark.appendBenchmarkResultBlock (cyclomatic 20): model-benchmark.appendBenchmarkResultBlock has cyclomatic complexity 20 (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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ddd22fd2de7e9e6e977fa2a63ac29afaa2feb598f44a8bc25f63a58220dbf4"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.renderLlamaCppRelease (cyclomatic 20): settings.renderLlamaCppRelease has cyclomatic complexity 20 (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/main/resources/web/js/settings.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5c695eb60468b1329757793743b2937b64052c9b2d2de80908f8bf82d0dc75"}},{"ruleId":"D1","level":"warning","message":{"text":"websocket.applyModelPatch (cyclomatic 20): websocket.applyModelPatch has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/websocket.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b033681643d5d761b82750b3a9d5e59dae3b2582d7263de266bff6cbb126df30"}},{"ruleId":"D1","level":"warning","message":{"text":"llama-build.html.restoreActiveTask (cyclomatic 20): llama-build.html.restoreActiveTask has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs 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/main/resources/web/tools/llama-build.html"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3ef4f2ab3b154d42925b900438ef842bc9cd8086218fa6eb4d59b9d1453ad3"}},{"ruleId":"D1","level":"warning","message":{"text":"submitCreateDownload (cyclomatic 20): submitCreateDownload has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3d7cebd40e086a0d75ce153291653bf2cf48755d0ccd7d915a6e8daa4a513e"}},{"ruleId":"D1","level":"warning","message":{"text":"bindModelSamplingSamplersField::onclick (cyclomatic 20): bindModelSamplingSamplersField::onclick has cyclomatic complexity 20 (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/main/resources/web/js/model-detail.js"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"355a08421d1a8161abe28b8049019dd02b318f7830589780d2b9d48cd0477366"}},{"ruleId":"D1","level":"warning","message":{"text":"exportRecords (cyclomatic 20): exportRecords has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 391, 405, 408, \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/resources/web/js/newui/benchmark.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d82889d043231fb18015998deccf0ef908ae8764149c56c0eab71bcbbd2b74"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadTaskManager.extractTar (cyclomatic 19): DownloadTaskManager.extractTar 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaf1a4fafc4e0ae898e2a480360fd0494e2bfb4906764f52824097485cf1f05"}},{"ruleId":"D1","level":"warning","message":{"text":"MtpHelper.extractDonor (cyclomatic 19): MtpHelper.extractDonor has cyclomatic complexity 19 (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/main/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d243a5983c33355e0659fbaaf1d2418db9897fe57e9c327dcbf84eea899fae8a"}},{"ruleId":"D1","level":"warning","message":{"text":"MtpHelper.writeValue (cyclomatic 19): MtpHelper.writeValue has cyclomatic complexity 19 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"11399c72112214e121d542c09836f65b9b5784a263e8bef2eb8747f03dda46d9"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamacppController.handleLlamaCppList (cyclomatic 19): LlamacppController.handleLlamaCppList 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d32f1d5dbb12874a0134427ab2a9b4c3e3a3786b2dde1bb320ba01dc3637a7"}},{"ruleId":"D1","level":"warning","message":{"text":"BenchmarkService.generatePromptForTargetTokens (cyclomatic 19): BenchmarkService.generatePromptForTargetTokens 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b5bfbad5740f9f4d74adbe6fbe775eed7d746be68173d03f5e77f18a209a8b"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildTaskManager.executePhase (cyclomatic 19): BuildTaskManager.executePhase has cyclomatic complexity 19 (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/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacbd3cd3ed757c85025a1bcaeb38dac3e7073ee4442711a87899d0dd91727db"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteWebSocketClient.connect (cyclomatic 19): RemoteWebSocketClient.connect has cyclomatic complexity 19 (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/main/java/org/mark/llamacpp/server/websocket/RemoteWebSocketClient.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"056276cc15725fd387c1bef93cbc9b1066351039c46f06a64f6377e92bd038de"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigManager.mergeSharedIntoBundle (cyclomatic 19): ConfigManager.mergeSharedIntoBundle 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f44781a30eca08cc19c4843ca5266bf0d9869d9d6987ebb49b656aeac8f303e"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.extractSpecFromLaunchConfig (cyclomatic 19): LlamaServerManager.extractSpecFromLaunchConfig 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a9c81987e3d6d9ba39483ab6a5ff9d070e3720477cc89d4a504c26a063db09"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.loadModelAsyncFromCmd (cyclomatic 19): LlamaServerManager.loadModelAsyncFromCmd has cyclomatic complexity 19 (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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"027a4975045706d15e695090e0328dbc7c40d6fbd74e20bcf92b7e448a606400"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.resolveModelType (cyclomatic 19): LlamaServerManager.resolveModelType has cyclomatic complexity 19 (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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"6194eff5750e7899fe35c3103a90e98982672c41eb65d490e9df3ae78a0fa82c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.updateAssistantMessage (cyclomatic 19): index.html.updateAssistantMessage 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: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":6902}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fc2f4f02445bb946c36301028e5f8c2d14357d4fc6a55cdc8c096364a60430"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.buildBenchCmd (cyclomatic 19): benchmark-v3.buildBenchCmd 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd293763c67880481b25fac0bec03160d7ba8f31402013db0a1a62de42a9756b"}},{"ruleId":"D1","level":"warning","message":{"text":"download.handleWebSocketMessage (cyclomatic 19): download.handleWebSocketMessage 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaefff601a71b235a7ae3fb0003195176dd6298149c48941b08abb74d570f5b"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.buildPersistableLaunchConfig (cyclomatic 19): model-action-modal.buildPersistableLaunchConfig has cyclomatic complexity 19 (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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6445d491fba8e508b75225dc27f249817be6e11910832c4b9b7324e7287de3"}},{"ruleId":"D1","level":"warning","message":{"text":"saveModelConfigAction (cyclomatic 19): saveModelConfigAction has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1828, 1844, 1828). 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/resources/web/js/model-action-modal.js"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5426f13e96a9a436fa01334f835966ade36342c44eedfb60a27c5c67cdc9023"}},{"ruleId":"D1","level":"warning","message":{"text":"buildCmd (cyclomatic 19): buildCmd has cyclomatic complexity 19 (threshold 15). Of this number, 17 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/resources/web/js/newui/model-config.js"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"954fd6eb3952237b2989840720de54b016cac667298738b8bdf93f351c59b939"}},{"ruleId":"D1","level":"warning","message":{"text":"renderTokenChart (cyclomatic 19): renderTokenChart has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 7 function items inside it that branch (onmousemove, a function literal at line 338, a function literal at line 347, \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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"141580a2225dc88dcaff95833ad6cf8d303a0d2d4073ce85402fedaaa5d39636"}},{"ruleId":"D1","level":"warning","message":{"text":"NettyHttpDownloader.download (cyclomatic 18): NettyHttpDownloader.download 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee6183febdfd8b16b27182dbbd7a95d697137e20b3862d64e69e37a7112cb1f"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleHttpDownloader.download (cyclomatic 18): SimpleHttpDownloader.download 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/main/java/org/mark/file/downloader/SimpleHttpDownloader.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a699a0be22b87a39c6bbcdaf3d502923d73b686ff51c0c02afe57e6fdbea95e2"}},{"ruleId":"D1","level":"warning","message":{"text":"HuggingFaceSearcher.normalizeRepoId (cyclomatic 18): HuggingFaceSearcher.normalizeRepoId 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"133e63b657b78e8894fdb9da39b01bf4111941654189922271f8ec6c35ef3a58"}},{"ruleId":"D1","level":"warning","message":{"text":"HuggingFaceSearcher.parseCursorFromLinkHeader (cyclomatic 18): HuggingFaceSearcher.parseCursorFromLinkHeader 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caedb86023da6486954cd71ef0722c307cdc9625b6e9571a5260f5e0e573d66"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaRouterHandler.forwardControlToRemote (cyclomatic 18): LlamaRouterHandler.forwardControlToRemote 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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa99d8b6ca7b5b7a712988863f4c818c6dd41a51a97637292fef8c4132ada1d"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatController.handleBackgroundUpload (cyclomatic 18): EasyChatController.handleBackgroundUpload 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/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"575c042689ef013dd00ac79cca8c09fb515483cc9f7e1fa4c2a65fd29ef7c508"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemController.firstBoolean (cyclomatic 18): SystemController.firstBoolean 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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b0eb8e51b0075331c0b35de401c87e7c2a75bdeb1d6a5d5b13bf031b87263a"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatService.proxySseStreamFromRemote (cyclomatic 18): EasyChatService.proxySseStreamFromRemote 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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d305ea0c4b547eb313e816c9fbcc6d28b4438764c1c9e983070766949deab1c"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatService.seedAccumulatorFromFragment (cyclomatic 18): EasyChatService.seedAccumulatorFromFragment 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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a51962151b27c588e332adbee3e2234b7251f66dd54100b5bab51f910983e8"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatStorage.readModelIndex (cyclomatic 18): EasyChatStorage.readModelIndex has cyclomatic complexity 18 (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/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"00317f991746a8caf9d95a7abb78909a0dae4afda7992e7060efd3edbb6a8db3"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingForwarder.handleNumberValue (cyclomatic 18): StreamingForwarder.handleNumberValue 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/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"abda69aa8dfb8b012a25f747aacd718aad7d95f594d2cf5c76a4ee77983f9fee"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolExecutionService.formatMcpToolResult (cyclomatic 18): ToolExecutionService.formatMcpToolResult 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/main/java/org/mark/llamacpp/server/service/ToolExecutionService.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c937116b5f4a8d24289538beb13b93bb2daebe64a600557f1249c2292f147b"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonUtil.ensureToolCallIds (cyclomatic 18): JsonUtil.ensureToolCallIds 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/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e595e8c360f25cb6d6eeaeb6aadc4561126ad0da1734e48c2e863a63ca63757e"}},{"ruleId":"D1","level":"warning","message":{"text":"JsoupCliHelper.fetchPage (cyclomatic 18): JsoupCliHelper.fetchPage 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/main/java/org/mark/llamacpp/server/tools/JsoupCliHelper.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"287c0ebc381d57c3863ab83e814dddc1d0155e258e2e424832f677b7e279ed0f"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolchainChecker.tryVsWhere (cyclomatic 18): ToolchainChecker.tryVsWhere 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/main/java/org/mark/llamacpp/server/tools/ToolchainChecker.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d3a70b20bfc7bf7a0b1f5610ed427bed3d3aed9f2162263f81c6fa4d5b830e"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaServerManager.loadSettingsFromFile (cyclomatic 18): LlamaServerManager.loadSettingsFromFile 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"736b1c9390fae1a77a1a64b6b8c303c56b89e0377a0ddda6f3f098134c76979c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.extractMediaFromContent (cyclomatic 18): index.html.extractMediaFromContent has cyclomatic complexity 18 (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. This is NOT this file\u0027s highest cyclomatic complexity: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":3042}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4dd6da3b2dc5f6dcd9354209994eecb6911651210b2571ca06e92e72c2baf1"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.loadConversationById (cyclomatic 18): index.html.loadConversationById 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. This is NOT this file\u0027s highest cyclomatic complexity: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":5738}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a8bfc36375af7bcde4cd84f202a96cef87408ddd79cc826bdd77127a6005f0"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.pushMessage (cyclomatic 18): index.html.pushMessage 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. This is NOT this file\u0027s highest cyclomatic complexity: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":6829}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde6d3be20690a1e7c8e9b4fce471abc430cce77bd8ddd32f25546fae56a73ba"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.deleteMessage (cyclomatic 18): index.html.deleteMessage has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 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. This is NOT this file\u0027s highest cyclomatic complexity: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":8412}}}],"partialFingerprints":{"codehealthFindingId/v1":"2626d45f5f0030452a84a6510d95d7a18b187d2c295da6c040481df64b9b21a3"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.initOrderedMultiSelects (cyclomatic 18): index.html.initOrderedMultiSelects has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 5678, 5667). 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/resources/web/index.html"},"region":{"startLine":5665}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3337919b76e4dfc2511f67eb23b7eef0fc4796e7503ecfc203c9a5ad1d1f76"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.loadCompatServiceStatus (cyclomatic 18): index.html.loadCompatServiceStatus 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/main/resources/web/index.html"},"region":{"startLine":6168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84868fa4855c96dde5748fae7937108a1178e9c276ae58c8a6f63d35387288b"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.hwFallback (cyclomatic 18): benchmark-v3.hwFallback 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1f4697c39c7fad35ed3aa0344399d1af5e13f389c4342350e726be644febea"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.normalizeLaunchConfigBundle (cyclomatic 18): model-action-modal.normalizeLaunchConfigBundle 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"144f8bfb098e6251f0f02dda66818c5b440755518d17435503bd8e1413b6db0c"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.applyLaunchConfigToModal::tryApply (cyclomatic 18): model-action-modal.applyLaunchConfigToModal::tryApply 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebc83ead5178cc295cd6db8a879ab4ac483a129e65bb95786ea46a72bbfc018"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.renderMainGpuSelect (cyclomatic 18): model-action-modal.renderMainGpuSelect has cyclomatic complexity 18 (threshold 15). Of this number, 16 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb2c06aa5b484ef71b934d930dcaf432e9bc1c1557aeb63601946968e8a4f6f"}},{"ruleId":"D1","level":"warning","message":{"text":"model-list.renderBuildInfo (cyclomatic 18): model-list.renderBuildInfo 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/main/resources/web/js/model-list.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4eda7952d23fb282489acde9af69c0fc0548bea1388d93f98bf2e151263c63"}},{"ruleId":"D1","level":"warning","message":{"text":"model-list.sortAndRenderModels (cyclomatic 18): model-list.sortAndRenderModels has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91745d70c6cdccba3413b6117db5f46436a5c4bccc9b3b6c98c4b9077edb263"}},{"ruleId":"D1","level":"warning","message":{"text":"mtp-bench.html.formatResultsAsText (cyclomatic 18): mtp-bench.html.formatResultsAsText has cyclomatic complexity 18 (threshold 15). 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, 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/resources/web/tools/mtp-bench.html"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"d036dffafff728c8240569e90f315eaa1354ae3d5e627e9ed6d911c75d4bf857"}},{"ruleId":"D1","level":"warning","message":{"text":"perplexity.html.viewRecord (cyclomatic 18): perplexity.html.viewRecord has cyclomatic complexity 18 (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/main/resources/web/tools/perplexity.html"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f92b8b5f4f9de6a2ff721f42d0a9288846b7e96e18ee19d3802159d30375df"}},{"ruleId":"D1","level":"warning","message":{"text":"updateModelSamplingConfig (cyclomatic 18): updateModelSamplingConfig has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 3 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/resources/web/js/model-detail.js"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"8604fa07fe9b9cab083bf29d15af829af1568e7d0523c33ba7874bbb1cc0dd57"}},{"ruleId":"D1","level":"warning","message":{"text":"saveHw (cyclomatic 18): saveHw has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d154271339dfe670b76b0c629b1da181a908da683e3b54d6ca67cf28d408db02"}},{"ruleId":"D1","level":"warning","message":{"text":"loadConfigPane (cyclomatic 18): loadConfigPane has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 106, 104, 105, \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/resources/web/js/newui/model-detail.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1aa95ef661ca4c6e97e540492a1395a0c0c1b66602edf4352c51f1d015c3d5"}},{"ruleId":"D1","level":"warning","message":{"text":"populate (cyclomatic 18): populate 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/main/resources/web/js/newui/settings.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa34002de01146f35604f21b204e260e07ef4767faa5131de32f63570e38bc9"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadHandler.channelRead0 (cyclomatic 17): DownloadHandler.channelRead0 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3e4c914fce85d36bf293d2d374001e50bb5664a70d57850932558b0b7482cf"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadToFileRequest.executeAsync (cyclomatic 17): DownloadToFileRequest.executeAsync has cyclomatic complexity 17 (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/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8e5133dbae10b0e021ce5d27001a35bb2256849a68b6da5fa4bf9b4b1eb8f5"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadToFileHandler.channelRead0 (cyclomatic 17): DownloadToFileHandler.channelRead0 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/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f2f7cd05e552bf67dfdab97016d30be5f94e291c7fd23294b91a0da87c70ba"}},{"ruleId":"D1","level":"warning","message":{"text":"BasicRouterHandler.resolveLoadModelRemoteUrl (cyclomatic 17): BasicRouterHandler.resolveLoadModelRemoteUrl 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. This shape REPEATS in the file: one other method here (BasicRouterHandler.resolvePropsRemoteUrl) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae362d6e97fddf8dda8c0a7bd917c92befbbb0f75879acee92ee0133ecec8fb"}},{"ruleId":"D1","level":"warning","message":{"text":"BasicRouterHandler.resolvePropsRemoteUrl (cyclomatic 17): BasicRouterHandler.resolvePropsRemoteUrl 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. This shape REPEATS in the file: one other method here (BasicRouterHandler.resolveLoadModelRemoteUrl) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65ece63d846dbb6634f18ca0b6501e6b909ffe95845e39dc2bb69531ae91b2c"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaRouterHandler.resolveControlRemoteUrl (cyclomatic 17): LlamaRouterHandler.resolveControlRemoteUrl 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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f945a9a61331fd0a82fcf1fa5dc5b337a44b6a3b9a3bff852df73360d4c4a0"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamacppController.handleTokenizeRequest (cyclomatic 17): LlamacppController.handleTokenizeRequest has cyclomatic complexity 17 (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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"c260bee8c8c11706f681e444acd687b1c3fe7fc0f1650144ee21947148a64e5c"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamacppController.proxyRawBytes (cyclomatic 17): LlamacppController.proxyRawBytes 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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db32d57cae545543babc0292a7db0aba21c754673e7fb3aa5652f5c6a231d97"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelActionController.fetchRemoteLoadedModels (cyclomatic 17): ModelActionController.fetchRemoteLoadedModels 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. This shape REPEATS in the file: one other method here (ModelActionController.fetchRemoteModelList) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac942fa4cd3b6ba632747ab57a832da8384118b702f1febefbc4315d9f381ad"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelActionController.fetchRemoteModelList (cyclomatic 17): ModelActionController.fetchRemoteModelList 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. This shape REPEATS in the file: one other method here (ModelActionController.fetchRemoteLoadedModels) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"de52040c340b99552ba5520e7752c7e986c0c53ec490784fdedfb051ed6bf847"}},{"ruleId":"D1","level":"warning","message":{"text":"McpClientService.callToolShortLived (cyclomatic 17): McpClientService.callToolShortLived 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/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"383c0a1ac9ec7fe4b3236cda079e8543073b71fc3a70e7af0f34a182854860e5"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.mergeRemoteModels (cyclomatic 17): OpenAIService.mergeRemoteModels 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa70ad7618f3b871f752fdf3a5edf1fdb1e7c64c30f9c63f0c53b8db526434d4"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandLineRunner.resolveExecutablePath (cyclomatic 17): CommandLineRunner.resolveExecutablePath 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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1f2912ad53e2e4d0ff7e80a25562252aac85953677c7148c42ace55b0ba220"}},{"ruleId":"D1","level":"warning","message":{"text":"GPUInfoHelper.getMemoryInfo (cyclomatic 17): GPUInfoHelper.getMemoryInfo 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/main/java/org/mark/llamacpp/server/tools/GPUInfoHelper.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaee8d393e0919b2679a1026c6004577ebd94abf11087a458854a8e1721eb0d"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigManager.normalizeLaunchConfigEntry (cyclomatic 17): ConfigManager.normalizeLaunchConfigEntry 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/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d753492e6f889f9107738d51aa9346dcd279246e47d2a7f15e628e2dd04dfb3"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-mcp.create (cyclomatic 17): chat-mcp.create has cyclomatic complexity 17 (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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf3f5b1ec3b47d68f89abf4d11d21eaa4b5f12efa2e12b3b50ec776ef547a5e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.flushStreamingMarkdown (cyclomatic 17): index.html.flushStreamingMarkdown 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. This is NOT this file\u0027s highest cyclomatic complexity: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc5b23c3b03ea62672d4bb2c8396e3d574b0c26ab3af864dd79d96261338d93"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderModelMenu (cyclomatic 17): index.html.renderModelMenu has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":4823}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84637e258ce05be2c713c39170a88c7c39961eb82c37e9b019f03481f388c9d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.ensureServerStateReady (cyclomatic 17): index.html.ensureServerStateReady 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. This is NOT this file\u0027s highest cyclomatic complexity: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":5631}}}],"partialFingerprints":{"codehealthFindingId/v1":"3297d3f4a2efb8050c0250dee5557ed1fcd38f0921957b00f9f47441b4801a29"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.flushStateSave (cyclomatic 17): index.html.flushStateSave 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. This is NOT this file\u0027s highest cyclomatic complexity: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":5821}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03e2d594cc22b08992b96c8bc37e85fdaa85d70f57586f3f88130090f266e7d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.generateTitleViaApi (cyclomatic 17): index.html.generateTitleViaApi has cyclomatic complexity 17 (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: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":9198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec9af5031f24e5b9856d68be0357a30b5e230db05f2b70f72038ff90b2f4304"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.renderChart (cyclomatic 17): benchmark-v3.renderChart has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a84c8234ba4bb6cf3a5ba8b7fd5bfd4787b3f8a4f45a36b21fe144e89d5819"}},{"ruleId":"D1","level":"warning","message":{"text":"download.updateDownloadItem (cyclomatic 17): download.updateDownloadItem has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/main/resources/web/js/download.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa6b6fedd0602e8b2854ed3e64d1a486c5d447d78d9ac2feb13e0070a3749a1"}},{"ruleId":"D1","level":"warning","message":{"text":"hf.fetchDetailGguf (cyclomatic 17): hf.fetchDetailGguf has cyclomatic complexity 17 (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/main/resources/web/js/hf.js"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"70406561d4132af932d6f131e8c46efda89a101683dd48f8143118042fc44905"}},{"ruleId":"D1","level":"warning","message":{"text":"hf.selectRepo (cyclomatic 17): hf.selectRepo has cyclomatic complexity 17 (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/main/resources/web/js/hf.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"3540202c9b6036ca72d3014983c3d591bb640323ea6d9be8918c8fc064c1d5d9"}},{"ruleId":"D1","level":"warning","message":{"text":"i18n.applyTranslations (cyclomatic 17): i18n.applyTranslations has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 86, 73, 113). 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/resources/web/js/i18n.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7ec6483dd67df02bca89b92f42415535acb0e6c04f083ee4950958b8393b00"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.switchParamMode (cyclomatic 17): model-action-modal.switchParamMode 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d6bff766183b2a862a034121ccab2ef0b1d687961a7798d3dcb59197c976da"}},{"ruleId":"D1","level":"warning","message":{"text":"model-benchmark.buildBenchmarkCmdFromDynamicFields (cyclomatic 17): model-benchmark.buildBenchmarkCmdFromDynamicFields has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e48c95b2997a65a463ef2320782e3527c2b637b899233af5f219b0e26580c4"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.addModelPath (cyclomatic 17): settings.addModelPath 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/main/resources/web/js/settings.js"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"757ff10987f8dc1f2ea345a41e8606afc27125f95a51f70014b5a52ef9eac07c"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v2.html.withHardwareFallback (cyclomatic 17): benchmark-v2.html.withHardwareFallback has cyclomatic complexity 17 (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/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c572f1827e7dbf8a7330223017e882c3ce0ee13802d6f64afb17158d41e7637"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v2.html.deleteBenchmarkRecord (cyclomatic 17): benchmark-v2.html.deleteBenchmarkRecord has cyclomatic complexity 17 (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/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3548213b27d95a34272363f2d1ed1895ef0d0efd3eae1b0abfc8e661bc7f0e"}},{"ruleId":"D1","level":"warning","message":{"text":"llama-build.html.checkToolchain (cyclomatic 17): llama-build.html.checkToolchain 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/main/resources/web/tools/llama-build.html"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db37ca76ade60282a22ea30ae6d8dac61c79e8509177b0579e10cb3117672ef"}},{"ruleId":"D1","level":"warning","message":{"text":"perplexity.html.renderModelList (cyclomatic 17): perplexity.html.renderModelList has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 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/main/resources/web/tools/perplexity.html"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81103b2bb4c9bd7297289b93411d1e65832a6fb5b1dc6b7b4463be61a59921f"}},{"ruleId":"D1","level":"warning","message":{"text":"setLogFilter (cyclomatic 17): setLogFilter has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/console-modal.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b0a509c5e503d97460ec480cb69484cce60a88a3e42729b1a1b9228f7385a7"}},{"ruleId":"D1","level":"warning","message":{"text":"deleteModelSamplingConfig (cyclomatic 17): deleteModelSamplingConfig has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 3 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/resources/web/js/model-detail.js"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aecbfc448b0fd483b38ad60876851b8a5ac18553c51add33c864a7acc2641c1"}},{"ruleId":"D1","level":"warning","message":{"text":"loadRecords (cyclomatic 17): loadRecords has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 247, 257, 263, \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/resources/web/js/newui/benchmark.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2af74c44f291aad5933cf6b7b986e6181b606e28ed2b34748ce159fae57a7e"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchGguf (cyclomatic 17): fetchGguf has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 172, 183, 191, \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/resources/web/js/newui/hf.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63b6de1f73f57849e81b8c540908c6e7f7f7be5d07967c0115b1f2d6034fb8e"}},{"ruleId":"D1","level":"warning","message":{"text":"NettyHttpDownloader.executeStreamDownload (cyclomatic 16): NettyHttpDownloader.executeStreamDownload 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a333bd7f264324593248265ca040034e71b502e873f8bfbcd8365dc5bb2e45"}},{"ruleId":"D1","level":"warning","message":{"text":"Request.executeSingle (cyclomatic 16): Request.executeSingle has cyclomatic complexity 16 (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/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"985c59c0bfabc6b235f4f0eeae00f5b300ab281c77d153a22ea6a1308c698c35"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaRouterHandler.forwardControlToLocal (cyclomatic 16): LlamaRouterHandler.forwardControlToLocal 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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d14d02f79dc59b72e52f3eea3e18f8e948b3ca89b518a72bf24f8bfd668f15"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIChatStreamingHandler.channelRead (cyclomatic 16): OpenAIChatStreamingHandler.channelRead 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/main/java/org/mark/llamacpp/server/channel/OpenAIChatStreamingHandler.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee896eec32360c41705512d8bc3658a749c7cca3402ced5d027966e6f17c8a7"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildController.handleBuildSubmit (cyclomatic 16): BuildController.handleBuildSubmit has cyclomatic complexity 16 (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/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8292f84f45a2af662e5102cf01c64e32aeff27889ddeff183a37bdb18f92e3ad"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyChatController.shouldUseGzip (cyclomatic 16): EasyChatController.shouldUseGzip 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/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d221607b375946c11764c95ba8795e0d4954348370b2df43e121edae8703d592"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamacppController.handleApplyTemplateRequest (cyclomatic 16): LlamacppController.handleApplyTemplateRequest has cyclomatic complexity 16 (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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c719c5dd0b057984f6de41671152aa1572016f1f657d7b06bbf64c291113024"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamacppController.handleLlamaCppAdd (cyclomatic 16): LlamacppController.handleLlamaCppAdd has cyclomatic complexity 16 (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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd649d5db6594e6702fc2526c4c5f1f365cbe4049b7814df9a649af8f9069e0e"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelActionController.callRemoteApiTracked (cyclomatic 16): ModelActionController.callRemoteApiTracked has cyclomatic complexity 16 (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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"011f95e599b20e07814d4f1877d766b42bd4b4e6897ca4fdfb3a0a8e21e52f41"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelActionController.handleModelBenchmarkV2Delete (cyclomatic 16): ModelActionController.handleModelBenchmarkV2Delete has cyclomatic complexity 16 (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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"57740b9b4f5eed5289a07f10434653f105d6e835132a06f6f0b0eddd5d7447e5"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelActionController.handleRequest (cyclomatic 16): ModelActionController.handleRequest has cyclomatic complexity 16 (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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"932ab0a9962b02c03ae4bbe77335615d042866446d00a80a0341c2ee90137dfb"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatStreamSession.run (cyclomatic 16): ChatStreamSession.run 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/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6737d2fbf4b7e05abe52c9dcb9ea5cb9d79fe66a50106db78371fff5fbb4d94f"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaRecordService.extractJsonObjectValue (cyclomatic 16): LlamaRecordService.extractJsonObjectValue 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/main/java/org/mark/llamacpp/server/service/LlamaRecordService.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b13c95378b50241fb6eb19aa9d652cf5fd4e74cb374622b321e104b0f1ae10"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelSamplingService.readStringArray (cyclomatic 16): ModelSamplingService.readStringArray 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/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cde040f1aa03b6350776d53e9d26100ecb55f725cf15cb40a833f69c3fa273"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.resolveFromRemoteNodes (cyclomatic 16): OpenAIService.resolveFromRemoteNodes 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"de224236c93b9fa78e037d1516049dc8185c4ab53fb6583c174fab9416ebe986"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIService.streamRawProxyResponse (cyclomatic 16): OpenAIService.streamRawProxyResponse 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fffe01e0a61bfce26ad1b60cd1841833c8775c0ba427c98e6bf5e2837734b16"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandLineRunner.executeInternal (cyclomatic 16): CommandLineRunner.executeInternal has cyclomatic complexity 16 (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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bb250b44992cc2fd6b5f73b882898deb19eb36d20d01291571c2e256153f94"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandLineRunner.resolveByPathext (cyclomatic 16): CommandLineRunner.resolveByPathext 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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a36d9732eb54b3613116cc96d992ebf1358bf65072a64f079b477a720428f2"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.buildLegacyAssistant (cyclomatic 16): index.html.buildLegacyAssistant has cyclomatic complexity 16 (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: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ff6ea3442d0682c1e6c60121cc3c6725a7ee50369b0ed59987fe7fe6ad4141"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.syncAssistantVariantModelArrays (cyclomatic 16): index.html.syncAssistantVariantModelArrays has cyclomatic complexity 16 (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: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":3458}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1cac98930eec8994a8b74969e5d59922706142195fdc92a374ef63642a194b"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.canContinueAssistantResponse (cyclomatic 16): index.html.canContinueAssistantResponse has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: index.html.applyLoadedState (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":6028}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74e915dae3d6d80b2d37d07f4c3de99a1e6e7807ec3aeadd817158c412d0fd2"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v3.deleteServerRecord (cyclomatic 16): benchmark-v3.deleteServerRecord has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc7ee4c30e5b0ba6d378a24accee4e66c4a6faae90a44b8f8d3268e8acf7dc0"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.setFieldValue (cyclomatic 16): model-action-modal.setFieldValue 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca330f733b30fc9db4b130fdab916a22647cfa26c45446090814f0bfc4deedf"}},{"ruleId":"D1","level":"warning","message":{"text":"model-action-modal.parseBooleanLike (cyclomatic 16): model-action-modal.parseBooleanLike has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"3613632ce0b76f8cce8e07fa3d815919bd45698e4f0943458b3f93a787b23137"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.testNode (cyclomatic 16): settings.testNode 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/main/resources/web/js/settings.js"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cd33e433451d324f3afb7d92dfb0fdfa286c3d97bf3990ece80f58a759c2de"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-v2.html.saveHardwareProfile (cyclomatic 16): benchmark-v2.html.saveHardwareProfile has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbfc7087650f1fa724b96b6140e64de9824221d73ca2351d19d77001d290d04"}},{"ruleId":"D1","level":"warning","message":{"text":"llama-build.html.loadFormState (cyclomatic 16): llama-build.html.loadFormState has cyclomatic complexity 16 (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/main/resources/web/tools/llama-build.html"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bca22730f8073c22dda52ccca031f4112bc308b012af681379101da0d345cd"}},{"ruleId":"D1","level":"warning","message":{"text":"mtp-bench.html.setAggregateRow (cyclomatic 16): mtp-bench.html.setAggregateRow has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a884d0d3fd4884cac205d7fc87b2927a2215facbfb91afc1c7f1afc15811526d"}},{"ruleId":"D1","level":"warning","message":{"text":"loadAutoLoadPolicy (cyclomatic 16): loadAutoLoadPolicy has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f13df4cec8d005a730f63a5a73fbaba8e2266a668947e25033e85e135641d0"}},{"ruleId":"D1","level":"warning","message":{"text":"loadModelChatTemplate (cyclomatic 16): loadModelChatTemplate has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1085, 1084, 1097). 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/resources/web/js/model-detail.js"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"139f6a80f7f1000b8e3d0b81a0b8ceda5e8e1704b722e26dc0fd6d91f80767d2"}},{"ruleId":"D1","level":"warning","message":{"text":"testProxyConnection (cyclomatic 16): testProxyConnection has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada85080317f9f09527b0469d2c69249cfe094337ca73b564be4014ab32d7150"}},{"ruleId":"D1","level":"warning","message":{"text":"loadHistory (cyclomatic 16): loadHistory has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 498, 508, 501, \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/resources/web/js/newui/benchmark.js"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6294917d387b9f408f162a081d95e56272d61cab2a03d9eb3d8b22da9431dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"onConsoleMsg (cyclomatic 16): onConsoleMsg has cyclomatic complexity 16 (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/main/resources/web/js/newui/logs.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dec1c2110cdceae6e87202b1054b1941783cdd5da8e3bd20a600b4f97dd465"}},{"ruleId":"D1","level":"warning","message":{"text":"savePathSheet (cyclomatic 16): savePathSheet has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a452a92a1b21ec1bfd5720209c7db737afab566d8292be3b34fe54ae5ac2369e"}},{"ruleId":"D1","level":"warning","message":{"text":"load (cyclomatic 16): load 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 3 function literals inside it that branch (lines 280, 297, 303). 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/resources/web/js/newui/settings.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d50594b8ab12ada0b7502b7dfb73efc0f89c4fde2c11afb6df118b64b33bf38"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatService.handleStreamChat (cognitive 228): EasyChatService.handleStreamChat has cognitive complexity 228 (threshold 15). Drivers by points: if/else 82 (142 pts), boolean chains 30, error handling 12 (25 pts), ternaries 12 (24 pts), loops 3 (7 pts) (nesting depth added 89). 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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c20d982ad06ca5409babbdf49ec1bca426ba50e547a7e1355318c45ac7f90d2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.requestAssistantResponse (cognitive 207): index.html.requestAssistantResponse has cognitive complexity 207 (threshold 15). Drivers by points: if/else 48 (144 pts), boolean chains 38, ternaries 9 (18 pts), loops 3 (6 pts), error handling 1 (nesting depth added 108). Of this number, 205 points are the body\u0027s own statements and 2 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/resources/web/chat/index.html"},"region":{"startLine":7725}}}],"partialFingerprints":{"codehealthFindingId/v1":"b225eebfaaeb9157ff4663f7c7fefba62a3204bbf56ba4a434b897fea383635e"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatService.handleStreamChatHistory (cognitive 173): EasyChatService.handleStreamChatHistory has cognitive complexity 173 (threshold 15). Drivers by points: if/else 31 (86 pts), ternaries 10 (34 pts), error handling 8 (22 pts), loops 8 (22 pts), boolean chains 9 (nesting depth added 107). 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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90bc21c1627f869a7aecc03efb4ce789313eae3e935d02f552f30b14f4c4075"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicService.convertAnthropicToOai (cognitive 168): AnthropicService.convertAnthropicToOai has cognitive complexity 168 (threshold 15). Drivers by points: if/else 48 (123 pts), boolean chains 21, loops 7 (21 pts), ternaries 1 (3 pts) (nesting depth added 91). 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/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafa7fb811523ef77ea2b6afdd2a8330d13c7c6599922658d2e4e31de632bd75"}},{"ruleId":"D2","level":"warning","message":{"text":"applyCmdToDynamicFields (cognitive 156): applyCmdToDynamicFields has cognitive complexity 156 (threshold 15). Drivers by points: if/else 43 (93 pts), ternaries 15 (33 pts), boolean chains 19, loops 9 (11 pts) (nesting depth added 70). Of this number, 150 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"093a49a7593fd52300bbe4d1b37b0f0e44aba8f745e131d78f228652e9e2941c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::_compress (cognitive 150): (anonymous)::_compress has cognitive complexity 150 (threshold 15). Drivers by points: if/else 41 (104 pts), loops 13 (46 pts) (nesting depth added 96). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/lz-string.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d5242baa0117da770df8f9909b9dd8c8247ff1b2d244795dc980066e5d2a2a"}},{"ruleId":"D2","level":"warning","message":{"text":"buildLoadModelPayload (cognitive 137): buildLoadModelPayload has cognitive complexity 137 (threshold 15). Drivers by points: if/else 26 (81 pts), boolean chains 27, ternaries 12 (27 pts), loops 1 (2 pts) (nesting depth added 71). Of this number, 129 points are the body\u0027s own statements and 8 belong to 3 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"d047c48dc42964fa0e726ec8e3fdc86f634c314c5ec5ed612623809d77b771c6"}},{"ruleId":"D2","level":"warning","message":{"text":"extractSamplingSettingsFromConfig (cognitive 137): extractSamplingSettingsFromConfig has cognitive complexity 137 (threshold 15). Drivers by points: if/else 36 (88 pts), boolean chains 42, loops 4, match/switch 1 (2 pts), ternaries 1 (nesting depth added 53). Of this number, 105 points are the body\u0027s own statements and 32 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d31166add8df8e5045c1e36047c548da53877e40cb9e9b7f38b3692304ff2f7"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::token (cognitive 136): (anonymous)::token has cognitive complexity 136 (threshold 15). Drivers by points: if/else 33 (91 pts), ternaries 6 (21 pts), loops 6 (16 pts), boolean chains 8 (nesting depth added 83). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/marked.umd.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8083abb7eba566a1a20903e420f9069cdc57e647e8abec553a8058315be152df"}},{"ruleId":"D2","level":"warning","message":{"text":"submitModelAction (cognitive 120): submitModelAction has cognitive complexity 120 (threshold 15). Drivers by points: if/else 35 (64 pts), ternaries 17 (28 pts), boolean chains 25, error handling 2 (3 pts) (nesting depth added 41). Of this number, 65 points are the body\u0027s own statements and 55 belong to 10 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"819c2472ce9909255bcf2b55bd4a37403fd5425e2e1a0179e0f13820804af0f6"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.createMessageElement (cognitive 117): index.html.createMessageElement has cognitive complexity 117 (threshold 15). Drivers by points: if/else 32 (56 pts), loops 8 (24 pts), boolean chains 20, ternaries 11 (17 pts) (nesting depth added 46). 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/main/resources/web/chat/index.html"},"region":{"startLine":6057}}}],"partialFingerprints":{"codehealthFindingId/v1":"1191425da27a0e873394515628d55f90f4e1a41563d10b62897408609f6bf16b"}},{"ruleId":"D2","level":"warning","message":{"text":"updateDownloadProgress (cognitive 115): updateDownloadProgress has cognitive complexity 115 (threshold 15). Drivers by points: if/else 24 (55 pts), ternaries 16 (29 pts), boolean chains 24, loops 2 (7 pts) (nesting depth added 49). Of this number, 114 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/main/resources/web/js/download.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"be004e9ffed473cf4b96b91f930680feecfe472dd1a43c3c32cd430174775209"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.listModel (cognitive 113): LlamaServerManager.listModel has cognitive complexity 113 (threshold 15). Drivers by points: if/else 24 (71 pts), loops 9 (19 pts), error handling 5 (15 pts), boolean chains 8 (nesting depth added 67). 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/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c1636b642bf48ceeb9c8c25356367c17ef008071061d5773579493cc4946a2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.regenerateMessage (cognitive 109): index.html.regenerateMessage has cognitive complexity 109 (threshold 15). Drivers by points: if/else 41 (77 pts), boolean chains 13, loops 5 (12 pts), ternaries 4 (7 pts) (nesting depth added 46). Of this number, 108 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/main/resources/web/chat/index.html"},"region":{"startLine":8010}}}],"partialFingerprints":{"codehealthFindingId/v1":"33097669be25fc3830a60640c0c3841e4ec3d91205d7d6c198c816720e49e3d8"}},{"ruleId":"D2","level":"warning","message":{"text":"checkUpdate (cognitive 98): checkUpdate has cognitive complexity 98 (threshold 15). Drivers by points: if/else 47 (66 pts), boolean chains 17, ternaries 5 (11 pts), error handling 2 (4 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"4984ebb55956c58e044021e32eeee59840db08eb13d85b52b97a64602534854c"}},{"ruleId":"D2","level":"warning","message":{"text":"FileUploadRouterHandler.channelRead (cognitive 97): FileUploadRouterHandler.channelRead has cognitive complexity 97 (threshold 15). Drivers by points: if/else 29 (74 pts), error handling 3 (13 pts), boolean chains 5, ternaries 1 (5 pts) (nesting depth added 59). 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/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b6f15f80c14c0d39faea5e283dc73c92bdabb0faeb788aa0efba683cc08eab"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.handleOpenAIModelsRequest (cognitive 92): OpenAIService.handleOpenAIModelsRequest has cognitive complexity 92 (threshold 15). Drivers by points: if/else 22 (71 pts), boolean chains 9, loops 6 (8 pts), error handling 2 (4 pts) (nesting depth added 53). 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c01a38b1eb99c224d601fceba7c8b6d88d7a8571577fbef4e1edce36dd3ce6d"}},{"ruleId":"D2","level":"warning","message":{"text":"create.bindEvents (cognitive 87): create.bindEvents has cognitive complexity 87 (threshold 15). Drivers by points: if/else 28 (37 pts), ternaries 6 (19 pts), boolean chains 18, error handling 6 (13 pts) (nesting depth added 29). Of this number, 18 points are the body\u0027s own statements and 69 belong to 25 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a8ec73a9c5c5af3828e98bd3f1a21ff477fc60cfa56c5c18316d04d5b709f7"}},{"ruleId":"D2","level":"warning","message":{"text":"renderModelsList (cognitive 83): renderModelsList has cognitive complexity 83 (threshold 15). Drivers by points: ternaries 28 (34 pts), if/else 19 (26 pts), boolean chains 23 (nesting depth added 13). Of this number, 21 points are the body\u0027s own statements and 62 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe571004254eccc46134b404346d77b17e5c758da27de9d7fc290b6cab55d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelSamplingService.applySamplingFromCmd (cognitive 82): ModelSamplingService.applySamplingFromCmd has cognitive complexity 82 (threshold 15). Drivers by points: if/else 22 (60 pts), boolean chains 19, match/switch 1 (2 pts), loops 1 (nesting depth added 39). 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/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09f3712eb9771a331a856fd8621d2e3d56109239c83d016ad223f816cb2f5fb"}},{"ruleId":"D2","level":"warning","message":{"text":"renderBenchmarkFieldFromParam (cognitive 81): renderBenchmarkFieldFromParam has cognitive complexity 81 (threshold 15). Drivers by points: ternaries 26 (38 pts), boolean chains 26, if/else 10 (15 pts), loops 1 (2 pts) (nesting depth added 18). Of this number, 76 points are the body\u0027s own statements and 5 belong 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7653e627afcd4106c4f54391c1855162fed78dd8332a8147225bf0f7decb1629"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.updateAssistantMessageElement (cognitive 78): index.html.updateAssistantMessageElement has cognitive complexity 78 (threshold 15). Drivers by points: if/else 37 (59 pts), boolean chains 17, ternaries 1 (2 pts) (nesting depth added 23). 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/main/resources/web/chat/index.html"},"region":{"startLine":6678}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72d538c85e5b9acdda6fe7ca09395903546890681253eb8e2f2e93d5aeb63f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ParamTool.handleThinking (cognitive 72): ParamTool.handleThinking has cognitive complexity 72 (threshold 15). Drivers by points: if/else 22 (55 pts), error handling 4 (11 pts), boolean chains 6 (nesting depth added 40). 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/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc451b9f6fa0f689e61909bbdef577cee5ec169bf47cf6b929a11638e74f102"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.buildPayload (cognitive 72): index.html.buildPayload has cognitive complexity 72 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 25, ternaries 15 (19 pts), loops 1 (nesting depth added 10). 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/main/resources/web/chat/index.html"},"region":{"startLine":9031}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b0df903ecdaea9fbc7880f555dfd61a6127a0a3ec12589e727330a10b34aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingForwarder.extractFields (cognitive 69): StreamingForwarder.extractFields has cognitive complexity 69 (threshold 15). Drivers by points: if/else 21 (63 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"742bce01eaecc6ca878e560140f62d34aee7e9512f682ca7b7e79cd37dc09444"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::_decompress (cognitive 69): (anonymous)::_decompress has cognitive complexity 69 (threshold 15). Drivers by points: if/else 13 (32 pts), ternaries 6 (19 pts), loops 8 (15 pts), match/switch 2 (3 pts) (nesting depth added 40). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/lz-string.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c13b8a18ba5f0757425a8b980255787b43b899073de3ff956359039736c57a"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicService.handleStreamResponse (cognitive 68): AnthropicService.handleStreamResponse has cognitive complexity 68 (threshold 15). Drivers by points: if/else 21 (55 pts), boolean chains 6, error handling 2 (5 pts), loops 1, ternaries 1 (nesting depth added 37). 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/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"7009a97fd51630727cf5cd3e442f278d88194fa0806fdab19ff853f57e8168b8"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatService.accumulateDelta (cognitive 68): EasyChatService.accumulateDelta has cognitive complexity 68 (threshold 15). Drivers by points: if/else 17 (44 pts), boolean chains 16, ternaries 1 (6 pts), loops 1 (2 pts) (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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed565ac3438b419bd25622c2273165399fb3f77d2b1963a0485002db66b19936"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-mcp.create.bindEvents (cognitive 68): chat-mcp.create.bindEvents has cognitive complexity 68 (threshold 15). Drivers by points: if/else 28 (37 pts), boolean chains 18, ternaries 6 (13 pts) (nesting depth added 16). Of this number, 18 points are the body\u0027s own statements and 50 belong to 13 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c6795af47036c4ee82c7e80d6c17411c6c52bb43cbcf2dafe10cef276125eb"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.handleModelBenchmark (cognitive 67): ModelActionController.handleModelBenchmark has cognitive complexity 67 (threshold 15). Drivers by points: if/else 26 (44 pts), boolean chains 9, loops 3 (8 pts), error handling 2 (3 pts), ternaries 2 (3 pts) (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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7597b0b4fb11106119a78ddfa531ca6221cb7b987f369bc2922580e652c8115"}},{"ruleId":"D2","level":"warning","message":{"text":"showModelDetailModal (cognitive 67): showModelDetailModal has cognitive complexity 67 (threshold 15). Drivers by points: if/else 32 (45 pts), boolean chains 9, error handling 3 (7 pts), ternaries 4, loops 1 (2 pts) (nesting depth added 18). Of this number, 26 points are the body\u0027s own statements and 41 belong to 28 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/main/resources/web/js/model-detail.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f8bc2a64c89981e3a52750fef8198c5240cbb4771dce764d23d0e20cdbbc41"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.handleOpenAIResponsesRequest (cognitive 66): OpenAIService.handleOpenAIResponsesRequest has cognitive complexity 66 (threshold 15). Drivers by points: if/else 26 (50 pts), boolean chains 8, ternaries 3 (7 pts), error handling 1 (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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4e6d8801057af704e6288693baa2d1171eaa4963c242e124a2141d3347ec52"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.refreshModels (cognitive 65): index.html.refreshModels has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 11 (28 pts), if/else 13 (26 pts), boolean chains 8, loops 1 (2 pts), error handling 1 (nesting depth added 31). Of this number, 59 points are the body\u0027s own statements and 6 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/resources/web/chat/index.html"},"region":{"startLine":9559}}}],"partialFingerprints":{"codehealthFindingId/v1":"44022103f4f82454e216ae2b9668669ee92a3d0bfd90666555edd604921b8a0e"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v3.createResultRow (cognitive 65): benchmark-v3.createResultRow has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 22 (38 pts), boolean chains 14, if/else 8 (12 pts), loops 1 (nesting depth added 20). 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"122f2289e3c370d05ce54be31c9dc80de0ef5e8885c8ba1c17015ea10e78b390"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.restoreUpdateStatus (cognitive 65): settings.restoreUpdateStatus has cognitive complexity 65 (threshold 15). Drivers by points: if/else 31 (55 pts), boolean chains 6, ternaries 1 (3 pts), error handling 1 (nesting depth added 26). 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/main/resources/web/js/settings.js"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"2758759e020e8f0baf3758a46b754641bf34c615d5434a84733240ce60c4483f"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.handleOpenAIRerankRequest (cognitive 64): OpenAIService.handleOpenAIRerankRequest has cognitive complexity 64 (threshold 15). Drivers by points: if/else 24 (48 pts), boolean chains 8, ternaries 3 (7 pts), error handling 1 (nesting depth added 28). 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/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"af77b7b42ac6578c629618afcf5158371c15ae9a6a079daf1b675463179d10bb"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.addFilesToEditingMessage (cognitive 64): index.html.addFilesToEditingMessage has cognitive complexity 64 (threshold 15). Drivers by points: if/else 21 (32 pts), boolean chains 20, error handling 4 (11 pts), loops 1 (nesting depth added 18). 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/main/resources/web/chat/index.html"},"region":{"startLine":7424}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c8dfafd36318fa7d0e6faa957420016cf81fd46739a3e88598a61fd62dc48f"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.handleStreamResponse (cognitive 63): OpenAIService.handleStreamResponse has cognitive complexity 63 (threshold 15). Drivers by points: if/else 21 (55 pts), boolean chains 5, error handling 1, loops 1, ternaries 1 (nesting depth added 34). 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae8d7214c52554c6b65b23eb7c0791769cd62397692d55dad90ea97835c3309"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServer.loadApplicationConfig (cognitive 63): LlamaServer.loadApplicationConfig has cognitive complexity 63 (threshold 15). Drivers by points: if/else 31 (62 pts), boolean chains 1 (nesting depth added 31). 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/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc92c00057192bd9e10a3ad8fa3ccb20d6d529209b656ea70e3ebdccb1bc9393"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.addDraftFiles (cognitive 63): index.html.addDraftFiles has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (31 pts), boolean chains 20, error handling 4 (11 pts), loops 1 (nesting depth added 18). 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/main/resources/web/chat/index.html"},"region":{"startLine":2820}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ac29d0805fab3ef60713d84811d34ac1e980f6e7e77858c90419e5db7ca425"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderSystemInfo (cognitive 63): index.html.renderSystemInfo has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 31, ternaries 13 (24 pts), if/else 7 (8 pts) (nesting depth added 12). Of this number, 33 points are the body\u0027s own statements and 30 belong to 3 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/main/resources/web/index.html"},"region":{"startLine":6521}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf533597e5b0193f46d690f0dbba5341be35457f0f0b0fcd9c95dc0a2a6e744"}},{"ruleId":"D2","level":"warning","message":{"text":"PerplexityController.handleListRecords (cognitive 62): PerplexityController.handleListRecords has cognitive complexity 62 (threshold 15). Drivers by points: if/else 11 (27 pts), ternaries 5 (20 pts), error handling 3 (8 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 38). 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/main/java/org/mark/llamacpp/server/controller/PerplexityController.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f5165508deca3e8e974b9770da342593461913207eeec96493385b653a7d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"loadModel (cognitive 62): loadModel has cognitive complexity 62 (threshold 15). Drivers by points: boolean chains 24, if/else 16 (19 pts), ternaries 12 (18 pts), loops 1 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 36 belong to 9 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"070d5279c4ad18da9a84004010506c74012e289afd5bb23d445fd53ad96722d2"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamacppController.handleLlamaCppReleaseLatest (cognitive 61): LlamacppController.handleLlamaCppReleaseLatest has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (38 pts), boolean chains 14, loops 3 (6 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 23). 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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"077ffbb5916605436895c095aec86dc6bacf6d591c79f981520a84944a23e315"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicService.handleModelsRequest (cognitive 61): AnthropicService.handleModelsRequest has cognitive complexity 61 (threshold 15). Drivers by points: if/else 18 (43 pts), loops 5 (10 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 31). 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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2251d1b07127b287d038da1ccdb2b4b20424f48dec6618f5d10e554c73584882"}},{"ruleId":"D2","level":"warning","message":{"text":"renderTokenSummary (cognitive 61): renderTokenSummary has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 29, if/else 13 (17 pts), ternaries 8 (11 pts), loops 4 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 44 belong to 14 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5d030ffe4c2b6ab0235363cfa03f9acf342e812beb6508f0f217113cbad19a"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.handleOpenAIEmbeddingsRequest (cognitive 60): OpenAIService.handleOpenAIEmbeddingsRequest has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (46 pts), ternaries 3 (7 pts), boolean chains 6, error handling 1 (nesting depth added 28). 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/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f992d8bf6d64d158bb954b15a7c885fda80344c1aa95773e7a0da67554d56e56"}},{"ruleId":"D2","level":"warning","message":{"text":"GGUFMetaData.readFile (cognitive 59): GGUFMetaData.readFile has cognitive complexity 59 (threshold 15). Drivers by points: if/else 28 (47 pts), boolean chains 10, error handling 1, loops 1 (nesting depth added 19). 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/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d58a1344969e6342ac28dee1d63ce6aa503f79778f4551c28694d9970c46ef"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.loadModelInBackgroundFromCmd (cognitive 59): LlamaServerManager.loadModelInBackgroundFromCmd has cognitive complexity 59 (threshold 15). Drivers by points: if/else 25 (38 pts), ternaries 6 (10 pts), boolean chains 6, error handling 3 (5 pts) (nesting depth added 19). 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca486065fa0b7d6fa6738282fbe1d9bc969d408e34aba8b3fa95c1c23cec192"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 59): render has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 17 (26 pts), boolean chains 23, if/else 10 (nesting depth added 9). Of this number, 28 points are the body\u0027s own statements and 31 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c79fa19c4308ea7f2a4825a9ecbc1296a188dcfd19330cf05b849e7f428022a"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemController.handleFsListRequest (cognitive 57): SystemController.handleFsListRequest has cognitive complexity 57 (threshold 15). Drivers by points: if/else 28 (33 pts), boolean chains 9, ternaries 6 (7 pts), error handling 5, loops 1 (3 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc548add4db158bdda6c0f67ce97a1cbb5072419ef244b7ace65efca7f49ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::output (cognitive 57): (anonymous)::output has cognitive complexity 57 (threshold 15). Drivers by points: if/else 19 (41 pts), boolean chains 8, ternaries 2 (7 pts), loops 1 (nesting depth added 27). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/marked.umd.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd99f3286e1b213e418224b197ed56d598f3265de20e93ba37a3ad5c00c086c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ensureAutoUnloadWired (cognitive 56): ensureAutoUnloadWired has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (35 pts), ternaries 5 (11 pts), boolean chains 7, error handling 2 (3 pts) (nesting depth added 21). Most of this is not in the body itself: 3 of the 56 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1125, 1155, 1172, \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/resources/web/js/model-action-modal.js"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9923138b90f8d5c278da64722de1dfc04b5530a39f56102fa19f2af540ab3f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelPathController.handleModelPathUpdate (cognitive 55): ModelPathController.handleModelPathUpdate has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 10, error handling 4 (8 pts), ternaries 4, loops 2 (3 pts) (nesting depth added 17). 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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fa420e3d7e68df421ef504dce829bc94d916a1d890dbb7e236f5b4bb217eb0"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderParamField (cognitive 55): index.html.renderParamField has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 9 (24 pts), if/else 12 (18 pts), boolean chains 11, match/switch 1 (2 pts) (nesting depth added 22). Of this number, 53 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":5753}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29e24988aeca314d1ef88abbce38cdd90ab93714ea2c0e7e42e80cc9d9f8efc"}},{"ruleId":"D2","level":"warning","message":{"text":"handleAppUpdateEvent (cognitive 53): handleAppUpdateEvent has cognitive complexity 53 (threshold 15). Drivers by points: if/else 21 (38 pts), ternaries 4 (12 pts), boolean chains 3 (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/main/resources/web/js/settings.js"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"165632506b55639996ec7b7a46d95e3513fe0169c5454c7e579baefc0c143e75"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.forwardStreamToRemote (cognitive 51): OpenAIService.forwardStreamToRemote has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (40 pts), loops 4 (5 pts), boolean chains 4, error handling 2 (nesting depth added 22). 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9c813cf0b26a99fcd82295b3b62293bdfd2ed5af537e7c7a18899b38d23683"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.normalizeAssistant (cognitive 51): index.html.normalizeAssistant has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 31 (46 pts), boolean chains 5 (nesting depth added 15). 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/main/resources/web/chat/index.html"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfee939784c0c883177f0b584b4eaafc4186324a95177f6a5ffce5368e9b1af4"}},{"ruleId":"D2","level":"warning","message":{"text":"onMsg (cognitive 51): onMsg has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (32 pts), ternaries 5 (13 pts), boolean chains 4, error handling 1, match/switch 1 (nesting depth added 24). 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/main/resources/web/js/newui/app.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04a7bcaeadb88e4ca4c549ef266026005a63d7b9190f31b02dcffaff41e866a"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.buildLocalModelList (cognitive 50): ModelActionController.buildLocalModelList has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 11, ternaries 2 (4 pts), loops 2, error handling 1 (nesting depth added 20). 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06d30b7b0da7fcec9fa73a4610e3adae9ecd2d0c42a1df6147e9d335daecca1"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelInfoController.handleOpenAIModelsRequest (cognitive 50): ModelInfoController.handleOpenAIModelsRequest has cognitive complexity 50 (threshold 15). Drivers by points: if/else 11 (34 pts), boolean chains 7, loops 4 (5 pts), error handling 2 (4 pts) (nesting depth added 26). 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"800dc8215c3805e9315020b6a2b0ac3a05fbc508224b3df745da0ed7b5fefdd3"}},{"ruleId":"D2","level":"warning","message":{"text":"PerplexityController.fetchRemoteRecords (cognitive 50): PerplexityController.fetchRemoteRecords has cognitive complexity 50 (threshold 15). Drivers by points: if/else 8 (22 pts), ternaries 4 (16 pts), loops 3 (5 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 29). 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/main/java/org/mark/llamacpp/server/controller/PerplexityController.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9094630848fb9839357eb52ddca39d094170498772d5581961eb08819b5539fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatRequestStreamingTransformer.transform (cognitive 49): ChatRequestStreamingTransformer.transform has cognitive complexity 49 (threshold 15). Drivers by points: if/else 21 (42 pts), boolean chains 3, error handling 1 (2 pts), loops 2 (nesting depth added 22). 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/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7bcf64b5c13b976ff77fb0a21ccbd1c64d464eb7f9493b437cdddb5c13e8d1"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServer.main (cognitive 49): LlamaServer.main has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (27 pts), error handling 13 (14 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (nesting depth added 14). 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/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c106893c63e737912f605119e014121c001614230c63476d3a1748a65a03487c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.fetchSysInfo (cognitive 49): index.html.fetchSysInfo has cognitive complexity 49 (threshold 15). Drivers by points: if/else 26 (40 pts), boolean chains 8, ternaries 1 (nesting depth added 14). Most of this is not in the body itself: 6 of the 49 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 6468, 6512). 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/resources/web/index.html"},"region":{"startLine":6455}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5912147c393034885d8e4ab458b612325d6cf2b0daf47e229306962a5e3b6b"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v2.html.runBenchmark (cognitive 49): benchmark-v2.html.runBenchmark has cognitive complexity 49 (threshold 15). Drivers by points: if/else 19 (24 pts), ternaries 7 (12 pts), boolean chains 11, error handling 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/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec0d82508073d46b0f5be8e74bb16c8b09b55428e70a3193845e70161abbd5b"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelInfoController.handleModelConfigSetRequest (cognitive 48): ModelInfoController.handleModelConfigSetRequest has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (32 pts), ternaries 3 (8 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 19). 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6702b7f6872350ce1254243d9fcb5b6af2fb4a24b94ef8808cf0b5149aae41"}},{"ruleId":"D2","level":"warning","message":{"text":"MtpHelper.mergeDonor (cognitive 47): MtpHelper.mergeDonor has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 13 (17 pts), boolean chains 3, ternaries 1 (nesting depth added 15). 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/main/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ccd751efdaa02286efb203027e9c1df012981dc26cb9bc57f3ed394cbed8bb"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamacppController.handleLlamaCppList (cognitive 47): LlamacppController.handleLlamaCppList has cognitive complexity 47 (threshold 15). Drivers by points: if/else 9 (26 pts), error handling 4 (11 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 29). 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/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1f2996a51298d8e9158d9ffb6a3e3861494547ac4d8cb87e45408ba4be2201"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatRequestWriter.writeRequestBody (cognitive 47): EasyChatRequestWriter.writeRequestBody has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (34 pts), boolean chains 5, error handling 1 (3 pts), ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 23). 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/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54d10018dabf292802559608659b406bae1c84553ff60bce569b095a1f8a220"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.buildCommandStrFromForm (cognitive 47): LlamaServerManager.buildCommandStrFromForm has cognitive complexity 47 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 10, ternaries 2 (3 pts), loops 1 (2 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d07e6bd5f8822efe7f2d51e40e6ffb9dfc35763e3c54652f3381388edd9d773"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelPathController.syncModelPathsToRuntime (cognitive 46): ModelPathController.syncModelPathsToRuntime has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (27 pts), error handling 3 (10 pts), loops 2 (5 pts), boolean chains 4 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5215ca2f8c781a690dbbb1f3ce5c3d2e5380efb5221d94328cebe43657ecc1"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.handleOpenAICompletionsRequest (cognitive 45): OpenAIService.handleOpenAICompletionsRequest has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (34 pts), ternaries 3 (7 pts), boolean chains 3, error handling 1 (nesting depth added 18). 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0d83f75aac12dd45b3f3379cc0392518e74fd6e782dc657a33e9364d2d67d8"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineRunner.splitCommandLineArgs (cognitive 45): CommandLineRunner.splitCommandLineArgs has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (39 pts), boolean chains 5, loops 1 (nesting depth added 24). 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/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fc1ed4d56f28ed54f8d7154addf4f5ea49d69f6409a34bb590db64f4e1d09c"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaCppProcess.splitCommandLineArgs (cognitive 45): LlamaCppProcess.splitCommandLineArgs has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (39 pts), boolean chains 5, loops 1 (nesting depth added 24). 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/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cecc295f788e572ca5d28c779e5f48dac78423e5c375e3505ba7b5bffa09d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"loadModels (cognitive 45): loadModels has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 8 (16 pts), boolean chains 8, error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 18). Most of this is not in the body itself: 1 of the 45 points is its own statement and the rest belongs to 12 function literals inside it that branch (lines 87, 111, 116, \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/resources/web/js/model-list.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c1e87e63b5d36124f4893f6b5ce78f07a925d95abd67102f2528637fa3c9da"}},{"ruleId":"D2","level":"warning","message":{"text":"generateHttpsCert (cognitive 45): generateHttpsCert has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 18, ternaries 1 (3 pts), error handling 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/main/resources/web/js/settings.js"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a8fd8c4092347855a4ccc09c5c044b22811790b6638c16ade504c9d424ee4a"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceSearcher.resolveBaseUrl (cognitive 44): HuggingFaceSearcher.resolveBaseUrl has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (34 pts), boolean chains 6, error handling 1 (4 pts) (nesting depth added 25). 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/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf820f9916105f1f08263d54b1ab6a22661a92c59b5181ec3a41e35a46971a7"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.replaceMathInPlainText (cognitive 43): index.html.replaceMathInPlainText has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 26). 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/main/resources/web/chat/index.html"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"87452065d7b378b557c659772c805445e2e74d091871a7d831a9f4d0494b86c8"}},{"ruleId":"D2","level":"warning","message":{"text":"hf.createHfDownloadTasks (cognitive 43): hf.createHfDownloadTasks has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 18, if/else 10 (11 pts), ternaries 7 (10 pts), loops 1 (3 pts), error handling 1 (nesting depth added 6). Of this number, 38 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"00113aab247b914bcf398bd7104fbf35867c39f40e62330c0551a2176c843b8c"}},{"ruleId":"D2","level":"warning","message":{"text":"loadDeviceList (cognitive 43): loadDeviceList has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 15, ternaries 6 (9 pts), error handling 1 (nesting depth added 8). Most of this is not in the body itself: 15 of the 43 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 2220, 2259, 2248, \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/resources/web/js/model-action-modal.js"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e978382b1fe80ff7deefb7b4f7cf60013b1b2ab0672ff48eeb661897b42e1de3"}},{"ruleId":"D2","level":"warning","message":{"text":"populate (cognitive 43): populate has cognitive complexity 43 (threshold 15). Drivers by points: if/else 20 (33 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 15). 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/main/resources/web/js/settings.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae8a63b383afd7d2c426616d323b6c0c1cb7a3f736168d9fff79a00a5754515"}},{"ruleId":"D2","level":"warning","message":{"text":"runServer (cognitive 43): runServer has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 11, ternaries 3 (7 pts), error handling 1 (nesting depth added 11). Of this number, 36 points are the body\u0027s own statements and 7 belong to 7 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/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"045f356faced76ad60355352c4e6c9b043ff6cd58f7393f1ce549bcfc777f5d2"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.buildAutoLoadModelCache (cognitive 42): LlamaServerManager.buildAutoLoadModelCache has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (29 pts), error handling 6 (10 pts), loops 2, boolean chains 1 (nesting depth added 15). 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"451e93e2c7fb5bfa92f179a72cff295dabc99fd53aad49d605a132febb6042f5"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.directoryBrowserRender (cognitive 42): index.html.directoryBrowserRender has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 22, if/else 16 (17 pts), ternaries 2 (3 pts) (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 21 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":5103}}}],"partialFingerprints":{"codehealthFindingId/v1":"606438c6364e7fc5494c9002e325ff0c3ca11ba7bfbe4f9e8b81acac113c45d9"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicRouterHandler.resolveLoadModelRemoteUrl (cognitive 41): BasicRouterHandler.resolveLoadModelRemoteUrl has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (30 pts), loops 3 (7 pts), boolean chains 2, error handling 1 (2 pts) (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 shape REPEATS in the file: one other method here (BasicRouterHandler.resolvePropsRemoteUrl) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"39511ae3bae3ea86054ad401897de0f2a04575211e15b1d9b96837e53721ba08"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicRouterHandler.resolvePropsRemoteUrl (cognitive 41): BasicRouterHandler.resolvePropsRemoteUrl has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (30 pts), loops 3 (7 pts), boolean chains 2, error handling 1 (2 pts) (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 shape REPEATS in the file: one other method here (BasicRouterHandler.resolveLoadModelRemoteUrl) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ee3c33208e714931615d83027746adfba145017eb1ceb5ed3baae323fd78d4"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaRouterHandler.resolveControlRemoteUrl (cognitive 41): LlamaRouterHandler.resolveControlRemoteUrl has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (30 pts), loops 3 (7 pts), boolean chains 2, error handling 1 (2 pts) (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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"441f6cef520171787350201faaf63cd78f1877671a55684bf66491576000239f"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatService.proxySseStreamFromRemote (cognitive 41): EasyChatService.proxySseStreamFromRemote has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (38 pts), boolean chains 2, loops 1 (nesting depth added 24). 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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe34e782567818aa7a64a84dd2e14907b1dcb3630d4549dfa5cc4d7f4fa2449d"}},{"ruleId":"D2","level":"warning","message":{"text":"appendResultRow (cognitive 41): appendResultRow has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 5 (11 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 16). Of this number, 28 points are the body\u0027s own statements and 13 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe3dc3386f1bc86566a1ab6ca2d39926c593132ec480b5bd6b74954fd152e98"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyHttpDownloader.download (cognitive 40): NettyHttpDownloader.download has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 4 (10 pts), ternaries 2 (8 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 22). 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"23de30189d8ac4446469f675497d600e6af3d3c18e2c2d7373ecfb0eac8376cf"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleHttpDownloader.download (cognitive 40): SimpleHttpDownloader.download has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 4 (10 pts), ternaries 2 (8 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 22). 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/main/java/org/mark/file/downloader/SimpleHttpDownloader.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"967d194e8b8cbc902dbc81f2675cf77fefd91b3c1986bc4057c25a37f5ae7ebc"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceSearcher.parseCursorFromLinkHeader (cognitive 40): HuggingFaceSearcher.parseCursorFromLinkHeader has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 2 (8 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 23). 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46ebaac6135f6d86c2e9601660019a192a7008dcb4f323a72afb87e2561cb0c"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemController.handleVramEstimateRequest (cognitive 40): SystemController.handleVramEstimateRequest has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 13, ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca1a9b4968dca13fa1796a95d731d64dfd3f5b1b74df8380865e13f1f2300a9"}},{"ruleId":"D2","level":"warning","message":{"text":"populateLogFilter (cognitive 40): populateLogFilter has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 12, ternaries 5 (9 pts), error handling 2, loops 1 (nesting depth added 9). Most of this is not in the body itself: 11 of the 40 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 263, fetchLogModels, a function literal at line 259, \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/main/resources/web/js/websocket.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e36ce0047a02de6d4c69f67b07c5de1934f18fccb05f037a832fc4b8cf10905"}},{"ruleId":"D2","level":"warning","message":{"text":"applyCmdToForm (cognitive 40): applyCmdToForm has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 11, loops 3 (5 pts) (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 15 belong to 8 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/main/resources/web/js/newui/model-config.js"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa6c611bf6a7d769c492612e06fbe4ba352db36005b9fc5fe80d801f3689e3e"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadTaskManager.extractTar (cognitive 39): DownloadTaskManager.extractTar has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 21). 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/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3abaca375a3f0d0bec3c0bab2f90a4b84b6d0c34bd323771af717e869df9b2"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemController.firstBoolean (cognitive 39): SystemController.firstBoolean has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (30 pts), boolean chains 5, error handling 1 (3 pts), loops 1 (nesting depth added 22). 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/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d860d98b14cdb64efbffacaf527cae0afba18b1bc621dcc77de47472adbf8ce"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.resolveFromRemoteNodes (cognitive 39): OpenAIService.resolveFromRemoteNodes has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 3 (7 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 24). 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76693cd254049e4289aaab041d78c0b29d43724739416db0486b08154fd3b51"}},{"ruleId":"D2","level":"warning","message":{"text":"mtp-bench.html.runBenchmark (cognitive 39): mtp-bench.html.runBenchmark has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 14, error handling 2 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 8). Of this number, 38 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/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c24c1102f129ce2a2b66e9ed82e30e3c9d411ecf1e35edbbb970854ee7bf85"}},{"ruleId":"D2","level":"warning","message":{"text":"setModelActionMode (cognitive 39): setModelActionMode has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (21 pts), ternaries 6 (11 pts), boolean chains 4, error handling 1 (3 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc5c8b4334c8b383217ef529f5e111dee059d18449a6513ab276c7ef8db9615"}},{"ruleId":"D2","level":"warning","message":{"text":"quickStartModel (cognitive 39): quickStartModel has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 18, if/else 11 (13 pts), ternaries 5 (6 pts), error handling 2 (nesting depth added 3). Most of this is not in the body itself: 5 of the 39 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 748, 784, 772, \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/resources/web/js/model-list.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4746669ceec4ecec4bafb29eeeaed5b30ffd789f891bee38db382d0bc4d51d0"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicRouterHandler.handleRequest (cognitive 38): BasicRouterHandler.handleRequest has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (28 pts), ternaries 3 (5 pts), error handling 2, loops 1 (2 pts), boolean chains 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/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d161c19d832eaecb788762a761cee4bdf9cc21d09eb4b79db228938e8c616b84"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamacppController.handleInfillRequest (cognitive 38): LlamacppController.handleInfillRequest has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 9, error handling 4 (5 pts), loops 1, ternaries 1 (nesting depth added 6). 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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fda28b04e2ffd122c9537390073746aec47f1ca6bfff9af32cdde4d5561365"}},{"ruleId":"D2","level":"warning","message":{"text":"CertController.handleGenerate (cognitive 37): CertController.handleGenerate has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (25 pts), error handling 4, loops 2 (4 pts), boolean chains 3, ternaries 1 (nesting depth added 11). 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/main/java/org/mark/llamacpp/server/controller/CertController.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7f9be86d26941733ac07645b7c80cc5b0208f4e01525216c81d98e0faf5633"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineRunner.applyExecutableDirEnv (cognitive 37): CommandLineRunner.applyExecutableDirEnv has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 7, loops 2 (4 pts), error handling 1, ternaries 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bbbf8772cfbb1442a8adf048c4b39db640e8ba5022cdc9adafef27cd6a1b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.handleDirectory (cognitive 37): LlamaServerManager.handleDirectory has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 7, loops 3 (5 pts), ternaries 1 (2 pts), error handling 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7c13b2d8a45b3cc831b25327f52f60648aed8c9069a6415a67e3d7febb7227"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.convertHistoryMessage (cognitive 37): index.html.convertHistoryMessage has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 18 (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/main/resources/web/chat/index.html"},"region":{"startLine":8939}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12cd683022c5191fbe65b7b33d024b95c3d67f8af57dfe4078375e8076b5b46"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamacppController.handleLlamaCppRemove (cognitive 36): LlamacppController.handleLlamaCppRemove has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 6 (10 pts), boolean chains 6, error handling 4 (6 pts), loops 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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ed977a59b27f15e300f0faa6a402c2b8a01835da60199d145112ce5ace7057"}},{"ruleId":"D2","level":"warning","message":{"text":"PerplexityService.run (cognitive 36): PerplexityService.run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (25 pts), error handling 5 (6 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/PerplexityService.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7baad23a0bc7cf95baf8bd03a235a93ea9391a5de3cad1b3c5cc22d1d8e4fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.handleFitParam (cognitive 36): LlamaServerManager.handleFitParam has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 4, boolean chains 3, ternaries 1 (2 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3190}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadf38c140b2c830bdb0dcf3b551bf2ccc2f6616d31922580589c3a5ce6629fe"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.loadSettingsFromFile (cognitive 36): LlamaServerManager.loadSettingsFromFile has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (22 pts), error handling 3 (5 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 19). 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2756bcdc4a3cdb2a0316932808ae3ab8ce81142a80b112b7539fdd4c903f35f4"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderRichText (cognitive 36): index.html.renderRichText has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 4, loops 2 (4 pts), error handling 1 (3 pts), ternaries 1 (nesting depth added 15). Of this number, 21 points are the body\u0027s own statements and 15 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/main/resources/web/chat/index.html"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f2401e1425842433e0f0d730ed32230e6266617cdae85502f7ec3871d0d56a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.normalizeAssistantResponse (cognitive 36): index.html.normalizeAssistantResponse has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 20 (31 pts), boolean chains 5 (nesting depth added 11). 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/main/resources/web/chat/index.html"},"region":{"startLine":3677}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bd9c151279ba9e6b9961d496d0c353a9de99053fafd51b2f03fb62def51f65"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.continueMessage (cognitive 36): index.html.continueMessage has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 7 (11 pts), boolean chains 8 (nesting depth added 7). Of this number, 33 points are the body\u0027s own statements and 3 belong 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":8266}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d03e313aa7de1eaf0569dbb05b3f427cc3c4f925f50e20b6f515ff915e988a"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v2.html.loadBenchmarkRecords (cognitive 36): benchmark-v2.html.loadBenchmarkRecords has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 10, ternaries 7 (8 pts), loops 3 (4 pts), error handling 1 (nesting depth added 6). Of this number, 28 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"0692eace657a2b43698efc2cd4da8680433a07d8d4e87d5acce2f90676ff8a32"}},{"ruleId":"D2","level":"warning","message":{"text":"create.renderServerList (cognitive 36): create.renderServerList has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 14 (28 pts), if/else 5, boolean chains 3 (nesting depth added 14). Most of this is not in the body itself: 7 of the 36 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 492, 500, 483, \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/resources/web/chat/chat-mcp.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd031b79234e289dca4317094ba660090bbbe53630867b6eab55c849cbe05365"}},{"ruleId":"D2","level":"warning","message":{"text":"downloadUpdate (cognitive 36): downloadUpdate has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 5, ternaries 2 (4 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/main/resources/web/js/settings.js"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57574bb19fd6049bd834405d7d104503963563f3347052919943bdc91784b65"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingForwarder.handleBooleanValue (cognitive 35): StreamingForwarder.handleBooleanValue has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 9, ternaries 1 (2 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfeff3fd91eb18f37eac454e536893a8c6c3d1c1038dc3405b4a07ffc81f732"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaCppProcess.start (cognitive 35): LlamaCppProcess.start has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 7, loops 3 (5 pts), error handling 3 (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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1414469235fc994ab6ec13a40052ee836c1676dfb2f0f8426999a62c5188b801"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.handleFitParam (cognitive 35): LlamaServerManager.handleFitParam has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (25 pts), error handling 1 (3 pts), ternaries 3, boolean chains 2, loops 2 (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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3082}}}],"partialFingerprints":{"codehealthFindingId/v1":"822af3be8afd925f9770cfdca52809fc682e6bd613e2f0a38b6639f8d9f1af49"}},{"ruleId":"D2","level":"warning","message":{"text":"websocket.handleWebSocketMessage (cognitive 35): websocket.handleWebSocketMessage has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 7, loops 1 (4 pts), match/switch 1 (2 pts), error handling 1 (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/main/resources/web/js/websocket.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"099b0b0590971c2cb188fed709266c2639c9e2bc1a03454d46ace852b0fcfcb7"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadToFileRequest.execute (cognitive 34): DownloadToFileRequest.execute has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (20 pts), error handling 4 (10 pts), boolean chains 3, loops 1 (nesting depth added 20). 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/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"e882be8177f6ebeb55a138130545f6ae61769be859b8b64bf348cbeb53d1e550"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadToFileHandler.channelRead0 (cognitive 34): DownloadToFileHandler.channelRead0 has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 3 (12 pts), boolean chains 4 (nesting depth added 17). 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/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc197ac48978ca8f8629a3c5a96b5f1f1f59d437e254b5d2d574de8019473a88"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDownloadRouterHandler.handleModelDownload (cognitive 34): FileDownloadRouterHandler.handleModelDownload has cognitive complexity 34 (threshold 15). Drivers by points: if/else 22 (25 pts), boolean chains 5, error handling 2 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4cf66275158858356d8d2dd0f10ac8ea399839f9dd9d5d45daf9df193c5e84"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonUtil.ensureToolCallIds (cognitive 34): JsonUtil.ensureToolCallIds has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 6, ternaries 2 (6 pts), loops 1 (2 pts) (nesting depth added 17). 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/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad60874815472e032b04f27c927dbb74deae0a38f904f14a2e2c6ea49a505d9"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.autoLoadModelFromConfig (cognitive 34): LlamaServerManager.autoLoadModelFromConfig has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (24 pts), ternaries 4, boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ef58883bc870ef68c65056580c46fd204e471f4e0604b0409711c940bf6aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyExtractTool.parseExtractResponse (cognitive 34): TavilyExtractTool.parseExtractResponse has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 8, loops 1, ternaries 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/test/mcp/tavily/tools/TavilyExtractTool.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb4cde4f8aed1d43a710b94c4136a98257e41dd520854db51f2d08ff7082880"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.directoryBrowserLoad (cognitive 34): index.html.directoryBrowserLoad has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 11, ternaries 2 (3 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":5231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1d5a05e534db9a215e00da55cdfbe9b6e71e5aaae36b04b58ed00382477ad9"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v3.runBench (cognitive 34): benchmark-v3.runBench has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 15, ternaries 1 (2 pts), error handling 1 (nesting depth added 6). Of this number, 24 points are the body\u0027s own statements and 10 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"415a34cccb69aad5fc7024d4156054dce7636f1c5c4ecb0aa1b9d4d9aea500b2"}},{"ruleId":"D2","level":"warning","message":{"text":"model-benchmark.submitModelBenchmark (cognitive 34): model-benchmark.submitModelBenchmark has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 11 (16 pts), boolean chains 10, if/else 8 (nesting depth added 5). Of this number, 24 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d9f5c4cbd637a8357e66919539632abba4325f67be246a65ea9de1e0a996ad"}},{"ruleId":"D2","level":"warning","message":{"text":"resetModelBenchmarkForm (cognitive 34): resetModelBenchmarkForm has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 10 (16 pts), if/else 8 (12 pts), boolean chains 5, 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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd838fe775debe1807e3aebfe2b7a042fe91d7ec7713ae8e7de910318610ce79"}},{"ruleId":"D2","level":"warning","message":{"text":"openModelBenchmarkList (cognitive 34): openModelBenchmarkList has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 12 (17 pts), boolean chains 11, if/else 5, error handling 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 18 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2c638068ebaf347102647f384308b547d258353a4a66330652b44ac6824f32"}},{"ruleId":"D2","level":"warning","message":{"text":"createCloneModel (cognitive 34): createCloneModel has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 16, ternaries 8 (10 pts), if/else 7, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 7 of the 34 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 670, 703, 711, \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/resources/web/js/model-list.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a2d9923efcb180c8210c0b7b81ad0ee24b3cdcedc6eb78daf8145bd36b67aa"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadHandler.channelRead0 (cognitive 33): DownloadHandler.channelRead0 has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (22 pts), error handling 2 (7 pts), boolean chains 4 (nesting depth added 15). 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3ab7b9cad1cac9bc904218cb3ed78edfc2724d87a708503e215e3f776d2586"}},{"ruleId":"D2","level":"warning","message":{"text":"MtpHelper.extractDonor (cognitive 33): MtpHelper.extractDonor has cognitive complexity 33 (threshold 15). Drivers by points: loops 11 (18 pts), if/else 8 (14 pts), ternaries 1 (nesting depth added 13). 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/main/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7374f8cdf7d35f88eebf2e51b9d47e6c4dd78bfbc8f69b3cb8c144b1e7a9741f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.sendMessage (cognitive 33): index.html.sendMessage has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 7, error handling 2 (3 pts) (nesting depth added 10). Of this number, 32 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/main/resources/web/chat/index.html"},"region":{"startLine":9652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1367d544faec8c17f31134d55fb28a62f96433b29abf5e678c1151dd5f521ff"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v3.runServer (cognitive 33): benchmark-v3.runServer has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 11, error handling 1, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa91ed3f9aa26d008d306176a7952dbba37671d08d1e5337ccbac061fd8c3fd3"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v2.html.normalizeRecordRow (cognitive 33): benchmark-v2.html.normalizeRecordRow has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 17 (19 pts), boolean chains 14 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a117e2ea1e01deac3bb57778846d3df5516a73f8ded2fa373106a7a7c9eed8"}},{"ruleId":"D2","level":"warning","message":{"text":"fitParamsAction (cognitive 33): fitParamsAction has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 9, ternaries 6 (7 pts), loops 1 (4 pts), error handling 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 17 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c3017cd5734dc16cbaaeddc24deb2b39a6b745a30f68b759ac371a1eea9df0"}},{"ruleId":"D2","level":"warning","message":{"text":"loadOverview (cognitive 33): loadOverview has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 16, ternaries 9, if/else 5 (6 pts), error handling 2 (nesting depth added 1). Most of this is not in the body itself: 12 of the 33 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 57, 56, 82, \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/resources/web/js/newui/model-detail.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f345805843a33e26c62218fc853a21ea5a18304794ce65c484c51b8a459b2433"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelPathController.handleModelPathAdd (cognitive 32): ModelPathController.handleModelPathAdd has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 7, error handling 4 (7 pts), loops 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"25697e0956306ff0043a8cebe6a0cfed2d8ffbd6af5e65bbfcad1903da17194c"}},{"ruleId":"D2","level":"warning","message":{"text":"BenchmarkService.handleBenchmark (cognitive 32): BenchmarkService.handleBenchmark has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14, boolean chains 8, ternaries 5 (6 pts), error handling 3 (4 pts) (nesting depth added 2). 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/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d3b3421de6ce0c832742686b77c027d2142d0f0a731779864c9ca9c66192e2"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.mergeRemoteModels (cognitive 32): OpenAIService.mergeRemoteModels has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 2 (4 pts), boolean chains 2, error handling 1 (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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a0d58d3bab936fa324750a546cb79cf3f17ae8c3f0018b8edd56b15e5762c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigManager.normalizeLaunchConfigEntry (cognitive 32): ConfigManager.normalizeLaunchConfigEntry has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 14). 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/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8781fc8d31bfd9f1376ef81d5167f4245d61f225dfa87be0fb1bbd478dfc6f"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.buildCommandStrFromCmd (cognitive 32): LlamaServerManager.buildCommandStrFromCmd has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 5, loops 3, ternaries 2 (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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2566}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b0ba562ff497368418f3c5da9fd5e2e01c5a1a5e4c26a7df126196f30165b2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.directoryBrowserNormalizeItems (cognitive 32): index.html.directoryBrowserNormalizeItems has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 20, ternaries 8 (10 pts), if/else 2 (nesting depth added 2). Most of this is not in the body itself: 4 of the 32 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 5065, 5080, 5090). 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/resources/web/index.html"},"region":{"startLine":5063}}}],"partialFingerprints":{"codehealthFindingId/v1":"0519d870c5e2b8c10b64eb31043131549ae6ccd8ac325d4a7459d97e70575ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"groupGgufFiles (cognitive 32): groupGgufFiles has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 5 (8 pts), boolean chains 7, loops 3 (nesting depth added 10). Of this number, 16 points are the body\u0027s own statements and 16 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0da09eeb7c05a81e08a785effa8f91ba47484a348838636cb75eb54b91a0a9b"}},{"ruleId":"D2","level":"warning","message":{"text":"toggleShareConfig (cognitive 32): toggleShareConfig has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 7, ternaries 3 (7 pts), error handling 2 (4 pts) (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 14 belong to 8 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c4ef68cc647632a98b6163db3278a6d51a71a7499bf726b58de7ac198f486b"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingForwarder.handleNumberValue (cognitive 31): StreamingForwarder.handleNumberValue has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 3 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"850f4ba5747ecaf5e5c890926deca04a6c2143a73462ad9015477cd29e90c584"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.handleModelInfo (cognitive 31): LlamaServerManager.handleModelInfo has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 6, ternaries 4 (5 pts), loops 3, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2837}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a85239be54bba0b3af41984f1f132a2c8a914aaf14e3956ffebbf07deb6f90c"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeManager.callRemoteApiStreaming (cognitive 31): NodeManager.callRemoteApiStreaming has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 8, error handling 3 (4 pts), loops 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/main/java/org/mark/llamacpp/server/NodeManager.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3fd0d66ab8967d723f565de698b4ac9fa9675b4d0dcb7e3030a9fa90db1b44"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.formatAssistantPerformanceDetailText (cognitive 31): index.html.formatAssistantPerformanceDetailText has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 11). 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/main/resources/web/chat/index.html"},"region":{"startLine":3610}}}],"partialFingerprints":{"codehealthFindingId/v1":"9708e2ba721cab69c0e63eb443d11bd554198c439b466afa9e58e0de6f3f2fb0"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.loadModelFromMenu (cognitive 31): index.html.loadModelFromMenu has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 16, if/else 8, ternaries 4 (6 pts), error handling 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/main/resources/web/chat/index.html"},"region":{"startLine":4997}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb03896921ce81ce62378d2663f6c872b0c307ea3b1877769e916444e90bed9"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.fetchRemoteLoadedModels (cognitive 30): ModelActionController.fetchRemoteLoadedModels has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3, loops 2 (3 pts), error handling 1, ternaries 1 (nesting depth added 11). 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 shape REPEATS in the file: one other method here (ModelActionController.fetchRemoteModelList) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"daddb164face5b37ca977f9d5a4fcc470db8941c80af9e555e389867fc84124b"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.fetchRemoteModelList (cognitive 30): ModelActionController.fetchRemoteModelList has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3, loops 2 (3 pts), error handling 1, ternaries 1 (nesting depth added 11). 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 shape REPEATS in the file: one other method here (ModelActionController.fetchRemoteLoadedModels) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"298452e57392726e11931bac3e82e37c9836ba5041f043e82eb4220ca95095ed"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemController.handleSysSettingRequest (cognitive 30): SystemController.handleSysSettingRequest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 9, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28f474c3300056bd5fde2cc01f91c1dce24846654da26fc5681f8808624be81"}},{"ruleId":"D2","level":"warning","message":{"text":"McpClientService.callToolShortLived (cognitive 30): McpClientService.callToolShortLived has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 14). 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/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0fbd4dd685dfe1f6a292b8f22066762680f6cd565f2f34a8090c229b8ccac7"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatService.accumulateNonStreamResponse (cognitive 30): EasyChatService.accumulateNonStreamResponse has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 9, loops 1 (3 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4741ef1eee36d5793e2caaa87222497186de98fdbd727267ac6094bcb49af49"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatService.seedAccumulatorFromFragment (cognitive 30): EasyChatService.seedAccumulatorFromFragment has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 5, error handling 1, loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb0a5fda4fdc484240b955d700c38aaf5f7225633ab892784c6c55d5188f666"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatStorage.readModelIndex (cognitive 30): EasyChatStorage.readModelIndex has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 4 (10 pts), boolean chains 4, loops 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/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d914ac68863416744915b26496cfaf178b549cdb0f712531ddd5c02ba9fab8"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServer.createWindowsSystemTray (cognitive 30): LlamaServer.createWindowsSystemTray has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 14 (24 pts), error handling 3, if/else 3 (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/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f5a9a0f5208429805f1df14bd3ee1aff6ef3f6c24bbca8ed5b6b5d1cc10cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.extractSpecFromLaunchConfig (cognitive 30): LlamaServerManager.extractSpecFromLaunchConfig has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 5, error handling 1, loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"2862fc650155abf769cb69d9bbbac23e8300efef9caed5dccc973b866faa5757"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderGpuSection (cognitive 30): index.html.renderGpuSection has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 7, ternaries 2 (4 pts), 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/main/resources/web/chat/index.html"},"region":{"startLine":5327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcddb4948df783ea9bba464aa2540e87cd365c80626df0186499aee371a6a43"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.buildSamplingParamsJson (cognitive 30): index.html.buildSamplingParamsJson has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 7, loops 2 (3 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/main/resources/web/chat/index.html"},"region":{"startLine":8594}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a2500c653ed375b75f7d3ab3915d3ce23b6dee66283262525f33dd9e2881c5"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v3.buildBenchCmd (cognitive 30): benchmark-v3.buildBenchCmd has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 7, ternaries 3 (6 pts), loops 1 (nesting depth added 11). 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee3abe30275a49f831783529c13d6fb3a7c819506aafed4ffb794bb04298ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"model-action-modal.setFieldValue (cognitive 30): model-action-modal.setFieldValue has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 4, error handling 1 (4 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 15). 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"33526a9558e64e30a04e1ad1b6b9d66930ba46d56ca63fe72a3ab8614513b135"}},{"ruleId":"D2","level":"warning","message":{"text":"perplexity.html.runTest (cognitive 30): perplexity.html.runTest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (7 pts), boolean chains 4, error handling 2 (3 pts), loops 2 (3 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/main/resources/web/tools/perplexity.html"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7aa815bbca11ed241854fa7c8a253c1181ed9185b532d58d977256fc5f4f778"}},{"ruleId":"D2","level":"warning","message":{"text":"addModelSamplingConfig (cognitive 30): addModelSamplingConfig has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, ternaries 4 (6 pts), loops 1 (2 pts), error handling 1 (nesting depth added 8). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 943, 942, 969). 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/resources/web/js/model-detail.js"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92f19254bc0c676681a61db0b606ed043254c5a15a616ca93fa2bb9d7a2f492"}},{"ruleId":"D2","level":"warning","message":{"text":"calculateModelTokens (cognitive 30): calculateModelTokens has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 13, ternaries 5 (8 pts), if/else 6, error handling 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e099e78900c299383d85b78f490a959120623dee813836ec20f53f11cccce577"}},{"ruleId":"D2","level":"warning","message":{"text":"loadLlamaCppReleases (cognitive 30): loadLlamaCppReleases has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (21 pts), ternaries 4 (6 pts), boolean chains 2, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1eaeecab6f8db569fb8a6ee9c12bd50becc632d2d67a79d7758fc78a10135aa"}},{"ruleId":"D2","level":"warning","message":{"text":"renderDailyChart (cognitive 30): renderDailyChart has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (9 pts), ternaries 4 (7 pts), loops 2 (nesting depth added 4). Most of this is not in the body itself: 14 of the 30 points are its own statements and the rest belongs to 8 function items inside it that branch (onmousemove, a function literal at line 540, dailyLabelFn, \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/main/resources/web/js/usage-report.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"218b626066f55afdc9f055ff21630b0fd3e2b07421e74c38153ff638b84f43e3"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoLoadPolicyController.handleSetPolicy (cognitive 29): AutoLoadPolicyController.handleSetPolicy has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 7, error handling 2 (3 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/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"95721ddcfce1c653dd598c312a7573a35d3e743dd2126c81f4921913b256fe59"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.buildLocalLoadedModels (cognitive 29): ModelActionController.buildLocalLoadedModels has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 5 (11 pts), loops 3 (6 pts), boolean chains 1 (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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"229f66f4a79f55ef8e4057f22f2fa357a146d2b93db254fb8863adaca905d4ec"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemController.handleFitParamsRequest (cognitive 29): SystemController.handleFitParamsRequest has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 10, ternaries 1 (2 pts), error handling 1 (nesting depth added 2). 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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"765bcb0d2902a910ac79764ef08fcc6e55ab630ca7dd52cb137efdae2fe85cce"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-mcp.create.restoreScrollPositions (cognitive 29): chat-mcp.create.restoreScrollPositions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 9, error handling 1 (4 pts), ternaries 3 (4 pts) (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e505c5dff130a7cbda51bfbb10db1292f7cb23b8862942574271c40298094ab"}},{"ruleId":"D2","level":"warning","message":{"text":"mtp-bench.html.renderModelList (cognitive 29): mtp-bench.html.renderModelList has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 8, loops 3 (4 pts) (nesting depth added 9). 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 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/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecab28b0456fbcc0afa564e9f5af7ebace519e225fae807f309d1ca43476a586"}},{"ruleId":"D2","level":"warning","message":{"text":"create.restoreScrollPositions (cognitive 29): create.restoreScrollPositions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 9, error handling 1 (4 pts), ternaries 3 (4 pts) (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"5424be9dc0d383c0d786ddb6ae2da8220a1bc4192fa524474b8ee2d8dfdf22ef"}},{"ruleId":"D2","level":"warning","message":{"text":"renderParamField (cognitive 29): renderParamField has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 10, if/else 3, loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1ecb61614a70725ce47ef3013bf0036732113f2b2e839f04f4ea47b03ac6f1"}},{"ruleId":"D2","level":"warning","message":{"text":"loadAutoUnloadPolicy (cognitive 29): loadAutoUnloadPolicy has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 7 (8 pts), boolean chains 7, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1204, 1227, 1203). 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/resources/web/js/model-action-modal.js"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"103f945e8c451da318083f1f413011138e91ab4ddff4ef4d70254d95d5f18b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"estimateVramAction (cognitive 29): estimateVramAction has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, ternaries 7 (9 pts), error handling 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 13 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84d14a4789def71408b39ae9bd550075a13e7e40d347c7c8181159e23fc4477"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatController.shouldUseGzip (cognitive 28): EasyChatController.shouldUseGzip has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, error handling 1 (4 pts), loops 2 (3 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78f541c530d4dfd71527acc59e5860300324f5a90c66c1392c624f616ba470e"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemController.handleRequest (cognitive 28): SystemController.handleRequest has cognitive complexity 28 (threshold 15). Drivers by points: if/else 27, boolean chains 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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a964c81709a85c38a740d0a875b30dfdfb99f81955f45b008e061c1fc3cd8ab8"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolExecutionService.formatMcpToolResult (cognitive 28): ToolExecutionService.formatMcpToolResult has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 6, ternaries 1 (2 pts), 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/main/java/org/mark/llamacpp/server/service/ToolExecutionService.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ca3736a1dc29bdf7b0e9086bab5b891646e06b00b995be48047d2701aad586"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.loadConversationById (cognitive 28): index.html.loadConversationById has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 6, loops 1 (3 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/main/resources/web/chat/index.html"},"region":{"startLine":5738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4636e9856b206255ae29afdf53c299b95f022f4cdd8108a02219f28ae48474aa"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.generateAutoReply (cognitive 28): index.html.generateAutoReply has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 8, error handling 1 (nesting depth added 3). Of this number, 25 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/main/resources/web/chat/index.html"},"region":{"startLine":9780}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ed0e68ca5e3b94a32429f00f0bb37c226f2de8f78e4c6f9e641d648ce44d71"}},{"ruleId":"D2","level":"warning","message":{"text":"download.handleWebSocketMessage (cognitive 28): download.handleWebSocketMessage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 7, error handling 1, match/switch 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/main/resources/web/js/download.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8306941a2a8f6b04b10d2aa6348fb134af064016cad4560bf1ae8e09af2b0a0"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.renderLlamaCppRelease (cognitive 28): settings.renderLlamaCppRelease has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 5, error handling 1 (3 pts), loops 1 (nesting depth added 6). 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/main/resources/web/js/settings.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"38089dd56b5fd8b1d9f3007cb7f02664088698e55551003f5c74a26a3de36d5c"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.testNode (cognitive 28): settings.testNode has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff291ef6a6033dac9e86eda7abed9f5780cf31dba6a0dad318cc6f59b0e3553"}},{"ruleId":"D2","level":"warning","message":{"text":"mtp-bench.html.runDiff (cognitive 28): mtp-bench.html.runDiff has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 12, ternaries 4 (9 pts), if/else 3 (4 pts), loops 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/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded28b20aab4b43b66ef0555cc2a6f8b298cd5710b7904ec26882eb137d2c9c0"}},{"ruleId":"D2","level":"warning","message":{"text":"loadServerRecords (cognitive 28): loadServerRecords has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (8 pts), boolean chains 7, loops 1 (2 pts), error handling 1 (nesting depth added 8). Of this number, 27 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3ac07a3a176e846b5b16edb83eba5f7125a19d09e4c64a68512380378b0c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.handleLoadModelRequest (cognitive 27): ModelActionController.handleLoadModelRequest has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 7, error handling 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e6cfc3065415f14cf6a4b8b5e9156cce37ec92f8f0a81767a985ae04798494"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildTaskManager.applyLinuxCompilerPath (cognitive 27): BuildTaskManager.applyLinuxCompilerPath has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 1 (4 pts), boolean chains 2 (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/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0caeb97dd4aa470bd313ac0967355b963d17e328636139708f4d3689c442a22"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatService.proxySseStream (cognitive 27): EasyChatService.proxySseStream has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 1 (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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc5f031a9934cc8abca7d06af26ad055acb1cdcef42e17f41d107d48fc14eda"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolchainChecker.tryVsWhere (cognitive 27): ToolchainChecker.tryVsWhere has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (7 pts), boolean chains 5, error handling 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/main/java/org/mark/llamacpp/server/tools/ToolchainChecker.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"fece51f012f6a22184df6c2abe669de6e62274798f1e963abaf4bb93372dcfc2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigManager.mergeSharedIntoBundle (cognitive 27): ConfigManager.mergeSharedIntoBundle has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 4, loops 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/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb3df68dafb9438cdb0601aef2620f27f930dc8c1dbebe6147a0eeb54cc6d81"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilySearchTool.parseSearchResponse (cognitive 27): TavilySearchTool.parseSearchResponse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 9, loops 1, 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/main/java/org/mark/test/mcp/tavily/tools/TavilySearchTool.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4fdfe11b3aec0644850454274a115ca85164b1ad305158d7668e593764eda7"}},{"ruleId":"D2","level":"warning","message":{"text":"model-list.toggleFavouriteModel (cognitive 27): model-list.toggleFavouriteModel has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 18, if/else 6, ternaries 2 (3 pts) (nesting depth added 1). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 514, 525, 498, \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/resources/web/js/model-list.js"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1645bfe8407574ce10587c1b6ebd94648addad99b8237b578a02ebc0d4e65ca"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.init (cognitive 27): settings.init has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24 (26 pts), boolean chains 1 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"371b709c091d307bf24ed6ea166b23b50b8aea7ad2ecefe7db0b5600de943054"}},{"ruleId":"D2","level":"warning","message":{"text":"mtp-bench.html.updateRow (cognitive 27): mtp-bench.html.updateRow has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 9 (12 pts), if/else 7 (11 pts), boolean chains 3, 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/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf79180251498922d79a7ea54f16fbaf8ff3bc4106c36e0d5ee26fe0a72cafe3"}},{"ruleId":"D2","level":"warning","message":{"text":"recordRowHtml (cognitive 27): recordRowHtml has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 16 (17 pts), if/else 6, boolean chains 4 (nesting depth added 1). Of this number, 21 points are the body\u0027s own statements and 6 belong to one function item 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/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"945eb48c25c0da3164900e9448d102d602b837433770b539fa4776a14b93bc04"}},{"ruleId":"D2","level":"warning","message":{"text":"download (cognitive 27): download has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (9 pts), ternaries 5 (6 pts), error handling 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 12 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"98829dd0d8253d2e42a6d42c182ae7c6cee262e40a2ea61b61cb1d3d9f8456a7"}},{"ruleId":"D2","level":"warning","message":{"text":"card (cognitive 27): card has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 19, boolean chains 8. 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/main/resources/web/js/newui/models.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4d75fb0259377c25af5c492ca78892f90b3629c1488804b0ede07376996618"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceSearcher.crawlGgufTargeted (cognitive 26): HuggingFaceSearcher.crawlGgufTargeted has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 2 (8 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 14). 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb1a1d4f9f3f14f4f7682c66b9ef128665530d3d2da375968ece29790fe284b"}},{"ruleId":"D2","level":"warning","message":{"text":"MtpHelper.serializeDonorKVs (cognitive 26): MtpHelper.serializeDonorKVs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 15). 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/main/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7fc5fc5bbd230015f733fa6211a53a0a70eba43378af98f345b504b40ac883"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.handleCloneCreateRequest (cognitive 26): ModelActionController.handleCloneCreateRequest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17, boolean chains 8, error handling 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdce5d71d22eef28d8bc55212236afe5398c2aface2a17d317785ac55130202d"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.handleOpenAIAudioTranscriptionsRequest (cognitive 26): OpenAIService.handleOpenAIAudioTranscriptionsRequest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5, ternaries 1 (2 pts), error handling 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e445481254c470c9333ade47776e57bfe7f2bd60c47bc2c88b205feb215f4d75"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUInfoHelper.getMemoryInfo (cognitive 26): GPUInfoHelper.getMemoryInfo has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, loops 1 (2 pts), ternaries 2, 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/main/java/org/mark/llamacpp/server/tools/GPUInfoHelper.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"73671caf7bb1fb333f15ad629cb05f97eed672cd9ec48337159a1225b565de6d"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolchainChecker.checkSycl (cognitive 26): ToolchainChecker.checkSycl has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). 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/main/java/org/mark/llamacpp/server/tools/ToolchainChecker.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0308caebd8834252396bcdb2c3bb29e90c791ec1bc55a9f90d58eaa0cc562012"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMcpServiceImpl.doProcessRequest (cognitive 26): DefaultMcpServiceImpl.doProcessRequest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 4 (8 pts), boolean chains 4 (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/main/java/org/mark/test/mcp/DefaultMcpServiceImpl.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f2b666f4a6b3aa485f406d99ccc56775a58ffe1e5af57f9533effa2cfc44ff"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-mcp.extractToolResultText (cognitive 26): chat-mcp.extractToolResultText has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 10, ternaries 3 (4 pts), error handling 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 9 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df09b3c00c7ce4deab22b575ec0c7980eab26db0ab9b627dc5157fe971ecbb"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.requestEphemeralStreamChat (cognitive 26): index.html.requestEphemeralStreamChat has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 8, ternaries 3, loops 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/main/resources/web/chat/index.html"},"region":{"startLine":9239}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb06facc2a18461ed4a8b643689fffae229065e35a8e19570a37502b5f62238"}},{"ruleId":"D2","level":"warning","message":{"text":"openModelBenchmarkDialog (cognitive 26): openModelBenchmarkDialog has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 8, ternaries 8, if/else 7, error handling 2 (3 pts) (nesting depth added 1). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 90, a function literal at line 79, a function literal at line 82, \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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c5babd7aff701c40f6cb2818ebc9eb0392751dd3fde5d997ab3284bcd48de9"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 26): render has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 8, ternaries 4 (6 pts) (nesting depth added 2). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 96, 104, 118, \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/resources/web/js/newui/models.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e68cdd849182b210065277a21e00b5698a303f87563a1f72772acc7025b3a2"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 26): init has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13, boolean chains 7, ternaries 3 (4 pts), error handling 2 (nesting depth added 1). None of this is in the body itself: all 26 points belong to 19 function literals inside it that branch (lines 36, 20, 9, \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/resources/web/js/newui/settings.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"380fa354d8004b4ce49fe6b65a4c32943e913bcca331b9e4c9371dd565ffbba7"}},{"ruleId":"D2","level":"warning","message":{"text":"renderTokenSummary (cognitive 26): renderTokenSummary has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, ternaries 5 (8 pts), if/else 5 (6 pts) (nesting depth added 4). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 214, 196, 248, \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/resources/web/js/newui/usage-report.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80b73961806d9384bf0f89372981848243202010be7f6a2c2435760aa9ee0e2"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDownloadRouterHandler.handleListDownloads (cognitive 25): FileDownloadRouterHandler.handleListDownloads has cognitive complexity 25 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 pts), error handling 2 (4 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 15). 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/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adf832b77f22f900d593fd6c173c49153eafd1d2a7c10f1e1ecbe2bc44cca15"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaRouterHandler.handleApiRequest (cognitive 25): LlamaRouterHandler.handleApiRequest has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 8, error handling 1 (nesting depth added 2). 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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abe2c3327119effe868535140506b2fbf5edaa2da81db36410874ac821cdd74"}},{"ruleId":"D2","level":"warning","message":{"text":"McpClientService.fetchToolsFromSse (cognitive 25): McpClientService.fetchToolsFromSse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 3, loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec05f8c7f0bac1e0a4bdec5decfc75e552bdb56c73ed6b25962bce868f4f556"}},{"ruleId":"D2","level":"warning","message":{"text":"McpClientService.getAllAvailableTools (cognitive 25): McpClientService.getAllAvailableTools has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 11). 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/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"646f4fb1ae39413d87109422d51001a981ac75b10fa0252fa1b5015557fc41e1"}},{"ruleId":"D2","level":"warning","message":{"text":"McpClientService.upsertServer (cognitive 25): McpClientService.upsertServer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27009d5fabbd7801272480f425b49c78628524171298a86e6c0395e2c8c1d6c"}},{"ruleId":"D2","level":"warning","message":{"text":"BenchmarkService.generatePromptForTargetTokens (cognitive 25): BenchmarkService.generatePromptForTargetTokens has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (4 pts), boolean chains 3, ternaries 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/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d774708c2e37a20fc7d60328420949c330b6082ce4283d5aa1750f58f7a5d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStreamSession.resolveFromRemoteNodes (cognitive 25): ChatStreamSession.resolveFromRemoteNodes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 15). 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/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9138e1c301178f2b7d237ea578bcc4a71afe8539af70aae86dcdd0dfc0ca70"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.flushStateSave (cognitive 25): index.html.flushStateSave has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 3 (8 pts), boolean chains 1, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":5821}}}],"partialFingerprints":{"codehealthFindingId/v1":"91959cb47416d7d464e7e522d6e238ae4b91ac964656af10718cca920945d7ab"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.updateAssistantMessage (cognitive 25): index.html.updateAssistantMessage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 5 (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/main/resources/web/chat/index.html"},"region":{"startLine":6902}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd02d7890ff7d367b52533da3bda75d9bdb600f1b27f073e3a8707e94e5e6e8"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.consumeSse::processSseLine (cognitive 25): index.html.consumeSse::processSseLine has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 7, ternaries 4 (5 pts), error handling 1 (nesting depth added 2). 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. This shape REPEATS in the file: one other method here (index.html.consumeSse) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":9465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8de5b59eae0b6cb4d1946e8bd544d2da69522ba87e378f23c6398afb5e7bd51"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.addModelPath (cognitive 25): settings.addModelPath has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (19 pts), ternaries 3, boolean chains 2, error handling 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/main/resources/web/js/settings.js"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"c210c1d2ea43bca87ee0c232a90f7cbe645f7da2ab10861b43c4a15a38edb9c0"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeLaunchConfigBundle (cognitive 25): normalizeLaunchConfigBundle has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 5 (9 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cebd743b4ab6146dec4a5490f0fe063d4dff79b866831ac56b5ab615b4b162d"}},{"ruleId":"D2","level":"warning","message":{"text":"buildBenchmarkCmdFromDynamicFields (cognitive 25): buildBenchmarkCmdFromDynamicFields has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 5 (7 pts), boolean chains 4, loops 1 (nesting depth added 9). Of this number, 21 points are the body\u0027s own statements and 4 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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"0838b30fafc6f8f4be95da95d4e34222c520eae53cf1fcabdc51787caae92131"}},{"ruleId":"D2","level":"warning","message":{"text":"exportRecords (cognitive 25): exportRecords has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 9, if/else 4 (nesting depth added 5). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 391, 405, 408, \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/resources/web/js/newui/benchmark.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad29b675dfaaae5972edb1667152282532a0f849782ea2e67341b732b68a783"}},{"ruleId":"D2","level":"warning","message":{"text":"runBench (cognitive 25): runBench has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, ternaries 3 (6 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d13a0818253f9d62b24ebef7a4afdff306de67f52ca47a1ac4e6399e6a543c"}},{"ruleId":"D2","level":"warning","message":{"text":"buildCmd (cognitive 25): buildCmd has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 8, ternaries 1 (2 pts), loops 1 (nesting depth added 9). Of this number, 24 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/main/resources/web/js/newui/model-config.js"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db4c2442b83898935e249dcaef5c7edd652095850d7f51ee3f728e8544176d7"}},{"ruleId":"D2","level":"warning","message":{"text":"load (cognitive 25): load has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, ternaries 6, if/else 5, error handling 3 (4 pts) (nesting depth added 1). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 37, 49, 45, \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/resources/web/js/newui/models.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"933a3efe2f2962363e4aa35eb64260ad2aed1e79ecbce220325cf3b60c0ce996"}},{"ruleId":"D2","level":"warning","message":{"text":"check (cognitive 25): check has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 14, if/else 6, ternaries 4, error handling 1. Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 35, 67). 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/resources/web/js/newui/settings-update.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f21e4d4d13ddd071f8655211c1ab1d278bf9c2ea3a586408e849545f4a5f14f"}},{"ruleId":"D2","level":"warning","message":{"text":"populate (cognitive 25): populate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e033af6f1891bac5aebde5e72cdc32036dd4ae9e4f9203de4fb2a13161c2cba"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatController.handleAvatarUpload (cognitive 24): EasyChatController.handleAvatarUpload has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, error handling 3 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a134b96ab646db8986d6ca5075bcd749e8c834e1540b6896f6cda15c08a24bf4"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelInfoController.handleRequest (cognitive 24): ModelInfoController.handleRequest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 24. 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37565bf13147696bbea5d1bf3594a1af52b8d021ed05cab5b726ecf366d2622"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelInfoController.handleSetModelAliasRequest (cognitive 24): ModelInfoController.handleSetModelAliasRequest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"79de2f73e206851589a897a0499d71febc8e5e8d7725956e0394832fc7936dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildTaskManager.executePhase (cognitive 24): BuildTaskManager.executePhase has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (16 pts), error handling 4, boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7cddea8ae7750610c018429654f975780b97dd59e206a3140ccc68bc74cb42"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteWebSocketClient.connect (cognitive 24): RemoteWebSocketClient.connect has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), error handling 3 (5 pts), boolean chains 2, ternaries 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/websocket/RemoteWebSocketClient.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad559028032d12af0c775df781de15994871c480b4de135e0c6748c821fe985"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.handleFitParam (cognitive 24): LlamaServerManager.handleFitParam has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 2, ternaries 2, boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3283}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f1e473a949117b78256bc84df16ae3642b28dbaa0c9290e17c5ad5768b3990"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.openVideoLightbox (cognitive 24): index.html.openVideoLightbox has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 16, if/else 6, ternaries 2. Of this number, 20 points are the body\u0027s own statements and 4 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/main/resources/web/chat/index.html"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb51e00f92165de3d03834b31ec3ffde0affdb4081d088b25133fe6f17087dc"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.buildStreamUserMessage (cognitive 24): index.html.buildStreamUserMessage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 8, loops 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":8852}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c85a552fbdd0e2d46091bc18a74d091cf88ee76e66c3603c8ad07a5136b5b9"}},{"ruleId":"D2","level":"warning","message":{"text":"model-list.sortAndRenderModels (cognitive 24): model-list.sortAndRenderModels has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 6, ternaries 1 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 11 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/main/resources/web/js/model-list.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d421c65b3fa4651dac89b239fbca3928ced2a11b7a2d0b1209fae8550a28be"}},{"ruleId":"D2","level":"warning","message":{"text":"doExport (cognitive 24): doExport has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (8 pts), if/else 5 (6 pts) (nesting depth added 3). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1372, 1388, 1387, \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/resources/web/js/benchmark-v3.js"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c9e75df8e03e98db3f983f8cab773cb5c0a9afa5eea039eb2a56f1cce9b890"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchDetailReadme (cognitive 24): fetchDetailReadme has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7, ternaries 4 (6 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a053f0b8b6dd160f4156c097a966c1848813c9d5c924faf353305eeca82484b1"}},{"ruleId":"D2","level":"warning","message":{"text":"renderModelList (cognitive 24): renderModelList has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 7, ternaries 6 (7 pts) (nesting depth added 1). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 99, 89, 96, \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/resources/web/js/newui/benchmark.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f516c73f1f3d6d0c2232b78e25ddda179ccc57e49ed5e5c425d6aefb7169e2"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceSearcher.fetchReadme (cognitive 23): HuggingFaceSearcher.fetchReadme has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 4, 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b692543be28602758647e4a65c99a8cb979475c16ca46fdb58249f534a595de8"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceSearcher.normalizeRepoId (cognitive 23): HuggingFaceSearcher.normalizeRepoId has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, loops 2 (3 pts), error handling 1 (2 pts) (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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"09efaa5f6aa08ef34827192a378a7a728d4a228201b1c4985b8523556f186abb"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaRouterHandler.forwardControlToRemote (cognitive 23): LlamaRouterHandler.forwardControlToRemote has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4 (6 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3aec2397a0a547a2f580f40d48028e1f8ad43ef0acee8b9721a684f803465c6"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChatStreamingHandler.channelRead (cognitive 23): OpenAIChatStreamingHandler.channelRead has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, error handling 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/main/java/org/mark/llamacpp/server/channel/OpenAIChatStreamingHandler.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f14db0e0f1d1b8dd187e892d10cf7dbfe9e69e72e7293f81e166a8e318d6d4"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedBodyBuffer.findLastClosingBrace (cognitive 23): UnifiedBodyBuffer.findLastClosingBrace has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 2 (3 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/UnifiedBodyBuffer.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8103fac82276c85af982c5f871e121bbefc0a35fdf6c2dc17790e818bd55a02d"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineRunner.resolveByPathext (cognitive 23): CommandLineRunner.resolveByPathext has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 4 (7 pts), loops 2, boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb04d44d2be7ef764cffe192fe156e9b9b6ab6b844cdaefb659850071dbba14"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineRunner.resolveExecutablePath (cognitive 23): CommandLineRunner.resolveExecutablePath has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, ternaries 2, 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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3789bf789d25d6e2cb58ae073382c69bbafbc60c3d0590223f5d16d3de4719"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonUtil.ensureToolCallIdsInArray (cognitive 23): JsonUtil.ensureToolCallIdsInArray has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 6, ternaries 1 (3 pts), loops 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/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"102640d221c0d0f1892b8a4137b5ab4158337eed627667b618302ff0ce44717f"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.canFitModelInMemory (cognitive 23): LlamaServerManager.canFitModelInMemory has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11, ternaries 5 (7 pts), boolean chains 4, error handling 1 (nesting depth added 2). 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3362}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f73e6a8b90afddae9afc866faa4027f2dd5f214bcd0739c1a4fc796ca56210"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.flushStreamingMarkdown (cognitive 23): index.html.flushStreamingMarkdown has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 4 (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/main/resources/web/chat/index.html"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4671c8ebcf6c7b57a171c8391ce2b1aede1f5f7bad04d76b67112c01387b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.getAssistantModelName (cognitive 23): index.html.getAssistantModelName has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 9 (10 pts), ternaries 2 (3 pts) (nesting depth added 2). 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/main/resources/web/chat/index.html"},"region":{"startLine":3419}}}],"partialFingerprints":{"codehealthFindingId/v1":"95368808a2195c1218c7471f84671a90a7d512482548aadd0e4a6f2165d97ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"model-action-modal.splitCmdArgs (cognitive 23): model-action-modal.splitCmdArgs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, loops 1, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7373c10672ccfa2c0ff68bd33cb63d4ef57cec3aae09f52682238b2d633132"}},{"ruleId":"D2","level":"warning","message":{"text":"model-action-modal.buildAllowedBareTokenSetFromParamConfig (cognitive 23): model-action-modal.buildAllowedBareTokenSetFromParamConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (6 pts), boolean chains 5, loops 2 (3 pts) (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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f196f2d78107f79ebbb3182eac253ece3fae66b9b677110a3f612ca060258506"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-report.drawBarsChart (cognitive 23): usage-report.drawBarsChart has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (4 pts), boolean chains 2, ternaries 2 (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/main/resources/web/js/usage-report.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fd10fdf2dbf254061b48dca4e0bc95c3d0d713c00bb2a465c2945229353f19"}},{"ruleId":"D2","level":"warning","message":{"text":"bindModelSamplingSamplersField::onclick (cognitive 23): bindModelSamplingSamplersField::onclick has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 8, ternaries 2 (nesting depth added 2). 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/main/resources/web/js/model-detail.js"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c90425c7730cb4c82b19d6a2068a26e6c14373d1fd19fb33b3fe1cf6b772594"}},{"ruleId":"D2","level":"warning","message":{"text":"updateModelSamplingConfig (cognitive 23): updateModelSamplingConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, ternaries 2 (3 pts), error handling 1 (nesting depth added 5). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 997, 996, 1009). 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/resources/web/js/model-detail.js"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d12b7797cd4a701ec82a8a26ae4ef863a77c19d7c6ce413ca656e7953adc46c"}},{"ruleId":"D2","level":"warning","message":{"text":"drawBarsChart (cognitive 23): drawBarsChart has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (4 pts), boolean chains 2, ternaries 2 (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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c61578681e1d5b8eb42fdde45d6a6cd6bc28774a1131977c5edfd8e1f7cf49"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleHttpDownloader.downloadRange (cognitive 22): SimpleHttpDownloader.downloadRange has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), boolean chains 2, error handling 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/main/java/org/mark/file/downloader/SimpleHttpDownloader.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d3c3f8bedacc291dcbdd703673abca21efce35bb0b188094a5f9bb69fa2b19"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDownloadRouterHandler.inferContentType (cognitive 22): FileDownloadRouterHandler.inferContentType has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18, boolean chains 4. 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/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"195ceaf03d8eac0e9793bc481c0f264ed22bc32820b1dbd3387d79a556c64da3"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatController.handleBackgroundUpload (cognitive 22): EasyChatController.handleBackgroundUpload has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 3 (4 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f2907261d45fecb8cc0106df697dc546b4e6a8159b63fd5166a7d21936e6f1"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamacppController.proxyRawBytes (cognitive 22): LlamacppController.proxyRawBytes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 1 (2 pts), error handling 1, 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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d396545542910baa141d1286ac6f1a028d6ef96c2b0aaa1d4165f44a2077372"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.loadLocalModel (cognitive 22): ModelActionController.loadLocalModel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, boolean chains 8, ternaries 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"23298a9a9e339749222d7b6891655ccf60c4f488438eebd99b2cfdc4fdf8bb14"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelSamplingService.readStringArray (cognitive 22): ModelSamplingService.readStringArray has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, ternaries 2 (4 pts), loops 1 (2 pts), error handling 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/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b0bcb0080e70ceb6e12f583da6e051ed3a02df8be77a9608fb9d3469319d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.resolveModelType (cognitive 22): LlamaServerManager.resolveModelType has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 5, boolean chains 3 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"087a6f600496b2f48bb48cfa988a9335ffdfb9f49ee779e218c4dc9047f7144e"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.normalizeConversationMessage (cognitive 22): index.html.normalizeConversationMessage has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 16, if/else 3 (4 pts), boolean chains 2 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 3 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/main/resources/web/chat/index.html"},"region":{"startLine":3718}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d8f887fe30eca772e1f30b7ea4bb95833505b4da94114c483a874d6becae55"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.deleteMessage (cognitive 22): index.html.deleteMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 2 (5 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 6 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/main/resources/web/chat/index.html"},"region":{"startLine":8412}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cb90811e3a17086bf0279d20d10ccc1e9d57bf1bd8e6e9773d3d915b8d46fe"}},{"ruleId":"D2","level":"warning","message":{"text":"model-action-modal.enforceModelCapabilitiesRules (cognitive 22): model-action-modal.enforceModelCapabilitiesRules has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 10 (11 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e37ef35a1846d6f9d1c030c56cf032e301320b92757a75f44d5d9213cb91af"}},{"ruleId":"D2","level":"warning","message":{"text":"model-action-modal.getCurrentModelById (cognitive 22): model-action-modal.getCurrentModelById has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, ternaries 2, loops 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd167059ec3bb6db9cdb07b580b8ddd07409c472400c5c6061b8627bee609d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"mtp-bench.html.formatResultsAsText (cognitive 22): mtp-bench.html.formatResultsAsText has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 8, if/else 1, loops 1 (nesting depth added 5). Of this number, 21 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/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"0670be9374330881658b7e8b5df4248cea085ebebdd0797d0444bdc6d8a98a90"}},{"ruleId":"D2","level":"warning","message":{"text":"applyTranslations (cognitive 22): applyTranslations has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 86, t, a function literal at line 113, \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/main/resources/web/js/i18n.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7652f43460c7e0d31e80cc09fb9b362523af53e95a48a87a080a5db5d03a35cf"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::tok (cognitive 22): (anonymous)::tok has cognitive complexity 22 (threshold 15). Drivers by points: loops 7 (15 pts), ternaries 2 (5 pts), boolean chains 1, match/switch 1 (nesting depth added 11). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/marked.umd.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"143f9f31b6aecd8c9ad4f2d9d26506891acb02e984c5541c41aa7c24a881ecca"}},{"ruleId":"D2","level":"warning","message":{"text":"applyLaunchConfigToModal::tryApply (cognitive 22): applyLaunchConfigToModal::tryApply has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, ternaries 1 (3 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1442186f0f10113a8980d6febad97121920edf6c1378d4469e131849267d94"}},{"ruleId":"D2","level":"warning","message":{"text":"saveModelConfigAction (cognitive 22): saveModelConfigAction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, ternaries 3, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1828, 1844, 1828). 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/resources/web/js/model-action-modal.js"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40c604883a9ff492fd0c35d6c41a3f2ef3be0f21f82ea192ce69b328a0ee545"}},{"ruleId":"D2","level":"warning","message":{"text":"deleteModelSamplingConfig (cognitive 22): deleteModelSamplingConfig has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (2 pts), error handling 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1033, 1032, 1050). 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/resources/web/js/model-detail.js"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e210b7840a9078ffe2e21f2f22861cd7fa3e3c1eb1273c9423d6ca8f5f37fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"renderSources (cognitive 22): renderSources has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8, boolean chains 7, if/else 4 (6 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 108, 88, 89, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/logs.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"28085760bf12b94216e8ce56552d30eac0a82a8bc1d2e036510a148086504759"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatStreamingHandler.channelRead (cognitive 21): EasyChatStreamingHandler.channelRead has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2, error handling 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/main/java/org/mark/llamacpp/server/channel/EasyChatStreamingHandler.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"855d53cc2a7ed97f512b2d016692f12f6548b969756253fad1fde776b9d6fe1e"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatService.handleGenerateTitle (cognitive 21): EasyChatService.handleGenerateTitle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, ternaries 3, error handling 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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"699e4d029750f84b9dde13e061662951b1b470e44c28dfca1b883f90cf32eebf"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatService.resolveModelTarget (cognitive 21): EasyChatService.resolveModelTarget has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e73f1053b3b3c67e7e02f12bb8a2b0b23d2ba18c5b8370d6e7e07ae2e4316b"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.streamRawProxyResponse (cognitive 21): OpenAIService.streamRawProxyResponse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, ternaries 3, loops 1 (2 pts) (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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"639608c44ff01f2fc0b4fcb3de0f431daa84df34592062bdd632dca9f40cccd2"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingForwarder.handleStringValue (cognitive 21): StreamingForwarder.handleStringValue has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 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/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"df09c3d243089ba738fc2f8e0ab8153f52415aae9c22ebab90a995c5e44e525f"}},{"ruleId":"D2","level":"warning","message":{"text":"ParamTool.handleOpenAIChatThinking (cognitive 21): ParamTool.handleOpenAIChatThinking has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 1 (4 pts), boolean chains 3 (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/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5179b66ea80ca238bc9699608162ae0d2558056cc2d22c9a5b1c1359d91397f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.updateInteractionLockState (cognitive 21): index.html.updateInteractionLockState has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 1 (4 pts), boolean chains 3, 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/main/resources/web/chat/index.html"},"region":{"startLine":5572}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c58cbec7dc2517e2f33a8b90cda2dad9d9dd9bb5e5ac3c87d53028926e4e91"}},{"ruleId":"D2","level":"warning","message":{"text":"download.renderDownloadsList::getDownloadCreatedAtMs (cognitive 21): download.renderDownloadsList::getDownloadCreatedAtMs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 5 (9 pts), boolean chains 2 (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/main/resources/web/js/download.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"19938bb8781032bc5474f971923cdcc0a071b06a900019b2d56d0c8ae66a56df"}},{"ruleId":"D2","level":"warning","message":{"text":"model-action-modal.sanitizeExtraParamTokens (cognitive 21): model-action-modal.sanitizeExtraParamTokens has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 3 (7 pts), boolean chains 5, loops 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b14d29e12833eeacd1f86dfdd556435c9ad515150da25701a916e63cbc1b723"}},{"ruleId":"D2","level":"warning","message":{"text":"perplexity.html.renderModelList (cognitive 21): perplexity.html.renderModelList has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 4 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/main/resources/web/tools/perplexity.html"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc50ca6e2f564d27d8b16a9df6cd0e9f1e94b733db9de2c3f6da1cb2cbc599df"}},{"ruleId":"D2","level":"warning","message":{"text":"submitCreateDownload (cognitive 21): submitCreateDownload has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, ternaries 6 (7 pts), if/else 6, error handling 1 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"484708cf7619ece139a26bf850f37f721384aa865061b96943bea9f9a11e6644"}},{"ruleId":"D2","level":"warning","message":{"text":"renderBenchmarkParamsContainer (cognitive 21): renderBenchmarkParamsContainer has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 5 (7 pts), boolean chains 3, loops 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cb9182351b47314ea5b15c1af3ed7614de036cf5a7f345c3d3544e2c20a8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"viewModelDetails (cognitive 21): viewModelDetails has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, ternaries 2 (5 pts), error handling 1 (nesting depth added 6). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 6, 4, 5, \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/resources/web/js/model-detail.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48a936995d3d4d42a0c9ada42ee7a9fed29b40d4ed8c5e1f0aeb37efeaaa500"}},{"ruleId":"D2","level":"warning","message":{"text":"fillLlamaCppTestModal (cognitive 21): fillLlamaCppTestModal has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 7, if/else 1 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function item 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/main/resources/web/js/settings.js"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d71f083c61a9613e3ed3edf3e32d88f59137e6cad7358f9ad5fbd87b8264055"}},{"ruleId":"D2","level":"warning","message":{"text":"hfGroupGgufFiles (cognitive 21): hfGroupGgufFiles has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), ternaries 5 (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 7 function literals inside it that branch (lines 360, 382, 380, \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/resources/web/js/newui/hf.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c427b272a5f3e3c4d225a20fd277daa7d3b5ddb61d692adddd926f49ea8e34fc"}},{"ruleId":"D2","level":"warning","message":{"text":"loadConfigPane (cognitive 21): loadConfigPane has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 5, error handling 2 (3 pts), if/else 3 (nesting depth added 6). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 106, 104, 105, \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/resources/web/js/newui/model-detail.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1db5dbbfab9751f8dec72dcef1b20a1f5e75c221e73fba64dd4d7584049d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"savePathSheet (cognitive 21): savePathSheet has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, error handling 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a4906bb17a026310535734c8095af19d563834d59ddc735a72439d3e4752f1"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyHttpDownloader.executeStreamDownload (cognitive 20): NettyHttpDownloader.executeStreamDownload has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 5 (7 pts), error handling 3, boolean chains 2 (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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"58663b668ddba0b20a23a0e2f7705a8f56168660dd72b7fced7f6bfbeec197df"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceSearcher.detectReadmePath (cognitive 20): HuggingFaceSearcher.detectReadmePath has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 1, 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce0c7cd847b640bf49a8fc5c3a8068e41c4eabe479b6e8b4c1e6ce5d21deda3"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicRouterHandler.handleModelProps (cognitive 20): BasicRouterHandler.handleModelProps has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (20 pts) (nesting depth added 12). 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/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe87b24c38b48da1e99739c07351164ada9453c2a4181059ae9ba0047f9beb3"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDownloadRouterHandler.createAndStartLlamaCppTask (cognitive 20): FileDownloadRouterHandler.createAndStartLlamaCppTask has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, error handling 1, loops 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/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fdaba40f204bf20c00784ebb7afe4f14df9ef73057f36e04dbb2be01199631"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaRouterHandler.forwardControlToLocal (cognitive 20): LlamaRouterHandler.forwardControlToLocal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, error handling 3 (4 pts), loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ced3a3f93396ef49f111697ff1a3d4e736ce54ad9f3890c6104841ab39c6d8e"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputerService.getCPUModel (cognitive 20): ComputerService.getCPUModel has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, error handling 2 (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/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dbeb98ca357fa06ed64850b0e66ed1dc087f490f1bf714ad853a057e6016c4"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaRecordService.extractJsonObjectValue (cognitive 20): LlamaRecordService.extractJsonObjectValue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, loops 2 (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/main/java/org/mark/llamacpp/server/service/LlamaRecordService.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9932e9c7efd481db1b41aa20400c553fc04fad5443ec7545bdcb044de4e6a36"}},{"ruleId":"D2","level":"warning","message":{"text":"PerplexityService.sendJsonLine (cognitive 20): PerplexityService.sendJsonLine has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (6 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/main/java/org/mark/llamacpp/server/service/PerplexityService.java"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ffc494391109d529c048fe151217ca51b6515e3ae5e0d059e31085051e0b33"}},{"ruleId":"D2","level":"warning","message":{"text":"ParamTool.splitCmdArgs (cognitive 20): ParamTool.splitCmdArgs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 1, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4627a73ba52df2d7a890d757394a28c83046db0337c665c639651827666f36c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyConfig.parse (cognitive 20): ProxyConfig.parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 1 (3 pts), boolean chains 1, loops 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/main/java/org/mark/project/tools/proxy/ProxyConfig.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4252b59abb929d88b4d953068799df2d3ca6e2009c1712d60b883ad3036edaa"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.populateSettingsModelSelects (cognitive 20): index.html.populateSettingsModelSelects has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":3271}}}],"partialFingerprints":{"codehealthFindingId/v1":"021c981ea80fe3d0cc6f55e057cf8f1489f47020265deab708707490d3732871"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.uploadAssistantAvatar (cognitive 20): index.html.uploadAssistantAvatar has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 6, ternaries 2, error handling 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/main/resources/web/chat/index.html"},"region":{"startLine":4115}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e2568f1c0c0d5bdbd318c235a6643d24b091f9cb4be66119891c743d111ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderModelMenu (cognitive 20): index.html.renderModelMenu has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":4823}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63d978ff5f90b15bf2904e88d5dae23c1dda66cc5f281fa7be3d8a4f6cad08d"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.buildFragmentPayload (cognitive 20): index.html.buildFragmentPayload has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (7 pts), boolean chains 6 (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/main/resources/web/chat/index.html"},"region":{"startLine":8902}}}],"partialFingerprints":{"codehealthFindingId/v1":"605ae04a7ab2afb371109fb8c61b3dd6d4f6e3fb8b92849de0fe9a9160eb300b"}},{"ruleId":"D2","level":"warning","message":{"text":"model-action-modal.switchParamMode (cognitive 20): model-action-modal.switchParamMode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bfcb74c4007367633f5b4ca0e4fdabdaa6794042b159c4351ffcde4f8af4d8"}},{"ruleId":"D2","level":"warning","message":{"text":"model-detail.normalizeModelSamplingStringArray::splitText (cognitive 20): model-detail.normalizeModelSamplingStringArray::splitText has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (6 pts), error handling 2 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f17018f5b5139933a1a311aa9c02eebaeb4850f6789b8278ea20cdbff0cce36"}},{"ruleId":"D2","level":"warning","message":{"text":"llama-build.html.checkToolchain (cognitive 20): llama-build.html.checkToolchain has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (13 pts), boolean chains 4, error handling 1, if/else 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/main/resources/web/tools/llama-build.html"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2893177ec137144d37c4d8bad79aa92a329d3825aff1240b2b2c7b0710bfd4"}},{"ruleId":"D2","level":"warning","message":{"text":"setLogFilter (cognitive 20): setLogFilter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, ternaries 2 (3 pts), error handling 1 (2 pts) (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/console-modal.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"320b4521618c5898cb04a81ed2ab7fadf664ab5eee744fac970c6fc5af1d6716"}},{"ruleId":"D2","level":"warning","message":{"text":"openModelDetailTab (cognitive 20): openModelDetailTab has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 7 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 2 belong 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c617d64619ea9e5b3eaf523a80a3e8700c3ca6b8efabc6a54c1259875860023"}},{"ruleId":"D2","level":"warning","message":{"text":"applyUpdate (cognitive 20): applyUpdate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 pts), boolean chains 3, error handling 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/main/resources/web/js/settings.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ad3b8008daaa36e5848c0d5b8ea0f2cd365307c7d3aaea3a2671e4778afa40"}},{"ruleId":"D2","level":"warning","message":{"text":"applyModelPatch (cognitive 20): applyModelPatch has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 8, error handling 1, ternaries 1. Of this number, 12 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/websocket.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96de1855cf3f1cb45dcad1ddc9743db46c6a8a80bdcfcd4445000233e15df3f"}},{"ruleId":"D2","level":"warning","message":{"text":"renderDailyChart (cognitive 20): renderDailyChart has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), ternaries 3 (4 pts), loops 2 (nesting depth added 2). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 7 function items inside it that branch (onmousemove, a function literal at line 419, labelFn, \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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7c3646f10a904f7d0755b93b00153c813ab6d8598976cf3f7e2cc90da24568"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelPathController.ensureModelPathConfigInitialized (cognitive 19): ModelPathController.ensureModelPathConfigInitialized has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8e8acf9e2196458884cb6d0a425cc24d5cefa0df368364e34625d148362cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"PerplexityController.handleRecordByFilename (cognitive 19): PerplexityController.handleRecordByFilename has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2, loops 1 (2 pts) (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/main/java/org/mark/llamacpp/server/controller/PerplexityController.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8873b2dae76961929290302e7156c5b96068dd2649e7dd63031c53eb9c8911"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicService.handleMessagesCountTokensRequest (cognitive 19): AnthropicService.handleMessagesCountTokensRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6048582b6ec13062df939af280bc6002ce0330d24742e1caf2defacf87d18cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatRequestStreamingTransformer.copyComposite (cognitive 19): ChatRequestStreamingTransformer.copyComposite has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 2, boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a22078459261a8dcc66f145df222ac783a7bffdf950cb90b3feca56dc04b9b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStreamSession.resolveLocalModelUrl (cognitive 19): ChatStreamSession.resolveLocalModelUrl has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 1 (3 pts), error handling 2 (nesting depth added 9). 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/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"47104f555c02381f6b0e17a13b8728c820066c81417a9a7d787f7b07ae9eceda"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStreamSession.run (cognitive 19): ChatStreamSession.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 5, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9e0c0b88ac1b5d22472678a1cd0733113efcbe755fb0925ae641f89830ff28"}},{"ruleId":"D2","level":"warning","message":{"text":"GGufMetaDataExtractor.downloadHeader (cognitive 19): GGufMetaDataExtractor.downloadHeader has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, error handling 1 (2 pts), loops 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/main/java/org/mark/llamacpp/server/tools/GGufMetaDataExtractor.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d00fb84594646b32142e88e5a98e45429392bc39e6e10c31cbb28457ac78c94"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonUtil.getJsonStringList (cognitive 19): JsonUtil.getJsonStringList has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, error handling 2 (4 pts), loops 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/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"346755513e1649084f93106c0aa715b9cde7a013b6fd47ba63ffa3a7b8487457"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.checkAndAutoUnload (cognitive 19): LlamaServerManager.checkAndAutoUnload has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, error handling 1, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"a361ae7f3754521af7b74b21739ee231528d7eeee34bbc6ff23bdba4b9df3c5e"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.loadModelAsyncFromCmd (cognitive 19): LlamaServerManager.loadModelAsyncFromCmd has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 6, boolean chains 3, error handling 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58774287844cec057501e7d624998650db8f66b4c612bf032c56f7df749d099"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyWebServer.initHttpsContext (cognitive 19): NettyWebServer.initHttpsContext has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 1 (2 pts), ternaries 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/NettyWebServer.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"11341a35876b3d6bc1e2aae6cf2b97c92f2f0373666552c1cca7a1967a74d610"}},{"ruleId":"D2","level":"warning","message":{"text":"GetModelPathTool.ensureModelPathConfigInitialized (cognitive 19): GetModelPathTool.ensureModelPathConfigInitialized has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (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/main/java/org/mark/test/mcp/tools/GetModelPathTool.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fbc4ccd85b7a57b3060e0b43f0efbfbf3036ab3493e3d3de9565871d85fc5f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderHwStat (cognitive 19): index.html.renderHwStat has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 6, ternaries 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/main/resources/web/chat/index.html"},"region":{"startLine":5445}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f31d6d6e5e9334e79fd74f3e0c0752f49057b8579057edad8b1b644d1afc16"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.buildStreamChatHeaders (cognitive 19): index.html.buildStreamChatHeaders has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, ternaries 4 (5 pts), boolean chains 4 (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/main/resources/web/chat/index.html"},"region":{"startLine":8653}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca0531e0575545a3aa67d16dcb81476dcd9f5c163b06a0f72525043346e24b6"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.consumeEphemeralSse::processSseLine (cognitive 19): index.html.consumeEphemeralSse::processSseLine has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, ternaries 4 (5 pts), boolean chains 4, error handling 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/main/resources/web/chat/index.html"},"region":{"startLine":9315}}}],"partialFingerprints":{"codehealthFindingId/v1":"85900f3543261cd145221b46a3da30fb5677667da43844106c6a8dd68c6e146b"}},{"ruleId":"D2","level":"warning","message":{"text":"llama-build.html.restoreActiveTask (cognitive 19): llama-build.html.restoreActiveTask has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, error handling 2 (nesting depth added 1). 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: 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/main/resources/web/tools/llama-build.html"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15a0bdc09a02445329402c4b45b592c4f43f650c848b51ab11715dcccebd5d3"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchDetailGguf (cognitive 19): fetchDetailGguf has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 3 (4 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08078085836b169b77d9bb81520a307c980983aa4a27ae4e4c1b539bc89f3fc"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::marked (cognitive 19): (anonymous)::marked has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 6). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/marked.umd.js"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"2150c5cdaf26318166fe5c258327b421519e2d8b8f4bd01b4c5f8559ec1a8c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeModelConfigBundle (cognitive 19): normalizeModelConfigBundle has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 3 (7 pts), if/else 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0de22027afd96184f14e9b40f1e7613e636bfd51a59438f47e73b66760f2728"}},{"ruleId":"D2","level":"warning","message":{"text":"testLlamaCpp (cognitive 19): testLlamaCpp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (6 pts), boolean chains 5, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce2bdd6637e0cecb5cae7dd13d85194b9eeb1b6c66668478533211dfe817bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"handleModelLoadEvent (cognitive 19): handleModelLoadEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 5 (6 pts), boolean chains 2, loops 1 (2 pts), other 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/websocket.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75e70c21d4c84590c5a766938cc2dd36cf3635b0669c142667c74b26fc7d33a"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchGguf (cognitive 19): fetchGguf has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (9 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 172, 183, 191, \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/resources/web/js/newui/hf.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba2b6e52dc4990e49ee893b379163117355df58e3547f84c9b792f8d7f6153c"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceSearcher.collectHits (cognitive 18): HuggingFaceSearcher.collectHits has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"50322c2ea9d1538072482a035bd77d920769541f11ece762f41c78e25f1361b5"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryRequestLog.migrateV1toV2 (cognitive 18): BinaryRequestLog.migrateV1toV2 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/record/BinaryRequestLog.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e05a67745c3cd50ad2310b961921d2361619bfc6ade8e935751a526e470d1cd"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamacppController.handleLlamaCppTest (cognitive 18): LlamacppController.handleLlamaCppTest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5039fffc76921bdd7d53b7c02457688bc6382b206d8b7898bc22ac50b309dcc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.findNodeByLoadedModel (cognitive 18): ModelActionController.findNodeByLoadedModel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), error handling 1 (2 pts), boolean chains 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. This shape REPEATS in the file: one other method here (ModelActionController.findNodeByModel) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff44652fc2303a8a73a55ae194d63fd1db451e26b1160f8e3034902e8d5a906"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.findNodeByModel (cognitive 18): ModelActionController.findNodeByModel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), error handling 1 (2 pts), boolean chains 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. This shape REPEATS in the file: one other method here (ModelActionController.findNodeByLoadedModel) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"5082bfbb4f67ebd8efe8e2fd5036928a3f797b258c8691f8827761a49a8e8a99"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemController.handleModelSamplingSettingAddRequest (cognitive 18): SystemController.handleModelSamplingSettingAddRequest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cbdfa68da4e71cd1f62a04bd3afbad0bc5739ac055b040b9b796de7f8e982f"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatRequestWriter.readClientEnableThinking (cognitive 18): EasyChatRequestWriter.readClientEnableThinking has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (5 pts), boolean chains 4 (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/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7518ac947f05678c10385aa00c5705bac0006a219c1aec7772a30ac9c69be875"}},{"ruleId":"D2","level":"warning","message":{"text":"JsoupCliHelper.fetchPage (cognitive 18): JsoupCliHelper.fetchPage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 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/main/java/org/mark/llamacpp/server/tools/JsoupCliHelper.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6183a073a08002c37049f4f51eecaca7489ee8095d2443fee6cc7d1cbe85210"}},{"ruleId":"D2","level":"warning","message":{"text":"GetModelsTool.buildResponse (cognitive 18): GetModelsTool.buildResponse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2, loops 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/main/java/org/mark/test/mcp/tools/GetModelsTool.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a78408cf8922b9a63cc8a4f7c5166dd2bdd2a2adbdf71010fece412013c6ed4"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.ensureServerStateReady (cognitive 18): index.html.ensureServerStateReady has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":5631}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef009132c20b812d484c127fd3c1af39f54766a12222c7bdd7a24fa542b46e8"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.loadState (cognitive 18): index.html.loadState has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 pts), error handling 2 (3 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":5926}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9540b8f5aec496e8a9e5011b8b7cf3941d66093d6b5ea657efb95b191e570e4"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.pushMessage (cognitive 18): index.html.pushMessage has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9, if/else 5, boolean chains 4. 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/main/resources/web/chat/index.html"},"region":{"startLine":6829}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f4739f125e0dcaf335f19cc094ae43130fc62180d53e03679a39e144c6fd3a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.initOrderedMultiSelects (cognitive 18): index.html.initOrderedMultiSelects has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7 (nesting depth added 1). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 5678, 5667). 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/resources/web/index.html"},"region":{"startLine":5665}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a390cb058a674c3265c216c6dc9e326af79423ea299e5116f7c5dc62289364c"}},{"ruleId":"D2","level":"warning","message":{"text":"hf.selectRepo (cognitive 18): hf.selectRepo has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (6 pts), if/else 4, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"abae373261076c19fa991b0665fcc49c1312fca92675d5ac780d6c93268a53ec"}},{"ruleId":"D2","level":"warning","message":{"text":"model-action-modal.buildPersistableLaunchConfig (cognitive 18): model-action-modal.buildPersistableLaunchConfig has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10, boolean chains 8. 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"befe3074eeaaef24c8e855a269e381ae0313eaea5e09073c41a84988a63e250b"}},{"ruleId":"D2","level":"warning","message":{"text":"model-action-modal.renderMainGpuSelect (cognitive 18): model-action-modal.renderMainGpuSelect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (4 pts), boolean chains 3, ternaries 3 (nesting depth added 5). 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 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba5a8dbe22857c720d316ca1cd7e2b94dffebca7e337364b4a129a5f639d4ba"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.updateAssetProgress (cognitive 18): settings.updateAssetProgress has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 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/main/resources/web/js/settings.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"740f4657e9b25a3740a698d10ecf959c48d91723266516523a9deffeec5e7424"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v2.html.deleteBenchmarkRecord (cognitive 18): benchmark-v2.html.deleteBenchmarkRecord has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, ternaries 4 (6 pts), if/else 5, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea33eae57e9af761d6a8cc1680f61d160f83a52af9f299e91b439470aad37fd"}},{"ruleId":"D2","level":"warning","message":{"text":"create.executeToolCalls (cognitive 18): create.executeToolCalls has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, ternaries 2 (5 pts), if/else 2 (4 pts), error handling 1 (2 pts), loops 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a5b8c77916727090af8fc25c5afa39b237bfda6cb0618a12d401174f6319dd"}},{"ruleId":"D2","level":"warning","message":{"text":"showBenchOutput (cognitive 18): showBenchOutput has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, ternaries 2 (4 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e63ba5fd15cb1793b36bf492941ed6c31671d47db72a124919b70df61cce946"}},{"ruleId":"D2","level":"warning","message":{"text":"updateDetailGgufToolbar (cognitive 18): updateDetailGgufToolbar has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 7 (8 pts) (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/main/resources/web/js/hf.js"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc8af538b6461530dfa5b4bb101c4c87b3548427a2712b5bf214d2cc7b9a634"}},{"ruleId":"D2","level":"warning","message":{"text":"getParamOptionValues (cognitive 18): getParamOptionValues has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (6 pts), boolean chains 5, loops 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"94026f370ce90088d62e4990492592029ef88f932710359d1ae86c44fb902d18"}},{"ruleId":"D2","level":"warning","message":{"text":"fitParamsApplyAction (cognitive 18): fitParamsApplyAction has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (2 pts), boolean chains 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e10bbfcc006dee3dc89b92cc81b7853e5e9a41d394bdef3d1d904d42767dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"deleteModelChatTemplate (cognitive 18): deleteModelChatTemplate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1175, 1174, 1190). 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/resources/web/js/model-detail.js"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"64913742ba8ff065be9208a3f013d4fd0687659aa7c31eab9cf3bbb4e2c00536"}},{"ruleId":"D2","level":"warning","message":{"text":"testProxyConnection (cognitive 18): testProxyConnection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, ternaries 4, error handling 1 (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"633eab4bae8e7bdd2abd076a2ecc0ae36fa0f24d8c98bae02d344763b4dd3b87"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.executeSingle (cognitive 17): Request.executeSingle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (5 pts), ternaries 4 (5 pts), error handling 4, boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68465fab62b5f2726a4e8f361790df0e42d026c0a015b8cbc77f38f31a9e458"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadToFileRequest.executeAsync (cognitive 17): DownloadToFileRequest.executeAsync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6, boolean chains 5, ternaries 4 (5 pts), error handling 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/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae44aa79c91e4e8c075cc9d1b1afdf140a312552448c1275069619cfa07744f9"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicRouterHandler.handleTools (cognitive 17): BasicRouterHandler.handleTools has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"58255a780bcf3e1f63b3fa9bf312f6ecf565bd86008d25a95c3adde28993b082"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamacppController.handleLlamaCppAdd (cognitive 17): LlamacppController.handleLlamaCppAdd has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 4, error handling 2 (3 pts), loops 1 (nesting depth added 2). 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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c70cc7b7873e15df0282857d05a8d3920f365a6b57554241721abfe825823a"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamacppController.handleTokenizeRequest (cognitive 17): LlamacppController.handleTokenizeRequest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4 (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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce7b54ae99650d5c24ca2cac6266e59ba5aa6ae4978172f074fd948a72dddb0"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelActionController.handleModelBenchmarkList (cognitive 17): ModelActionController.handleModelBenchmarkList has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, loops 1 (3 pts), error handling 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf211a87199b55cff2589a388a20dae6bd6aeed8ac1fb49a66872a802d77cf69"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyController.handleProxyTest (cognitive 17): ProxyController.handleProxyTest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 5, error handling 2, ternaries 1 (2 pts) (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/main/java/org/mark/llamacpp/server/controller/ProxyController.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5fbf3d7751042d97315559e3abf0ab7057c2e48e188f2456b0c91b1c0757b3"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemController.handleAutoStartRequest (cognitive 17): SystemController.handleAutoStartRequest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, ternaries 2 (4 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd86b8234282e414e791324ab745e7240cc7cd9860cf4baf20267d56c461523"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildTaskManager.applyLinuxRuntimePath (cognitive 17): BuildTaskManager.applyLinuxRuntimePath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"7362e269aa1f53638e4ba84a9631a866c9fb22d6f3ddf65244663d6ac0cb6b4d"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildTaskManager.hasCudartDlls (cognitive 17): BuildTaskManager.hasCudartDlls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"253fda82c757fc0f1f9937003d3336cbda8e6a8b468ea2a9d41f4f340a21cbd5"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatRequestWriter.writeExtraFields (cognitive 17): EasyChatRequestWriter.writeExtraFields has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, loops 1 (2 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5060d66e29da09f86aae12ce4ce8bf435647be8d71eea1c88df7303a562ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatService.parseTitleFromResponse (cognitive 17): EasyChatService.parseTitleFromResponse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, error handling 1 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce7d58025ee51f4364de9430bf9d6182954aa5ca6b2e44f498bda81d807064a"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelSamplingService.loadSelectedSamplingMap (cognitive 17): ModelSamplingService.loadSelectedSamplingMap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (4 pts), error handling 2 (3 pts), boolean chains 1, loops 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/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"afab56ef80cb010f322c4c722489608601cb34162d3b119f892c6a10b07357ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelSamplingService.parseJsonStringArray (cognitive 17): ModelSamplingService.parseJsonStringArray has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (2 pts), error handling 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/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb33e06d5d1cc38b65ece429fc70b928b74dd6ed8f230b67b7fc642cef04cad"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.resolveAudioTranscriptionModel (cognitive 17): OpenAIService.resolveAudioTranscriptionModel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"02de8be23d406826dadee451abbbb0a4a4147f24229fd96976c01ef91e7c4a9f"}},{"ruleId":"D2","level":"warning","message":{"text":"PerplexityService.parseDevices (cognitive 17): PerplexityService.parseDevices has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/PerplexityService.java"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"bceb0dde09666c694e53f124000eb7fe5eb41be10d4ffbf64639d3bab6e6eea1"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingForwarder.hasPartialKeyTail (cognitive 17): StreamingForwarder.hasPartialKeyTail has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b18a555daeaa83fe51a3dc8ffd27a43e7ff6df9df44bb3a0cf742a3d2ed958"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageReportService.getDailyTokenUsage (cognitive 17): UsageReportService.getDailyTokenUsage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, loops 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/UsageReportService.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"938af6edeac5f343fde43a407edd454b7ff948e62938a3ab5846280de51ec413"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineRunner.addWindowsCudartDirs (cognitive 17): CommandLineRunner.addWindowsCudartDirs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cc3d5777c993d0df76c4726de8847c0528e68f270b6486b1648dda3f7b9075"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineRunner.executeInternal (cognitive 17): CommandLineRunner.executeInternal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), error handling 6, boolean chains 2, loops 2 (nesting depth added 1). 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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"136daa5fb4a4854895a825841325af416e203bff64e62847c82fb46c9184a606"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineRunner.hasCudartDlls (cognitive 17): CommandLineRunner.hasCudartDlls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec109e9d0627fa01b2ac3ad67a38af919e861519fca65178922ea4978a035f4"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaCppProcess.hasCudartDlls (cognitive 17): LlamaCppProcess.hasCudartDlls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e441753a8a7212f4a4cab696bf721a24710ec0d8cba45029b0c4d108e31f49"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.handleListDevices (cognitive 17): LlamaServerManager.handleListDevices has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (7 pts), if/else 3 (6 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3026}}}],"partialFingerprints":{"codehealthFindingId/v1":"767842f50a48ef3cca4fffc4657fd8a763db89591bbe603219dce3e820bcbf02"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationConfigTool.execute (cognitive 17): ApplicationConfigTool.execute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/test/mcp/tools/others/ApplicationConfigTool.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb341c3916cc002cad2237b51e602be41c639a0f5d43d1c12af6f2dce14f0f04"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.consumeSse (cognitive 17): index.html.consumeSse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 8, ternaries 6 (7 pts), loops 3 (5 pts), error handling 1 (nesting depth added 9). 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. This shape REPEATS in the file: one other method here (index.html.consumeSse::processSseLine) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":9435}}}],"partialFingerprints":{"codehealthFindingId/v1":"251514d4ffd8ea538b33c7429e883ba169fc7baf18aecee7cae0873443d192f4"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.bindEvents::closeAudioRecorderModal (cognitive 17): index.html.bindEvents::closeAudioRecorderModal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), error handling 2 (6 pts), boolean chains 3 (nesting depth added 5). 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. This shape REPEATS in the file: one other method here (index.html.bindEvents) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":10509}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f9a472ba369b84d0f4c6be512327bce0416bf696b72ed36cf13e3a58312dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.bindEvents (cognitive 17): index.html.bindEvents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 128 (156 pts), boolean chains 28, error handling 6 (10 pts), loops 7 (8 pts), ternaries 3 (6 pts) (nesting depth added 36). 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 shape REPEATS in the file: one other method here (index.html.bindEvents::closeAudioRecorderModal) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":10364}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ccef64ab0926bb0b2d565e19c1d218690c5d26cef798116c2f5abfe089eeb2"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v3.hwFallback (cognitive 17): benchmark-v3.hwFallback has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 3. 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d74959f2d198e3bffd0f6c4fb17f070cce4f778140b91fbad5b99f10ff2386a"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v3.renderChart (cognitive 17): benchmark-v3.renderChart has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (5 pts), ternaries 1 (3 pts), loops 2 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb199bb29b3a770f3a4a1ce2174514fc0ba19f0d113f81b9a780cd4b831c6bb"}},{"ruleId":"D2","level":"warning","message":{"text":"console-modal.renderRemoteFiltered (cognitive 17): console-modal.renderRemoteFiltered has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 2). 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/main/resources/web/js/console-modal.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ea8b9b6c3a08c23b361e8a692431216e252467cc2d0d76ba866affffebd3f9"}},{"ruleId":"D2","level":"warning","message":{"text":"hf.showDetail (cognitive 17): hf.showDetail has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"478e9f93e4560763f52179339dba44c65ea3ba6aaa06c56f235da973ee308b98"}},{"ruleId":"D2","level":"warning","message":{"text":"model-benchmark.appendBenchmarkResultBlock (cognitive 17): model-benchmark.appendBenchmarkResultBlock has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 7. 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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b170d60dd3205a483846f93bd0061dc7109a9389516ea447d57a8f58c00d37f"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.saveNodeForm (cognitive 17): settings.saveNodeForm has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 4, boolean chains 3, error handling 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ac70226384ff755cdaf4f4e7ad840a2dddf6cf735e0ca2faecc33c7b4b7f54"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-v2.html.withHardwareFallback (cognitive 17): benchmark-v2.html.withHardwareFallback has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 3 (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/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"91394ec98cc08ac574b4f95800635cec679feb898fd3f1acad57469d5d3cb672"}},{"ruleId":"D2","level":"warning","message":{"text":"mtp-bench.html.setAggregateRow (cognitive 17): mtp-bench.html.setAggregateRow has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 3, boolean chains 2, loops 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2d85f40d6a6ea86acd10de71ea1a21af8a39a16701793c72701cc990d38e67"}},{"ruleId":"D2","level":"warning","message":{"text":"loadModelSamplingSettings (cognitive 17): loadModelSamplingSettings has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 5, if/else 2, error handling 1. Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 873, 870, 871, \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/resources/web/js/model-detail.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"233931b001b2077451194d248d2b6df7a36fb2371791360ba1e8a65d4d9184e8"}},{"ruleId":"D2","level":"warning","message":{"text":"addLlamaCpp (cognitive 17): addLlamaCpp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (5 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c7a53de42920bcf62f113ccdf1f48f07441ad728f35cc08c084d3287e45652"}},{"ruleId":"D2","level":"warning","message":{"text":"paramInputHtml (cognitive 17): paramInputHtml has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 6, if/else 2 (nesting depth added 3). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 643). 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/resources/web/js/newui/benchmark.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a8c929abc38b3caf1af1232e80deee95c79a6155e98c275b69fb6b37094619"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchReadme (cognitive 17): fetchReadme has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7, error handling 1 (nesting depth added 3). 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 243, 253, 258, \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/resources/web/js/newui/hf.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7fa2edc2347330af396ec256fb5ad82184c314eff064f9c15db68e8204e87c"}},{"ruleId":"D2","level":"warning","message":{"text":"onConsoleMsg (cognitive 17): onConsoleMsg has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 4, error handling 1 (2 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 2). 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/main/resources/web/js/newui/logs.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4d83294d96c9ac80ef5921c15ff164a13b78492bbcfde2f58c63abf8412ff5"}},{"ruleId":"D2","level":"warning","message":{"text":"tokenize (cognitive 17): tokenize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ed5285ae5681d7485c51d4771d932e19b1833be08e29556e15ee6b0394d28f"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadTaskManager.startTask (cognitive 16): DownloadTaskManager.startTask has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 4, boolean chains 1, ternaries 1 (nesting depth added 2). 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/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e85bf8824a48cec530079c9b00dc12b2a7dee1d048950a0f4c9328dffac8622"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyHttpDownloader.executeProbeRequest (cognitive 16): NettyHttpDownloader.executeProbeRequest has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (7 pts), if/else 3 (4 pts), error handling 3, boolean chains 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d0aeb0da8849b66e9ac7905b5189b0a8e41032c682688250bd8ad5ba8860cb"}},{"ruleId":"D2","level":"warning","message":{"text":"MtpHelper.toJsonElement (cognitive 16): MtpHelper.toJsonElement has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 1 (3 pts) (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/main/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"735867365fff2cae509f10d60c0c527f73d6d78f8a66f74652e87ef4da270c5b"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicRouterHandler.forwardLoadModelToRemote (cognitive 16): BasicRouterHandler.forwardLoadModelToRemote has cognitive complexity 16 (threshold 15). Drivers by points: error handling 3 (5 pts), if/else 4, loops 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ba1fd0451ef1528b6f0ef311726e78d97710b9a56ac2c63f7213adc1421334"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoLoadPolicyController.handleResetPolicy (cognitive 16): AutoLoadPolicyController.handleResetPolicy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9d228078048f20b845fe8f215776a9e11534e8fb9e29c0e3f72870a8ec07b4"}},{"ruleId":"D2","level":"warning","message":{"text":"CertController.handleDownload (cognitive 16): CertController.handleDownload has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 2, error handling 2, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/CertController.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dee3a666ce33a3624f2e196e5b7712566fdd2d2b4d13dfd07a7bef7d23e363d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStateController.handleDeleteRequest (cognitive 16): ChatStateController.handleDeleteRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4317cee63a3882186ccf5ea2a76d3fd283dd3903bd8d5fc87192c26ab6585b6b"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyChatController.handleRequest (cognitive 16): EasyChatController.handleRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 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/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0c3a43e1005f59a410fe85b0d5758a08592f15a481725e405c84ba07f4ccf5"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelPathController.normalizePathForCompare (cognitive 16): ModelPathController.normalizePathForCompare has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f292365392efb66fe27124be3ccbe9be958797c262186c6a8a195343790483c"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemController.handleModelSamplingSettingRequest (cognitive 16): SystemController.handleModelSamplingSettingRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 1, error handling 1, ternaries 1 (nesting depth added 2). 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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f396dfbcb1a875ebcfbe9e60dc5335b70a6f0b16ee33cfafc75c0223621037d"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyWriteHelper.waitUntilWritable (cognitive 16): NettyWriteHelper.waitUntilWritable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 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/main/java/org/mark/llamacpp/server/io/NettyWriteHelper.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9d1a7e77daa46805ea03c75b322c1995bac8909665293aaf83644eaf06cdf1"}},{"ruleId":"D2","level":"warning","message":{"text":"McpClientService.initializeFromRegistry (cognitive 16): McpClientService.initializeFromRegistry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbab55398d8162d19262003a532c109d8e62b6d8a060e0fdb0723c271502275"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicService.forwardRequestToLlamaCpp (cognitive 16): AnthropicService.forwardRequestToLlamaCpp has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 3, error handling 2, loops 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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5743ecd4d624e9f14298d1028bdfb568472e3cea99ce7291756efa996dbd07"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicService.handleNonStreamResponse (cognitive 16): AnthropicService.handleNonStreamResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (4 pts), error handling 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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29ffd937d3da095a469f31fb67f8e4a27bdbbd9825c6ecc10d4f63f325ad09b"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelSamplingService.writeSelectedSamplingMap (cognitive 16): ModelSamplingService.writeSelectedSamplingMap has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 3 (5 pts), boolean chains 2, loops 1 (2 pts), error handling 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/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"098bca9899184f2a86f65122f3bc3f9e5e05e04a7d417a8a535c58adc0e267aa"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIService.handleNonStreamResponse (cognitive 16): OpenAIService.handleNonStreamResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (4 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"717abab64bef276e8e1bcfe7e3ea5c19681f82a078bc33358e0b7fb9899c6e53"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUInfoHelper.init (cognitive 16): GPUInfoHelper.init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 1, error handling 1, ternaries 1 (nesting depth added 2). 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/main/java/org/mark/llamacpp/server/tools/GPUInfoHelper.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8002fbe378c84529ea4c4412372469879814f5e71a50e22b79a81c9e27cfc8"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.buildModelStatus (cognitive 16): LlamaServerManager.buildModelStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), loops 2 (6 pts), boolean chains 2, error handling 1, 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba51314eef485094564be791fcd340ca2234932948b2942c90e409b126c9136"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaServerManager.splitSpecType (cognitive 16): LlamaServerManager.splitSpecType has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2697}}}],"partialFingerprints":{"codehealthFindingId/v1":"912bf1ee431da9b6a18c1f838632e916e51df86990842fd0b0cacb36720d367c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyFrontendHandler.handleHttpProxy (cognitive 16): ProxyFrontendHandler.handleHttpProxy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 3 (4 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 2). 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/main/java/org/mark/project/tools/proxy/ProxyFrontendHandler.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76f4ea325f2ecdfdc85a1e8bf998a0948cd4c365d9fc9d62d347a39b696d8c2"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-mcp.create (cognitive 16): chat-mcp.create has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 8. 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ce4ebdb9c2be1ea17e351e32d373a1f3f9e3b22c314b59c5e5490efc3fe0b4"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.wrapHtmlCodeBlocks (cognitive 16): index.html.wrapHtmlCodeBlocks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ee02e0f135b29c68a2c3059c1cd5aad9ebfd7ef18ac4d363d937f9d10404c5"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.extractMediaFromContent (cognitive 16): index.html.extractMediaFromContent has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 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/main/resources/web/chat/index.html"},"region":{"startLine":3042}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0beb244fd59034c06c1df4793b2f309fcd431f0345435f2ccc0cd87b9b8219a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.document.addEventListener(\u0022click\u0022) (cognitive 16): index.html.document.addEventListener(\u0022click\u0022) has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (16 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":6011}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82cd6bc739be10e0c866050557f44002f82a9fe5c79ec03ee87967ef30ea631"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.loadCompatServiceStatus (cognitive 16): index.html.loadCompatServiceStatus has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 5, ternaries 2 (5 pts), error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":6168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca28789e0d7828944b84fd3d22801de387558945650d828fc0e7fec7549191a"}},{"ruleId":"D2","level":"warning","message":{"text":"download.updateDownloadItem (cognitive 16): download.updateDownloadItem has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, if/else 2 (3 pts) (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/main/resources/web/js/download.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57226774b30f61429f5c5ac4b6de17221d264dd7d078dd3c763dbb7f43c12b0"}},{"ruleId":"D2","level":"warning","message":{"text":"hf.mergeHits (cognitive 16): hf.mergeHits has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (6 pts), boolean chains 4, if/else 2 (4 pts), loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e6d3d17c9132bad7eb3062388b7133029d584d49a5da5e0aaa738c35f0e42d"}},{"ruleId":"D2","level":"warning","message":{"text":"hf.getGroupTotalSize (cognitive 16): hf.getGroupTotalSize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 3 (6 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13bbba56fe63907692935712a0b50a6487da9ef36475c8c316e67412e092ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"model-list.renderSlotsSquaresInner (cognitive 16): model-list.renderSlotsSquaresInner has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 2 (3 pts), boolean chains 2, error handling 1, loops 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/main/resources/web/js/model-list.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"941ec917499496d574cefacc8a7e97c61c614ad7a3d0b76a20e688c780d35f1c"}},{"ruleId":"D2","level":"warning","message":{"text":"llama-build.html.appendConsole (cognitive 16): llama-build.html.appendConsole has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 1 (nesting depth added 10). 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/resources/web/tools/llama-build.html"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b16e3b1678584358b5d2fd87644b57dcecbdac16752fe3eac8f79b2b1a790ef"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-manager.html.renderTools (cognitive 16): mcp-manager.html.renderTools has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 1 (3 pts), ternaries 2, boolean chains 1, loops 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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/main/resources/web/tools/mcp-manager.html"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"9140fe09167ccfa6dc335fad04d3576a3cc0b278145005164fb3037913dbc46f"}},{"ruleId":"D2","level":"warning","message":{"text":"perplexity.html.viewRecord (cognitive 16): perplexity.html.viewRecord has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 3, loops 1 (2 pts), ternaries 1 (2 pts), error handling 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/main/resources/web/tools/perplexity.html"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eace9689c3afd02a8b5ce1f3bf645359f201f87e2e9c9c697e1dd934f70203c"}},{"ruleId":"D2","level":"warning","message":{"text":"renderBenchParams (cognitive 16): renderBenchParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad05c19f18d4d4bf965e43bd03187c13830ab2056b17c1aede44e3c8838fcd2a"}},{"ruleId":"D2","level":"warning","message":{"text":"loadAutoLoadPolicy (cognitive 16): loadAutoLoadPolicy has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6, boolean chains 5, if/else 3 (4 pts), error handling 1 (nesting depth added 1). Of this number, 8 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c14a64bb0e1a5e4f325f7100eb0d3f815dbc0e89a6ca6557a6146d33546e5f"}},{"ruleId":"D2","level":"warning","message":{"text":"loadModelChatTemplate (cognitive 16): loadModelChatTemplate has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 3 (4 pts), if/else 3, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1085, 1084, 1097). 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/resources/web/js/model-detail.js"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c9f2b43f0cb61112294b84d03d51ee5c04d8206ca58884951f7e668a9d2582"}},{"ruleId":"D2","level":"warning","message":{"text":"loadModelDefaultChatTemplate (cognitive 16): loadModelDefaultChatTemplate has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 4, ternaries 3 (4 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1110, 1109, 1121). 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/resources/web/js/model-detail.js"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"897e7fa9c16d1e7c5088e5ca29e7d1f227e560880189d5c80ad0745e8e3f881e"}},{"ruleId":"D2","level":"warning","message":{"text":"saveModelChatTemplate (cognitive 16): saveModelChatTemplate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, boolean chains 5, ternaries 3 (4 pts), error handling 1 (nesting depth added 1). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"337f5527094130b21365d4929e2a6118ea4b12ef160896e69ac3703defc9d640"}},{"ruleId":"D2","level":"warning","message":{"text":"renderBuildInfo (cognitive 16): renderBuildInfo has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7, boolean chains 5, if/else 4. 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/main/resources/web/js/model-list.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9dec03560844b19ee31c09186dd33f59d88f16372c0f54664fd8b35831722f"}},{"ruleId":"D2","level":"warning","message":{"text":"loadRecords (cognitive 16): loadRecords has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (5 pts), ternaries 3 (4 pts), error handling 1 (nesting depth added 2). 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 247, 263, 257, \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/resources/web/js/newui/benchmark.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"88db34f3f7c7575308b6003ce3bfa3bdb1759b118926b75167b77157cac767be"}},{"ruleId":"D2","level":"warning","message":{"text":"renderTokenChart (cognitive 16): renderTokenChart has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (6 pts), loops 2, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 7 function items inside it that branch (onmousemove, a function literal at line 347, a function literal at line 338, \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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f987a3d5a609beb28b5a1d0547f509aaa9eeebe78f3aef750ad21231b2b7fa9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/index.html: FileTooLong \u2014 8097 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7597 over it, 16.19\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/main/resources/web/chat/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fdd90b74971929cdec02bb65cf92c32b1a8168ede3d2b16101d5aa0b786e5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-mcp.create: FunctionTooLong \u2014 create runs 603 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 503 over it, 6.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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74c75e0d85a0d15a6dba2617ae96a26781b7d82b1f784f88fde50fe933bf900"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LlamaServerManager: ClassTooLong \u2014 2027 significant lines (blank, comment-only and punctuation-only lines excluded), 104 methods. The bar is 400 significant lines; this is 1627 over it, 5.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/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f6170ae0f0e1a8efc17d6443fde48e69fa55094400a667164775d2df7b687e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/LlamaServerManager.java: FileTooLong \u2014 2091 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: LlamaServerManager (72-3677). The bar is 500 significant lines; this is 1591 over it, 4.18\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/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bd62c1d3138ca30fdf9ddb32f089deef619e9dce589445eb1799dd5057f087"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/model-action-modal.js: FileTooLong \u2014 1741 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1241 over it, 3.48\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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99993da0adbaccf7555a55556d55fef2b20a7a43d88676d6c2134beb6b5d312e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/settings.js: FileTooLong \u2014 1734 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 234 over it, 1.16\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/main/resources/web/js/settings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd154673bb2cd6b491e64e0b610732b6eaced344786e75878627fc54d285c19"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LlamaServerManager: TooManyMethods \u2014 104 methods. The bar is 30 methods; this is 74 over it, 3.47\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/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ef2fc032324361bca0b52b7ceadb722e230f4a37d76811422b3657f905cd99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/EasyChatService.java: FileTooLong \u2014 1660 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1160 over it, 3.32\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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbd2ef7cb3b91092c59ef5ed16a44dcfec2b588e36b4f5cfd830fb469cb870a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/index.html: FileTooLong \u2014 1657 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1157 over it, 3.31\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/main/resources/web/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbb29828891765e700cfadb7fb67bf3db114887ba89a69be98b28c81e6d77d5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelActionController: ClassTooLong \u2014 1310 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 910 over it, 3.28\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/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ea4b49eb123de7f13db412f1f3e2a979bb8d908f72633f113c89233f4a69c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SystemController: ClassTooLong \u2014 1296 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods. The bar is 400 significant lines; this is 896 over it, 3.24\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/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"376a2f9c850e75a4e22b7263bf615d958b51a3ed231e3f22e28a0736ee28b42d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LlamaServer: TooManyMethods \u2014 96 methods. The bar is 30 methods; this is 66 over it, 3.20\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/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"604823c3023dd71a0e17320d9d731c457e3a9941f11fa9e1a62c73974f86d389"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAIService: ClassTooLong \u2014 1180 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 780 over it, 2.95\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/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f653ac6a1a7da2fb59ff5c6eda050484ac1741c96c39390c07f25342135b9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/ModelActionController.java: FileTooLong \u2014 1351 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ModelActionController (50-1984). The bar is 500 significant lines; this is 851 over it, 2.70\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/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b59d0ab6c307c96d48356ac1d10150a36974cb6567a96072a4ad615b29c3466"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/SystemController.java: FileTooLong \u2014 1333 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: SystemController (48-2164). The bar is 500 significant lines; this is 833 over it, 2.67\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/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9794b2df7867f2b0366f15cf94c49a13d980505c00297147231c6439fda6876"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LlamaServer: ClassTooLong \u2014 1050 significant lines (blank, comment-only and punctuation-only lines excluded), 96 methods. The bar is 400 significant lines; this is 650 over it, 2.63\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/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"76da536c94dd9b7248a39d3b9a09ac8bd9c5d532eb2adbd0d56ec3de95acccb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/OpenAIService.java: FileTooLong \u2014 1237 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: OpenAIService (66-1892). The bar is 500 significant lines; this is 737 over it, 2.47\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/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cf80fd0244e6d296f7696be9bb909d1354aaf14ed7a8dd0c6e27d1901636de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/benchmark-v3.js: FileTooLong \u2014 1211 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 711 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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a9fca1dc61e0f9a450186708d1d1957af395fa94b623db09010dcf419edf25"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelInfoController: ClassTooLong \u2014 958 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 558 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83dba8ef9f4f9f0099263575e61a33822109dbcd1fe0a1781e2a2e2fc3b171b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NettyHttpDownloader: ClassTooLong \u2014 908 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 508 over it, 2.27\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/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4430cf4bca61576a763c6d205e567adad7d8fe8611857bd86bb11f35a423f67e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/LlamaServer.java: FileTooLong \u2014 1115 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: LlamaServer (75-1917). The bar is 500 significant lines; this is 615 over it, 2.23\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/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc2380582bacfb1385cd8f1fb6920e284304db1979d8cb9f98a2aec6f86a4ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/model-detail.js: FileTooLong \u2014 1111 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 611 over it, 2.22\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/main/resources/web/js/model-detail.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f30f33f861a29b8d42021157c4c1ce593d33764ea37b5be9e07feea6f50968a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NettyHttpUtils: ClassTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 423 over it, 2.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/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdee870bcb58c2c3d9b81569bb8476817838838ce7ddf40f2afe90528ded24fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/ModelInfoController.java: FileTooLong \u2014 990 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ModelInfoController (42-1473). The bar is 500 significant lines; this is 490 over it, 1.98\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/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de008c54c05f951a65682b48ad23e44e1fc46dc77fcdb8809da57f827151fb27"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LlamacppController: ClassTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 361 over it, 1.90\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/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1790fd52d7afd6b1a2e7404d5b75157b20e3b73dfe67e36f2880805f6f08901"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: downloader/NettyHttpDownloader.java: FileTooLong \u2014 943 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: NettyHttpDownloader (46-1390). The bar is 500 significant lines; this is 443 over it, 1.89\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/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d80ed0cba3ad5e96b6f1eab07dff046fc1da5af71d529f8dff860ffd7ee3e7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: McpClientService: ClassTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 323 over it, 1.81\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/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fdf8d002d42d29837c8d08412f18b2412c0b9933bffc96303a6e856ab0a61c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnthropicService.convertAnthropicToOai: MethodTooLong \u2014 convertAnthropicToOai runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fa923fef9a2f5af760a4840dc6812bfd81918b6ad95a02712289aeb0fb6b49"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConfigManager: ClassTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 318 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/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05cca0e65f5ab1843a434326c46c863ea0fb1ecb3e6ca91e3f777137287e07a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommandLineRunner: ClassTooLong \u2014 715 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 315 over it, 1.79\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/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5c57a302391507379b10f6b89e950bd79bcba9453c36613f2db1359b23ad00"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EasyChatService: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e91583f68554610180561618e84a4c96048a2ed7439a01cc0331beb662703f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crawler/NettyHttpUtils.java: FileTooLong \u2014 852 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: NettyHttpUtils (48-1326). The bar is 500 significant lines; this is 352 over it, 1.70\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/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6191deded3629cba7666aef0805ec6d6844d981ba8273fc57dd9b09ea4d1f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/LlamacppController.java: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: LlamacppController (66-1166). The bar is 500 significant lines; this is 318 over it, 1.64\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/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a82669329f98b67d7a3bfadedbb3a2ceae7b8f53145e251399300f588068396"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SystemController: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce09a7c19a2e02761e80becd38fbfdcc97dc971dc041c1f13b4717174357b57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LlamaServer.main: MethodTooLong \u2014 main runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ea770c2ed925eba39f1a92ef740aaa2fd6e0b90a0ae30f471482b6c88e41f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/chat-mcp.js: FileTooLong \u2014 809 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 309 over it, 1.62\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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01740015975141ba536052c6c0b4bebc7258236215eb69d3f3b84a7922793985"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileDownloadRouterHandler: ClassTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 246 over it, 1.62\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/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6d42bc2937b6792f3948f64d5037de3b8299705cfb9e717b772ed3c4ce1c7c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CertController.handleGenerate: MethodTooLong \u2014 handleGenerate runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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/java/org/mark/llamacpp/server/controller/CertController.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dee1e10a9584ff0e2da87153ffb66e4b20e804878c21a732170fccdd62af13"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: McpClientService: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03a6105944c06a1fa3e98dce7b20035a71e8898d8dcff7e06ab954665dad176"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelSamplingService: ClassTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 228 over it, 1.57\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/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8abcac5bc9ecd4a1f7cd5d5a038bc3954ac1abecdd7ff4e42afc52b52b2efa2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/hf.js: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 284 over it, 1.57\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/main/resources/web/js/hf.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b0a05e29db96f8e7e1e15316b5468325eee43e2faa14b31e39e2cf13c4a65a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModelSamplingService: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90fd48355d61a0f8a5b1d70dfbffe2e9a94ef35ae2300f55ef5d0f95b458885"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SystemController.handleFsListRequest: MethodTooLong \u2014 handleFsListRequest runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"58192ec7fdb16cc2feba04ffec6f2fef61770a939c965eeabf53890e8ece079c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/McpClientService.java: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: McpClientService (40-1142). The bar is 500 significant lines; this is 254 over it, 1.51\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/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3b0fda7e9d4f1af49d8a54e9175d04799637f6b0681502f19f40cdcbf4f72b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConfigManager: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a88956932a35a32984330cbca22789748813a32fcfa52a908cc3c2845bab51"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EasyChatStorage: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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/java/org/mark/llamacpp/server/service/EasyChatStorage.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5feb67cdc153d04d2536c48e603fc44c054eee5622a1e2a5f0d2c0f43a3631f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-list.renderModelsList: FunctionTooLong \u2014 renderModelsList runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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/resources/web/js/model-list.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8550c1f6a3d6ae9aba786e3b09c1b01a6b6c1ce418d03025a2fc5dfcc531da55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/ConfigManager.java: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ConfigManager (31-1215). The bar is 500 significant lines; this is 240 over it, 1.48\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/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2698c4e70b3c2d4709e73393a93301304dbaaab72e7f9d653af74ce23bcab664"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BuildTaskManager: ClassTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 191 over it, 1.48\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/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0fd6236a8d4d67533a7693b63cb89ca556dc5a98b777e7c3f20f572f331dd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/CommandLineRunner.java: FileTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: CommandLineRunner (28-1150). The bar is 500 significant lines; this is 236 over it, 1.47\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/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21eb9ae21afad9082b718df8c784b0eb1392d2579969b7d8b7eb6912ca17ea95"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelActionController.handleModelBenchmark: MethodTooLong \u2014 handleModelBenchmark 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7829f916cb603db07b6acc3e39eee7c8945b2abae88c4391caeda919766f0dd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnthropicService: ClassTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 177 over it, 1.44\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/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ef4c427208bc3bf899c15265b31ca7b614b7eb16d035cb5961e0aa29a58393"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-action-modal.submitModelAction: FunctionTooLong \u2014 submitModelAction runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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/resources/web/js/model-action-modal.js"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"2593940645f0005905de4f9f991b826cc187859499a4d52b4452e5410052639e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MtpHelper: ClassTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 152 over it, 1.38\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/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d34b11e38b460698b9a40739a96816e99e894c5242d33f4823b531288fe9d8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channel/FileDownloadRouterHandler.java: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: FileDownloadRouterHandler (47-967). The bar is 500 significant lines; this is 184 over it, 1.37\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/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1073b80a889a96e6fa063303a52c92069ee3348d7f39def2f46d830a95b6104c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommandLineRunner: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ca877bcc959c3581621032c01556c884bb36cd549a6424c6cc48250f07a097"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LlamaCppProcess: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e6e14453ca34f2cd9732801b4cb9691cf574ca008c6e094a9cfb3ac09b0e69"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenAIService: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbac21581147079d0c3d5c916df9364c61d2fd55c459d40a9be98996539fd2a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/perplexity.html: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 165 over it, 1.33\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/main/resources/web/tools/perplexity.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"029e3fc102b5cf0b43fdaec3d2f0fc78e1c4eab7d0461f00185d82edb7de9474"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-action-modal.applyCmdToDynamicFields: FunctionTooLong \u2014 applyCmdToDynamicFields 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aba5e27294b9c0c808d5d847cadf42e4bd7db6ec931f398b92e55b3030b2836"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/mtp-bench.html: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 158 over it, 1.32\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/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c759bb4fa7b3016db21ea119c40be1fddc3fe2254c21520678caf3d5534a9768"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MtpHelper.mergeDonor: MethodTooLong \u2014 mergeDonor runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.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/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"367a303064e244de1d7280d06950b68fa412c2c6d5b4940234e1c6e724cb469a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: newui/benchmark.js: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 92% of them inside a single declaration: Benchmark (8-748). The bar is 500 significant lines; this is 152 over it, 1.30\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/resources/web/js/newui/benchmark.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f8c54e831ba1b83f5cabb7a9314b66b56282e1e71617ea63376baaac087ffe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LlamaServerManager.loadModelInBackgroundFromCmd: MethodTooLong \u2014 loadModelInBackgroundFromCmd 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fc8e0fd3cdfa251d6491afe035b285a05a8c33d1a44852378b21be13474265"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SimpleHttpDownloader: ClassTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 119 over it, 1.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/main/java/org/mark/file/downloader/SimpleHttpDownloader.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe05f5d47160b4041b4bf393e66fd485c01a033ead1df8da8608f3a51a72185"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/ModelSamplingService.java: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ModelSamplingService (24-946). The bar is 500 significant lines; this is 147 over it, 1.29\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/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cf5f77701e5506cbc0af0c9d16d4b8a50194dc7bd8cdd00f16b047187b014e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyHttpDownloader: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"888ecd26cebe4395b76d6ebd05d0924b6a026dfd64727ede20e312348781d245"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BasicRouterHandler: ClassTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 105 over it, 1.26\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/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d159b691fdb9d232ef7091a9733a75f3a88950c7890c6ca3bf75de68b53aa73"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StreamingForwarder: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 101 over it, 1.25\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/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd43493e7a015c58f47b5fcf1730610766641c90e84a2c759fa8ee59043eb36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/BuildTaskManager.java: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: BuildTaskManager (38-873). The bar is 500 significant lines; this is 124 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/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02b0a1f2766ef730079162d3ea799f788bd8474360661faee0a01092322fa14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/model-list.js: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 116 over it, 1.23\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/main/resources/web/js/model-list.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d769c1c0ae0228a3972d123b52c528b077acddbc596f103b5d6ab379bcb2b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/AnthropicService.java: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: AnthropicService (48-1484). The bar is 500 significant lines; this is 114 over it, 1.23\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/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a327ddf8051309164098865eb21df112733aad05a9dee95dbb36ac1a3df2f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAIService.forwardStreamToRemote: MethodTooLong \u2014 forwardStreamToRemote runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70a2e87e6d2baab6cceafe776deb1bb20d6d3d1ffb727a7eec07189511d3bf5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DownloadTaskManager: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4188ecb821adb76b73136f5c2810d7d81bf72859d36a1100b27dd752c524b9ed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HuggingFaceSearcher: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c43948fa38b85cc654039e6cc41987fc3e3026d35fb8ba3c5593a3f22a0c3d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BuildTaskManager: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65d6afff22a449acf16fe1e4237421e566d76e5565d515dba1813acfe4fd338"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EasyChatController: ClassTooLong \u2014 470 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 70 over it, 1.18\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/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e8055a2923d3d8429b313670b204f00422bd7b466c1e0f0f771710ccb88157"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/llama-build.html: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 84 over it, 1.17\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/main/resources/web/tools/llama-build.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf718af4e795f45c9b383ea8a0788d856fc975cc3c961f951ca50ddc80684792"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BinaryRequestLog: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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/java/org/mark/llamacpp/record/BinaryRequestLog.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"19be71ce65ecb056adeaccb572e4097ac6c228112f7b553fd21d9706a63848b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings.checkUpdate: FunctionTooLong \u2014 checkUpdate runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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/resources/web/js/settings.js"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2481a541b1c5c0c617d9a75e49d7480ac3c41a931c2b82ae5b4008a689438b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EasyChatStorage: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 60 over it, 1.15\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/java/org/mark/llamacpp/server/service/EasyChatStorage.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8bb935395fc494a68fa722183f41cac9f8271b29d5b933302300e355e2f5be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/benchmark-v2.html: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 75 over it, 1.15\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/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7b3d674db6505f4c45ce23a501008395c2ff56c0e06c4cf53e1441dcf4ab7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PerplexityService.run: MethodTooLong \u2014 run 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/main/java/org/mark/llamacpp/server/service/PerplexityService.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6609928b311f09b04f0707109f88a240810cf5d0c0c6313a48de771b3eff83dd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DownloadTaskManager: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 57 over it, 1.14\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/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4b5638062075c566478c084d4d67dd623e6c078bdd88aad3a93d175bb6c879"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileUploadRouterHandler.channelRead: MethodTooLong \u2014 channelRead runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb267c2390530130ec7bfa687dc0e3ebae4fc2fefbf2b1043b6efb283b335ba2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/download.js: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 69 over it, 1.14\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/main/resources/web/js/download.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bffdbaeed0a5700c77f1de11456d8624892a294d831c0a163a70ac2c328de0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GGUFMetaData: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 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/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c18b29c869a348553798e7d43b30a4ffdd8f50bb7ed8984c0f2cfebb717e9a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModelActionController: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b03904a85cace43d4ad6198bd658a0aad36009239faad774c217b452214f61d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HuggingFaceSearcher: ClassTooLong \u2014 452 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 52 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e94f77c35ba0c9cc464d320caac0d13a269688a7612afbb522bafe61ef69d18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channel/BasicRouterHandler.java: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: BasicRouterHandler (70-802). The bar is 500 significant lines; this is 64 over it, 1.13\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/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab1c313cedcb6004ab565683a3d793597c12c42adb6d44054463ff600aad08e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/model-benchmark.js: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 62 over it, 1.12\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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"026c9fba9dc6adf6474d0d00279e6db554b762a8234531b1faa4e2ca3644b06e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BenchmarkService: ClassTooLong \u2014 448 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 48 over it, 1.12\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/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f768bc624295c35e9fd0bb0ce4e051e1548b2b7c6cff46f4c7eede3faf35e56d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gguf/MtpHelper.java: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: MtpHelper (28-837). The bar is 500 significant lines; this is 60 over it, 1.12\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/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"265d2db301098bb137d3dea46a3dcdd73d9493aa4b87e295c421cd1466ae84a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LlamaServerManager.buildAutoLoadModelCache: MethodTooLong \u2014 buildAutoLoadModelCache runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f0ed0734d014321b35cd5225d8cc36dafb007cc02a8e15fed548e562aebedc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NodeManager: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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/java/org/mark/llamacpp/server/NodeManager.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a440b729ea1ab232df50694809a8a19f9a1e9b84cbb5e9fe0ef00637bc961b86"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LlamaCppProcess: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 38 over it, 1.10\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/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"07100eee8373d582458df76e5a3683dc3f65bd273566ffa38887a93396b13fa3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: downloader/SimpleHttpDownloader.java: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: SimpleHttpDownloader (30-772). The bar is 500 significant lines; this is 46 over it, 1.09\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/java/org/mark/file/downloader/SimpleHttpDownloader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"084c1a323970e724f56b6546de6660a0a7499f880764b0361f27f8401d8291cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/usage-report.js: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 43 over it, 1.09\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/main/resources/web/js/usage-report.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"909a3ac177a580f3b05d438894b418151473cd5d30c982595330c8f90d06daee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SimpleHttpDownloader: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.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/java/org/mark/file/downloader/SimpleHttpDownloader.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ade6fcd570ac47223d9e706c667a58fd9197959a33175740e9a668b692facc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelSamplingService.applySamplingFromCmd: MethodTooLong \u2014 applySamplingFromCmd 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/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"338aefa1f2f4c84246df4dfbe5253d1139677e322a84dbe19543d86c3311bf1d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GGUFMetaData.readFile: MethodTooLong \u2014 readFile runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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/java/org/mark/llamacpp/gguf/GGUFMetaData.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"199eedf7dc62d1df45aec29fc14c080f8bf54d2c0ab13a2374d412f1da7c6d1f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelPathController: ClassTooLong \u2014 417 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 17 over it, 1.04\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/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fa5cc77f45630db940d6fed44b986a58c8bee8e1bb4e7e186b842243f4b753"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/StreamingForwarder.java: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: StreamingForwarder (21-854). The bar is 500 significant lines; this is 18 over it, 1.04\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/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2c99b48d578ceb3ae6fde444875b89c9ed65f2099f86cc94d0d345d52c9715"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DownloadTaskInfo: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/java/org/mark/file/downloader/DownloadTaskInfo.java"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ffd408e880d1bcbcc1e514025d01211983288612c768540a88dcd4eaffdddf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatStateController: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"177fbdbff5921547226645340a26b621cbad32e7aeded1dfa1e81113bbe70965"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BinaryRequestLog: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 13 over it, 1.03\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/java/org/mark/llamacpp/record/BinaryRequestLog.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"72313e83e2bbf0bdd0c7b2aed973a5ae784e852e228ec4436b8aa4b292944fff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BinaryRequestLog.migrateV1toV2: MethodTooLong \u2014 migrateV1toV2 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/main/java/org/mark/llamacpp/record/BinaryRequestLog.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"284f6356fa13de56fbfdce9285a214fdd4727ffd5c9d81c00a74344e69797d97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/EasyChatController.java: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: EasyChatController (50-686). The bar is 500 significant lines; this is 8 over it, 1.02\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/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6a97d911b6191c9e593a6683745c1aaaa521a429f2e464c44ba0b441a03997"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LlamaServerManager.listModel: MethodTooLong \u2014 listModel 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d991b0e339a08f7d9ac668efb1dee82de9c55106fdd3e3fddee90e4a65496b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BenchmarkService.generatePromptForTargetTokens: MethodTooLong \u2014 generatePromptForTargetTokens 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/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a4abf17fbabb84ac8285aed907d7d2d61f1c1412282b9f8e70a7718955a2c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (11 members, 16 shared lines): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:305-338 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:465-539 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:734-779 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:781-832 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:853-890 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1019-1070 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1079-1115 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1214-1248 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1256-1293 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1333-1366 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1375-1409 \u2014 These 11 members are variants of one another: a block of 16 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f148678b463597375201a0d4866d3263232541d572e14ceece322818d033ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 31 shared lines): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:312-414 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:421-517 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:975-1079 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1086-1198 \u2014 These 4 members are variants of one another: a block of 31 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f7717a4dc83b07dd71d5146e12bb354f23d342e0fea709dfd7ddbb89b572e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 34 shared lines): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:626-685 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:687-732 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:734-808 \u2014 These 3 members are variants of one another: a block of 34 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb39aaf66ff38f24e3bf0e3b118f032f623e12d79a499623a63e4e670080b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 24 shared lines): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:402-433 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:588-619 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:363-394 \u2014 These 3 members are variants of one another: a block of 24 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a7066090a546696ed501401de2e496249c7eb2f4a98289a01ac3c99b22384f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (65 shared lines): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:467-600 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1569-1720 \u2014 These two members are variants of one another: 65 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7bba50a7fbb222f80bda41f92087905beb5d622f8c6f47d4541f9e2f3a2c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (61 shared lines): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:667-741 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:1075-1148 \u2014 These two members are variants of one another: 61 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"758f8801388894bda7220576d64229a55d3ed491964b02b0f302fba20143d9a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:374-456 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:99-233 \u2014 These two members are variants of one another: 58 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"425c3730b417b657614dfa4cac164c13c8bc4582d5757b78093e268a28aa81b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:794-856 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:864-923 \u2014 These two members are variants of one another: 43 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49635c28446cebcaf4cff6310df3b2b56ab6ddb4aca088a3853f99054c144cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:316-387 | src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:417-501 \u2014 These two members are variants of one another: 36 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2826642ab0c0478bc09f1ea97dc4d114cf20be1ba5b8b03ec656befc7a485e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (31 shared lines): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1641-1743 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1764-1840 \u2014 These two members are variants of one another: 31 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7a3f80309323f208125a2a71019c2a9912caac3af158402dcc17f4d6a4d5c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (25 shared lines): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:166-235 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:126-221 \u2014 These two members are variants of one another: 25 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd15ff8494d6e5669e554a8d1b6c9751f6983a4e74ace9b74b7b4eee3e65390"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:803-926 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1330-1364 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9762f8aa05dc2fc767f63da864abc93e04049385b6be74cc6e8a1ec40e16fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:435-481 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:483-523 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:621-684 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1653-1717 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1726-1790 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:353-406 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:2159-2169 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:631-787 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1502-1567 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f19ca97d8e78974e02cbc46615c8a700acf40df69309e7fa1d861f5a9d263e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:465-539 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:549-597 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:781-832 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1079-1115 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1123-1174 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f072c7e9ab66e275d32190d31a6e0a052689281023c168d9b1b24409233d28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:126-221 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:230-275 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:285-407 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:468-490 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:107-130 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ca9df9a9ab3b551ea75a143aa8713a9e836a5f94ad93cdeec15be498af2b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:612-625 | src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:725-738 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:686-699 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1255-1268 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cbdc71457ec05de0f435d418842404d08b5093c1dc5465ff03c0927552b8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/ConfigManager.java:224-241 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:948-961 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:1036-1049 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:1146-1163 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3839f108bd59e3a4b0ddaed401d32f5227fd5ffd0a24ea60e3ea84bdcce080cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/NodeManager.java:655-665 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:532-556 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1041-1058 | src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java:539-556 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/NodeManager.java"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ff96bd3be5582274526b1de552776c7085b65ac2eedee150438c7d0ae166f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:393-436 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:443-477 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:484-518 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:525-565 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"132f85f4dd6e9e541573d5448d02cdc2c1b6f56f175a9fc1c6514d558518e7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:235-263 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1944-1972 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1414-1442 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1861-1889 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac18c960185baf793af6248103d0f9bb2ae3409d927799b73a26e36e0c2bf8a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1063-1136 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:467-600 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:166-720 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:2294-2354 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ffff9853ff050765f151ba7f5e13cbd7b9d0a7ad7e31cc7d9b2bbef4a78828"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:281-315 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:646-677 | src/main/java/org/mark/llamacpp/server/controller/ParamController.java:62-85 | src/main/java/org/mark/llamacpp/server/controller/ParamController.java:95-117 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e16d4ba82bf578c8daa2106147618f3e62a3005a99e9333cc482f8b87ceb951"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:853-890 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1589-1615 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1764-1840 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:2031-2090 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd07dc5ca25f0eb7e30c07c1276f2fdd93e015702a8dacc6680cbf947d9e8f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/controller/NodeController.java:86-147 | src/main/java/org/mark/llamacpp/server/controller/NodeController.java:149-178 | src/main/java/org/mark/llamacpp/server/controller/NodeController.java:180-221 | src/main/java/org/mark/llamacpp/server/controller/NodeController.java:223-270 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/NodeController.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"09614b1b1e80225f11129088a978667626c58e73ade549d202b8c11477ffaa5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:102-121 | src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java:151-177 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:540-552 | src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java:60-80 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cedbfd295d92e55cc2afa831c82db9888ee17f2dd4cd393ba73869299b627a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:736-755 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:757-776 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:778-810 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:812-834 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"e394c707cd93c2569f223f3e93e45758fde7460f611a81fa61d632f209df7f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:542-577 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:580-628 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:631-787 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1386-1433 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13a12326d05c0b393785395e7726e845b79afe6e7bbccbbb88560cd2ce9e3e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (133 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:103-235 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:116-277 \u2014 These two members are one piece of code written twice and then edited apart: 133 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2872d98b87247193de39abada720be3908c2d235d6abb1b1dab8eac6700725dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:309-383 | src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:459-528 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8faaf64c315e2d608a01aa681386968b60c6ca3c5acb5ab568aba0ffc0cc5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:396-459 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:461-530 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfadba9f2126b6feafd0e80d7a136fab97ffdfc5fbb2a97b557f9b1d6b97451"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:942-1007 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1086-1137 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"242e8b252f41b5d46c339face90c3c8751dee0925ff0c630f68294583bb85467"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:755-824 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1183-1245 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"368510925e72b7d830d7d7d58ef87e63ea5b0c31f77d367ef36a07b3482164f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1555-1594 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1603-1643 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"409d3b38915f5d2a478ef5dc40c51a995ae3dce5ad348226efe62942b43fbe4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src/main/java/org/mark/llamacpp/gguf/GGUFMetaDataReader.java:11-45 | src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:536-572 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/gguf/GGUFMetaDataReader.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e587f912a3bd889ac8f64be7e4724ea1562dc6d486dc8d04498d9060e5205dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1358-1389 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1399-1433 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c97d547b027ca54516d703ce7e4db031130057cd4cb4adf5e023815a15d25f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:982-1011 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1301-1325 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f4246368d95b8126db79f22c056e67be3c1c148ff208ebba153666a69a5618"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:371-401 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:471-500 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"721a77319b28e8414216876b53a109e5f20e10f1b9e673d3e86a0742b3fb42c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:759-799 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:801-846 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8acd1bf61e1a4125182fedd3a612fb61cb6d411ce6b423c28a57c806eaeadcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ToolController.java:209-240 | src/main/java/org/mark/llamacpp/server/controller/ToolController.java:242-282 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ToolController.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e46ca421a81346ed888a325599c003fca398d41af7079645fe2c27cb1d8239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:429-461 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:560-592 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77b15841a0fd92c18b405b73abaa85100d5640045d1295d48f46d524e9116d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/BuildController.java:197-233 | src/main/java/org/mark/llamacpp/server/controller/BuildController.java:327-357 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2304bf6420e1333e2f317f857e0e0efee3ee08dbfff35d1a83de23848da9a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:344-369 | src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:609-632 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:444-469 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da2a463c139e30974a8df14122451c0bbebd82b83a61cfd8adbffc5661ebcaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:385-410 | src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:654-685 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"730135a0dbf3089bb404901dd39a3c082e1c10481204eb1b5c9850cc788f8dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:542-565 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:66-88 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"220589e510a675025ea555f7514f68170ffaaf22570d7024bf1b7ffb4857d3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1890-1912 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1917-1939 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43a069ac96762a551b7423a2ebfc1f9b2ccf9963519bde2a29c832ae9223866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:134-159 | src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:183-209 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b1370b3fc010731ebab819e92c8e78e884e7f14859463fb3120e013d64a424"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1368-1389 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:752-771 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"017dda413226252b47e3faeb99d1c7b3a3e17732f9ccb180f45fff2ec7c6bc92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/main/java/org/mark/llamacpp/server/ConfigManager.java:654-682 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:700-728 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdb20777ae2f5086f7fd9b99d16b5076c9f2b60df80a619466883f74ccd27d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java:56-76 | src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java:84-101 | src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java:103-120 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b52d72b4265de7fdbd4be54b25b87fcb822edb498eed11b10b4197ef0ba2de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaServer.java:1428-1453 | src/main/java/org/mark/llamacpp/server/LlamaServer.java:1455-1478 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1758-1782 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1829-1854 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"062d7f16d75f3302f25bf8bc48dc0c42e5600c58248dbce998479b9d9b39236a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:224-241 | src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:320-338 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d016fef06a1cc66fb16c8baab552d5f0bf0fdf76f58e3c26c080a40667d13424"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2971-2990 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2999-3018 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2971}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fcb7dbb62bf9cd26d0ddea197ad49b6c3ceb07c0cd0abe90ffdc56983d1e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1059-1084 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1560-1579 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df3ac7f1f020b7a2c40db3439080fc162df72711e61b0dab638c273b5a82a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/BuildController.java:425-449 | src/main/java/org/mark/llamacpp/server/controller/NodeController.java:272-290 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2249c8f83ab0701e6960503a3db7cbc2b72e7a8f37c822a61362f7c79fc2491"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1893-1929 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1937-1963 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1893}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bca43dade0ba5212fe502c03c1de02ab55927b8b55f82b9957ccedd6eddf3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/main/java/org/mark/llamacpp/server/tools/GGufMetaDataExtractor.java:252-275 | src/main/java/org/mark/llamacpp/server/tools/GGufMetaDataExtractor.java:421-442 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/GGufMetaDataExtractor.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"683c0c658453a59a712ad30214615378d7d0b04edd5ff94ebb4d12a7e26fc496"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:862-880 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1023-1041 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d507576e6289fd174f091ff72c023e637353e1cdc19c5cd82cd1b100eaa5d94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:547-571 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:623-644 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"650f8e5368861ebadf0e0b7760a745b88bf8c113d8acb5a4ce60e24335e3da7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java:222-247 | src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java:379-402 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"758a350ad0d908e59fb97a77eed99870d5ae200ebd3377fd3277c4571a79ceec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/main/java/org/mark/llamacpp/record/BinaryRequestLog.java:54-78 | src/main/java/org/mark/llamacpp/record/BinaryRequestLog.java:118-142 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/record/BinaryRequestLog.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d17396868d585472abe4a55c847737339121aea5b873516dbc5b10643174af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:480-503 | src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:807-822 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:611-634 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c347d9a179648db6af56dfffccd099f965bb317163a0cabff2eefd082d81fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:346-363 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:606-628 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:834-851 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1183-1205 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca09636c28fa3e485d21ad41bde716ba5cee9dda6f9c469c09791b4a58c0ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:268-287 | src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:292-309 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1447-1464 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"777293bdc58efdf5584b4af8b649ace14fb5fc54b94b42ad8dea5358ed0cb69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3651-3675 | src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:681-698 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3651}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf1196a0fa5ff330237a06580dce36e529c2a53c663e9e57a6828627e00d865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:627-642 | src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:740-752 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1270-1286 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"232b24f2a45bcc8f14450853dfbd78663d5878c096a4802dc25f841b7deeffdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:114-132 | src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:178-193 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1355-1370 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b079d0e237f93671ef4426913e46f34dfd045bba551ae6596b97a0d0ecc7b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:127-142 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:105-119 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1bb53141b9d020888cf73586ee6e320cb7440c58fb29ba376d34078939cfd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:542-564 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1111-1138 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"910a4f8d89217fd44b84168cfa7e163380fba1308480017fbbdee15ed53a8def"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:205-227 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:309-336 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"364ceed8ddfe83c9489a419cc51ae98228d387697f1a6d992308cedda7ad4d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/org/mark/llamacpp/server/service/UsageReportService.java:85-111 | src/main/java/org/mark/llamacpp/server/service/UsageReportService.java:159-175 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/UsageReportService.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a732f86d84fd40a1a7da09932238aad9981ec3828e002b6c21073a40dcbe8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:403-427 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3625-3646 | src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:665-679 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e79eb79a71577612cd6e58793c6abcdbd4e43db78bb7c81307cc2c04008a2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:708-724 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:1009-1029 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca182a0d78e0f16e1c2e01e4a0a8821ef0c47767604cba92ae0de83155cdd654"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/org/mark/llamacpp/server/ConfigManager.java:749-766 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:768-784 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cac4aa0315c756718d0d36ad4d5a348f6596cd672c34da6d6c9cae1b2f227d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:701-717 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:725-739 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd065b55b396dd4f5e8ea5f41ff722eacbb75239e079c4b8f1c3d959e6e87bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): src/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java:305-342 | src/main/java/org/mark/llamacpp/gguf/GgufReader.java:187-224 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d8dcbae44d98278cfc7e0178302f2fe4c64ae10294346458c037e777072ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:413-434 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:635-656 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96ea5d92f05fd2bafadc26c9933dcfe4dc4c7b6179b842bfca34a4b9ae47306"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:594-609 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1101-1119 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"69325c3bfb66292a7992afd10518003b58645a71c42a05d60232cf826b20f366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:529-539 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:591-604 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1097-1108 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c0b7f8f36685ea48d12f73538c2d713ce584d2d7e2fdb503a4ccc3a3515e08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:523-536 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:79-91 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:90-102 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1617-1632 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"363516e75c66d157bf23f70c0d39e4fe93eaad67b5a52119faa12c507040b78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaServer.java:1409-1426 | src/main/java/org/mark/llamacpp/server/LlamaServer.java:1727-1740 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:193-212 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c206ea3b3914f1c61e45bf3fc1a05dbd34b80e9e777f85e27ce2f1583eb35f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java:525-537 | src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java:540-553 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d4d747d68a1c50081322a725d4350538b28172d4a157b823535fa4c4b7208f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java:148-158 | src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java:164-176 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e600fdf6b34c18822ca7133c553715231cb5d6992fd7c8f6a667154aa03cfd3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1154-1165 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1067-1077 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:2237-2246 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7c50fc32f3f7a0c41e177b66e645c64425bf4091e70df9514e170e74be01f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java:188-201 | src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java:203-217 | src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java:219-232 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89a03ba2331346624841c52f24afcff04f217742c8d7e01cb52a6db2b3fe2bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java:189-199 | src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java:450-468 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f659283dcc692b4a82e38e48ba5e3a9b9d93fc259a2b533c536fafdc0b3ea3e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:193-210 | src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:216-229 | src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:238-249 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f096b3e0641ffe3470e143bedb48fc190fe9228459965c26cb653b6ddcec8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:658-682 | src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:690-718 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7c4cfc9de79a69d29e5f5d8e29ece8673bbb5feeede1bd7fe004bb5ac0e23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java:123-146 | src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java:263-282 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb327059dfb68956e499d1bbe73888933f96db5aa6377120936f78c425679be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/org/mark/llamacpp/server/ConfigManager.java:687-698 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:730-747 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"048316d6822f34ae386c521fad6b54948d9856f678c3bd6b1b76eb2eaf440dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:59-77 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:66-85 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ad3271d144efb1632d74870a183faa249420442041f7ff07b16b6da3178b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/org/mark/llamacpp/server/NodeManager.java:86-98 | src/main/java/org/mark/llamacpp/server/websocket/RemoteWebSocketClient.java:321-338 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/NodeManager.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad553abc5917c016b69dd3482fbe8967908ff74a53db499c04f08c51a3df169"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java:416-432 | src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java:173-192 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91fef7d2c7eb0454a0d6e4b9ec5396ffdf0889fa3e0d5d737699fccf6147190"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:229-241 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:212-224 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aad9b5d125ba852dc1091625bc7b8bf6bd05470defc31be2b71d80fd923e3e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:698-716 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:856-874 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fa5f2f29bb3834af6fcac4fbf4dc258c1329f88a873262dc75bb05357d1d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:271-281 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1859-1871 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f866c7d8faa37a75cc90b5807bbda16ac48ebd490d1475859770fa23d2ce4509"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/controller/NodeController.java:75-84 | src/main/java/org/mark/llamacpp/server/controller/UsageReportController.java:62-75 | src/main/java/org/mark/llamacpp/server/controller/UsageReportController.java:129-142 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/NodeController.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1759781f8bab7f1562799e314df6a7dce66351911557c935d2e3f9fddcbe2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:150-163 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:121-136 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"934b00f7b315a6df148d0dfef7fab4f9c8d6363a8fc32ea74af2ca95efe3a469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaServer.java:1246-1256 | src/main/java/org/mark/llamacpp/server/LlamaServer.java:1274-1284 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fca732aaf8e14326ff329fa565baf088029365e199711452afdf2d1200ac9ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/main/java/org/mark/llamacpp/server/tools/PortChecker.java:25-47 | src/main/java/org/mark/llamacpp/server/tools/PortChecker.java:55-76 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/PortChecker.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5776a35e513381241d2ec3327216e64e12853d29462d7e085a14a46cbc5053e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/org/mark/llamacpp/server/tools/ToolchainChecker.java:223-229 | src/main/java/org/mark/llamacpp/server/tools/ToolchainChecker.java:375-382 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ToolchainChecker.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e53e4652bd3e2219040d61a49de4ac43505c3792ae64712e95d076630b50ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/main/java/org/mark/llamacpp/update/LetsUpdate.java:412-425 | src/main/java/org/mark/llamacpp/update/LetsUpdate.java:430-442 | src/main/java/org/mark/llamacpp/update/LetsUpdate.java:447-463 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/update/LetsUpdate.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5418206b984850efdc54c5a30ec7e3a5f69dadc7a31931b58812c2e8dda3d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/org/mark/llamacpp/server/tools/ChatTemplateFileTool.java:58-70 | src/main/java/org/mark/llamacpp/server/tools/ChatTemplateFileTool.java:72-85 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ChatTemplateFileTool.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd90dabc82c7d6740837a5cbd072961f01ed0eeaa407fc2a86ed8d75c4539c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:243-253 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:226-236 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea0f8dd1337cf0317fd1e201d6d0a618c10faa4ec83bd1602ff25afdaa0b56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java:179-191 | src/main/java/org/mark/llamacpp/server/tools/ParamTool.java:339-354 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3065ab882b931c90de14f934b98b2ec6603c04a3ee28c16912f2813a61f1e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:187-198 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:1084-1094 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafe769158c7bd0370f3aa56e16ab79a520dbe7d3d033bc0459457cdaf367e5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ModelRequestTracker.java:90-101 | src/main/java/org/mark/llamacpp/server/service/ModelRequestTracker.java:119-131 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelRequestTracker.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a450a7e2aad15c8363d1fe5e1d83c5bc08fa1b449a54c4ba89b0010826f98f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/org/mark/llamacpp/win/WindowsTray.java:156-168 | src/main/java/org/mark/llamacpp/win/WindowsTray.java:170-184 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/win/WindowsTray.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a173e17e5e36112516aad30269ff4088f50004cc1a72d40e8460aec46a4082e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:462-470 | src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:472-486 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a633b95d1b7ff1f9dae4bd81e9a20808b7a14634b904cdb4be316d1c0f9a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/controller/CertController.java:55-69 | src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java:32-47 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:94-116 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/CertController.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f2256d64d8bc80b0608e299420b8ba452244669959977cf46d2833d27142db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:732-741 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1476-1485 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e02bd7d449e2342646b6be24d43254cfe99f13b627210dee76663001b01a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:580-589 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1013-1022 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"796a3460f195a28dd67e638de9e8aea9ccb1efe6dc4cadad5796b085803f6116"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/org/mark/file/downloader/DownloadTaskManager.java:632-640 | src/main/java/org/mark/file/downloader/DownloadTaskManager.java:642-651 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7a464d956bfe838bad878d80a4717d82ee2d020fa1de5ab938c46edc6e44c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:251-258 | src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:274-281 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ea2c7b18a42b58b16ad51edcb6b0b6d63931874587d78d76ee06a58d183d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/main/java/org/mark/file/downloader/DownloadWebSocketListener.java:16-28 | src/main/java/org/mark/file/downloader/DownloadWebSocketListener.java:50-62 | src/main/java/org/mark/file/downloader/DownloadWebSocketListener.java:65-77 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadWebSocketListener.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"52054d257e899d2042197ce20a7445306f511b592cb6bd923d7be33b7eba32e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java:281-295 | src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java:434-448 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9245d3ac5e9b6e22d8b08e0ce0555196acf8bbff0f10467d5268302eea41cd45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:84-95 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:92-103 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca53816931984cf816dcdf92588193b0d554f91854adf50a355bdd832281dd95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java:120-128 | src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java:138-146 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee70c5e94c19f5bf7159fc44dbeb63051c480765da7834a2d73f6357585f57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java:285-295 | src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java:300-312 | src/main/java/org/mark/llamacpp/server/tools/ParamTool.java:93-103 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e81fa7fbb93422e8c23562bc018b2a79a64a9a90738d5c9d0e13995f1f675a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:650-655 | src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:657-662 | src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java:158-171 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"03627d2a6423a11f685ccd8041e75779ab97b5130815b2eb7c02b1290d32fa2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:101-109 | src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:116-124 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e711fe946f0942863d4697818a9104c37e012180d9b929404a522c8b18e7fe05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java:201-212 | src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java:359-369 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"28659a83292ac26dc2c38332c5a35968057f8d105d863bdda6bed9d15ae6af2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:226-238 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:163-174 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d284f90a2b072a08bbc49eb6d393bb40a497fdc36de9df00bcde9d1c9f5859"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:880-889 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:1027-1036 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fd1e58b0e17b24664ef349b97d0a04f453dcfe3e741f71b0b0d7b1d4c5399d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:616-627 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:629-640 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:642-653 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:655-666 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c319b0fe27e1819e041f8dc5480c165c6cb497357c982e141207e7fc60caf54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:891-900 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:902-911 | src/main/java/org/mark/llamacpp/server/service/LlamaRecordService.java:504-513 | src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java:83-91 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dfb5c2ff37bb61bdfb8b19397f5be8800299f8d2298af70254a57489c0a595"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java:405-416 | src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java:418-429 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2feeaab25ad4081622906fd77b7966984970e23dceaff002a722a1a082f399"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:457-462 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:371-376 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cbcc175e72506505575b6d0ea12d07cf366eb7c7ed05eda4c7aefe6feba89d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:550-556 | src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java:57-63 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e686e9ac6dc8920033bf008e9c147776e1e82e40f863e0cb35b95dab3cddef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:748-751 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2684-2687 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"252071eafcac2d355882ab0ed156763fa956a1c80f8f8d535b3a1a107a11245f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:678-681 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:484-491 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06aec4a902660911f070ff5b7f8f8e2961bdae78dba265f5b2b46d75760957c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:743-746 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2679-2682 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d7c891b3f3898fa1708783daf8381f7457c68954360d67e7ff74988ff3e6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1032-1034 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:455-457 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"147102e93ec0c65d03e159a861cc4ed01c4d8565af1c41699f61ea820e5333b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1249-1252 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:662-665 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe81015888b35d792b243fd964e815491f8f3da94cfce582daf0fe157ba5b355"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1207-1210 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:622-624 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbc58e4fea333fa4de2d27d7f61b7e43e41e807ec3812b89de5bc57199f1dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:505-512 | src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:824-829 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f09310a557adef1bf531e671ea791743bf064e877e738cd8600ac9e0b4bf73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (82 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:143-224 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:80-161 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:143\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f49e0a9d64d6e14e761b4f6dfb7fc6644eedd0e69d0325ee39eec129148a247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201336 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java:213-242 | src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:344-379 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:344\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7501d0594d290fa0175fa73f3f6c7ecdc40e13435f70a115dd7ff9bb0023519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:992-1026 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:419-453 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"4778d39a5f53e12bcfe39290c2b0cd6681a3d9cb0b9587cd72711713e4502ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:816-845 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:949-980 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:816\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce7ad4f2da404b6de9a937c2a74d839c8cfcd569c37d3455590a34b03521e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1655-1709 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1728-1782 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1655\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52e6ba4697d32c43e8e2ea99028656ecced096b550f933ac9e4794ad11f1afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:390-418 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:119-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:390\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:116\u0060 calls \u0060getModelCapabilities\u0060, \u0060getValue\u0060, \u0060getCtxSize\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:389\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9647e9b0d0431052e2a8bab93e552cd77205924f2840d3b846aba9bcff8c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:850-881 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:986-1017 \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/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"374938b7f0b8ad590efd1383bfb6edca9676be5a0146ca2e58a7e7e1eb7b15d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:586-613 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:637-664 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1391-1418 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:586\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"5162c8d901780db87b513a661242c97b2c7aadeb3fca301c92f63ce7c653e32f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:984-1010 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1095-1122 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:984\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"f361eec0d5c2cf87e1b986442f6c9e502b411712bb30d5d70f2c64caa3eb5c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:698-721 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:1105-1128 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:698\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"9042af1866ed246a2c35966d55d29f83784b3edd289418978c61cb638c788cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:327-350 | src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:470-493 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:327\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee244fa3f004081978c0fb2d19f21a913993536e302cf6e7fc7106824e7d492d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:169-191 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:517-540 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:168\u0060 calls \u0060getPath\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:516\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0683436c4345beee7dcfdcc0601c64adefa738b5c7d65be4ff4ee1190411f044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:159-181 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:853-875 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21566864b648aad5a07c61f789cd967b426426fc46d9160962370c4ad2584ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/ConfigManager.java:655-677 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:701-723 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/ConfigManager.java:655\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"028cb9962736604e3508436e439f37a69c3900923f6963c516d453725c3b08e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:944-965 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1088-1109 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1141-1162 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:944\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"905ea852f6563eaa32fc4731977cc1a9811b85c4bf70164c65c8aef9a2c1370c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201322 lines \u00D7 2): src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:375-384 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:970-991 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:375\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"955f92d030dc2486668267a7acc88bd2ba3488c963c3874afab356ec0b62148b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:908-928 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1131-1152 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:908\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf87e0d024f21ef548fd29a0b9f265c14095c476582f5c9535fa8786c5c8930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java:250-279 | src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java:405-432 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"952293d2a8210a4449e319bf8c299cd496f1046a9bfe9913da5890452168fc5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201321 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3163-3176 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3230-3243 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3328-3348 \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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3163}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a97ec8a8b752c24d97e41f2c693039d664962461a5208bca26db5d723c95e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:354-373 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1504-1524 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3b059203f331a65bf55c2d8944f18a2f031dc7183b70bddaafb99dcb3b7f65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:488-506 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1598-1618 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:488\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"4507034726e390b7e7a9d65ec4ec13a779a210ef0bcfbbebf72cfc0ba76a7733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:394-413 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:444-461 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:485-502 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:526-543 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:394\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:414\u0060 calls \u0060get\u0060 and \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:463\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa82cde924810392e6e6ae30f2568e49d1df72321bcaa1cd786a6183f84a1777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201353 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:459-511 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:742-793 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:459\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04aed288786cf0a9a462044807949a7b5d650453224cf5d48e250480eaeba54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ParamController.java:63-82 | src/main/java/org/mark/llamacpp/server/controller/ParamController.java:96-114 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ParamController.java:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ParamController.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc9e09edd40172551d88db06bcabf6882f2e11b208c866f1c924ed2806263a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:366-385 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:474-492 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:366\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdd1e86cd0dd0523cacc3d514475a64fb3a83fef51fa5396570a7295eab8ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:716-734 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1621-1640 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1643\u0060 calls \u0060DefaultHttpContent\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:735\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37cb15ff7e284c46aea791f0b5e7fc182361c0d2d9b6138023df646825d4f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:474-490 | src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:494-513 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:474\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f445d8dff9ad3fed99248a37b34e5b551d965e97c45299ba869ef7cf5c5687b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:723-741 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:1130-1148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:723\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c06a050160b0c99cf039f5729cfd6c8db9b3b903335a21c0a39ea47705ebad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1109-1123 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:756-774 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1109\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6971ca5e2bdd7c2c20fe6393f88059c8a8bc1edf249e441eeb9f51cc9907e111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1036-1054 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1153-1171 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1036\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f36e26032178507e334c4b673ac2118b9636dcdef93833c571cb2b2b18e2dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/ConfigManager.java:988-1005 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:1098-1115 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:1172-1189 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dec96a529fa99f050a911cea4b1bccd9562c2100745d759f58f4e534b5eee68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:409-426 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:480-497 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:988-1005 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:409\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"3259fbe9f854ffae3cb7f7b09f2329807e55c35187cac5edc75116347549c2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:679-696 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:1086-1103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:679\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"5567a7d263481d200710607f125c4275b1083aad3a138153ad9ef03df2bc83e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:378-392 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:451-468 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:378\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a0768b9293970807089b86fa15628fa01915b2c0a8bfd76c5201df6831403d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/controller/NodeController.java:87-103 | src/main/java/org/mark/llamacpp/server/controller/NodeController.java:150-166 | src/main/java/org/mark/llamacpp/server/controller/NodeController.java:181-197 | src/main/java/org/mark/llamacpp/server/controller/NodeController.java:224-240 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/NodeController.java:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/NodeController.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d9812f7f225caf8b7023ca55b257953b754b443315e5b42bb04c184146b39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/ConfigManager.java:1013-1029 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:1123-1139 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:1197-1213 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"889fd5423afc421b563f27a941054d013b994a8e8a3f5bd6104e438645748d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:960-988 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:388-416 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"e689c7ea2faefd74d6651f95c356cb70bdfd8a603d70912a2100adbd12056eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1052-1068 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:475-491 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"79554128aad2f93d5eb71436b2854f2a8c6755932c8fb0e8e1d313bf1ab05bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1189-1205 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:604-620 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e879a63e3e11cc483985005a470ab5e632dabdfa854e37ee2f49aa9bedfbfbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:235-250 | src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:420-437 \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/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b06658d40f5dd581e9d88917ab44af1c24fa01afbdc614cb24c3c50d88b277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:665-681 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:712-728 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:665\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a2125e99e2c41821ca3d0f80df9bfafbd91ba24e5cfeffa585a0f62f65d2e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/BuildController.java:113-129 | src/main/java/org/mark/llamacpp/server/controller/BuildController.java:268-284 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/BuildController.java:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/BuildController.java:130\u0060 calls \u0060trimToNull\u0060, \u0060getJsonString\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/BuildController.java:286\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48b23a990941d4351077f18cfa52a60b86d20ec3cf0216a8659ffb308686083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:418-434 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:640-656 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:418\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ab09a9e4824e235b5607846e4d8345300f086ed6890734eb9bcfcacfecf8b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:795-811 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:865-881 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:813\u0060 calls \u0060getInstance\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:883\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"480e68ff6868963a3ab36f1b4a2ae4520d4b56c2b6a17d7ca14f75371dc9bb9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1746-1762 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1843-1859 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6819471d9b336ee47716c0d5fe072a1166f7acd38b4414ef05a9539d91ef47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ToolController.java:210-226 | src/main/java/org/mark/llamacpp/server/controller/ToolController.java:243-259 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ToolController.java:210\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ToolController.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7fadc7fa947c8262fdafd6f7ee406b7bff714f6a5716329ed8e6341c83ad86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java:229-245 | src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java:338-354 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java:229\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7a7cdf542f0595f970a785b51f5039b58940e8a0df55d31518f1697e909f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:313-328 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:422-432 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:976-986 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1087-1098 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:313\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cd56fc9f4d8b306e924429f3b25b87fa37718907a35b7c1d064d679344b182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:430-445 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:561-576 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:430\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d288e55a9c84c6bf45954a2550edfbd27b71a369dfd0f0b6462825ba3088a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3198-3213 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3291-3306 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3198\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7faa7f7e4b51093af3a550018365fa13a2375594bdeef9de33140f5b58ce7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:546-561 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:69-84 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:546\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"8605c5b376ad75c8fdb697a419523cb4359115adb53809108f764a23e5c8e708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1253-1268 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:409-424 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1253\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ebeff3501da1d01f11b136fab4ed7fa6ace27cb4eabde08282f91e02b43d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:602-617 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:654-669 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:602\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:651\u0060 calls \u0060info\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:599\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb61934d6f0a8e04c429835aa14eb496a752b977e0e072ad4a32acc28544aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:343-358 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1120-1134 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:343\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"97880e305377226f439e8b48679f83a09fba801bcbf864aa035a4cb24148cc54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:523-535 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:541-553 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1638-1652 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1664-1676 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:523\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c5c26846677b94cb6213d09eb7278049d20c500104514a0948bdf225fcd530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201315 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/NodeManager.java:62-70 | src/main/java/org/mark/llamacpp/server/NodeManager.java:87-95 | src/main/java/org/mark/llamacpp/server/websocket/RemoteWebSocketClient.java:322-336 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/NodeManager.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"28008f1168622bd85dec0eea3cd8e861db513b3f4296d257c831f42ef5f4745a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1136-1150 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1336-1350 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1491-1505 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"afee7d1d883f422b56f04f0cb537f2f2f2d2babd4fa8e239d9042e3830b187be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1155-1169 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:570-584 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4c610396a2d485cc81b8bec1242e4fc7500a98381c551d767bd851cca97662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/org/mark/llamacpp/gguf/GGUFMetaDataReader.java:28-42 | src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:555-569 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/gguf/GGUFMetaDataReader.java:28\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060file\u0060 to \u0060java.io.File\u0060 in one and \u0060File\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/gguf/GGUFMetaDataReader.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc13135bc93184cd99ae3f4e1af87c71bfbf163bd2dea046e13ad269aeac0ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:447-461 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:578-592 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:447\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef51b2ef497f4d5f7b26cb367b1f0ad6cc4fc7dad40bc898e2d9c6ef340e1014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:464-478 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:595-609 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c87220f49e4ec07a7c6441036da0b74f2ec39607c2ae1939a4bac98e78fe95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:489-503 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:620-634 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:489\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"addc01a2da2659027c0e0252f86fc867c2ba04e05f4fc4e92996a51b89a748db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:382-396 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:607-621 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a1489a035abb6b598c2a75484b735d98acc73fbdfad4acf41ad2514c4d86dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1235-1249 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:390-404 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:389\u0060 calls \u0060isRocmCommand\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1232\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24e52bdd314faaf9667512a6634725a1224dcd09bd9ab10bf697e089e26be61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java:225-239 | src/main/java/org/mark/llamacpp/server/tools/ParamTool.java:318-332 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4968b3f1df127ce7ad869bd905ca6ab1d4ab90abdb6b5ebaa2b3207b48b2a950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:863-874 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:458-471 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1024-1035 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:863\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6ef2408f45e1fb01184b1170ed4f08658e377f003eb578b32e10ffd764bad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:535-547 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1044-1057 | src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java:542-555 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:535\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"3356a1c759db538f7ad011a1f425fa5fa652bfa6278ca4322c03f2713b2d10cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1176-1189 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:915-928 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1139-1152 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb271c5f9c6f68455ae802d8c9eff494ee173b3abccb08342c6fd085ccda4af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:841-854 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:963-976 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:841\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e6f78c284d3720a5eed0221addc3fbae08d0b1385131d4b528684ba573b4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:526-539 | src/main/java/org/mark/llamacpp/server/controller/UsageReportController.java:154-165 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:526\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"be40ad850c46a3d384e053b9c68e108192764163df907a8469b52a7467d4c748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1570-1583 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1621-1634 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1569\u0060 calls \u0060get\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1619\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44be9e8d09fb0d0f246ac7f757e1fed7ef0394e6e679d28bd8724b9f25edb4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1895-1912 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1922-1939 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1895\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3ab6d4bb431f8a794730ffd99bc0b14fac06041c52235914e632d80104340f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:750-761 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:2054-2067 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:750\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79fd87aea565428fa9c73db1642890a959284b227d0183c3314b79477ab1443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:549-562 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:624-637 \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/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a42ce27ca888116f39307600b0db7ede3d65780bc50dc3b321282c849cb891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:556-568 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1679-1692 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:556\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"506f991fac312291e5fc8ab4c6d1e7b3b4bb9104b0255c6907a3c9551b4e7668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:643-663 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:481-500 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:643\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8faff329d5d507265e492876c957732c63557e3c4737f1e695a84a9af04d08c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1738-1751 | src/main/java/org/mark/llamacpp/server/tools/ParamTool.java:228-241 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bafe3bb90954d49a70348a00b523a030a5a78fcdf513aa02a0a498dcb57490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/tools/GPUInfoHelper.java:302-315 | src/main/java/org/mark/llamacpp/server/tools/GPUInfoHelper.java:318-331 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/GPUInfoHelper.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7506f8b2163e7218559ee9b0a6a645b7b05016effefa014d80bd5463d1fe35f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 5): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:449-461 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:491-503 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:645-656 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1683-1694 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1756-1767 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:449\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc0b24615ffa15e42d5a0bc805ab01711a8766e1faa6d902828516663bff20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:613-625 | src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:726-738 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:687-699 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1256-1268 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"27328e001c77f26047aeb29d9fe505317e0c0f492673cbe66d60db84ad9f3f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:240-252 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1949-1961 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1419-1431 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1862-1874 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccd147f1042367c788ebbef56f6c88856ab90e000474bf7af93027bdac58576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:627-639 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:688-700 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:735-747 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:627\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52440185ca04b26e61a9f9d8ca6a07abb6eba67b57e0862ec1d73343dacbd7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:525-537 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:543-555 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:558-570 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"133936e492d875e30359bd5a102c936e34a4b7e60cf12c1bacbc1e698173d085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:616-628 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:775-787 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1421-1433 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:616\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc034b611eb299c2c7f59efc7c70f86a7dbcb329640f4f5daefe637763c927f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1640-1654 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1666-1678 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1682-1694 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"804c75fee352cdfd93520227373e49da778835681ab4c960846143800bfc84cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:917-929 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:349-361 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d305f69b37802f0248b1cb0d92f15ca4836f7ead2ea967a153ec7eaed425bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:406-418 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:521-532 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:406\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"38155db6eb20cf16a8b1e45638ae042b217332e7e0fbc75884b8c9a0a7f4611a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:535-547 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:696-708 \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/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a504606306751b92bd70dd80058d49df31fc52b23b021ef153a24bed32ef9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:202-211 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1549-1561 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2802db009407e08b4618e715cad2095f6f184d01dba355d90d023fb485422d2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1443-1453 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1516-1528 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1443\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf64b5a745800dc298c0584414751948e53e808e191258b166b573927b15548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:438-450 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:215-227 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd49477e0679823dd98ebb34375ba007fb62019b43246c95ccb171ad9f62dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:376-388 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:509-521 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:376\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b593afa47e071212f3a5010c51fa295d81d80a48567426d47aa1441d163b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:615-626 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:449-461 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:615\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"5465fc92c072eeb3d935b975632a02d37196e6a67f462bc39dce2514a19c9111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:910-922 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1048-1060 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:910\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bffa0c3f1c0c8b1000793ae6d3bf821072e22d23f42815dfb988039c91b3432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:788-801 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:865-878 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:788\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"686d23478d1def5c971fdf930db138073d47fc4d832cc0544ca7d263975e5b17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:444-456 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1006-1018 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:444\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c53aee5f79a3245a688a6cdb85c2826c927d760fdca11d882186fb3136671c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:309-320 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:785-796 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:857-868 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1023-1034 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1083-1094 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1219-1230 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1260-1271 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1337-1348 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1380-1391 \u2014 all 9 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:309\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1589b43c1e6878b73b8e456358208fc5c92430f9517de2702e71f2f4b1b1bc55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:359-370 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:467-478 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1029-1040 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1146-1157 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:359\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"63204bd877e3f4acdca602cf99814e6021473703093ca5048468a67a240ed20c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:376-386 | src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java:637-648 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:475-485 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:376\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d480ce685efd3a5839c7c7fa3820f89d63e3a5e36c1ead8c5191ebed89d30b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:414-425 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:636-647 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:584-595 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:414\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"398dc3bee7a0b312e50d18139e77f58424ae6249d48f283b63a94259dd65acea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:450-461 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1012-1023 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1129-1140 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:450\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5221bd40f5ccf6abdfb3e70de2912c763a542fe38f6f3e2c6f77a7a5980c72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:544-550 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1114-1125 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:544\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3fadfea544b39626d808ab22104bb82fcdb1421282e0783ee96b73c1a99ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:785-796 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1214-1224 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:785\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"13219b506ebcdaa27b42193ca5d5a23d14cd19d0cb2f2039580e067d58dd6fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:612-623 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1117-1126 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:612\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1115\u0060 calls \u0060release\u0060 and \u0060src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:610\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"4379284e015d10a65be5d04474074ca86973c56af1daff9654629bda08e65ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServer.java:1442-1453 | src/main/java/org/mark/llamacpp/server/LlamaServer.java:1468-1478 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaServer.java:1442\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"366e1013c70b87a1b23dbdb43e4cdca1608ecb6c3980aa586b63121b83a87cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1274-1285 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1322-1333 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1274\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"67093ef694929bc0326536b2980f7df7a5d2bcc35a38a188265719e863d791c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2931-2942 | src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java:70-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2931}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8336b2755bc91014df5e358ee4d171169aeefe145fafc42c27b6e7802943ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:608-619 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:383-394 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:608\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"09eeee52c14f6480fde06d2a99432eeabee73693a0dc8edd28c04df7555fc12c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:174-186 | src/main/java/org/mark/llamacpp/server/channel/OpenAIChatStreamingHandler.java:223-236 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af81f48d2c818b1719bf1f8367426bb13587da94aa696e68f5ced7103011478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:98-108 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:809-820 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fe7f3809d3b0d55b3d79ca21a645f2915952bc775405b8e53e2718f7d56007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:94-105 | src/main/java/org/mark/llamacpp/server/controller/UsageReportController.java:150-160 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb6b4fc22d090494f0b314e18cd3ad02e73ce385ab499275873777a5f98bc8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:212-223 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:197-208 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3334510abc3bf1946c8a043ee21139fcb1f22e4188e5b9b8a324f11c713430c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:60-71 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:67-78 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c986119073169af2e033580ec9fb34bdef85718a405908c11c53fd51ae01f8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1772-1782 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1843-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1772\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1842\u0060 calls \u0060headers\u0060, \u0060set\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1771\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a0bfad14f852c371b648ee969edc3132f82db082c64c36dedeff72925acb86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 7): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:523-533 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:806-816 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:938-948 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1133-1142 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1333-1342 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1488-1497 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:293-302 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"93af9f0745c3a622d986f4d4055218f94d19004e3e449bf19f3bc6a2b3869353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:465-474 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:507-516 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:659-669 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:465\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32dd14eb2a67a0e198043e30b17fe293933632206a125e180c9fc7c5c6139db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:675-685 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:722-732 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:798-808 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:675\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5439f4386616c03586f97f257f946a47052097bb94a04c5a60c13e327640e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/BuildController.java:116-126 | src/main/java/org/mark/llamacpp/server/controller/BuildController.java:271-281 | src/main/java/org/mark/llamacpp/server/controller/ToolController.java:104-113 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/BuildController.java:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95db204c8f2ab139bb52b3f14fac6279bab49eef2c8f88f51c2cadbe28adb6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:643-652 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1647-1657 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1770-1780 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:643\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbf29996aafb9e5dc8be519fd26b400af5ab1041616b31a566555b9d47c9270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:496-506 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1058-1068 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1175-1185 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:496\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"50940984a6306bebe99bce82842dfc1e3ff24e718a213fc336887538cceccf0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:228-238 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:164-174 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:228\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:227\u0060 calls \u0060info\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:163\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d539f82e022aa633cdd5e00c03dcc695cd234723388eb616994faf7671f5df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:335-345 | src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:444-454 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:335\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4205fd1b372980fdc67b3f95c2c13d56838c70c60c89ec7e8115de9ff934d384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:757-767 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1185-1195 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:757\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd04813044146a16d18814dab955099fb29750449b064748952a7673d8eee39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/ConfigManager.java:511-521 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:569-579 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"443265c1ed001d658031aed2b1fcdc22b48215d73f1f700c491f245978155bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/ConfigManager.java:951-961 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:1039-1049 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/ConfigManager.java:951\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a459126df76c6b2281374cc78e466fb141d5e2af75ab654f47d71f4da2dc0fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServer.java:1710-1720 | src/main/java/org/mark/llamacpp/server/LlamaServer.java:1731-1740 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaServer.java:1710\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b291f86f390ec204b21cba212c93e587c350664d8915c7a2814eff4b038cf95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1360-1370 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1564-1574 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"73241b90fb5815aaad40e8743a1c6d7447f6473655fb738d8474084719f046cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:181-193 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1358-1370 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:181\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b461599dfe7430ed3f6dddf495e60f0e846781174cf3653881e6f2205974b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:846-856 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:913-923 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:846\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"840f54395be8ec51dd56399a7ad091e3c41f2e8055eaf732a185393f1294596a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:379-389 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:105-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:379\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:116\u0060 calls \u0060getModelCapabilities\u0060, \u0060getValue\u0060, \u0060getCtxSize\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:390\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"89258e54c31d4a9b7e7bff3194fc4b4378ae9bf4650a5e0fb170e3b5b50b1e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:151-161 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:168-178 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:150\u0060 calls \u0060isEmpty\u0060, \u0060getJsonString\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:167\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67e5e910363d7fad0ba2a7cafb7b12ac282a93c0228618cb039dbfe3ac0b4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:659-669 | src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:692-702 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:659\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3af6fe97cddf0759156757c719d682e820f0ce411ed60856ddaef30e2f198ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:611-620 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:905-914 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:987-996 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1128-1137 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1189-1198 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1306-1315 \u2014 all 6 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d67b276e3185e9eede9c26ab90819cd0c8990c9717e90d5233cc807f237532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:465-474 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:507-516 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:659-668 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1700-1709 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1773-1782 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:465\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8316410c287b362c751dae7bc3178f7b910e15e53fe43cf2578de56e1f46137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:748-757 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:844-853 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:943-952 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1087-1096 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1140-1149 \u2014 all 5 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:748\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"9790b5d0d14713e30ffe757c1858437f3cea73b047a354bdeb91a22637aeabaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/ConfigManager.java:228-237 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:949-958 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:1037-1046 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:1147-1156 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/ConfigManager.java:228\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/ConfigManager.java:1036\u0060 calls \u0060getAutoUnloadPolicy\u0060 and \u0060src/main/java/org/mark/llamacpp/server/ConfigManager.java:227\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b42b48ca23dcfd8e8128fa7dcaa5df916546530aafa35d3da83b90869bb5f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3097-3109 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3193-3205 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3286-3298 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3190\u0060 calls \u0060handleFitParam\u0060, \u0060splitCmdArgs\u0060 and \u0060src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3093\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3097}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b40d5a7f04b5519aca881d17c95ca60c4f85cb2bfb3ec997bb9cb5694d0d6f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:662-671 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:709-718 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:784-793 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:662\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:706\u0060 calls \u0060startsWith\u0060, \u0060IllegalArgumentException\u0060 and \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:661\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"5587ca06beab160f365afbacc774fb223f3e184cf599e9980a4094909273bd3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1376-1385 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1429-1438 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1557-1566 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1376\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"c457e6e3551e94ca5c5b0e70f98c594637eafb5b85022967984f8bd0db1d5f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:233-242 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:712-721 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:1017-1026 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:233\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"93383384952aab283de529b48fabd76b9da09e825ab4bbe4fdd0b0afe1ef19c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java:225-234 | src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java:178-187 | src/main/java/org/mark/llamacpp/server/tools/ParamTool.java:318-327 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java:225\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3996b06611145f9d224156f3fd569d0e07eecddf2c6b28554bee9c60c55e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:361-370 | src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:466-475 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:361\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb97cf730f7f322a795e459155c52887ecb69e1e6e0ccbe2c63b9724f10afb39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1097-1106 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:520-529 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1108\u0060 calls \u0060fail\u0060, \u0060completeExceptionally\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:531\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c6ac7e8137aaf119ea2b36f62fbb76e6d3676b09ae096713d2d7e0bf18a55b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/ConfigManager.java:126-135 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:312-321 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/ConfigManager.java:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faa907466abcd3a8e3f66ecef0f84eb35461e92eb7228004d377e429077ea11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:548-557 | src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:561-570 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:548\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dccaf8d307883234e8674f75e1c22c060f88b6241ec0f1a170c0e727449730f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:627-636 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:466-475 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:627\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83f082aa95c075ddbd7da3e7e279ea20fb04a0a7256332719b17e3cf558b721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:905-914 | src/main/java/org/mark/llamacpp/server/controller/CertController.java:149-158 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d7fd5bba16e361a99f85ad7ee004165912e044e886be0b5f705aff60639cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:171-180 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:248-257 \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/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f0870cf5174b6dd8127dd314541bb4163032ef2253dc84a429d3ce400c4210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:829-838 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:894-903 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a96b4689b1fd12dc8e835adfe96f8496ef5c923545bbf566a8cdffb2ddf747c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:676-685 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:708-717 \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/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1761c4c6bfc60a0623ada9ace71dd8ae633d52e696b73d52d2c7fba0b4d732e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1301-1310 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1351-1360 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1301\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"35780b8173bcebf814f5dc4474ba2d296e5884a93141b190940e77524085b356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1661-1670 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1784-1793 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1661\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bab304f46c12ba6204bb88591ed673cdb34964a344df8d2d9ecb49759b5fd9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:131-142 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:108-119 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:131\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a4bb574099e9e2fa150cba1f0ab69fbca9645ea03aee1fb802ac6dfe125eb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java:232-241 | src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java:385-394 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java:232\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d9dea21b2d197b8f94bc47d0db1df4f88d72403c6004dddfd784b5d320abda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java:255-264 | src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java:285-294 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java:255\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7043d55d544e300eb868fbbe7836af1443696df809c92c897ef7a13f2bc2f46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:259-268 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:275-284 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:259\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:258\u0060 calls \u0060isEmpty\u0060, \u0060getJsonString\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:274\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc12e97c4da5c600b8cc7844fb6dc1140b3018d46051a3ed96533eca5a9b0137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:732-741 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:743-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f381e2e1020185c649efdcc012743976763d77d06adb0ecad4b209edb2271bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:761-770 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:809-818 \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/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda10398be592c116aaa7c84a492d975bccddc95475e841befcc3775bc06ddb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 12): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:306-313 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:466-474 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:550-558 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:735-742 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:782-789 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:854-861 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1020-1027 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1080-1087 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1215-1223 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1257-1264 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1334-1341 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1376-1384 \u2014 all 12 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:306\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb0ecf22f87ba77c450f3286ec4f1d6631f6a07ce27447fbf55ccb2336857b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:348-356 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:608-616 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:902-910 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:984-992 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1125-1133 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1186-1194 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1303-1311 \u2014 all 7 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:348\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa60d2cee030a401da36ca1a9cea880d5c995f909cb93500872fff6c2a9fa95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 6): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:466-474 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:508-516 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:660-668 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1701-1709 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1774-1782 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:671-678 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56279932ccb73c24b8e4043a103739eac17161662009b3e59cb031795ef9a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:557-565 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:69-77 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:83-91 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:80-88 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:94-102 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:557\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a401827a5bf7241fdd936ad0a22d3f619dcf85f4358202e821a37cf85aa6fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:131-139 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:235-243 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:289-297 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:139-147 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"234c59cedf05b606d2f83499f5897058b32754c4ff2ffd7c15c6e3584425a6ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:544-553 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:582-591 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:633-642 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1387-1396 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:544\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edbec34a5a99610832d76c3693e829eef220993d5987ac18824d246ca94df10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1379-1388 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:762-771 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1379\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8de723af80aa065e70f46a69a6ec067ee01a6657fa04ab80b333b1e2b55db32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:356-364 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:452-464 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:356\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece2ba65781bbc28c684c8bcd1b62bf86dcf934eed9f9fc5b4d07a7493c5298d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2505-2513 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2514-2522 \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/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2505}}}],"partialFingerprints":{"codehealthFindingId/v1":"03710482691cd385eb48be2004fabeb33f00792d42c19a128b41a456b5adadd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2542-2550 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2624-2632 \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/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2542}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6a9314da38ca9da13e315648d6880ff402a5840b891a8aa7d3552764be13b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:301-309 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:666-674 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:301\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"50520c4710a0193517b1e61c57bfec1577ed198cfecd3247e3f758853b1bbf62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:598-606 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1106-1114 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:598\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"59371340fbf2a2ceb0edf3f78f67af55c8df7130dc976471cf4cc074b049b329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ToolController.java:229-237 | src/main/java/org/mark/llamacpp/server/controller/ToolController.java:271-279 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ToolController.java:229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ToolController.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0685a4bd67cd0800667cc856ff56587a41455dddc669036480a99588f2d9cd52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:273-281 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1863-1871 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:273\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec116cec7c70b8d83e2f3f5a2ce3c54cc856adbd1ee85362610ccc98bb938c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:275-283 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:286-294 \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/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc1c11f84ea029b605dd604f0fb324d9972a98dda8df1d5c54635f694905848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/update/LetsUpdate.java:89-97 | src/main/java/org/mark/llamacpp/update/LetsUpdate.java:299-307 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/update/LetsUpdate.java:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/update/LetsUpdate.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"954fc6d3fbe24da9c87ad92e2d01ab9b33fc268aebf2e23aa463da93bc058929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:316-323 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:477-484 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:745-752 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:792-799 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:864-871 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1030-1037 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1090-1097 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1226-1233 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1267-1274 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1344-1351 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1387-1394 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:316\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed708dd5a4fde937f1784008457a1825f79737e7650e9476d4a9a68fe23c8d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:97-105 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:525-533 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:808-816 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:940-948 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1135-1142 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1335-1342 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1490-1497 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:295-302 | src/main/java/org/mark/llamacpp/server/controller/UsageReportController.java:153-160 \u2014 there are 9 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f70d7891fe546c6d418f199f7eb456a5ee2d75029017df44d10b25e01d8b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 6): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:286-293 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1010-1017 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1060-1067 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1449-1456 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1561-1564 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:2096-2099 \u2014 all 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:286\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b77d38a8616ebac136aa2901dd1d4441319b1d9309c747e498b90b089f28f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:333-340 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:466-473 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1028-1035 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1145-1152 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:333\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c696b14dcb32a910bbf14d7aa0fdc0ecffc244631990ed0caddaeaa973edc7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:737-744 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:758-765 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:779-786 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:813-820 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:737\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"435a03226b96295fc2fd1de2ec4a405ecf9240799506281a3cc771155989d423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:396-403 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:501-508 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1063-1070 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1180-1187 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:396\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:393\u0060 calls \u0060getInstance\u0060, \u0060handleOpenAI\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:499\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d2b369203f6430e7cd5cbfcab83f3212a4fcd2e7c96f415dd894545e67b03f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:438-445 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3653-3660 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:569-576 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:438\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"5009251a7665824eba427170c3f95dbb5b223709761757c3ad0f1b0aa1a5ca8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:728-736 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:1135-1143 | src/main/java/org/mark/llamacpp/server/tools/ParamTool.java:169-176 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:728\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f526333ea3eb8cb19a444e408faa9f0082e457afda3c3b684a466a3ca32a905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:439-446 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:626-633 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:465-472 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:634\u0060 calls \u0060setDoOutput\u0060 and \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:447\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7dce57daae87ce34abb496114d1948241a3dee84035f4f1d232091dfa8aec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:173-184 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:250-261 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:579-590 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:173\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:262\u0060 calls \u0060getPath\u0060, \u0060trim\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:186\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"70264dd52d206da695d2d3a9c438b454b794ed7dac010076aa6d9a98e804292e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 5): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:274-277 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:301-308 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:312-319 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:323-330 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:351-354 \u2014 all 5 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:301\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d30fbe4a213438435baa45a8d2bde93867ada9867f52bae79cb3512268be1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:317-331 | src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:418-432 \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/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe3eabe62e1d99de5cf379d48982a32fccf29bd206cf3559cc876876b74ecc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:110-117 | src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:156-163 \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/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e064cbf2e0711901ba11bf149a4e945acc7c03064d37e59c55df24af9cd4c894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:408-415 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1009-1016 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:408\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0b6a5afa4d14ddfdaaf7564953b3752975afa5dd7671fd8942ea08b1535e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/ConfigManager.java:968-979 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:1056-1067 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d69e6ef61a19a3558ef79c58c56a651bf107e56597249e9a05539d499055ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:650-657 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:672-679 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:650\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1541fdbd2430bdcc4378fc7821defefa6506d192649125800897f11b102449d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:220-227 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:250-257 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3ad4bd977edab6dd0e574c00fc55b5d67852e8d85d6113ffb84a3d0cc04fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:234-242 | src/main/java/org/mark/llamacpp/server/channel/OpenAIChatStreamingHandler.java:207-214 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060FullHttpRequest\u0060 in one and \u0060HttpRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0679dde40f68507abe1b424b7a61cdb31d17b21d8ab0c38aab520260138fd0f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:400-407 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:977-984 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:400\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ca20e686035311e146688ca8f3484b35230814fd76f631b3563fbfcff700f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:312-319 | src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:388-395 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:312\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0b96ad4dc3774390553b055cfe5423f7e89fc4176b293906d7d02495a9c901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:808-815 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:870-877 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:808\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"282714ef850df34d649fa43b778971233111a261515a7e5b862211679354eec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:158-165 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:209-216 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ProxyController.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"74db2d6ccd5c28645389528a7ae34b5018232ceaf65a07a69f2411dd866ff8c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1690-1697 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1817-1824 \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/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e474da2ac44c58f9c062ed8fbc656e60df921943082f7581fdea923f68830f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:188-195 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:1085-1092 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"032104fb27a756c35d0ac4d2ca3a05b1eb30539bec553b946afa05e2b4c399f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:237-244 | src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:334-341 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:237\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:342\u0060 calls \u0060info\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:245\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57cf368c965201b8a710a78a394416256ff5897c65b5f2a23e0f8e487acf9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:819-826 | src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java:355-361 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:819\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af6c70fa882fb9bd2c5c7f1a835eff67a7f30a78b604c0acc05d0f0cd27bab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:393-400 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:931-938 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:393\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"558d0ddcb276ec9533b4b0cfc5beee06f47b9b338caaa70547b55e011f99b273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:114-121 | src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java:165-172 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:114\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fb419c3d4e5f33f717efa5287c899bab6c349b14f41de71b5b473535fca71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:213-220 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:358-365 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd61e0c007e1e5625df46ba41280f51a364786a63358dac7df4ff4f362898d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:259-266 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1203-1212 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6358d5dda995e4572a9a08fe6b65e7dae37c44f732e632e7ed1740ec687acd2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/LlamaRecordService.java:85-93 | src/main/java/org/mark/llamacpp/server/service/LlamaRecordService.java:339-347 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/LlamaRecordService.java:85\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/LlamaRecordService.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0006ee80c245e3b1feb95efcedeb45026a0b3b147dbf0201d4b901502ee063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:316-323 | src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:550-557 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java:316\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0f26a1be1a07b3c0292d259130c47d98aeba02892732ad1c50fe5b9dcc9d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:194-201 | src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:239-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/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"237d3fbfefc1f57f149fb570d1583c59c1c85a1239c302d6dfa746111a3e6eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/update/LetsUpdate.java:305-312 | src/main/java/org/mark/llamacpp/update/LetsUpdate.java:316-323 \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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/update/LetsUpdate.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac30e9060ef30c929b2b910e771d86841be9e601e73fe21661e593c7e9bcd0d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:466-472 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:508-514 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:660-666 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1701-1707 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1774-1780 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:2160-2166 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:466\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7edf2e588535dc8b1b79c54e247e34b841df5a50f09fdc5fff6f523be6c867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:530-536 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:588-594 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:823-829 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1106-1112 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1165-1171 \u2014 all 5 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:530\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1104\u0060 calls \u0060getChatTemplateCacheFilePathIfExists\u0060, \u0060deleteChatTemplateCacheFile\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:822\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6164c03f71c0ec32a5f5759031456af9dca1743aae80b305f27361f17bf6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:82-87 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:93-98 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1622-1628 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1880-1885 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4828f594077cbc4c63e062df0aa1b3f34b9c4816ebc94b5fee4fc27cc5a4499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 6): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:411-412 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:420-426 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:597-598 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:606-612 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:372-373 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:381-387 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:411\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40aa0ca57c6163b56be78fbb9421d8374f11d39a9b1d036cfbb311e0001fa6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:439-445 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:626-632 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1439-1445 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:634\u0060 calls \u0060setDoOutput\u0060 and \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:447\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f190c6279c5069ec516ef327f6d8a395d7ffb07150f19d2a93874024ab05c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:401-407 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:472-478 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:978-984 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:401\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c437cb1155137ad9eaf9a1fd6a49d46199aea07162bcb81718b9f2e9dbfb190b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:226-232 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:212-218 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:398-404 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:226\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3e776d9ffa0925c0bf018492ec579554c0836de16cb3e556154a668bc75707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:674-680 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:702-708 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:726-732 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:674\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d75a9d8b9181b01c73c6a673e8fe522c1b80e7121485159c50f04774b39590b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1101-1108 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1279-1286 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"586de07ef516e32ee234b9523648d6bc0709402bb20b4b0c5f13f8ecb36654d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java:122-128 | src/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java:152-158 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"849a564e193c1cc32a3d023b51c8a1c1c37fe172a74dbc1e494577436fc1c5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:197-202 | src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:353-359 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:197\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:353\u0060 calls \u0060RandomAccessFile\u0060 and \u0060src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:197\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b1f2d21ee5d3a61920e8cb164af856294fcedec883dafd86d0988b438258be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/ConfigManager.java:500-509 | src/main/java/org/mark/llamacpp/server/ConfigManager.java:549-558 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/ConfigManager.java:500\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"176ee6a36892b9dc38b6d40d1d74ec5ed9d6585faa509cdd957982ee3e986a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/LlamaServer.java:1435-1441 | src/main/java/org/mark/llamacpp/server/LlamaServer.java:1461-1467 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1158-1160 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffcd0a16775462141b722d7f1e31a458f36b715d831f500f2fc7dcfffaf1fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1156-1162 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1205-1211 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1212\u0060 calls \u0060addProperty\u0060 and \u0060src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1164\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad17630b5807e16f7820814bdb7a6898c60e1354c0ccd711ca641d26b5310acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2453-2459 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2608-2614 \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/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2453}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf234637860b5f53617fa35de37e0232ed2cc65c3ff949f24d6c5605648c678f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java:85-95 | src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java:104-114 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java:85\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1b7246b0e1f9adce8b8f6c3ee2b6ca9b301faa3a0e4155a93b4aaee64bf3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:525-531 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1069-1075 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d33a632c3731e0885bdd91cd009c0be37cc2e41c5d5be32a23fa8464ba640e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1452-1458 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:61-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1452\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a31148997484d519e5656ec7ed2ab0f9ac2359a2ae593acdda5a1af9796196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:143-150 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:475-481 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfbd17bc69f5e418149885d36b3cc302ff45ff660870ee98e8cf85c03448f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:690-696 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:931-937 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:690\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1b42714e34007c73dc23f2cd565b0fbd503e2aa965c33b3b2f8d019388c7ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/UsageReportController.java:78-84 | src/main/java/org/mark/llamacpp/server/controller/UsageReportController.java:102-108 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/UsageReportController.java:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/UsageReportController.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02821eb6429ff7ea391585024876037679aa76021105a8cb7cd58baf3a7c6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:245-251 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:296-302 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:245\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbed1418a3999b6c2688f70d53a010bd09443891ff370adfbc4b3ce6cbd1e9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:210-216 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:281-287 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:210\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dce79face04f4e0016aae39de4b3308b3ca8c9c9678285d2d3320c76d10695b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:235-241 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:218-224 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:235\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf5249f63fa3800a043267848338afa2197081bf520cf2af43405777e5ff01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:140-147 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1324-1331 \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/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"713a84dc30df88b4ea142373e932296a1e19977e21047d27fb47f196f68614a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java:195-201 | src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java:220-226 \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/java/org/mark/llamacpp/server/service/EasyChatStorage.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57909b0ed17f5f006d5a86aba5fbfad8f597634b8af7c91448c679c10c181ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:772-778 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:820-826 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:772\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"8686c8cf30ab5519b3dffa0f375641317be4973ce3df89d54e9f70d4869c7ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:201-207 | src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:219-225 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:226\u0060 calls \u0060addProperty\u0060 and \u0060src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java:208\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dea03cb77ae5623694da7b0d3b2cdaf4917afda3abc686a778e4689a69cde9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/project/tools/proxy/ProxyFrontendHandler.java:118-124 | src/main/java/org/mark/project/tools/proxy/ProxyFrontendHandler.java:192-198 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/project/tools/proxy/ProxyFrontendHandler.java:118\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/project/tools/proxy/ProxyFrontendHandler.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3a9bc59c991b391f68b6110f290d6aa60a2ff57c120c44bcb570ad93c26e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:527-532 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:556-561 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:68-73 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:82-87 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:79-84 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:93-98 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1623-1628 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1753-1758 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1850-1855 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1880-1885 \u2014 there are 10 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:527\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cd2ea6bd3aa7f3d370404977be6ffebf48ad2be56be54a09370598ae27e53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:420-425 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:734-739 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:1111-1116 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:764-769 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:787-792 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:877-882 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:926-931 | src/main/java/org/mark/llamacpp/server/service/ToolExecutionService.java:60-65 \u2014 there are 8 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/ToolExecutionService.java:59\u0060 calls \u0060StringBuilder\u0060 and \u0060src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:1110\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1cf6c338f44e1e04722c01bf04f3956e1c71fcc4d231735f73d90514baf4a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:420-425 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:734-739 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:1111-1116 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:787-792 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:821-826 | src/main/java/org/mark/llamacpp/server/service/ToolExecutionService.java:60-65 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/ToolExecutionService.java:59\u0060 calls \u0060StringBuilder\u0060 and \u0060src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:1110\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ecf21d26672d7e2dd5f50ea3cf5f07007cd9d88d341c7221bca29c48973e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 8): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:170-175 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:247-252 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:574-576 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:130-135 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:234-239 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:288-293 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:138-143 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:196-198 \u2014 there are 8 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:574\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"423bddccc6740b3342d0b2f70505422d3d9346682a8acf7e5056b78eda2610ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:233-238 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:712-717 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:1017-1022 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:1110-1115 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:233\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbccba2bec725327395eddc49d2de37c6ec11f5c67e84203677468bbb7c74ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:113-118 | src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java:164-169 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:541-546 | src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java:66-71 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:547\u0060 calls \u0060isThinkingToggleKey\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:119\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"766af1a05e0c9cd1ef6c19709c253d2d381d6f26b471547ce206c84b7c7fb0bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:781-786 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:802-807 | src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java:329-334 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"716306249e997b37ecb5db8bdb13dee2b0c1cf07569c82846d6dd8f24d39982c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:348-353 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:764-769 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:877-882 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:348\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b1531aa5fa1190f9bc3ec0b2b8232ab680bcabd26a31287968348a21c60c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:669-674 | src/main/java/org/mark/llamacpp/server/controller/ParamController.java:77-82 | src/main/java/org/mark/llamacpp/server/controller/ParamController.java:109-114 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:669\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc69f139a308e1a6d5bb6c04003ff329ef8b364f9877cf6267a0d412e41eb437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:212-217 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:283-288 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:357-362 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:212\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b89915a86da0087f32355a4ddf75bb375682b95c9de68d1a98477a326608b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1304-1319 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:715-730 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81dbf5b882e6107ff9cee56097d061584481f78629fd6060cc19e04a75ed95d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1369-1375 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:753-758 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:748\u0060 calls \u0060ProbeResult\u0060, \u0060DownloadResult\u0060 and \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1362\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e06bb7c88909b0ddbc118dabdbc6138b0ffb1446b1250a1ba5a3a32849740f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:599-604 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:726-731 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:599\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd122b694b32e8be38a44e401a9eff73d87ecca22d461c7f49d0a8a35973c58b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java:487-492 | src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:93-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfbb66503efc395717eda3a4f4ba214cd42904893f9fc369e4dbc4f944be6f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2972-2984 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3000-3012 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:2972\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2972}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26e7fe9e9b072bbf588f041ecc5bec5a52aa854a25ec7c47e0f66bd17062776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:330-335 | src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:177-183 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:330\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"83408f0123cb2122681901b9ef573871848520378cdc942e56f213e1f5006d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:281-287 | src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:303-309 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:281\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d581a787912d8bf9d39390b44a34f620fbcd1a66da884f7b7049ea2a8d8b6ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:289-294 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:654-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:289\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a71197620cf51880e19a1d60e5b07352f3e30dabe3375314a7b42c840a61ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:878-884 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1806-1811 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:878\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8fd76ba96b1f395dbdf2b7b561f5014916e84d3a35dbcbfa1610bfe818bb8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1437-1442 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1459-1464 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1437\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e08fe1c3495c504d8158f0d7ce86c14384f9c49cebd6adb633edb2e61be6c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:471-476 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:109-114 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:471\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"778027675c00a329f739e509ce1846ab7438e556ef821ac8c001dda6ccaeb440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:121-126 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:146-149 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:164-167 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:191-196 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:150\u0060 calls \u0060isEmpty\u0060, \u0060getJsonString\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:168\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9431b5172f0975373f0742ef6d0a115c687a323f0d02cce3c1efc097df8e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:629-634 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:681-686 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:629\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:678\u0060 calls \u0060warn\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:625\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60920eb618ad81b2f99e9312f31b1bd5577e708960bdb3864af7877c2222ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:252-258 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:937-943 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce39cd696198075f0f0f9c50e954db9c60afba7dad75f24ae4f72a66dd5ca94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/tools/GGufMetaDataExtractor.java:140-145 | src/main/java/org/mark/llamacpp/server/tools/GGufMetaDataExtractor.java:155-160 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/tools/GGufMetaDataExtractor.java:140\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/GGufMetaDataExtractor.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6f84d4ebad38f1d7eec755e4f767d4c19ee64fc2f38f1abf74a3abfafe243b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:318-323 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:479-484 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:652-657 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:747-752 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:794-799 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:866-871 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1032-1037 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1092-1097 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1228-1233 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1269-1274 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1346-1351 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1389-1394 \u2014 all 12 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:651\u0060 calls \u0060getAsJsonObject\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:317\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5f42e03bc6c82ae873fae984f33e0ec28f653bce94dc906019e35280d72cdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:328-333 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:347-351 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:607-611 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:900-905 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:983-987 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1124-1128 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1184-1189 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1302-1306 \u2014 there are 8 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:328\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00aa73c1008acd3ac365c1d54b029345655bc2351efb66b1dc90402c8db2d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:450-456 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:492-498 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:646-651 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1684-1689 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1757-1762 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:354-358 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1504-1508 \u2014 there are 7 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:450\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e7900254547268da0631e61b385473229e9c3e43a08f4e25360ffbe364b8b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:82-86 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:93-97 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1028-1033 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1622-1627 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1880-1884 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1028\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc4ed791dbead40f08ffbc9a51355997e925fc77f3f590d8d4ae186e6c5b40b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/NodeManager.java:656-660 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:537-541 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1046-1050 | src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java:544-548 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/NodeManager.java:656\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/NodeManager.java"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3106417ad7a3aaddbb1faa140a4f3349e2a13207987896a2373221e22e37a302"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1091-1095 | src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:472-477 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:587-591 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:2347-2351 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c86b1f3f6b7d46a4d7027807a855ec217a7a732239ecbcfcea332c212dabd5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:883-887 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1607-1612 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1833-1837 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:2047-2051 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:883\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1606\u0060 calls \u0060getInstance\u0060, \u0060handleListDevices\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:882\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"6247e0415d55d3723c2090e64745f250c64f33176d940e8615ba6ab878e13a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:252-256 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:269-273 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:937-941 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:950-954 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:258\u0060 calls \u0060isEmpty\u0060, \u0060getJsonString\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:275\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0073bf49c07e8ae9f655054d4e2a4530414165508142622aa3a311fcb45ba880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:106-113 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:162-169 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:856-863 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:106\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:114\u0060 calls \u0060debug\u0060, \u0060getHost\u0060, \u0060trim\u0060 and \u0060src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:170\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9c6ee203ee52d67e759989f22f15d9dfff08bb60416d41ac2dec00e28e6746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:534-539 | src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:637-642 | src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:747-752 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:534\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e9d9e4d4828c58a868c2e166d26a5f3c15d6961f73b8a9a839917a821ce6ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:876-880 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:473-477 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1037-1041 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:876\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"484513c98a219a8f0bb5a91a72786f5cb61f520c676f2339e72b459da5f5d724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:403-423 | src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:589-609 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:364-384 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:403\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"e070f908f7101711b329d0ad0dc6c4d2e62c996d741ac1fdacdf6d3bbdd3e078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1051-1057 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1666-1672 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1789-1795 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f9a0eaa4b4967bc0f3899d6f5835e5cc98d69082a8d676029eefaf933b799f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/ToolController.java:169-173 | src/main/java/org/mark/llamacpp/server/controller/ToolController.java:233-237 | src/main/java/org/mark/llamacpp/server/controller/ToolController.java:275-279 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ToolController.java:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ToolController.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b79f988d2f84ae2a3bd98e105e396e409ce0f33b043b136bc2f9eb888315d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/file/downloader/DownloadTaskManager.java:633-637 | src/main/java/org/mark/file/downloader/DownloadTaskManager.java:643-647 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/DownloadTaskManager.java:633\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/file/downloader/DownloadTaskManager.java:648\u0060 calls \u0060write\u0060 and \u0060src/main/java/org/mark/file/downloader/DownloadTaskManager.java:638\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67a1c36907bdee1473a801caf3c7eee65e26e9978e50ee264db39aba1b830ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:178-182 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:203-207 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:178\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71fc69cb334354db33a87694b18fe0ca00963ce2d013c12e6d2fbd28f180a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:228-241 | src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:325-338 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:228\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c451f69c711534d66650ee1ea5821c028ca98e9a9add59cc4e0689125a7039"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:254-258 | src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:455-459 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/gguf/MtpHelper.java:254\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a883da7996133dfc9b98c6f8a29e513b235bdf7d6d5c4cc2d9e8d9071a9d0241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:895-900 | src/main/java/org/mark/llamacpp/server/controller/CertController.java:141-146 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"140dba32639c009854d41ea50090aae7e6a583c7d8a5f50b7263e9705e81ed19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:253-257 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1962-1966 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:253\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"632472ea7cd13b435548638ea528d41f15a4c8b1a9e63187878f69f3fdae863a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/CertController.java:92-96 | src/main/java/org/mark/llamacpp/server/controller/CertController.java:362-367 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/CertController.java:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/CertController.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"620e5cefd6a2838308a68cce5d9c4a856186f6541f896e1cd5d3497eaf457e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:575-581 | src/main/java/org/mark/llamacpp/server/controller/ProxyController.java:197-203 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:575\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"36198617ff8fca847baaec93169537c7f6bfa0b4496080859a31a2c25231647d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1161-1165 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:2177-2179 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:2271-2275 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:1161\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"56073cbe0d1a2e27be12e23af6aa3f684e883285df5d284b9a05bda83e672d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1468-1472 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1587-1591 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1468\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8e13341d39edb14f5bbacc1c3a930cabe7c1c1c7b71b374822bc41f441654f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1636-1640 | src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java:461-465 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1636\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6bf0b9ae884e5553f7ee42f411660bd6e14c6826ccca1cf5f91821b33f5ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:754-757 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:801-805 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1039-1043 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f9466a481a139bb22e3599229cd286aae9f2dfd8a05ed3c580d47c605e30fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:146-150 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:326-331 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:324\u0060 calls \u0060toString\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:144\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"078f8178d69052a3df32c4466bbb995a3f92c918a14b4b7c50c081101c5d6c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:251-255 | src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java:326-331 \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/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6beb34efc77a5c972e445bb216e623424e558972a4a02d1b6242a3a3ccedf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:686-690 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:813-817 \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/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"af732f42179906209eae1a79301827588ded19f8f061051f4af9234554c77e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1227-1232 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:938-943 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdbf915678bfb6fec0e44018e2d178375bdd336cf8de874b13d239d631406cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1590-1595 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:2136-2140 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1590\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"74df745186022c60bd7758417c94f3fe8685df04f0aacfd631c508dc51f64786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ToolController.java:261-265 | src/main/java/org/mark/llamacpp/server/controller/ToolController.java:319-323 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ToolController.java:261\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ToolController.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf20b9130e9f697411dd7c277e75a4476fe8d56f9a11ca432246bb868306b50c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:222-226 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:926-928 | src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:996-1000 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java:926\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce8803505fe19993fcba3604c5cb7ce18b0b6772b716d3232514bc52f567ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:579-585 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1704-1708 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:579\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3f4034644bc054efbd3fb96681ac6b12be4b5a9a0b51d522508d810d843041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:340-345 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1107-1112 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java:340\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bf2d271a585c88bb21ebf26afe30191abf617fb3fd38f09fe9312322fb8c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1072-1077 | src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:2241-2246 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/service/EasyChatService.java:1072\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"541000f436890c2cd5c3e8427f37667a51ad924914765c531abf3f30b5b9ec7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:692-697 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:848-853 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de7a3f8640cf2d51bedf2787e7c85243a25043a030536dc4c71612286f9cad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/file/downloader/DownloadWebSocketListener.java:79-87 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:847-855 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadWebSocketListener.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea35eeffd8c76b1646ba7d483a83c79d9e04f1c72b7911d99408ad439ffc46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:847-855 | src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java:1297-1305 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"461a15529e96e1983d697dd022be30ba728ebc94a411e853f0fcbeb9aef85ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:904-910 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:341-346 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf52911cf245d32635d627c4e4322e8212abdd1750fb5f119f5705f5fbd33481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:939-945 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:371-377 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf0e69680c1838b8cc7109cee6ebfb3d5c25b4c7a445835bd7f7c466e40e561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:947-953 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:379-385 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cb5d63e80fb588b934b1c71cfd93e6d5e1d70be727bf2ccbb95bae9d56d0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1040-1049 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:463-472 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d9a5deaa909feda1ebd01799819dd7ed75550541d51f9a96f437cc7a1325ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1070-1079 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:493-502 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88c63996f89e365f1ec9e6abce79c34bacab51265072c2fc9f1667d5b382fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1081-1087 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:504-510 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:303-309 | src/main/java/org/mark/llamacpp/server/controller/BuildController.java:522-528 | src/main/java/org/mark/llamacpp/server/mcp/TimeServer.java:121-127 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"744cad3cd2f5e41b1ca3328d89b833f0ef77ae04d5f10915e39a75065fb6c9c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1176-1182 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:591-597 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"94328dd9de6d339081e78b00309cdf2c282e8886b381d19c8f49c45a9fb9702f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1226-1230 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:639-643 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3713e7f25003d443ec1644edaee4dda4898c5f73bf7393e45fbce7fb7c1280b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1262-1271 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:675-684 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"866ae3334902759a53bc119f1df8d4f342a77735e5d80cc2e43bf8ae736c2f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1294-1301 | src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java:705-712 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java\u0060 and \u0060src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/file/downloader/NettyHttpDownloader.java:1294\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ddf4d6270803630799b051041eb521af54f6fbf998289f7932b2a622fa930c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java:514-524 | src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:636-646 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"761f4b49b9c34df7ee86510293f3e85c3dd796afed9688b61483d02a874f5815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java:123-132 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:101-110 | src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java:73-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f737220f515cd1ded68f8db8bb48af1d8bc1ce3fba645f3de0cc3e1b813ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java:311-317 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1977-1983 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:1466-1472 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"700b6e63351bce365074c438040c02659ae004f9c7c559373384e21ff06b61e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/BuildController.java:496-502 | src/main/java/org/mark/llamacpp/server/controller/ToolController.java:289-295 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaae54d508f85fb9ac8c367ffb503386e436043d0aac00bbbb5a1ea0744fbfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/BuildController.java:504-511 | src/main/java/org/mark/llamacpp/server/controller/ToolController.java:300-307 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"921e5ccda533d5097147ba3f57d24874e57b812091e1fa32e300127fa89d8eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/BuildController.java:513-520 | src/main/java/org/mark/llamacpp/server/controller/ToolController.java:309-316 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"e730bbd452cb8b7831d6fc1538368c0c6405f648957fe3b48319d42d6c8471b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java:103-112 | src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:167-176 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9891b416692509a5dc30bc9893819d628473a1f305337ac66b7f33bf89f920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/AnthropicService.java:1471-1483 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1879-1891 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6c68cae8c6f40c9d5d687c3df60ecb8e7953c8cee56e8ee39bcc901e32e492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:255-264 | src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java:261-270 \u2014 before extracting anything, compare \u0060src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e784397dceb8593fc3cae97573fa00f7b7b2b8a4caebf603718ecdd4654dbc23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java:48-54 | src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java:60-66 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d161dc0b91b15fa2e02471092d51c00aeab6377edaf9a61959fd79ebd121533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java:692-696 | src/main/java/org/mark/llamacpp/server/tools/ToolchainChecker.java:384-388 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"034dafa3285f5ed740083669d08fa4a8a3d6a8253bb49cddb76e8469471f0046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java:683-691 | src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java:147-158 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"5befcab3cbcca7a608c2d0ad1810e6bfd87bf6da3a72d311ea9a460d78b02f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java:214-220 | src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java:371-377 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9ea95ad54adbcba10d410d3351a2d4b9e182e59d54499e1688f2fa7072b764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1089-1093 | src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:3524-3528 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/LlamaServerManager.java:1089\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f3a3aa0756ef4c62832c8e41b952209ed99862e937b2184fca51d88da4474d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/NodeManager.java:626-632 | src/main/java/org/mark/llamacpp/server/NodeManager.java:644-650 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/NodeManager.java:626\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/NodeManager.java"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"876985bf20e4644c594cbb89d2ca94b2316349c7ef725ab87077337522d3d2e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:351-357 | src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:580-586 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java:351\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ae33e3b306fff7570e8d523678117f764ef4b4294ad147d1afa3cfab26d44b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:506-511 | src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java:543-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/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6163e988a5a54d869ce2163c2633abbea6530a0b6ea1d07c14297cdfc577d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java:57-61 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:244-248 | src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:267-271 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa26f4acaac83119b52cc2adb4b72999a8787f9dbe5d9de22a281c1a3134f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:620-624 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:626-630 \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/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"0768e45a0eb961f6d4cf1ac858c76d08868e79f0da85660d6b52ee43b5af7f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:814-818 | src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:883-887 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:813\u0060 calls \u0060getInstance\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java:881\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"153f49504f7c5b85f0b025c62c03d8f41ee141babbb7f7de5677281e498d3793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:870-875 | src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1029-1034 \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/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3208f514a719e98a035ec89e3ac7dc0c4285cf0fb89c57197103e698b6650f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java:1046-1050 | src/main/java/org/mark/llamacpp/server/controller/SystemController.java:1684-1688 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"42df7eaf8953224f448cc7c1078e14b3cfef4250211e0daf6ab7b43272c89b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:423-427 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:155-159 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:423\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:160\u0060 calls \u0060addProperty\u0060, \u0060add\u0060, \u0060buildModelStatus\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:428\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c6c26dedf72f517654070a1ebca56c052e6f2fc282a34515f7a18428e41734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java:142-146 | src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java:174-178 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java:172\u0060 calls \u0060put\u0060 and \u0060src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java:139\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2dcaa4ce9e70b30a0739bb264bbe45be1f78561285cfd2db86d119e71ffc48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java:304-309 | src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java:482-487 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java:304\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efc096569aa6997f0451438fa0dfd54aecf8a6075fec3d8dcf29dbe7e02ab4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1763-1768 | src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1834-1839 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1842\u0060 calls \u0060headers\u0060, \u0060set\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java:1772\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"b705dd5aa5c0ec89cf71ce925dc491d1ea865c544464912948b4fde19b1d61b2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NettySseMcpServer (LCOM4 4): NettySseMcpServer\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/main/java/org/mark/test/mcp/channel/NettySseMcpServer.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"862dcf464ffe05540fcd932b54f202cd45dc7a533e949479debee916d91809ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/java/org/mark/llamacpp/server/LlamaServer.java: src/main/java/org/mark/llamacpp/server/LlamaServer.java changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in LlamaServer.loadApplicationConfig at line 513. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 20:51:06 \u002B08:00\u0027 --until=\u00272026-11-03 20:51:06 \u002B08:00\u0027 --full-history --no-merges -- src/main/java/org/mark/llamacpp/server/LlamaServer.java\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/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf77b6d42f33e208492b7c4c7f06c896318b06f8a9a1e23aadfbd52ae7a593d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/resources/web/js/settings.js: src/main/resources/web/js/settings.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in settings.populate at line 340. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 20:51:06 \u002B08:00\u0027 --until=\u00272026-11-03 20:51:06 \u002B08:00\u0027 --full-history --no-merges -- src/main/resources/web/js/settings.js\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/main/resources/web/js/settings.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf426f3ae620896a0d852edf139ab9ffd7604314e258cda49d80fff6677b571"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/java/org/mark/llamacpp/server/controller/SystemController.java: src/main/java/org/mark/llamacpp/server/controller/SystemController.java changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in SystemController.handleSysSettingRequest at line 843. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 20:51:06 \u002B08:00\u0027 --until=\u00272026-11-03 20:51:06 \u002B08:00\u0027 --full-history --no-merges -- src/main/java/org/mark/llamacpp/server/controller/SystemController.java\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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e268306b276623919a24d12ffdb9d9cd91d52dc81493f58cb7f2cdcade4ed0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\t\t\t\t\t\t// TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d841b40cb030cef5fad01ee799a0127f7570dc06fc209168574ef1ecd692a286"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060pom.xml\u0060 makes this repository a deployable product (line 89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pom.xml"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"73441b099d00905c340033bc34d2658fc4c752315eef835d5cd8de1f9034cbef"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060buildAiMessage\u0060 spells \u0060Ai\u0060 where 20 names in the project spell it \u0060AI\u0060: 20 of 22 names in project llamacpp.hub spell the token \u0060AI\u0060 (20 of 22; unit: names in project llamacpp.hub containing \u0060AI\u0060). Peers: NettyWebServer.bindOpenAI (src/main/java/org/mark/llamacpp/server/NettyWebServer.java:188); org.mark.llamacpp.server.channel.OpenAIChatStreamingHandler (src/main/java/org/mark/llamacpp/server/channel/OpenAIChatStreamingHandler.java:36); ModelInfoController.handleOpenAIModelsRequest (src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:374); ChatTemplateKwargsService.handleOpenAI (src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:59); ChatTemplateKwargsService.getOpenAIChatTemplateKwargs (src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:84). Rename to \u0060buildAIMessage\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcc0182ec1dd1a0de7620083ca155b4eaef65c0e215a61e6c17326afea72eb7"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060openAiErrorCode\u0060 spells \u0060Ai\u0060 where 20 names in the project spell it \u0060AI\u0060: 20 of 22 names in project llamacpp.hub spell the token \u0060AI\u0060 (20 of 22; unit: names in project llamacpp.hub containing \u0060AI\u0060). Peers: NettyWebServer.bindOpenAI (src/main/java/org/mark/llamacpp/server/NettyWebServer.java:188); org.mark.llamacpp.server.channel.OpenAIChatStreamingHandler (src/main/java/org/mark/llamacpp/server/channel/OpenAIChatStreamingHandler.java:36); ModelInfoController.handleOpenAIModelsRequest (src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java:374); ChatTemplateKwargsService.handleOpenAI (src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:59); ChatTemplateKwargsService.getOpenAIChatTemplateKwargs (src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java:84). Rename to \u0060openAIErrorCode\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cecbdeb7a89c72ada66378f29864a1b0f7c2ab02e21a8e7e10ade180af41c0"}},{"ruleId":"D28","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":"cf222da8d6948bb457bf68b99e7fb3ff1bae3964afb38a9f81ec0a978f60434c"},"properties":{"commitSha":"8fc90c9b397dcabd92e81c24e818bcbb75ec69f8"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"1d30d33b337df7890f3fab9684fa57b81bde935588917c8f805b150c8b2346f1"},"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":"e9d19202fa5ff89415e36bc87b56cc181a3e671f988639281552097696492464"},"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":"5384428606d6f8a17e182ea4ac5a9d5430accb78d3c7ed6149616fd47a3d03ba"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbc4c7fbaf3842823d756ad7b15bd66c6b9101e7f297b49228f220e9d8289756"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa86ed5b99c8d9c4de67690f6178c918b7bd77d36a78a4fd422d3466583bc270"},"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":"b2269b624eca14cac1fff7d408a6626bdc94aaff99f332552a3c04d459aaeeb6"},"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":"34d842505c589063d11c4796c5f0def4c64e331b6cd1e03e30282a63a9041b6d"},"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":"105f409d13eceac699beb3d1c26886002e2671c20f68796f9ba28fefbb46d468"},"taxa":[{"id":"CWE-676","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":"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":"0ace190a46ba6eabec569078cbce412d707010eaad8c6c47860c1d66833efc51"},"taxa":[{"id":"CWE-676","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":"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":"b29b31c8dc5acc45a471cd3211bb88566e8962de975e12815251d2c004dc2110"},"taxa":[{"id":"CWE-676","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":"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":"caa732bbf38f4d4fdc549b3435c7bb34e1d36fb7890a9954041bfadcf81b8299"},"taxa":[{"id":"CWE-676","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":"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":"a74b2abe28b1696da47f2e1b02ad4bbc8b54ac43db8cb60cfc2e18fa755a45a1"},"taxa":[{"id":"CWE-676","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":"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":"935ae94b9df0131a2eda1ba58c059b0e6e0924db729508359bf125e8d3dd8eb7"},"taxa":[{"id":"CWE-676","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":"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":"7c32378c1439a45f177f979f4af8bc9ffc8bd3a27f8522fa74cd96787bf3c8f8"},"taxa":[{"id":"CWE-676","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":"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":"c6736bd396aed87139016c22e115d4eed0fe180f63884e6a2be0484ff0923c09"},"taxa":[{"id":"CWE-676","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":"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":"2a723f1d3da58deda7977d1cf99b04efed49050a5cc362d805ffb4928f8384a4"},"taxa":[{"id":"CWE-676","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":"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":"2175f96fcb6afca096a274c174e6ff09b2e24a3433cbf7458c64a882bf26d31f"},"taxa":[{"id":"CWE-676","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":"7fb0ee21b849403cf3216b5f274cd9d223a3d26edf88799da56b80ea679a6eea"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b0c4e0adb7f6d3c067fcc39238ae6a8c8abfd1a760ac0f69199c3a50f8b2e56"},"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":"34228d9fe953192eb24f1263f4cdfb735734b6f845f4ffe395098747241916e9"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"dbebf8a2b62c5e9832692b70f83707b726ec8602ae6f963dad5634e3b5ca5742"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"49703f106846e81fd6136ecad98b4f73c0f66eef22f62b2e26d7be2384f58db6"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"7d8c66d47ad06f4bfed1a27f420d13b27dc323e3dbc6a2737ea071311ed82458"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"68656b51858da4302253430ec545bb02198df74f396cbb61eadf396c1ac9b61f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"6faadefff3911ba3f33e403d4cbfa82709dec01961493b8b8bdd3e950879c355"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0fa08d639e3e8e89afce1d4697ae842fa13d0f3d0b6fe87027dd1c382e7216f1"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bc4a71b0ef6021a5fab5c1eafbe9faa74f12ac14dcdcb2a144038e01db16bd9"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edbecc5da4601fb5d08bb0e0a709e81dde83e948f9fd6ac619555aa412007fa1"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fca6f26364b7a03dbdc619ea27acb2b0f583ddc1d9703db8b10316e3ab7b3ee7"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1986a0c47a7e6c5579e442f45a4351b7d69b5c7e0d1dd0d6a9d326c2e38d1949"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4397ed4e53073ae3c3e6392797116c699c71d39876c6eaef82f4dd0df57c916"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"df2d4e6e1b5779e64727fce99007ab7275d42c7b9ce25476f73a570cc93ae900"},"properties":{"dependency":{"package":"io.netty:netty-all","version":"4.1.35.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.1.42.Final","reachability":{"kind":"unknown"}}}},{"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":"dec38e0fc18cdc5992cebd8b7b52da1614cc962644a231bfe98364b335234319"},"properties":{"dependency":{"package":"org.apache.logging.log4j:log4j-core","version":"2.22.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"2.25.4","reachability":{"kind":"unknown"}}}},{"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":"466494a61acfad602ff6bf38923f54f729b27798d4db3a6062fc953f47319e02"},"properties":{"dependency":{"package":"org.apache.logging.log4j:log4j-api","version":"2.22.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.25.5","reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 101 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 101 of the 142 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/main/java/org/mark/llamacpp/server/tools/PortChecker.java. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/PortChecker.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4c7adc92a07b7c7d0416d3902c470de19fbe645b90acc2d5ae467bcbc8c7df"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: UsageReportService.java \u2194 usage-report.js: \u0060src/main/java/org/mark/llamacpp/server/service/UsageReportService.java\u0060 and \u0060src/main/resources/web/js/usage-report.js\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060a4cd1473\u0060 \u4F18\u5316\uFF1A\u5C06\u539F\u672C\u7684\u6587\u672C\u683C\u5F0F\u65E5\u5FD7\u8F6C\u4E3Abyte\u683C\u5F0F\uFF0C\u5E76\u589E\u52A0\u8F6C\u6362\u65B9\u6CD5\uFF0C\u517C\u5BB9\u65E7\u7684\u6587\u672C\u65E5\u5FD7; \u0060c492afde\u0060 \u4F18\u5316\uFF1A\u7528\u91CF\u7EDF\u8BA1\u53EF\u4EE5\u9009\u62E9\u6A21\u578B\u6765\u67E5\u770B\u6BCF\u65E5\u7528\u91CF; \u006011ed0424\u0060 \u4F18\u5316\uFF1A\u901A\u91CF\u7EDF\u8BA1\u7684\u5C55\u793A\u6548\u679C\uFF1B\u589E\u52A0\u5207\u6362\u4E2D\u82F1\u6587\u7684\u6309\u94AE\uFF1B\u8865\u5145\u7F3A\u5C11\u7684i18n \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/UsageReportService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3e466a6fafd483307c07f9fb80a88b53564bfa2730a22f89a86cb5d9f7a1f7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BasicRouterHandler.java \u2194 LlamaRouterHandler.java: \u0060src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java\u0060 and \u0060src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java\u0060 change together 62% of the time (13 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u00608ab1201f\u0060 \u589E\u52A0\uFF1Allama.cpp-ui\u7684\u517C\u5BB9API\u652F\u6301\u8FDC\u7A0B\u8282\u70B9\u805A\u5408; \u0060e8a07052\u0060 \u589E\u52A0\uFF1Allama.cpp-ui\u7684\u517C\u5BB9API\uFF0C\u8865\u5168\u5269\u4F59\u7684\u90E8\u5206\uFF0C\u73B0\u5728\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u4E86; \u0060d5a39709\u0060 \u589E\u52A0\uFF1Allama.cpp-ui\u7684\u517C\u5BB9API\uFF1A/slots \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f6c9a61653ae0a7e9f9b8fdff218700c0cbe18771aae126644cf3f71fe8eb6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FileDownloadRouterHandler.java \u2194 download.js: \u0060src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java\u0060 and \u0060src/main/resources/web/js/download.js\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00600bbaa3e3\u0060 \u589E\u52A0\uFF1A\u603B\u4E4B\uFF0C\u5148\u653E\u521D\u7248\u7684\u6A21\u578B\u641C\u7D22\u8FDB\u6765; \u0060a11d9494\u0060 \u4FEE\u590DBUG\uFF1A\u4E0B\u8F7D\u7BA1\u7406\u4E2D\uFF0C\u65E0\u6CD5\u6B63\u786E\u5730\u5220\u9664\u8FDC\u7A0B\u8282\u70B9\u7684\u4EFB\u52A1; \u006077138cc3\u0060 \u529F\u80FD\u4FEE\u6539\uFF1A\u4FEE\u6539\u4E86\u4E0B\u8F7D\u529F\u80FD\uFF0C\u5E76\u4E14\u652F\u6301\u8FDC\u7A0B\u8282\u70B9\uFF08\u987A\u4FBF\u5220\u6389\u4E0D\u518D\u4F7F\u7528\u7684marked.min.js\uFF09 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfea4da89b235aa152e1a59c42217a42d786f97d4cc67d2147ba8aa564390e0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AnthropicService.java \u2194 OpenAIService.java: \u0060src/main/java/org/mark/llamacpp/server/service/AnthropicService.java\u0060 and \u0060src/main/java/org/mark/llamacpp/server/service/OpenAIService.java\u0060 change together 59% of the time (20 of the 34 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 20 shared commits counted here, the most recent 3 are \u0060abbd68ba\u0060 \u8349\u7A3F\uFF1A\u589E\u52A0clone\u6A21\u578B\uFF0C\u4FEE\u6539API\u7AEF\u70B9\u76F8\u5173\u7684\u64CD\u4F5C\u903B\u8F91\u548Cwebsocket\u901A\u77E5\u903B\u8F91; \u006010f83b41\u0060 \u589E\u52A0\uFF1A\u6A21\u578B\u53EF\u4EE5\u8BBE\u7F6E\u81EA\u52A8\u5378\u8F7D\u7684\u65F6\u95F4\uFF0C\u7A7A\u95F2\u72B6\u6001\u8D85\u8FC7\u6307\u5B9A\u65F6\u95F4\u540E\uFF0C\u81EA\u52A8\u5378\u8F7D; \u00601e70f16c\u0060 \u4FEE\u590D\uFF1A\u6D41\u5F0F\u4F20\u8F93\u7684\u6362\u884C\u7B26\u95EE\u9898 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6ad4f6e22484e2c679b0023d2cb013fd3a44280df10610c10dabc0fbab9710"}},{"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":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"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":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/html2canvas.min.js"},"region":{"startLine":3133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4bddea69a7bf59ea8ead46e4b2d4c56a4ca13a9449c054c2124618ac6b15b7"}},{"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/main/resources/web/js/html2canvas.min.js"},"region":{"startLine":3802}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b734662115710a60ce3af610a57f16e93c8da9ec154e7f61e75dc3423bbe00a"}},{"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/main/resources/web/js/html2canvas.min.js"},"region":{"startLine":3897}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ab0d7751e18b21b31ae42fa64ce0a8a6c5399964627690b6207cfc9cee1194"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/audio-transcription.html"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f18fdd0a16bd32933c3fe79d5245b6a589288365bcf3677b067447d67ca7e7"}},{"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/main/resources/web/chat/index.html"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77ec9f341e9db0db127fdab150a0b9fbccb422ac2a9aa616354f06d34be7413"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\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/main/resources/web/chat/index.html"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d8a889ed6f31e8f97b7068f89f34875d3d617dcce5dfc2683bf885eb3021de"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25456f39b01eeb9ee245cfafaddbbc6d65a944b521de82b79a61f0b5be71b6a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca23cf6bc80173091f37b6beefd2b9474c2b3fa91d0364c357222ddd35b28674"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"46834676be5fc9ae1b061f9e02ad3bd91096a2809ebbaa0523bf7b3773167621"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec86e80bdf4322ca485d3884bcc6814d9e678f8f901d3812816f8370729bc58"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"a313f2b58a917a43fdba21638f3be3014d3959b84967f455ae7e7b2586e25c1c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61dcd3f9a7b16f14fe34cd4159b550d80411aca26cd808247e8842795919830"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cd0951757b8b7c129b04a8e2f9569eebf7ff7754edfa645027bd270e5d899c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"022fdd74ac0d7a5717d3d3ee60b151d779fc021a8436aada3ae9eecbea9a4bfb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba4eb6fb3920a34b16ed3a35ad90ee1143367b8d6815b0a285ef3b44a157d73"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"f344ad849abc8a52719b08d007b0634be5823f8bd0cfd9ea66a80a71aa191aae"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"56310e6f2902023f739d20986980e6aa8843bf89ea6975c048c31f9246270ce1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8b1d67b2ac3994014372539334ff6dbfdd6c35fdde65813de07402ded665ea"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff11da85ba8d652a1d49eb32880a260179fec9e01a31f945ddbd3cf272a2bfb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"828c6517229dec8d82fcf498d824877138692c8dbef6dedf7dcb4834669a9ac4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"de15d97b420fbe2829ef291921acad12de7d771b033a8d2d69b5822e1e6f62e4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"b799cffe94a9265733f27160c24edba77d5afe6526b24e85989fd1f3ee054300"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfefbe6e739ed3714fc9f9def167b9c9237dadc251a0877a39cec59981537449"}},{"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/main/resources/web/index-new.html"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"058b1f3aaeda272dca655bc7c132c91218a503760fd9dad6de9a2b1d554005ca"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8ba744de045b2bc5d983cb428c526ce33cd6d1b210c7ca4e0996226ca65fba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1b76a305d6026664b2ee560802780760d6bbdf594bbec99485395f717f6c0d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd66baf31d4b3d34ad4c80b7a3670d70ba7328a457fd3113edf428037e43b937"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3a5f7e312454f2f35c322dbdfc98b7393f01a7bfde63ec77c97122b412a9df"}},{"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/main/resources/web/index-new.html"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"13be81cd987c57db1a3267310d16aef3068c851bf571ea84ad60258a3c8ad8e8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04ff2ae5aa63dfa4c2a1f032da6f169f640143409614f513adc95414b337adb"}},{"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/main/resources/web/index-new.html"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb5f9e2f372ef1b4a6def034f009433d017778f45c63317b41b5f67ff213240"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9e8ef14b0020fdfdfc484dc1e63c5cf55abdc8f293e9139fd326c52b71d63c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"c121d28e07a69481bc48b0a1ccc58fad46dd931c08cb00c1213fc1ecf008dd66"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ad2b3910be5015aefd33a8ebf9efa9f77aa64c0769ea0003d6741e8fc42a50"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7645da11fa6e88ec102ff67714e5248e2ebda6edea1716733dedc5c548c3fe"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"392c6a9333fd9e5a327df47cb37c1d0d6b76e4741bb3e7d5ec798fec8039b57c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cb7f427b027455580d0aee940c466a299acb7862d71859088bbbf94d9bf16d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b507dab40d3503cecbea41f071db4eb0364a2a11f80198ca438798d956248ccb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b0e003f960cea64c9c39aab606b7fdfb01a684ac454c33fc3b520c34bd5507"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f60ff10662cd8bfdddeb207b5d1ad59bdff18cc3edee18ff825269310f7f4e9"}},{"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/main/resources/web/index-new.html"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bb3461344a8b4b577e481f61e0707521b77dbbe89b9a2d350fb4a96c591ee8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedefecbbbc57dcdfd747600f4b31fb1456c66810b0fd35602566e722d595e22"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"401e5ce23daccf322210acfc2e8c8101f8ca8e478532a82dfbd814638ecdc211"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"617e1a34992ec9f4e0692abb89021a431ed4d7a9ab89cc31d0d9d66a7e38ce69"}},{"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/main/resources/web/index-new.html"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da278191712d4e5faf258ebc7e6a34618738afe869ff43d888475832ddd543f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b369cac2c16b586f52da0654eca2180f11669f95021e80cb818942cb99fe059"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f3ebec3d7e792726f0b3ea3eb82dc7d5580ab3021e4125c9658aa3efc2e2cf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76a3b225590bcb08656c2449c73e3fe1fbc07a273368f24304b3c7023f9132a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed2a11afb694567b6a90ebe9a0422fb06d8417ffd9ee0308e56349aa67dc897"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff1162c2e7f204401706870ee6b5e6fc9de36f101b874bd4d8660b30fd5a753"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a0a9f7c96bf14bebaedb786c24c50a8c230ec5bfbf97e46513fa1776f55e43"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"df84f6f250d5a5b7a7341839b8626c6b0082baea25cd6e1e74365da5e2ce6ae0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c98cc441072fde0c9baa910a0536a915e4e8e526a963ed8d8fd7d5e9afd9e51"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b4b02327945e7cb03fb24c29bcfd7a233006e317f4190b70b3ef0c378b2f09"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b0769dd9be9f86dbbecd3f66852442be292d830132901fdb0985570246e30c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\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/main/resources/web/index-new.html"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"74de915862c10fdbdfe8e1a8e76a522b390da36d1e25c7169cae89f6fa1f90a6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f26fef1579c6d5733dd3f73d54d6bb44b2734ce499aa9b29bc8d03d7c89b20"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\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/main/resources/web/index-new.html"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad4ae6fee71d804c8eb31cedd769fd35f2fdfaf68ea82f402c555e9747cb6dd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9156b5d1921e906ea457c19e4934891cfb82e093e33db3f335568037189e421"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23407dcf7115f8c099bfcf491a0beb7902beefa141c5563f0cc9c7b1b028351"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89f239c231630dbe59cfd50ab272794562dfd8d3eec6a5413b7fd24fa7bebf3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7e4c24de953b8bb629c6f94dd97c4d6286747b8e7bb50be8f890e5f48408f7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d48326953463c3b34622b8089e50d08f2ea1d940955d4a82a30e75ba25f887"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3960ffcc5fbdcef4b7729997a8eb5a651f51a3a2a3d6c2ce0ca0c2f63802d4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2fb91963d04d9647ab23a9ac83d672472689aaf5220754a74c1a3a6fa2172b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"186ae00bbead89fc08140c5d2ef724afcb996a1bdca4f322053343f8cba427ba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"11927d38b26560a63cb047ccea0daf025eba4faff3861792f3adf78c7dfb6d68"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ade487a2f82eb918e6a69839cc88ea2f85c665cb7513282215919b65e300f72"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42b7184e10dc340672106e2b9e10bcaa641d4fa6f6b2a39da61a43ae1946d95"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38fcbdec053afbf88a8c277b815c721aaee31b6046fca48c89a74d8ffa050c8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf9b3f0f392b9070df35d54f6ca450c699872fee888a412f929e5affffd1272"}},{"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/main/resources/web/index.html"},"region":{"startLine":2576}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ce08a4351f58053b5374b56ac82656e4cd1ccfe9e023409d47dca8d81d0c44"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2153f8f014d9e35bdbf53f0a3e58734dd36fc58272f5e98d3685fbc2a2faab"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2590}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3e08a1c19961801be565ba47e0e760300f4eab8f0dd7ab84649e31e1e87250"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c87ceb1442d92ac2b00665b46da029f2b7dbd8990e5cdd54e1b594f8a41c675"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f3889e5f270551c4cd8808b1aa08255661ea24b9918f48833be8578381423b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d0643fef4b0870bc9c96c19078c3314581002b4e4d4da6895cf5a30aa465c8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"4932ef575b9c16a45726cf01c2995c90dd1698a7c6f4b3780fda9f99083555da"}},{"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/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b2197798cb7cf69be9480ad798a65ef84a6957480a92bcd222bc97159637df"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f790dbcee22d627c7578a94df9b8bcaaccd2132d00ea126b5143c0570b50c4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"664a134bd1eb2f9ab6fb55d9f511a09338e66433c9c300abe5a53225cba6d6bd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d02eb8c866be5ddd699ef2faa9b1a9701fff5fad2ebc0940d04ad287f975374"}},{"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/main/resources/web/js/newui/model-config.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ffd82edc9335f550bac23e378d4f776357a6d4aa9464105a2d82e111f4e670"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/models.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"554a3425f520546548d1fd1a3a8e1cd20df1254b45798c37203fad3ee9a5451c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/models.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5ca257839abb72bad622492f0ef26d92ae6036935b5791240d6fdba66af3eb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/gguf-mem-test.html"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cbca6155bba09041fd9ebe7689ec27cfca77e8e0cef44d4cd4155747c05d8a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/llama-build.html"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d3762e21fd702d99e9ada9123bd77b8f8bc71b9954c45dc74eb8ca85fb4b69"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/mcp-manager.html"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c6f86025aca0b539a81de3ff8aa95fbbfbcac1153dd56c8e7016a6120927f4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/mcp-manager.html"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df619eb6db3ccaeb49c0a05d4c6c2bd4bd2d821bc54c0371f04d73eea60c4b3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/upload-test.html"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ce7daee2234d81704e93959db34a7c3d554a6b3373000d61ce4a36081e93b0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/audio-transcription.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"10807fd4cabfc68d421bcff02733e3d9980d186ee4f24a5e1ed5a89a6167c103"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8335a27a73c55fd5f37a612e2d2351f095e3935da4fb4e28677f08c9527ebfaa"}},{"ruleId":"AC3","level":"warning","message":{"text":"Multiple navigation landmarks without distinguishing labels: With more than one navigation landmark, each needs an aria-label/aria-labelledby (e.g. \u0022Primary\u0022, \u0022Footer\u0022) so assistive tech can tell them apart. At least one nav here is unlabelled."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index-new.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b401b9ff3fd4b8a6b2eb2858ffccdbd98080be2b06e12abb15f62714e96c5832"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/benchmark-v2.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d872a16717e4c19f73e456010a85e14f7216f7bf21deade51e28bdb206938f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/benchmark-v3.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"298096a0c6a1ca66f8bde1d53497fbfabf86a58e4fdbf002ddfac2b0f09d6484"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/cert-gen.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf58c8741f5d9c34c1ffce6a77612ac08016a4e6e84a683a606d82356e30fc6a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/gguf-mem-test.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f5cef2be6a23665aaaba065d9a3839fe21f185bd4a3942fad9b4c7bdd0d798"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/llama-build.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0129bae1d5f100699fde5345561796e77c92e4db0062436e2b7cedac8dccde4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/mcp-manager.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"298ecc53045cb3d6a894b0f8f0da0d8fd7623be44a1945ea6d9544be05588d30"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f107bfbdc26584d8f45992b0d011b2f13eec42da24691274b97c1baa68575fc"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/perplexity.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd6a8df6f5b77ca6114eca1155d49a34fda2b6308761af6ea12b01093991e7c"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/upload-test.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"151c8a963353d7bbb9598cbd0527aa732305060d157cee3d12b1560d3a967a0a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2241437778520cebecf9443e505adeca103db6a300af2746cf01e1e7d689051f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f47a4a313c7fb689a477e32f1312f8d75a4ec8eaea76a04fc0a5d5c0b4d7e9b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.html"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba43a0ffa661912b047acc2d45e88e78ece9115d9d86e5b78799660f1b7f45e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2421}}}],"partialFingerprints":{"codehealthFindingId/v1":"a015b9489c6c7ca7074bd9362286e59d2ac8451547372e91b085fb3dbaf5cdae"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2429}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e61865ffb72c472129489fe61a969237f085f8e212f397e3af8cf1c66bc316"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a53c60b30b9f79b30143f048b9a9c5c2cf6f8d406306de34291ef69af47a75d"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81fcbe460db9616f0bf4fa9021bf2064a20f587ad59e78b41a9478d05f9ad58"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ed17c30462c74da930ca0ed51b6c4f0e9207b1bef692e309138a175bd98d85"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"7446772ba21ba23b87a3b99538c285d8fe4e8c6e9113c2a4ab3458e579a80207"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2449}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec9823aec237dd99b3a681d6a6ea48c70aaf298cbd9607cc89bd14998d83043"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d532eef3928b7995b7985bccccc5d39c95e3e761c60384d6750c5a8d0e66f3e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c75fc0618a4d74a377bcddcb1aa4e6a8be0c0ff0b7e95973b23ada0286743c"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .download-name 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/main/resources/web/js/download.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbca63a48c49d05843bb5a3ad932db0d6593b5edd62ea222c1d0376339100f4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"440791e1b99a6fe976c135b294c2c6e81221a5becd77bb13f5c04ea48714e4c9"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .set-link 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/main/resources/web/js/newui/settings.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"53397161a054ff54b34bf84d8e7c908ea8e68cef608b871bd85b0d082e41eb07"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .model-name 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/main/resources/web/js/settings.js"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3b44677f493b662efd04f23eb3e3ff034b27cfaeb77dd3c950a68bf873fc9b"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .model-name 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/main/resources/web/js/settings.js"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"2499149fe8a11ccb2854c5d18693427a8410aab024bd0a17d290ded26c8fd033"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .toast 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/main/resources/web/tools/cert-gen.html"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"07da356b5f229fcda2c958f07500a2a1ff729599fa6e0b406c0969eb20f5064f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.submit-btn .spinner\u0060 moves (\u0060animation: spin 0.6s linear infinite\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":"src/main/resources/web/audio-transcription.html"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b0735674a3a83fab756636051a1dc0d03c78221902f658a4f97803a58c3966"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast\u0060 moves (\u0060animation: toastIn 0.2s var(--ease-spring) both\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":"src/main/resources/web/audio-transcription.html"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c30d8a8156d25e4534b6b5d5b672be37dd72e01fc88428b563dc265ec5359d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast.exiting\u0060 moves (\u0060animation: toastOut 0.2s ease both\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":"src/main/resources/web/audio-transcription.html"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"779097a14fb95e4b23e445b7b49a15884d7c268e2c25ff33b60a5a8c14295dcd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.audio-preview audio\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":"src/main/resources/web/audio-transcription.html"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f98057315a997affb85ab60a56487f077fc84e452ffb931d591b3a5cfb748d3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sidebar-quick-links-chevron\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":"src/main/resources/web/index.html"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"673048ca232ab9b28c0d51de4e413a1307495e74140d05a9d8638ea08cd58839"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sidebar-quick-links-list\u0060 moves (\u0060transition: max-height 0.3s ease, opacity 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":"src/main/resources/web/index.html"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e1e83ab946f561340a7c355de7ce42b5084f17369dcd55e86fdc176fa24330"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#main-benchmark-v3 .param-group-summary::before\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":"src/main/resources/web/index.html"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a514a39bc4bba4d6373226a46c9fce902a8abdbc1965915d24c7030d76f758e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#benchParamsModal .param-group-summary::before\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":"src/main/resources/web/index.html"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"18529fbfd71f1a6cea8abd616a9be5c0bb24d643a3162380655d11ec60ef1ae4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#main-settings .llamacpp-asset-progress .update-progress-bar-inner\u0060 moves (\u0060transition: width 0.3s\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":"src/main/resources/web/index.html"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7c9a667764374df1c91166b79104b8b0439d57bd1304a9c2be3dc15cf31d19"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#main-sysinfo .ff-progress-fill\u0060 moves (\u0060transition: width 0.3s\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":"src/main/resources/web/index.html"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a34932bbfc0e56a7ef4223e4474d2b3c5aafba3159a8026d5924ae14dc3c7f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.3:1): \u0060#benchParamsModal .param-field:has(.param-enable-toggle:not(:checked)) .form-control\u0060 sets color: #9ca3af on background-color: #f3f4f6 \u2014 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/index.html"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5fd40ba92f588f575528b7a6220a93d934df4c387d1cf87ac6894f50c786d2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.param-group-summary::before\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":"src/main/resources/web/tools/benchmark-v3.html"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3aecf957f616d0cdb6a9bf3ae722f1a0631786ed1ffd962c723c804340d82f3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.3:1): \u0060#benchParamsModal .param-field:has(.param-enable-toggle:not(:checked)) .form-control\u0060 sets color: #9ca3af on background-color: #f3f4f6 \u2014 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/benchmark-v3.html"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0edef7f10067eb8cf88c127d79d45e156d6fca5c376a883ae98a5320279a350"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner\u0060 moves (\u0060animation: spin 0.6s linear infinite\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":"src/main/resources/web/tools/cert-gen.html"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4383cd839626c2e5fb80f5850bfaf2f6a746737ac26477f305356f763af12d5d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast.show\u0060 moves (\u0060animation: fadeInOut 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":"src/main/resources/web/tools/cert-gen.html"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c732dcede33561aa39608bdba19b82acd8a0adaac32bc0795996a83db4dc743d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.btn-success\u0060 sets color: #fff on background-color: #10b981 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/cert-gen.html"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d2223d8ae01eeb3c459dd7f3adb6f6132857c2f1f2dcfc724ebd226e58bb1f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.toast-success\u0060 sets color: #fff on background-color: #10b981 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/cert-gen.html"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b7ad56f9a654ae5725de9f8d5842a8c9bdbbaa7dd2cc5d864c0d468878b7c3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.8:1): \u0060.toast-error\u0060 sets color: #fff on background-color: #ef4444 \u2014 3.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/cert-gen.html"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e008b86168acec4ec19c5348f27c6ad5e9b664f98125bdef9e1b425392d8268"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.param-section-header .chevron\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":"src/main/resources/web/tools/gguf-mem-test.html"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf630e4ec89a3286266ceef9a1fe1ef8ca72a61f87a44b59f1034217c02853d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.param-section-body\u0060 moves (\u0060transition: max-height 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":"src/main/resources/web/tools/gguf-mem-test.html"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9696257548dbedd8aae81a404cd9ecc95de4fb33a24bd7ac1b3fd4af784103"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toggle-track::after\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":"src/main/resources/web/tools/gguf-mem-test.html"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3380b3fb0a3e0556c584678159dbbbcd8910cf63c292557cb857c9740b082011"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner\u0060 moves (\u0060animation: spin 0.6s linear infinite\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":"src/main/resources/web/tools/gguf-mem-test.html"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc66c727023df2485b527e043539be5cf0d230eb77abd4058250cd5c7c40dd2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast\u0060 moves (\u0060animation: slideIn 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":"src/main/resources/web/tools/gguf-mem-test.html"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cddce04902923598c168c4cacafa7c1459388f0c44da36a3f5a0a0a77dc0692"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.device-tag\u0060 sets color: #fff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/gguf-mem-test.html"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a050fe34d140aa5b971120c06d9ecc0171afec9ff50a6218b2ea675108d0debf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.btn-primary\u0060 sets color: #fff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/gguf-mem-test.html"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41a77176cf7457cb8f91e8f98f724e3cb5bc8c56e8a606aa33bdbf6eb36226b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.progress-bar-fill\u0060 moves (\u0060transition: width 0.15s\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":"src/main/resources/web/tools/llama-build.html"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef98629e776ef0b64cb905988b4b1998d2a641cbe4e3a2255602df33df67480"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast\u0060 moves (\u0060animation: slideIn 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":"src/main/resources/web/tools/llama-build.html"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21a9cbd6bbf00990ecc5069c0454f11b06fb7a299c0638e75533586db8a8612"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.preset-btn.active\u0060 sets color: #fff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/llama-build.html"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61b9f87036e661e6cbd7e6bcd6837e16068429940fb52dfe99bbe2c7b4c0a16"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.btn-primary\u0060 sets color: #fff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/llama-build.html"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5111703a7e89a19c56a31f0862a3084cdb757fd3a69935e3117baefedbad77d8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.8:1): \u0060.btn-danger\u0060 sets color: #fff on background-color: #ef4444 \u2014 3.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/llama-build.html"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b749e38aac5cf7e5f0b54081a65af882afec2f064173cfa4f17ff1b7784fb1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.btn-success\u0060 sets color: #fff on background-color: #10b981 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/llama-build.html"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c312d44c70a2e625d93c47cfc929f2862ebc76cea4e7b5e63868f64b3c4854"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dlg-body input\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":"src/main/resources/web/tools/mcp-manager.html"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1332d8a0524a19e9d6e9a4410b74edb2401d43d0a347ff5bd91197f5efe333ab"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.progress-bar .fill\u0060 moves (\u0060transition: width 0.3s\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":"src/main/resources/web/tools/mtp-bench.html"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c040dcecddb6689ab1135d58b2be5b12b118693e28a8e3654ca38f4ed1b06e5e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.progress-bar .fill\u0060 moves (\u0060transition: width 0.3s\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":"src/main/resources/web/tools/perplexity.html"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb59dc14bb966ef8dbf347aab047aebfd6e290c7447f3c2251263c3b14814a21"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#perplexityParamsModal .param-group-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":"src/main/resources/web/tools/perplexity.html"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88b9556f264a871fb611c5ab1380d5a9dde8716642bad618f6ccc9667e9919a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.progress-bar-fill\u0060 moves (\u0060transition: width 0.15s\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":"src/main/resources/web/tools/upload-test.html"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76fd34119cf9c1094dfcdaea22a5a9d8251fb5a4f71a6defe12d5b71d84dd7c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast\u0060 moves (\u0060animation: slideIn 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":"src/main/resources/web/tools/upload-test.html"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"09892bb2889d2398393927098bddfed04117f663f92308c8f2fbe94ed1b61bbb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.btn-primary\u0060 sets color: #fff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/upload-test.html"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5a148eb91ccf8204fc22ca38f89d1c22fd3b20131ad778b82142ff7cc307fa"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.8:1): \u0060.btn-danger\u0060 sets color: #fff on background-color: #ef4444 \u2014 3.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/tools/upload-test.html"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c42ed933b523c2b569c6455eedd83cc08cc71ee68354843651125861928c44"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060[data-theme=\u0022dark\u0022] .settings-tab.active\u0060 sets color: #ffffff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f65b60c80766c424d130eb3a5aeb3e6dc61785773a9b44c88533fca7900a2a9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.btn-icon.primary\u0060 sets color: white on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"887cff8b8a758fa1b690aff7184919497ccf1bb5d1e539a0de4dcf2477a67c04"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060.btn-icon.primary:hover\u0060 sets color: white on background-color: #6366f1 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6efa58ce7d05bb73d3b1f9b389719c50a87b9528e0e9b4e8149d4cc84d45f63"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.4:1): \u0060#loadModelModal .cmd-mode-help-panel\u0060 sets color: #94a3b8 on background-color: #f8f9fa \u2014 2.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2528d06c95e9bec07a57551d65939b4d8d6ff368db271cc1bb9800b4d8744ac"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.3:1): \u0060#loadModelModal .param-field:has(.param-enable-toggle:not(:checked)) .form-control, #loadModelModal .param-field:has(.param-enable-toggle:not(:checked)) .ordered-multiselect-section, #loadModelModal .param-field:has(.param-enable-toggle:not(:checked)) .ordered-multiselect-option, #loadModelModal .param-field:has(.param-enable-toggle:not(:checked)) .ordered-multiselect-selected-item\u0060 sets color: #9ca3af on background-color: #f3f4f6 \u2014 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f65eec59c28b7c6d97174c94a7c75b8740396e219c59b26d7ad67c026f89ab"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.3:1): \u0060#loadModelModal .param-field:has(.param-enable-toggle:not(:checked)) .btn\u0060 sets color: #9ca3af on background-color: #f3f4f6 \u2014 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfc738deaacdc2cdff37a904c6cd90397b19b5c48157bca42043c8e48f2f083"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.btn-primary\u0060 sets color: white on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bb24604b98f4805ac567d73f7bedc67881c9c9ff6425b09062d52b032338b4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.8:1): \u0060.btn-danger\u0060 sets color: white on background-color: #ef4444 \u2014 3.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"746ce38b0d5b44f9f7098e38ac470356c4ed38f863ee5ead6af23d9b908e3b63"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.update-result-icon\u0060 sets color: #ffffff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":2613}}}],"partialFingerprints":{"codehealthFindingId/v1":"438f61c9745c96ad5a03f1bbaf7a1d207338ca668ac345b4733ed4b8875c99df"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.btn-success\u0060 sets color: #fff on background-color: #10b981 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd340cccdbc1aec95fe1d694864fc50caea8bd9035c2c5709c0f199d94482ab"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060[data-theme=\u0022dark\u0022] #main-settings .btn-primary\u0060 sets color: #ffffff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/index.css"},"region":{"startLine":3035}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddd1fe65675f51a56f931746c7041d011224a5aa2b96044228ecd52b9cba1ff"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.9:1): \u0060.status-chip.loaded\u0060 sets color: #16a34a on background-color: #e7f6ec \u2014 2.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/newui.css"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cab5bea184772c887f9e2418e93d36e3e837838f9dffb6f8372dcb599cdfb02"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.9:1): \u0060.status-chip.loading\u0060 sets color: #d97706 on background-color: #fef4e2 \u2014 2.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/css/newui.css"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e799d4e3816b056ee02b44fefe51a0da2ad7ab0e92cd214472be2b9a7436ef27"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060[data-theme=\u0022dark\u0022] .msg.user\u0060 sets color: #ffffff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.css"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d51b22455c39d2681285e4fe4a4e3fac5dff3bfc6335d218d9c123fe3090d4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.primary-button\u0060 sets color: #ffffff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.css"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"145254160d20558286316069b9ce259d0691369142c2f149b7a81f8a8eecd05f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.assistant-avatar-preview\u0060 sets color: #ffffff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.css"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdb7b9aca4a7584fc4321fec9978f02fcba5bcb030264ba369fb95693998097"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060#sendBtn\u0060 sets color: #ffffff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.css"},"region":{"startLine":3879}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90f631f7984ff4c00e4b7951988a265a404eb192b67047c6f5ffd60b7ad651d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.8:1): \u0060.audio-recorder-record-btn:hover\u0060 sets color: #fff on background-color: #ef4444 \u2014 3.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.css"},"region":{"startLine":4461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96efd49c2fbae7705257938eb300d911f52ef8b6bf9f87d7e41ecba8daf7c9a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.8:1): \u0060.audio-recorder-record-btn.is-recording\u0060 sets color: #fff on background-color: #ef4444 \u2014 3.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.css"},"region":{"startLine":4470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d279e600f4ea65935706a57bb178d67155f4d7481be5aee8e4740246a42bfb3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.audio-recorder-confirm\u0060 sets color: #ffffff on background-color: #818cf8 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/index.css"},"region":{"startLine":4548}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94c014c2ed5b50fb3c1290ca7aade332582c60158e9539185e7f8894e9c4419"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.search-wrap input\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":"src/main/resources/web/css/newui.css"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb9d94ba80fdec71eb258b62f8fd569b5a25a41d90b9693884da93e9e8e1ad4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.field input[type=\u0022text\u0022]\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":"src/main/resources/web/css/newui.css"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a02e3769b207e9649bb351a76ec8c143cfc3be2235b66672b92ff357335f9bc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.param-item .p-input input\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":"src/main/resources/web/css/newui.css"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"14324ef819df62d9c4d74ef9a5ed5d245ed8748268735f0ceb3fdae2044607fd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.log-src-select\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":"src/main/resources/web/css/newui.css"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"3632a39047858d59b40b49b468a0bf72b781ada76a18af0297ee2877d67aa52e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.field input[type=\u0022password\u0022]\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":"src/main/resources/web/css/newui.css"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"954b792de38bebef801bd9f2015d922618582a50cd0c59035b77191eb562b854"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.stat-card\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":"src/main/resources/web/css/index.css"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f0b475abfb8ad590577e4ea76d8c8ff50dc086f9afa91e87dfa112a6476770"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.modal-content\u0060 moves (\u0060animation: slideIn 0.2s 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":"src/main/resources/web/css/index.css"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ca646248f114defeb179824911a2008fbd4bbc395b11b57dcd10b49dcbad71"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#loadModelModal .param-group-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":"src/main/resources/web/css/index.css"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cd058d5f5bfd522a6a703c7ebffbfa91de4660a2e1cb09363a6eb9620b805d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#loadModelModal .capabilities-chevron\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":"src/main/resources/web/css/index.css"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"860f43a14c2fd5385667970670383d39178e42444a87d89fae812cfc2cfe30ca"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.model-sampling-toggle-track::after\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":"src/main/resources/web/css/index.css"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"c733faa6201d360f43c7dcb8ecd006fddf7233cf5151cf6c31085117cb4601f5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast\u0060 moves (\u0060animation: slideInRight 0.3s 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":"src/main/resources/web/css/index.css"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb65ccf700b8356504ffc2f762cee0b28a03d603e63b69e65d2a7ef07aed9530"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner\u0060 moves (\u0060animation: spin 1s linear infinite\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":"src/main/resources/web/css/index.css"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edb71756f3a32285d25db5039b8d72dc37f6fe688cfe7671a8cb903123c5fe1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.settings-section-header .settings-section-chevron\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":"src/main/resources/web/css/index.css"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bc8499fd146eab10b78e396d8393e7599ef4bc003dbf2e0d9e9db670282d41"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.settings-section-content\u0060 moves (\u0060animation: settingsFadeIn 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":"src/main/resources/web/css/index.css"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4eb6d1ce6867cf6e6552d3732ca5b5a0ebfaed023a8512ea300c9ade5986df"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.update-loading .spinner\u0060 moves (\u0060animation: spin 0.7s linear infinite\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":"src/main/resources/web/css/index.css"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"2956a1854ef5653c7d2680d7c1ac6460d4fad684c2afa6bc4dd503ae9b5c132a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.update-progress-bar-inner\u0060 moves (\u0060transition: width 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":"src/main/resources/web/css/index.css"},"region":{"startLine":2811}}}],"partialFingerprints":{"codehealthFindingId/v1":"5060b4f70e3a7db49f2ce1e5a851c13a39f4ccd0b9f2f9a7be004181d4eea5c9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#main-settings .settings-compat-actions .form-check-input::before\u0060 moves (\u0060transition: left 0.18s ease, box-shadow 0.18s 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":"src/main/resources/web/css/index.css"},"region":{"startLine":2984}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a5cc87d9d7cabba2261ecf78ccc6d455dbe717a9641e7c2608c835f634d419"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.progress-fill\u0060 moves (\u0060transition: width 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":"src/main/resources/web/css/index.css"},"region":{"startLine":3191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63f2d480ce8b04f9bb818469b066b90c2a103fc2a0e3a5361ab6c912b6f4c98"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.dir-browser-item\u0060 moves (\u0060transition: border-color 0.15s, background-color 0.15s, transform 0.15s, box-shadow 0.15s\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":"src/main/resources/web/css/index.css"},"region":{"startLine":3409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c0314db16579bc80635833e9f74c72c5a7468c90d36d7f19860f0b3bdd5350"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.settings-tab-panel\u0060 moves (\u0060animation: settingsFadeIn 0.22s 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":"src/main/resources/web/css/index.css"},"region":{"startLine":3572}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb689e3fea22a061c95105c57ebbb4c360a89b14abc7d785207a2e5656e2e43"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#addNodeBtn\u0060 moves (\u0060transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s 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":"src/main/resources/web/css/index.css"},"region":{"startLine":3682}}}],"partialFingerprints":{"codehealthFindingId/v1":"5412e9e6a38a0cb95f95aed925baa7466e543b73f5214fe59ae0c697f2d51ec0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.node-enabled-switch::before\u0060 moves (\u0060transition: left 0.18s 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":"src/main/resources/web/css/index.css"},"region":{"startLine":3971}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d0c046e37de02ba9f5ff2f8d8c06e353af370dabae5de96bec3f9a32ff499c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sidebar\u0060 moves (\u0060transition: transform 0.25s 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":"src/main/resources/web/css/index.css"},"region":{"startLine":4074}}}],"partialFingerprints":{"codehealthFindingId/v1":"06589a7c3f0227a0e912db33cf5301e1c69c5c7881ec9e95d521afdfee194a3f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.btn\u0060 moves (\u0060transition: opacity .15s, transform .05s\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":"src/main/resources/web/css/newui.css"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a6dc48f80403b915a968f9907f6752c5c4e5e631b689bf31e93b13a7978676"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.progress-fill\u0060 moves (\u0060transition: width .4s\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":"src/main/resources/web/css/newui.css"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2b94bc7c37766652fcd9685fb19bf6a43eba66f5e67412a557eda6dadc6a82"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.si-bar \u003E div\u0060 moves (\u0060transition: width .4s\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":"src/main/resources/web/css/newui.css"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75f7ad64ff5d3b38b415272f7329777ba55f9a115070b689cadc4b4143e486f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sheet\u0060 moves (\u0060transition: transform .25s 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":"src/main/resources/web/css/newui.css"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0465dc666de50a28931939ff59a33c3569d7db1003f41cf99e826e035d25a440"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast\u0060 moves (\u0060animation: toast-in .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":"src/main/resources/web/css/newui.css"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5ef013b0292e48e841d831948eb5749f1cf16aade9c0062d2b16ede6e1a320"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.skeleton::after\u0060 moves (\u0060animation: shimmer 1.4s infinite\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":"src/main/resources/web/css/newui.css"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d5ad48bdacea75017ce41a4cd646aeae8af3e6e2852cf600dae4af6c674613"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sidebar\u0060 moves (\u0060transition: transform .25s 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":"src/main/resources/web/css/newui.css"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3330a86f0072de289c775639188e195c7275ec65c267e39f0b106c9e8964453"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sheet\u0060 moves (\u0060transition: transform .2s ease, opacity .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":"src/main/resources/web/css/newui.css"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f7845b825ed8c693d7e5294b8d8a11d59ba086e3685d316137f4fa2f69725d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sidebar\u0060 moves (\u0060transition: transform 0.2s ease, opacity 0.15s 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd840c2dd415eda91e268f72998cddb4e39a799750e16bfdcd9efa061ec54676"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.hw-stat-bar-fill\u0060 moves (\u0060transition: width 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b732e4c95523e4d34f30134b9ad1f715d2bbce14f88c3be4f306a55a47169bc5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.chat-column\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49c88bd2fc58022f69a602e9fed9e1b3c3fa247f7d4f9d9ef7fdc9446d12213"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.message-rail\u0060 moves (\u0060transition: width 0.22s var(--ease-out), background 0.2s ease, border-color 0.2s ease, box-shadow 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20623a862a42d8ed8b5c088e5f53b79c52d84bf7957e4e96bfa81a929e7a84f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.message-rail-marker\u0060 moves (\u0060transition: opacity 0.15s ease, background 0.15s ease, transform 0.15s 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dce3874fc6fe2380dc691b10e6a7a6cdae3325affc766bbc57dd188764207dc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.message-rail-panel\u0060 moves (\u0060transition: opacity 0.2s ease, transform 0.2s var(--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":"src/main/resources/web/chat/index.css"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3c881e25ded9b2ed082258957fc415b3c255bbe05ff98979435fbbd081c9be"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.message\u0060 moves (\u0060animation: messageSlideIn 0.25s var(--ease-out) both\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6166da9d5637210e71ea4da00ba62cf1a2d6c1321da78df03b0d1a1fbaf9290"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.chat-bg-gallery-item\u0060 moves (\u0060transition: border-color 0.15s ease, transform 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d01003d5df44be1909f09c9e7bc22621057f9011aafbf527b8eb26446c6fd4c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.chat-bg-gallery-add\u0060 moves (\u0060transition: border-color 0.15s ease, color 0.15s ease, transform 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c31d82dad3340db8ceb31f653214ba07429140e6971c000a7ccb051a41dab0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.message-edit-attachment-remove\u0060 moves (\u0060transition: background 0.15s ease, transform 0.15s 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f548ebe79d011b7ee2be17ef45f670d7eccad8d21610ca5665f5f0a21d75d899"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.streaming-performance\u0060 moves (\u0060animation: messageSlideIn 0.2s var(--ease-out) both\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":2343}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da1efef990d3a1c45b47b95963244b81c7b2e78e6c00f13422fdb5bda6e362c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.reasoning-caret\u0060 moves (\u0060transition: transform 0.18s 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ad58be2a2f0c5f883cf025d1e032176a1ddc7702c4049c04fcc5812b3ce063"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.html-preview-caret\u0060 moves (\u0060transition: transform 0.18s 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b1551e14598c97a53351068a188eaa18b96c741195d7ab6887b1f664761feb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.composer-card\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":2742}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09f897bcb9251dd6576b5a8172984321b9b523b0ce11deed7d8a8a3b1219ebb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.draft-image-card\u0060 moves (\u0060animation: draftImageIn 0.2s var(--ease-spring) both\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"a818a669763098eca2f37277e44b7c569d4727536585de1d0b52aa6e7eb4486d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.draft-file-card\u0060 moves (\u0060animation: draftImageIn 0.2s var(--ease-spring) both\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":2847}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3428a6f134e4bc665c74a866d99e3df09367b382edbf765b44eaf799ed2987b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.draft-image-remove\u0060 moves (\u0060transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":2908}}}],"partialFingerprints":{"codehealthFindingId/v1":"962ad61653419d2ebdc1451d95213f58deaf25895c249faec1cbdeb760699065"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.composer-hint\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":3038}}}],"partialFingerprints":{"codehealthFindingId/v1":"47676fd5053ec05a8e892c3aac5d6a526c6325ed107c0260ffdcab9df978adc7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.drawer-panel\u0060 moves (\u0060transition: transform 0.2s var(--ease-spring)\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adcbb3edefc9e4246ec7e2733a20549b9be40353975813c71358579525d722e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.tool-call-caret\u0060 moves (\u0060transition: transform 0.18s 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":3646}}}],"partialFingerprints":{"codehealthFindingId/v1":"0764158f36a00559ff7da255228024d00d32b49a103021df9803de75b0db9f51"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toggle-slider::before\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":3787}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1858a9574870fc60b03316f70a8c931804ca274fed5add785a5c6a3181f6783"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.typing-indicator\u0060 moves (\u0060animation: messageSlideIn 0.25s var(--ease-out) both\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":3909}}}],"partialFingerprints":{"codehealthFindingId/v1":"969c7a67cde2b4558b4e073d7e04df421c3331507b71018e3bfcdeaa818090b6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.typing-dot\u0060 moves (\u0060animation: typingBounce 1.4s ease-in-out infinite\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":3940}}}],"partialFingerprints":{"codehealthFindingId/v1":"559d645f04d8c01ceabc10c54baa36723914e16da18e66e3fae9d507e8d93e83"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.prompt-progress-bar\u0060 moves (\u0060animation: messageSlideIn 0.2s var(--ease-out) both\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":3952}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8670a06159e56106b16559c0d535fb5c9defb3d1108fac74483536c58340b5a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.prompt-progress-fill\u0060 moves (\u0060transition: width 0.15s 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":3972}}}],"partialFingerprints":{"codehealthFindingId/v1":"767364e2292445ea60524b721f349939733c77142c47defeec4704ee9b9f802c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast\u0060 moves (\u0060animation: toastSlideIn 0.25s var(--ease-spring) both\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":4006}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f060e2bf56915b69f24a61ee2a4e9df75612d17b7ced2a744880bcef2d0fad"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast.exiting\u0060 moves (\u0060animation: toastFadeOut 0.2s 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":"src/main/resources/web/chat/index.css"},"region":{"startLine":4011}}}],"partialFingerprints":{"codehealthFindingId/v1":"335cb545ec0be26e8c740206c1acb19c72f46afc5647e3339908cfbc60851e21"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.audio-recorder-panel\u0060 moves (\u0060transition: transform 0.2s var(--ease-spring)\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":4326}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f145ae5c3f03836422081c9af67452b5b47e1a1732f2b11441adc7a30304bf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.auto-reply-spinner\u0060 moves (\u0060animation: spin 0.7s linear infinite\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":4430}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7790a21771cd5c8174eeb121c0fc9f49bfea49f878ac8905857d5c589e1fa68"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.audio-recorder-status::before\u0060 moves (\u0060animation: audioPulse 1s ease-in-out infinite\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":"src/main/resources/web/chat/index.css"},"region":{"startLine":4502}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a37819cc003d5a67fca050e9c578684b64917e46f892f5de174db756d3899f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060main\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/audiocpp/AudioServer.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b43b5251d7c5769597b130c452baeca66537b4a114560f8a47b568ef1ed1fb"}},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 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: \u0060pom.xml\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":"pom.xml"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ba56174326d291606b85af9bcc30fde25dfc5976574bf512182928ada72ae7"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build-and-release.yml"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 28 plain JS \u2014 the untyped files are src/main/resources/web/chat/audio-recorder.js, src/main/resources/web/chat/chat-mcp.js, src/main/resources/web/js/console-modal.js, src/main/resources/web/js/download.js, src/main/resources/web/js/hf.js, src/main/resources/web/js/i18n.js (\u002B22 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2 locations): src/main/resources/web/js/lz-string.js:135 \u00B7 src/main/resources/web/js/lz-string.js:220 \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/resources/web/js/lz-string.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4705604be4c4f1f811e80d26a2677e73621ddf113aa222b391e706faa0c766"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:1512 \u00B7 src/main/resources/web/js/settings.js:1693 \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/resources/web/js/settings.js"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e37e96c5a2330bd4bbeeb407f235421fc2cf991687fca0fac87798f1899fe0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:268 \u00B7 src/main/resources/web/js/model-action-modal.js:414 \u2014 the two spans are one implementation copied and then locally edited \u2014 347 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcbc305174e673105f6b378dfb1a355dab71b777edb093d2c042ee48e0389a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:478 \u00B7 src/main/resources/web/js/usage-report.js:198 \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":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bac4e5deb7b0648d2abd507abbfc6d29c86370ac805c85a53cac213c049b4ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/main/resources/web/js/marked.umd.js:100 \u00B7 src/main/resources/web/js/marked.umd.js:220 \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/resources/web/js/marked.umd.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee7890d70c4e9f7a83b51448fbe8ddd01fe263a24a134a44e6db2d436a60765"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:410 \u00B7 src/main/resources/web/js/usage-report.js:531 \u2014 the two spans are one implementation copied and then locally edited \u2014 283 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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2ba803d208ce5b6fd894760c2250ed07e427a5404b5f2e375c6ef30112ebd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:2124 \u00B7 src/main/resources/web/js/newui/model-config.js:245 \u2014 the two spans are one implementation copied and then locally edited \u2014 218 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1bb6ee31d18a3b2481a536f8dd1bdc520b88ec976218d174e85c5d69a9a6a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): src/main/resources/web/js/hf.js:496 \u00B7 src/main/resources/web/js/hf.js:537 \u2014 the two spans are one implementation copied and then locally edited \u2014 184 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/main/resources/web/js/hf.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9032982c822e2cdb4b930120711422ed46d4e46af4144a930da5acca06d85d90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:52 \u00B7 src/main/resources/web/js/newui/hf.js:435 \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/main/resources/web/js/hf.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"099a92a2d1222ce54aae33fa780f4945b6507bca8e5b2645f6f6361707bab11b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:1674 \u00B7 src/main/resources/web/js/settings.js:1855 \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/resources/web/js/settings.js"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2f4bb6ae5542177f516f50d1ee5bfec1f9f686455a37462b1f6cb9dd35b08b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/hf.js:31 \u00B7 src/main/resources/web/js/newui/hf.js:73 \u2014 the two spans are one implementation copied and then locally edited \u2014 164 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/main/resources/web/js/newui/hf.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe33f950aa96dd58c1f4feb081605975aed0c84b8d9bd056280c5cf819548d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:371 \u00B7 src/main/resources/web/js/newui/usage-report.js:445 \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/resources/web/js/newui/usage-report.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a57948c92e9166e34b89d61c991a11828a73aea013fa8c8ffa3d80a25aa71b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main/resources/web/js/usage-report.js:430 \u00B7 src/main/resources/web/js/usage-report.js:540 \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/resources/web/js/usage-report.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a608e653e3f7c16eead8953e15f2c2d6ecc906169e65ab4e07652b42338fdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main/resources/web/js/usage-report.js:458 \u00B7 src/main/resources/web/js/usage-report.js:575 \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/resources/web/js/usage-report.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b285fc93f5192d611ac9a655ca2b55ad81660b84699eee705e898cc9c98114"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/resources/web/chat/chat-mcp.js:894 \u00B7 src/main/resources/web/chat/chat-mcp.js:914 \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/resources/web/chat/chat-mcp.js"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd7e971c8bee9e6b01e963e302e35328fd1e661cc869d568b4a344951c665b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/resources/web/js/download.js:373 \u00B7 src/main/resources/web/js/download.js:401 \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/resources/web/js/download.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbb55f5dabb206dcf5ec313f06c350c319790934addbbfae0773c279585ced0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/resources/web/js/lz-string.js:355 \u00B7 src/main/resources/web/js/lz-string.js:413 \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/resources/web/js/lz-string.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d249ed2190b830d0f27e1b8c81012c89bcca2ad863d60f165217eb7360e8d21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:1879 \u00B7 src/main/resources/web/js/model-action-modal.js:1928 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f0978bc0e09056b1d8a393a9aebdabee83ffd2716715618f5a2251856ea4ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/resources/web/js/model-list.js:664 \u00B7 src/main/resources/web/js/model-list.js:742 \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/resources/web/js/model-list.js"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa4d23a23149d1dc229107317c30086cbc9663ee1d6b6c873d1748c3a34bed6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:546 \u00B7 src/main/resources/web/js/usage-report.js:269 \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":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5236df1b3a0d7cb34c67a62d161302c4bc936fb924385e2292815694011ee2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/resources/web/js/usage-report.js:402 \u00B7 src/main/resources/web/js/usage-report.js:500 \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/resources/web/js/usage-report.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"7248457c7baffe144a19ad9eea127bcd6367c93ca6dac41d923e3abc22bb88d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/resources/web/js/download.js:14 \u00B7 src/main/resources/web/js/hf.js:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b1bfdb1509ab151535a7b835e216adea9d2ed4e3ba35e9e964c2278e1d71bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/resources/web/js/download.js:626 \u00B7 src/main/resources/web/js/download.js:642 \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/resources/web/js/download.js"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a2d6b3625e296d3833df6eef9a77b8577a592de3b84ce26f2d82c81aab0d76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/resources/web/js/model-list.js:701 \u00B7 src/main/resources/web/js/model-list.js:725 \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/resources/web/js/model-list.js"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c83383d280f9b85863cfc0fe94cce35f3e57f7c3deae9067368e128626af6e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:1217 \u00B7 src/main/resources/web/js/settings.js:1457 \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/resources/web/js/settings.js"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"11250bb63020fda6a53353ba6f046120c7e00cebb171707a1639e7b2d5127571"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/main/resources/web/js/download.js:570 \u00B7 src/main/resources/web/js/settings.js:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 112 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/main/resources/web/js/download.js"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b0b651d98f4c06c31a2d14d71ab01504c9ddb12ae99f9dd955f72994600545"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:569 \u00B7 src/main/resources/web/js/usage-report.js:292 \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":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76890fc9cd234f36e75e0b9e975f8db8f20ce5f9c6fcdf7382402d6981c4159"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/resources/web/js/lz-string.js:429 \u00B7 src/main/resources/web/js/lz-string.js:448 \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/resources/web/js/lz-string.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"995d50cf53f3288eae343c7d502ff20b3f0ed1d42f327ab22e6c4078a3fdacbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:816 \u00B7 src/main/resources/web/js/model-action-modal.js:837 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e03fe14fa0aaa0f2de8ec881f8d9905c7e5edf0146fc7dfd09f4db3bec22c37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:1090 \u00B7 src/main/resources/web/js/model-action-modal.js:1195 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc69a09827e4e362dfc2f44e0e2d090a6e2ba524d046e1874a5a33ffb8407bef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:347 \u00B7 src/main/resources/web/js/newui/usage-report.js:419 \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/resources/web/js/newui/usage-report.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54a196d48503c421d59e471813ccb7e7f809731e32c346a912f94b16eed68f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:523 \u00B7 src/main/resources/web/js/settings.js:814 \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/resources/web/js/settings.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"855a9f7a0682ea08eadf04117cd072e3b0a5156eecaa1a821eb77dfe8b503c93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/resources/web/chat/chat-mcp.js:936 \u00B7 src/main/resources/web/chat/chat-mcp.js:950 \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/resources/web/chat/chat-mcp.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"272e26b7c055165b49ee83b6aff8980660592ee6151e1caab37d26f76dfdce0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:1631 \u00B7 src/main/resources/web/js/model-action-modal.js:1689 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e46ace02494ec02e68c6bcbba601fed664593818147af84220547e78a89220"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/resources/web/js/model-detail.js:196 \u00B7 src/main/resources/web/js/model-detail.js:229 \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/resources/web/js/model-detail.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a61120916f5935fb7f7ae36efde7b2eaa22340fe320dc2e892f686ca9c47d37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/resources/web/js/model-detail.js:917 \u00B7 src/main/resources/web/js/model-detail.js:1006 \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/resources/web/js/model-detail.js"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1deee815084614c3876236ff452a52bade93421e91d814ac78bc5f79f7be56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/resources/web/js/model-detail.js:1095 \u00B7 src/main/resources/web/js/model-detail.js:1119 \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/resources/web/js/model-detail.js"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"254b5d4970526449f5dfdb628aa91546cfe49acab233171eada6853e722435f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:161 \u00B7 src/main/resources/web/js/usage-report.js:137 \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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28573fcca6029fecf9a527571f119a835234ea928b2f6d5af402502f63ec3d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:585 \u00B7 src/main/resources/web/js/usage-report.js:308 \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":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"f467bf3b64b8d3526e413481c76f216dc98878a8a526a2a3f2f5749debdbf6a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:498 \u00B7 src/main/resources/web/js/settings.js:550 \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/resources/web/js/settings.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1b3e86bb343963e11402d0c96363573bae8c01792dd86d539eae4ba9a8bbd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:1634 \u00B7 src/main/resources/web/js/settings.js:1653 \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/resources/web/js/settings.js"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce1ee67e18abebf526bf1acfbea40c1ef3c9d1b04e0237284700e1bf5071fff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:758 \u00B7 src/main/resources/web/js/model-action-modal.js:792 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9bd61fd24a5659317e4c2421c94b900727ad7c220f67f92e1d017b58248538"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:2080 \u00B7 src/main/resources/web/js/model-action-modal.js:2110 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5c6fde2a5737593dd487b83deb3451c258b46f64766bc0a25d4763d14d09f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/resources/web/js/model-detail.js:936 \u00B7 src/main/resources/web/js/model-detail.js:990 \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/resources/web/js/model-detail.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b8f038095880bb19fc4041c1f6b055ebc7ecfd37099924a77fdfeaff9e45a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/models.js:247 \u00B7 src/main/resources/web/js/newui/models.js:291 \u2014 the two spans are one implementation copied and then locally edited \u2014 107 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/main/resources/web/js/newui/models.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eae0914b08b98abf0a4f388c20b8c2d5a3e928088bf33551a981152b28cc7a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/resources/web/js/newui/settings-update.js:121 \u00B7 src/main/resources/web/js/newui/settings-update.js:166 \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/resources/web/js/newui/settings-update.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1de0b8f7687b3cf57827266561653db63273f6c9138b60ed5f5b0f27f10268"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:526 \u00B7 src/main/resources/web/js/usage-report.js:249 \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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"5117d4faf6ac85c2c33d3cd2506b9cf1fb92923dff50ebb0e04e7593ee7a7f00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:1646 \u00B7 src/main/resources/web/js/settings.js:1820 \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/resources/web/js/settings.js"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"98576c4c8eb6c1a11333a7c3a147efab8148a7c1c7df7f7cfb9a9df3c570db16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/resources/web/js/usage-report.js:90 \u00B7 src/main/resources/web/js/usage-report.js:166 \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/resources/web/js/usage-report.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"445174b997d82c56ccdc2b44e5a2e88d7b47ac6b74cd4bd492a2e7fcd57db091"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/resources/web/chat/chat-mcp.js:75 \u00B7 src/main/resources/web/chat/chat-mcp.js:119 \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/resources/web/chat/chat-mcp.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e44e7691e62c0799cfc7e04ba02f4a6485e28c0a1122ef996d9e6814c786f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/resources/web/chat/chat-mcp.js:809 \u00B7 src/main/resources/web/chat/chat-mcp.js:820 \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/resources/web/chat/chat-mcp.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"58116947705503802c7aac1075459c578d8404a13d228a811c52e4d0c145b7ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:223 \u00B7 src/main/resources/web/js/newui/hf.js:342 \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/main/resources/web/js/hf.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f65f67c7b58a3e7b6dccabcd7d4bfa457e1df6a2dfdecce6c37b247f3089ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/main/resources/web/js/model-action-modal.js:1802 \u00B7 src/main/resources/web/js/model-action-modal.js:1865 \u00B7 src/main/resources/web/js/model-action-modal.js:1917 \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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5cba820347a392b6ffd91b0708afc1560f8375c2911433821e2c912842c245"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): src/main/resources/web/js/model-detail.js:1049 \u00B7 src/main/resources/web/js/model-detail.js:1096 \u00B7 src/main/resources/web/js/model-detail.js:1120 \u00B7 src/main/resources/web/js/model-detail.js:1155 \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/main/resources/web/js/model-detail.js"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"799499405f61dc81cda6e5bdc4273361b3a643c10e6642ad0c11eca4461f7039"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/logs.js:172 \u00B7 src/main/resources/web/js/websocket.js:112 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 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/main/resources/web/js/newui/logs.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d03f008e2b6ff4f9a85578bff00cdd1214dbc84f5caa2a3559f5767b9ea5fb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/resources/web/js/newui/model-config.js:391 \u00B7 src/main/resources/web/js/newui/model-detail.js:276 \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/main/resources/web/js/newui/model-config.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ec83076e02f5ae184beadfeffc463fac359262fe487479711e7d6b3e1dcd7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:1661 \u00B7 src/main/resources/web/js/settings.js:1833 \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/resources/web/js/settings.js"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de33234026a317b051575beaa56e9c7bf2640a9bd94f6f804c6791a8f458589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/main/resources/web/js/console-modal.js:106 \u00B7 src/main/resources/web/js/console-modal.js:132 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 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/main/resources/web/js/console-modal.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5351a539c1bec3963bd25cb494077fa79a40c23721ebf63e94c067f67c3ba9e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:132 \u00B7 src/main/resources/web/js/hf.js:145 \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/resources/web/js/hf.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26c0924b86b131fc7c5dcb423e1b90d2cad9de8298336619f8af1073f0743cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/resources/web/js/marked.umd.js:89 \u00B7 src/main/resources/web/js/marked.umd.js:136 \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/resources/web/js/marked.umd.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3af24c06b647befef15f2b0714b52004ca094736985531a17ab3e2b06ca943"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/resources/web/js/marked.umd.js:143 \u00B7 src/main/resources/web/js/marked.umd.js:201 \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/resources/web/js/marked.umd.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a42b847cfe3cfcc86c5aed53b3367277f67e7c85959d538971fa14e4612518"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/main/resources/web/js/model-detail.js:184 \u00B7 src/main/resources/web/js/model-detail.js:1024 \u00B7 src/main/resources/web/js/model-detail.js:1166 \u00B7 src/main/resources/web/js/model-list.js:505 \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/main/resources/web/js/model-detail.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57830dbae3ba9586e45c3750e948d47dcaf414f2c1cf1f7442a0b99ffabb94f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/resources/web/js/model-detail.js:218 \u00B7 src/main/resources/web/js/model-detail.js:1140 \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/resources/web/js/model-detail.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1550469dc69a3582b17afb2d1b21cf0f88cef63f2f6329bad30bb830597f2855"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/resources/web/js/model-detail.js:1082 \u00B7 src/main/resources/web/js/model-detail.js:1107 \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/resources/web/js/model-detail.js"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f9bc87e7441bb978b8e91a83ec5b77cea356eb8b5baa9270a3e2279db74654"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/resources/web/js/model-list.js:720 \u00B7 src/main/resources/web/js/model-list.js:777 \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/resources/web/js/model-list.js"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c5820cb0a049365ba66c690012cd8462175e84344089e381c77cc508312bb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/model-config.js:151 \u00B7 src/main/resources/web/js/newui/models.js:299 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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/main/resources/web/js/newui/model-config.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"79500324a062b798eb521fd1bc4478bbce7b4b02d7e57242e8ea7b4e52f208d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/resources/web/js/settings.js:577 \u00B7 src/main/resources/web/js/settings.js:1027 \u00B7 src/main/resources/web/js/settings.js:1048 \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/main/resources/web/js/settings.js"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf686a79f4fb23b49a72240db6e68244d09f9f8453b6afb9f61dc9067f33d73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/resources/web/js/settings.js:629 \u00B7 src/main/resources/web/js/settings.js:651 \u00B7 src/main/resources/web/js/settings.js:793 \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/main/resources/web/js/settings.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c646c75e92db1e4d59f86775527238e08ab348dd6dd58c4c8a6fdf2caa268d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:2200 \u00B7 src/main/resources/web/js/settings.js:2244 \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/resources/web/js/settings.js"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"da94b078d79f543d3b353e621ddd5b49849a04e861a7f3871d282a49bf0b2c34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:2210 \u00B7 src/main/resources/web/js/settings.js:2258 \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/resources/web/js/settings.js"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fd8a644dd33fb3c7d1e16f42f78772df4e0935dbb7d93a93404ec8e5b27321"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:198 \u00B7 src/main/resources/web/js/hf.js:825 \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/resources/web/js/hf.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"063be666c9ba605c358d333a92d360834c28bb2393ccb78ba1b9d7b6cf5fc401"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:725 \u00B7 src/main/resources/web/js/newui/hf.js:491 \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":"src/main/resources/web/js/hf.js"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"df63f9266ff860c7eeb9cb80b658bd54f217ca05da46f6c4132d7e5c6320233f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/resources/web/js/model-action-modal.js:1906 \u00B7 src/main/resources/web/js/model-detail.js:1002 \u00B7 src/main/resources/web/js/model-detail.js:1183 \u2014 the 3 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"079ec35af50ff40ada8c6db61590ec77516ae3ea0b737c1e3e4e1586819931d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/resources/web/js/newui/hf.js:167 \u00B7 src/main/resources/web/js/newui/hf.js:238 \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/resources/web/js/newui/hf.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad248d6ff03bb6b77816ad0681a35f235a896588165f2fe88ac697170336cee1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/resources/web/js/newui/settings-update.js:290 \u00B7 src/main/resources/web/js/settings.js:96 \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":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a230d498b20631f5bcf9b2432155c311bdf0c23f468b05ebe0b9d1f3dc38d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:600 \u00B7 src/main/resources/web/js/usage-report.js:683 \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":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cfd897d6987611098f63b4d7a5ade0d79b8837a28a4e753dd450705223f7ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:1003 \u00B7 src/main/resources/web/js/settings.js:1039 \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/resources/web/js/settings.js"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab5e8dc711a52f9c4b8e90cd84ff5e56157b84b39959011cf8f20d86520e52e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/web/js/download.js:131 \u00B7 src/main/resources/web/js/websocket.js:82 \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/main/resources/web/js/download.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8732393fe6c250f3d58a006bf9dd274648b4625747ad2d2a705ed1734ba5c14a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): src/main/resources/web/js/download.js:678 \u00B7 src/main/resources/web/js/model-action-modal.js:1910 \u00B7 src/main/resources/web/js/model-detail.js:917 \u00B7 src/main/resources/web/js/model-detail.js:1006 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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":"src/main/resources/web/js/download.js"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9cf22b3d98badd527a7edf4581f233ab0f8e62b0c060dd3f88138c283203e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:693 \u00B7 src/main/resources/web/js/newui/hf.js:471 \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/main/resources/web/js/hf.js"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0416cec2adf242ccda38f70e076ea98e4caad9b04f25c72340c706ed5716be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/resources/web/js/hf.js:952 \u00B7 src/main/resources/web/js/model-detail.js:911 \u00B7 src/main/resources/web/js/model-detail.js:1147 \u2014 the 3 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/main/resources/web/js/hf.js"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"3231e6049ad2fee98daf943c688d7a9030d30d8c459a534d92dc18117623ad88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:501 \u00B7 src/main/resources/web/js/model-detail.js:301 \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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"965784e227aa60b85e0a3ae5570e5abf4b02e3e0183583d1b5335d21d29e188b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:834 \u00B7 src/main/resources/web/js/model-list.js:719 \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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b3113ec2ffd358cb7cc5b6ad91085ad6384f407ac5f574e7e9d58f20b16473"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/resources/web/js/model-action-modal.js:1076 \u00B7 src/main/resources/web/js/model-action-modal.js:1151 \u00B7 src/main/resources/web/js/model-action-modal.js:1181 \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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9915d71cb8cde32f7a2df43a80f21d1107abd90a5ff6789b8361a394e59c50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:1533 \u00B7 src/main/resources/web/js/model-action-modal.js:1548 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"d724260d8da4beab813ad98fbafdc5e81a63b7df64b5c46b2af5dd6a56e7f0ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): src/main/resources/web/js/model-detail.js:500 \u00B7 src/main/resources/web/js/model-detail.js:511 \u00B7 src/main/resources/web/js/model-detail.js:521 \u00B7 src/main/resources/web/js/model-detail.js:530 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/resources/web/js/model-detail.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"a100386162d7f7b2fdbb607de079a271a0803ab0e3e0364a440b7748f7244908"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/web/js/model-detail.js:1224 \u00B7 src/main/resources/web/js/model-detail.js:1244 \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/resources/web/js/model-detail.js"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50d3c86735c14f978b4a23cf3745bfcf70bcffea812aa4652cb97054405bf7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/app.js:115 \u00B7 src/main/resources/web/js/newui/model-detail.js:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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/main/resources/web/js/newui/app.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"63717e386f6aa01208d3c850cad3363ca50d2b2dcf8312cedc758c2490559680"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/web/js/newui/model-config.js:685 \u00B7 src/main/resources/web/js/newui/model-config.js:710 \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/resources/web/js/newui/model-config.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c38ba1dbfdc15165fa08bc0d4f33a18dc29a6a752c99389f998b96469c2083"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/model-detail.js:15 \u00B7 src/main/resources/web/js/newui/settings-nodes.js:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 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/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6a561d6a0cceaf98ad3afe310a3041fc9fad61dc0116694748f1dfdf2a62b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:466 \u00B7 src/main/resources/web/js/usage-report.js:186 \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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b07dd5a576bb4d8558a9dd5a1fa43cceb8c864920681e5481270b0dac1549d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:663 \u00B7 src/main/resources/web/js/settings.js:829 \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/resources/web/js/settings.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fce88f582ad0173b29f3b5286cd178e474cc71c2ce6c1f5427f32b7932070c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:1379 \u00B7 src/main/resources/web/js/settings.js:1466 \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/resources/web/js/settings.js"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e048578de4051ee25a521bdcc43ce6d4c03a52aeda27604237883df4e48887d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:159 \u00B7 src/main/resources/web/js/hf.js:165 \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/resources/web/js/hf.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3273645b0d932c352b420cbccc617ebeaf2526bddf9af43c56ae01c3a2b9243"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:178 \u00B7 src/main/resources/web/js/hf.js:908 \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/resources/web/js/hf.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd1f891a02479b412f1908e0748f314d56d514caa5861402c690ff8473ea1a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:387 \u00B7 src/main/resources/web/js/newui/hf.js:431 \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":"src/main/resources/web/js/hf.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f822e276aef232dafc1374d57b9f58beee36d11b86d09603a106208b41e3d00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/lz-string.js:49 \u00B7 src/main/resources/web/js/lz-string.js:323 \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/resources/web/js/lz-string.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"54106a4e17401753626566bb4dd683e6c3d266961cbac994f905f304fccaaf72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/marked.umd.js:401 \u00B7 src/main/resources/web/js/marked.umd.js:416 \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/resources/web/js/marked.umd.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ec45d7a0f4a1f5b8aa14c9fcdc03c0635b3431a2b6bb617db089d066d02b8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:51 \u00B7 src/main/resources/web/js/model-action-modal.js:61 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e55b2b0d8ff61c18352328cc3b958b979129515922698cef7301202e70a654"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/resources/web/js/model-action-modal.js:782 \u00B7 src/main/resources/web/js/model-detail.js:1085 \u00B7 src/main/resources/web/js/model-detail.js:1110 \u2014 the 3 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"164a39845f10d65c78575e6aff949009313882e7bf6c4d64cd3b1ef03faa931e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:989 \u00B7 src/main/resources/web/js/model-action-modal.js:1892 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a154db78e67a3188faa153703ba16ee14595f42088ea0de4ee0b194ecc92efc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): src/main/resources/web/js/model-detail.js:125 \u00B7 src/main/resources/web/js/model-detail.js:131 \u00B7 src/main/resources/web/js/model-detail.js:137 \u00B7 src/main/resources/web/js/model-detail.js:249 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/main/resources/web/js/model-detail.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bbe346405d4fcd25d121655bae8d586f6a95599834b5989f22355dc98b903f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/logs.js:58 \u00B7 src/main/resources/web/js/newui/misc-pages.js:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 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/main/resources/web/js/newui/logs.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"537ee2e71656255f0002f508745c612211551bad015043d7ca749c92c972b3a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/newui/model-config.js:43 \u00B7 src/main/resources/web/js/newui/model-config.js:593 \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/resources/web/js/newui/model-config.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"209f07fcd5b41ece3020a1d097d882861e7e012e2a160d676ccc0188751917d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/newui/model-config.js:594 \u00B7 src/main/resources/web/js/newui/model-config.js:601 \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/resources/web/js/newui/model-config.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e5defc88d5e8b26ba0e0041c2b28338db4a8d6f73f5618067f3c2311336e31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/model-config.js:24 \u00B7 src/main/resources/web/js/newui/settings-nodes.js:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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/main/resources/web/js/newui/model-config.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdfb079070b1b9dabad9d9bc043c7e35f6114af32398a921bc3138e2f41ba95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:280 \u00B7 src/main/resources/web/js/usage-report.js:652 \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":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"994e24a9ff80f12f8a4fec65cfa55966690242ec7e258d8ea9efbba3aaf5c1a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/resources/web/js/settings.js:1101 \u00B7 src/main/resources/web/js/settings.js:1278 \u00B7 src/main/resources/web/js/settings.js:1453 \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/main/resources/web/js/settings.js"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3327e219a2dedd6c68efe5d9c5f0c95bba7f4e7d81106a5e30ae6c254ed68666"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:1275 \u00B7 src/main/resources/web/js/settings.js:1446 \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/resources/web/js/settings.js"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"c814b6c240c78e12cdc821cafdc865cade071d190110fad8c16d9d726ed18b7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): src/main/resources/web/js/settings.js:2061 \u00B7 src/main/resources/web/js/settings.js:2078 \u00B7 src/main/resources/web/js/settings.js:2088 \u00B7 src/main/resources/web/js/settings.js:2097 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/main/resources/web/js/settings.js"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"961933619214e03e856c9d5bdff81c5c6e27efc24a06510524bf864eb5d700e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/chat/audio-recorder.js:180 \u00B7 src/main/resources/web/chat/audio-recorder.js:248 \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/resources/web/chat/audio-recorder.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e755af6f54d722aac4f8274ca06f10e808d0fa1bfd08982f13ac0675a9ff72a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/download.js:89 \u00B7 src/main/resources/web/js/hf.js:327 \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/main/resources/web/js/download.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"59639e7e93b1d6a6ef7a09dd76089e3804b876c1c2760cd8cfd07c7cfe789c8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:242 \u00B7 src/main/resources/web/js/newui/hf.js:360 \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/main/resources/web/js/hf.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1438495867c1ebdba202cf5f0918dd52c12046ef939a2101907dd72deef2932"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/hf.js:674 \u00B7 src/main/resources/web/js/newui/hf.js:464 \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/main/resources/web/js/hf.js"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7f4b547219e2cf8b53c12fd3357614a0e090b3f6c6bb8637ed573e805a4281"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:233 \u00B7 src/main/resources/web/js/model-action-modal.js:1520 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e1dc5dfd79f26fe711d5299059b0f5058abbe70d2f8fd31e5be5880cc6a082"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/model-action-modal.js:412 \u00B7 src/main/resources/web/js/model-action-modal.js:445 \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/resources/web/js/model-action-modal.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2fb21463630da829763ba4e75c8fe25477062a4054de12dfc9d3f94288b1d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/model-detail.js:434 \u00B7 src/main/resources/web/js/model-detail.js:458 \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/resources/web/js/model-detail.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3dcd8fa4f7bd03b9e68c28be2eb3ff84ae0ad281591c38bb592703dfd30e54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/model-detail.js:962 \u00B7 src/main/resources/web/js/model-detail.js:1043 \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/resources/web/js/model-detail.js"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"2584a24ea78a180e2f1340b27e3649009511a84247ebaf90a67d8c56ebf24f2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/model-list.js:519 \u00B7 src/main/resources/web/js/model-list.js:526 \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/resources/web/js/model-list.js"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f911af87107108f5a126d190cef12a376ac448f3b7f5e4af52a60818af8418"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/newui/hf.js:113 \u00B7 src/main/resources/web/js/newui/hf.js:143 \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/resources/web/js/newui/hf.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f94fcf78face2a6a87294000f981f8e9542f46d8b62a440f19b87fb3ffba51f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/model-detail.js:44 \u00B7 src/main/resources/web/js/newui/models.js:147 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 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/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"789ffb5b2c3ae7d381e531bba1d7cfad2162cf48dcb7ec6c56ffab572a5eee48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/main/resources/web/js/newui/model-detail.js:15 \u00B7 src/main/resources/web/js/newui/settings-update.js:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba25312d7c8806865dd1231f50b462c060aa05e9181a3511e7357abf284da000"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/newui/settings-nodes.js:172 \u00B7 src/main/resources/web/js/newui/settings-nodes.js:342 \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/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaa2f559703052c6e7497cad2bef5ff9beac1be5161abe69459868d02c1c147"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/newui/usage-report.js:609 \u00B7 src/main/resources/web/js/usage-report.js:692 \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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3e579f3b7bf5191319120ede2bf2bd75a42a77b37c7105d7cc2cfffe8b10d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:476 \u00B7 src/main/resources/web/js/settings.js:777 \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/resources/web/js/settings.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b1e49d5f52e9851e3aba14203c61a828981738736edc79ecfa6bbf14d12b26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/settings.js:2194 \u00B7 src/main/resources/web/js/settings.js:2227 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bd8ad4931fb801d1acfb6165a0cfd558fd8569895aa1161a9941f7a79e4b59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/resources/web/js/websocket.js:192 \u00B7 src/main/resources/web/js/websocket.js:206 \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/resources/web/js/websocket.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"da72a402603000417eff53a44401028cdc3efb949fdee45c122136c817f4885e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractSamplingSettingsFromConfig (cyclomatic 93, cognitive 105): extractSamplingSettingsFromConfig has cyclomatic complexity 93 and cognitive complexity 105; 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/resources/web/js/model-detail.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2737878dadc2e26981586868394a43c17d3adb44293b34846f7c1d12dd3def"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCmdToDynamicFields (cyclomatic 81, cognitive 150): applyCmdToDynamicFields has cyclomatic complexity 81 and cognitive complexity 150; 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/resources/web/js/model-action-modal.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"64797e1e5a07c9fc6bb5477cd369dce7833be061090a470c43d1cdd9066bef51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkUpdate (cyclomatic 73, cognitive 98): checkUpdate has cyclomatic complexity 73 and cognitive complexity 98; 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/resources/web/js/settings.js"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f412febb0441cf98b7af8261054a1a3ba1087209b8727b8b1ca84fc40f7cb20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLoadModelPayload (cyclomatic 62, cognitive 129): buildLoadModelPayload has cyclomatic complexity 62 and cognitive complexity 129; 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/resources/web/js/model-action-modal.js"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"7593b8a3a12c2ba1b9f1c4d44a6ccacbef9d6f9913939dbd16c6a86a3ecf3554"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDownloadProgress (cyclomatic 62, cognitive 114): updateDownloadProgress has cyclomatic complexity 62 and cognitive complexity 114; 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/resources/web/js/download.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"427b8dd04524b6d0a81de01c3dc3acfb69eee2dcc2c90797d9cfa1ba78168111"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 58, cognitive 62): (anonymous) has cyclomatic complexity 58 and cognitive complexity 62; 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/resources/web/js/model-list.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe710e039b2fe816dbee71799cd5fc6d36f8ad0b209f650bdedcb2f722e2e1be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 56, cognitive 50): (anonymous) has cyclomatic complexity 56 and cognitive complexity 50; 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/main/resources/web/js/download.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee182529fe6c584c972b45eed753d845ef05a125a3d3f562d0cfb8ba5b6ffc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function token (cyclomatic 51, cognitive 136): token has cyclomatic complexity 51 and cognitive complexity 136; 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/resources/web/js/marked.umd.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"735fe51a471d1033a2112a63c38e163b3691eb9faed46d98665aea2dfd5bdc88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitModelAction (cyclomatic 47, cognitive 65): submitModelAction has cyclomatic complexity 47 and cognitive complexity 65; 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/resources/web/js/model-action-modal.js"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"92083753d5b6cac89d538c0abfd873bd0b2673f07a5403fa07f1d9fb80951dd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createHfDownloadTasks (cyclomatic 40, cognitive 37): createHfDownloadTasks has cyclomatic complexity 40 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 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/main/resources/web/js/hf.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd3950436d815792385380c3807da48588a9ed1ab192444c12a116523a980f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateHttpsCert (cyclomatic 39, cognitive 45): generateHttpsCert has cyclomatic complexity 39 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/main/resources/web/js/settings.js"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ff94fc77993ed76258f1ead31cc9c792f66356d5f324f6dcf1f6ed6ec78093"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _compress (cyclomatic 38, cognitive 150): _compress has cyclomatic complexity 38 and cognitive complexity 150; 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/resources/web/js/lz-string.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21b42a29c8b48a8f786828c42028c6eaaf3f0e5bc4b30a7edefd9ce0dd5ae53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreUpdateStatus (cyclomatic 38, cognitive 65): restoreUpdateStatus has cyclomatic complexity 38 and cognitive complexity 65; 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/resources/web/js/settings.js"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"511c401c1f3387986a8ea81058f3995efec08848bf2cee4c4418db628d9815dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMsg (cyclomatic 37, cognitive 51): onMsg has cyclomatic complexity 37 and cognitive complexity 51; 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/resources/web/js/newui/app.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceea5d470fc68415b050b737b7b9200d4497efefb154b2df0bec9e17ac33319"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decompress (cyclomatic 32, cognitive 69): _decompress has cyclomatic complexity 32 and cognitive complexity 69; 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/resources/web/js/lz-string.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eee574e8c5b43983726f93fafcf7e95195b0ddd1dbe6934b1eace8ac118c108"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateModelTokens (cyclomatic 31, cognitive 30): calculateModelTokens 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":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4977c063b24997957c01f4383679d3a09b0da7b482f9e3c88efe115746a2c99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function card (cyclomatic 31, cognitive 27): card has cyclomatic complexity 31 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 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/main/resources/web/js/newui/models.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9184cead3dd44d8d41d2a120098ec15e2b211fa121a710ac6cc9b5b75c11d99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWebSocketMessage (cyclomatic 30, cognitive 35): handleWebSocketMessage has cyclomatic complexity 30 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/main/resources/web/js/websocket.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf2732510a36ad196715361606ed89c36bb882a2cab182546f666187d52a398"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 30, cognitive 28): render has cyclomatic complexity 30 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 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/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1515b48466f58f8a54154ab93e78466ea1a59ab54863098e0b7e305afa8903c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function output (cyclomatic 29, cognitive 57): output has cyclomatic complexity 29 and cognitive complexity 57; 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/resources/web/js/marked.umd.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0864d9d1e2a483ce6ca1e1e47dc0832654887851d7cd9689dce5f2ac128c86f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAppUpdateEvent (cyclomatic 29, cognitive 53): handleAppUpdateEvent has cyclomatic complexity 29 and cognitive complexity 53; 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/resources/web/js/settings.js"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57ab025d17ac04dd1289ac0e88bcaefee0ce9f3af7603295355cdcd2aba7462"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function populate (cyclomatic 29, cognitive 43): populate has cyclomatic complexity 29 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/main/resources/web/js/settings.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c711a4daf4de04d4e3d188ac30d2bc231283c5b45836368877a7c1b90c222cdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadUpdate (cyclomatic 28, cognitive 36): downloadUpdate has cyclomatic complexity 28 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/main/resources/web/js/settings.js"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f459be3d98d6eac862f0b1a91c3b28223e3e7c5872835125bf7adb98cd360a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setModelActionMode (cyclomatic 27, cognitive 39): setModelActionMode has cyclomatic complexity 27 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6ea316fc36aa7e84f99f239fdc21d43809e81ccb13ac7aa9b7d441fb5d71f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showModelDetailModal (cyclomatic 27, cognitive 26): showModelDetailModal has cyclomatic complexity 27 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 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/main/resources/web/js/model-detail.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3fd51a3a9ff3c397b1c281e214cbb73981dc5cfe5f0b8533aee2d0f9582094"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadModel (cyclomatic 25, cognitive 26): loadModel has cyclomatic complexity 25 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e6d93de5ceaa2bfde1a29df7ce92d8cef782f2d53d395c8145a105ea0c9c7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadLlamaCppReleases (cyclomatic 24, cognitive 30): loadLlamaCppReleases has cyclomatic complexity 24 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/main/resources/web/js/settings.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"df755a0bf9389765811effc0540cfc0666fbbba8d5157301cb05a4c490f8e137"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 24): (anonymous) has cyclomatic complexity 24 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/main/resources/web/js/model-list.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f89863a05a2e5492bc1273f52c28e9a5d4f81e7a06ec0ab98c662ff93126f7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 24): (anonymous) has cyclomatic complexity 24 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/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d823778bb43cd2fc136b5ad08d62d0228860ab2fd1eb09f90328fc8859fdfd0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tok (cyclomatic 23, cognitive 22): tok has cyclomatic complexity 23 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 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/main/resources/web/js/marked.umd.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9b0db7f253eda6beb5c64e92af77155f6feb1d2eaaba67677e5ee03023cf11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 21): (anonymous) has cyclomatic complexity 23 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/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ce0458153bc1c02e7895e36e99463ee2de7ca25c16a174e1f9ccda9707c446"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enforceModelCapabilitiesRules (cyclomatic 22, cognitive 22): enforceModelCapabilitiesRules 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":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd71433c55cd2fefd4c85de481aa658eafd9cd5d7b625b1602ed17fa709aece7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 22, cognitive 21): init has cyclomatic complexity 22 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/main/resources/web/js/settings.js"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7d57db1fe5c58d752569fdb130c7d1738ada0d3c198dc5e8d492fc3861d006"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 20): (anonymous) has cyclomatic complexity 22 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 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/main/resources/web/js/model-list.js"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46336c7401bf970a0a5608cc049ef18c393fc56303c7575ead4dd53c03ff925"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchDetailReadme (cyclomatic 21, cognitive 24): fetchDetailReadme has cyclomatic complexity 21 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/main/resources/web/js/hf.js"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e055f0deee9a34a8562dd5e6c08765b6969a20cf06959094a8a27950952aad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 20): (anonymous) has cyclomatic complexity 21 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 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/main/resources/web/js/usage-report.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92350b537b6c0293c5229546800ea0b81642d598c957045af83d23e188c642b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractToolResultText (cyclomatic 21, cognitive 17): extractToolResultText has cyclomatic complexity 21 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4722b0ee482cbfaeba4e5224e5fd6206fe2ad9d32862a10de9582d8986f80590"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderLlamaCppRelease (cyclomatic 20, cognitive 28): renderLlamaCppRelease has cyclomatic complexity 20 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/main/resources/web/js/settings.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d27c971125646482deb58b955a426ce06f5fc728f7c6df8ceda6741adfe1ad1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onclick (cyclomatic 20, cognitive 23): onclick has cyclomatic complexity 20 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/main/resources/web/js/model-detail.js"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"4975467cbfd7760ae0c7af85ff458354bd7f9f7f1425b54cfd3a770c417c273b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWebSocketMessage (cyclomatic 19, cognitive 28): handleWebSocketMessage has cyclomatic complexity 19 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/main/resources/web/js/download.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"923daf652ef50f97abfb2a1b475ca7e85c15e10ba682f435280500904fce7c96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindEvents (cyclomatic 19, cognitive 18): bindEvents has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"8750d50b0087d9122e5bd4fb2920500a5b25dc92433fdbb9e73dffe4fab744cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPersistableLaunchConfig (cyclomatic 19, cognitive 18): buildPersistableLaunchConfig has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"118dd9c7fe7e39250234bceb3d71bda313a1ec827221c225600eb55d8f6b15e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fillLlamaCppTestModal (cyclomatic 19, cognitive 18): fillLlamaCppTestModal has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"618f129199dfdb73eb202e9d53780afeee57cc9f9bb6085c8d74f541ca9ee9e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTokenSummary (cyclomatic 19, cognitive 17): renderTokenSummary has cyclomatic complexity 19 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/main/resources/web/js/usage-report.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"f133387f425fafe7eea27ddc0ed6844509de8cd853a57e7df6911945222e108c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadDeviceList (cyclomatic 19, cognitive 15): loadDeviceList has cyclomatic complexity 19 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a142cdf96586a46936d10f6a980ab3e3b3a908630ea896bcf56a988037f92e9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeLaunchConfigBundle (cyclomatic 18, cognitive 25): normalizeLaunchConfigBundle has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"7335b8a8d1599233269474075b3fde80e49f2edf8c2429b9a57507f6a799cbd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function populate (cyclomatic 18, cognitive 25): populate has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1672714917f597c74471866a42393488819df12dff2260604b541e82419c79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tryApply (cyclomatic 18, cognitive 22): tryApply has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"98867422513f05930bb78cb5ad040681d2095687b2671523a637126e4ac9f089"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function estimateVramAction (cyclomatic 18, cognitive 16): estimateVramAction has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95beaef4a68869c48a511693866cb9acc62d0ec3ba952447e850a15083a916d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fitParamsAction (cyclomatic 18, cognitive 16): fitParamsAction has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4de8b60abf1161b58dc8d33665af6229d6691eae43939500c6bba2ec52eb20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderBuildInfo (cyclomatic 18, cognitive 16): renderBuildInfo has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"288338c2e21f7b9059cef8e2b6b29270c9590b3b55ec436f91e14cb0ad14f423"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addModelPath (cyclomatic 17, cognitive 25): addModelPath 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/main/resources/web/js/settings.js"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5dfb374912e97c9c534addc16ff2237dfed958084cfdf54c499775880399fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 24): (anonymous) has cyclomatic complexity 17 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"846a0d4662c6b1e0619e717c1b1482c8758a7ab9cbf29173c2cb7f53f4b81835"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCmd (cyclomatic 17, cognitive 24): buildCmd has cyclomatic complexity 17 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/main/resources/web/js/newui/model-config.js"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5528db6be13111b395f4e39df7fb425293173490f28fac3a3f0777a60207ab1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchParamMode (cyclomatic 17, cognitive 20): switchParamMode 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43a114f76aeae5517b1a3633644544fb09b92e0f05dfd1928ef51beca6f1ad4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchDetailGguf (cyclomatic 17, cognitive 19): fetchDetailGguf has cyclomatic complexity 17 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/resources/web/js/hf.js"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae0bc5c494f17147877d50aaf517262a0a3f5b86779075d7c52b57d0a879aef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectRepo (cyclomatic 17, cognitive 18): selectRepo has cyclomatic complexity 17 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/main/resources/web/js/hf.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"53806f475150b1db8ece98bd63b751a1e0358473777015361530f5d9231bd4bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 17, cognitive 16): create has cyclomatic complexity 17 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":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c190c7abb57cd42396d18968e069ed015b969fb1d86a129b751ad3e5071ea5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function download (cyclomatic 17, cognitive 15): download has cyclomatic complexity 17 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/main/resources/web/js/newui/hf.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1540030dffdbd5bfd04e7589b41a26d61596df181c3745e3cb9c90c240ed794"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setFieldValue (cyclomatic 16, cognitive 30): setFieldValue has cyclomatic complexity 16 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3432be05dd18668b79a144d1bd06aeb490e0edd733e7b15e8213bbdca5cf26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testNode (cyclomatic 16, cognitive 28): testNode has cyclomatic complexity 16 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/main/resources/web/js/settings.js"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"390982cb774705f74107b3846659ca950fffc6cba2ab15a06f57530bf914dfa1"}},{"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/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f533849c521d9057981191c202cf54e6ab4d3f7c3c0e3763f629193551506af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 17): (anonymous) 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b424f96312090a2628693b3781cc0d0dd3a291c4766d872d7a7342f89b673caa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMainGpuSelect (cyclomatic 16, cognitive 17): renderMainGpuSelect 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"289eccc646668aabb4c3139f7a162f5af7732060f96a05e16b62aea99a06d283"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onConsoleMsg (cyclomatic 16, cognitive 17): onConsoleMsg 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/main/resources/web/js/newui/logs.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f252a49f8ee5e871d521678b2bd8e91f032fd1fdccb6ccfa8429a042bbbe1fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDownloadItem (cyclomatic 16, cognitive 15): updateDownloadItem has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0713cf1704612787879e307bd015e0ccb8616da8390a2f54030bca28f8ea7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitCreateDownload (cyclomatic 16, cognitive 15): submitCreateDownload has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"9976d69ea2fe2a71e25b953065144d8d229e93a20ac0191748e94feab9e8821b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBooleanLike (cyclomatic 16, cognitive 9): parseBooleanLike has cyclomatic complexity 16 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1d07a8fe0a72fad053429026073166dde26d9093836c18dd1b6d2d5b8314dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCmdToForm (cyclomatic 15, cognitive 25): applyCmdToForm has cyclomatic complexity 15 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/main/resources/web/js/newui/model-config.js"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb5c01079af0353c31576f0b95c7d61a8797f7d87675da6cbe5397d4c533a31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitCmdArgs (cyclomatic 15, cognitive 23): splitCmdArgs has cyclomatic complexity 15 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0602d11cc5ea55dfe795fb173ba838bd56ebfeeaa735efbf88bdffd8a1d7929"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAllowedBareTokenSetFromParamConfig (cyclomatic 15, cognitive 23): buildAllowedBareTokenSetFromParamConfig has cyclomatic complexity 15 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa19ea4481a803ec11b7d3d5deafc82e650a9d79d9e85d693b7018d90f36a85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawBarsChart (cyclomatic 15, cognitive 23): drawBarsChart has cyclomatic complexity 15 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/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fc0c3e6190a2633b1ba8bcc2e087e3557cc2cabec6ddeb6db18d817dcee119"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawBarsChart (cyclomatic 15, cognitive 23): drawBarsChart has cyclomatic complexity 15 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/main/resources/web/js/usage-report.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c618fc6e4dde30ab316d62cee0959458591193f2c445e3b070913950edfbd879"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyUpdate (cyclomatic 15, cognitive 20): applyUpdate has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18cf5bccf36fd485207f41b06c6671a9b4a359d15ad077993c7521327d99075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeModelConfigBundle (cyclomatic 15, cognitive 19): normalizeModelConfigBundle has cyclomatic complexity 15 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/resources/web/js/model-detail.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"882579b57f716188443448dea7324433f9ae6c765732fdac6401c77f2d5ee682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testLlamaCpp (cyclomatic 15, cognitive 19): testLlamaCpp has cyclomatic complexity 15 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/resources/web/js/settings.js"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce0726814e11c5994f1647de82130c9b0e21271cad634de148a848ce40ea459"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleModelLoadEvent (cyclomatic 15, cognitive 19): handleModelLoadEvent has cyclomatic complexity 15 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/resources/web/js/websocket.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"974c93a5720ded7df012e2b1c1bb770cd587796d5814cb75058d9918c466e1c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRemoteFiltered (cyclomatic 15, cognitive 17): renderRemoteFiltered 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/main/resources/web/js/console-modal.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b7b7bd2a199d6544adba648b56f2c9ff5149d359d091a3d617cd0f1a3e8546"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveNodeForm (cyclomatic 15, cognitive 16): saveNodeForm has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f23879c8e60010f42e8545085e1c3a2269afce08996b53575487acd619b7463"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBooleanValue (cyclomatic 15, cognitive 15): readBooleanValue has cyclomatic complexity 15 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/main/resources/web/js/model-detail.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e893d15a1454924e82251240f0743e253f2f9335df2038b75389762c6a787753"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openNodeSheet (cyclomatic 15, cognitive 14): openNodeSheet 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/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78d22aca4ba8a757b46628342ec00f88fa22ddfbb36c3c7451fe68f7f0ae3ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadNodes (cyclomatic 15, cognitive 14): loadNodes 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/main/resources/web/js/settings.js"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"88040235f3996bf9a1ae2c7790f4a08d178691e157e230e0a77963ba8c8d8fcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderDailyChart (cyclomatic 15, cognitive 14): renderDailyChart 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/main/resources/web/js/usage-report.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"418c079f2a8637975102c957be673e893256f393fd008674ff25b8187e560e4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildConfigPayload (cyclomatic 15, cognitive 13): buildConfigPayload 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"99183853b016c494d4dc046b1c9995e6d8e5a31ec30b9b8d5d12fc9ec52db7da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) 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/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d40d13b178def24237386fdad1752cf8fc463a9e3e507dc6890200319d791a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDownloadCreatedAtMs (cyclomatic 14, cognitive 21): getDownloadCreatedAtMs has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8b5642ca13b5fb01be4e7d1749977044879aa9c2a3d3eff51788eb7b475a80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeExtraParamTokens (cyclomatic 14, cognitive 20): sanitizeExtraParamTokens has cyclomatic complexity 14 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbbe266cc3434547de101b1c262c2d24fb63f15dd18b3f1fdf6e115eb6a45a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function marked (cyclomatic 14, cognitive 19): marked 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/main/resources/web/js/marked.umd.js"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8fa0b2d13a66db69067a9731ed0f4fa2a13e856d5761c54f14cf552fa6d0a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDetailGgufToolbar (cyclomatic 14, cognitive 18): updateDetailGgufToolbar has cyclomatic complexity 14 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/main/resources/web/js/hf.js"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90377e536395b405ba6e3563bb4b0c0dcd9bd739333b759310102ff8151ccfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleShareConfig (cyclomatic 14, cognitive 18): toggleShareConfig has cyclomatic complexity 14 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"901bba1c958dd9675eee4a8b546c168b9f9f69d07fa6a98a8683985bdcb480c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLlamaCpp (cyclomatic 14, cognitive 17): addLlamaCpp 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/main/resources/web/js/settings.js"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80d2bbc7db4f31437703dbf0c419f546256edae16098b084a1fa38a461f6425"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hfSearch (cyclomatic 14, cognitive 15): hfSearch 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/main/resources/web/js/hf.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c04ac157c917f09fe4e5ceab5294c2733c6ee9b76f03b6b8694c6c1e8956a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hfLoadMore (cyclomatic 14, cognitive 15): hfLoadMore 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/main/resources/web/js/hf.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69c23aefb09da7edb095192eada7c01258bf708966fbdd37d404b09f69910f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 14, cognitive 15): render 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/main/resources/web/js/newui/logs.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21e439bfde48f87bbf0ed175b133b923a4c0c87425ce1e1fc1942be8ebead66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectServer (cyclomatic 14, cognitive 13): connectServer has cyclomatic complexity 14 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc34a5b4c7b23bdcad6df348299198ff737091a4e2148043bc80c0385d35edc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyLaunchConfigToModal (cyclomatic 14, cognitive 13): applyLaunchConfigToModal has cyclomatic complexity 14 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"678c0b0c4ea1bbf4e208127573804ae3f8bdbc089a1d7fcf2d1f4988a4e5c615"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a843cf0b08a6e13a0c44dcc16ac1f354b02deacf95925e10ecd52a0c643870f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/models.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"027749e203b19b8e4349faa17c0226c6991cfdda977c5b9348dbd73e014c030f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 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/main/resources/web/js/model-detail.js"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf587ee08eeeda6e732ca56e942e1fc9c875212b49c58040f9b6fe66dc3b8d9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCurrentModelById (cyclomatic 13, cognitive 22): getCurrentModelById has cyclomatic complexity 13 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":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"6265a9b818a483113ac095bf7bdcd50ffb95069a3e084b6d73278cdd734a3399"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderModelsList (cyclomatic 13, cognitive 21): renderModelsList has cyclomatic complexity 13 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/main/resources/web/js/model-list.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74a04ed041878542603e3897ffb83873ccb8cfb2225b8d4274d8a431b6efc85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) 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/main/resources/web/js/model-detail.js"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b9d12ed108cf4a0352f3b7dd702b50487a01ae1ca9a3685cd4b20c044a78a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreScrollPositions (cyclomatic 13, cognitive 18): restoreScrollPositions has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72831f38c01f31fad0f9d9df226440e2889673b1f8077ac538ab222caba799b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeToolCalls (cyclomatic 13, cognitive 18): executeToolCalls has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"138e5cdf093739fa23742e2c22bb1711f3ed1daffc0b588d25c0533a14e98de8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openModelDetailTab (cyclomatic 13, cognitive 18): openModelDetailTab has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3881db43f052a5466c078a7f52cb5d19ac0d3f484972f527311d5e9eaffc2be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAssetProgress (cyclomatic 13, cognitive 18): updateAssetProgress has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f1cdcd0bee6aefd424c4aee6a17c4a29a643a8bd0354f4aa53e1dda185dc8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeHits (cyclomatic 13, cognitive 16): mergeHits has cyclomatic complexity 13 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/main/resources/web/js/hf.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3857122cf2fb5e6afa5fb419effa1c57565a349d1f8c4671945234b2bf31e439"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showDetail (cyclomatic 13, cognitive 15): showDetail has cyclomatic complexity 13 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/main/resources/web/js/hf.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ce4d9ab655f3b9d56bc0c22807eb7c6f018c494ddc9020f68e4d9aca1fc744"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setLogFilter (cyclomatic 13, cognitive 13): setLogFilter 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/main/resources/web/js/console-modal.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"708cc0f50f32a0b19e9c420d1142e9585a501993f1e99216a9527c083edb3c5d"}},{"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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70d3187747dc12b701ed1b6aad93910c65238b94a50ae68fb0f265b85450002"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"59aa01ffd4e76af2cd84108c59dc54ba094855c5798df1b517627cff3c8c67a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractModelConfigFromGetResponse (cyclomatic 13, cognitive 12): extractModelConfigFromGetResponse has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee4481f9be72c9bc3a57de278f1dfcecf2cf2d112cf4e68588e1c553791a3b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadOverview (cyclomatic 13, cognitive 12): loadOverview has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad731c27cd0b677e5669771046691cc7c06bc94910ecf76f3ba96a7dd1a42e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 11): (anonymous) has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/models.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a802115625493bae5d106b564d9839aeec1b82fd3eb70f4a1256c3b873b4b8eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 9): (anonymous) has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aef2efa3a88e6169b068ed6758a1218ea0a7624004156835e5f33ee9282a81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitText (cyclomatic 12, cognitive 20): splitText has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fffb79bf139bd858fc3a0b5f36cd76703e378e18a9b0ff8b045e7981c82517"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getParamOptionValues (cyclomatic 12, cognitive 18): getParamOptionValues 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ef01299e3c194f87a9d7e3b0d6c43dc1f88ecd29379309d0506b1f79e7f3e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fitParamsApplyAction (cyclomatic 12, cognitive 18): fitParamsApplyAction 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78df9b98e309ca7142c5067c67851ce2a41e9349162eefbbd1290eaa708bd2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) 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/main/resources/web/js/model-detail.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30724b896880c172fe8f8a0e149af37e9c8eb8b0df931fe352b6f2f690aba51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenize (cyclomatic 12, cognitive 17): tokenize has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6381e11bc0eac09b411a74d5c5d7615200a32aa8c5b911b43a80a202592f047"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGroupTotalSize (cyclomatic 12, cognitive 15): getGroupTotalSize has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e494d798010185ff17cd8157f82b9c349cd4e5dd88d6425b2a9c97524beabeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deviceMatchesSelection (cyclomatic 12, cognitive 14): deviceMatchesSelection has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eca2410ccb6f445e3d7af61ca1e9075e4a1f05e64986e81d7d874701d05e207"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onclick (cyclomatic 12, cognitive 14): onclick has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6d61ebb2edd60d740f06c644c5f9576178df70fde6cea1e800f9cd0874925f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onLlamaProgress (cyclomatic 12, cognitive 14): onLlamaProgress has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce64c32c4fafb29e490f0946e04ae359dd1bed43c2c39b95b133911c659fa71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFiltered (cyclomatic 12, cognitive 12): renderFiltered 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/main/resources/web/js/console-modal.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"82933fa65698e396840d9d622ea86131f65f55255e78872f6b072c770eba66a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveHttpOnlyPort (cyclomatic 12, cognitive 12): saveHttpOnlyPort 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/main/resources/web/js/settings.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"729ad6241e09d5f665eff1a8bd4252a835a38a79e16c77a661a9c3878c4d3920"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyModelPatch (cyclomatic 12, cognitive 12): applyModelPatch 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/main/resources/web/js/websocket.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"869edd51f9f99c9b08af213b813b1208c7ee42ccdb1b6c20393dfb7e3fb4a937"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c1cd4f9ea21771ca8f30c5ee0071df80bab1324b7c8a84978201ea91a6860d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fieldNameFromParamConfig (cyclomatic 12, cognitive 11): fieldNameFromParamConfig has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"622dda78c592cccaec9f47a9a4e234ca047c4d430a062933f35e05be6960e24a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchPage (cyclomatic 12, cognitive 11): switchPage has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/app.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01b753e46aa29c9e397f4e6e8e7a5820d5f7f48444f1d5946eb2ec1344aa671"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function populateLogFilter (cyclomatic 12, cognitive 11): populateLogFilter has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/websocket.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea551d73d2d68d6f90c58e0ea1ae98eb521aa7db070d1a0b34f1b1182761054e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addModelSamplingConfig (cyclomatic 12, cognitive 10): addModelSamplingConfig has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b593eb05a72ea6a3e49ff7f457941d7bbb583a97369b423891bf6bbd19b694"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshRegistry (cyclomatic 12, cognitive 9): refreshRegistry has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bac2e2ab062ff23b6823441268e3a10f2a2b5979edf7fc0fea7e4f1d0424ffd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSelectedModelSamplingSettings (cyclomatic 12, cognitive 9): renderSelectedModelSamplingSettings has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"a203a4e8d1adef401638086596752581e0b71fdf0960372cafb4ad8db5636560"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/models.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be8f2bbe6c3173197434eaaad1d97678987e56c58f08263ff15a2048db25860"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 24): (anonymous) has cyclomatic complexity 11 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e009fc7c46dcb2784db3cb52a2266cb409bb0ee73bda890bd7fe7db25f029b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupGgufFiles (cyclomatic 11, cognitive 16): groupGgufFiles has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"964eb1d9c2b5acd691fa30f5742db955a94cee41554a2c73d8327df91deb8ac4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSlotsSquaresInner (cyclomatic 11, cognitive 15): renderSlotsSquaresInner 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/main/resources/web/js/model-list.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af880cbc84323c32ac4579e6156b7bda8f1b6ea0ceb88dc0ff6e1afb765fadb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function savePathSheet (cyclomatic 11, cognitive 13): savePathSheet 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/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"796a3b4285728aa164254124d39734afd8b36966a79419f1869c1b35025f569a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setMcpServer (cyclomatic 11, cognitive 13): setMcpServer 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/main/resources/web/js/settings.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ec5415aacb7c31e39922fe3e5b8475d58ba83353398d51e25053c57217b6e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractLaunchConfigBundleFromGetResponse (cyclomatic 11, cognitive 12): extractLaunchConfigBundleFromGetResponse has cyclomatic complexity 11 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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"31095fc5e66aff2ed09015401d780ad9f20cafd855c1da72d33273d14debfd22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeToolCall (cyclomatic 11, cognitive 11): normalizeToolCall 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"42db2b5cf23cae04c3a7316ece921f5ea173e51358894a81a5702886fdd50c44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateModelSamplingConfig (cyclomatic 11, cognitive 11): updateModelSamplingConfig 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/main/resources/web/js/model-detail.js"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d1254dad4125d057f884d173efe499fe36e71961ad57b235805ec79ade7cf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveNodeRole (cyclomatic 11, cognitive 11): saveNodeRole 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/main/resources/web/js/settings.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8de7aa64b263ffef51e438c7656dd7c0da52feb82f56637d417b738aa872abc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openNodeForm (cyclomatic 11, cognitive 11): openNodeForm 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/main/resources/web/js/settings.js"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bee197fe1aebf8e05517eb91e4d371ec7d929261fbdfbd2dc2c1a14205aeb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeToolDefinition (cyclomatic 11, cognitive 10): normalizeToolDefinition 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b07cd6044b49dc58c0d123dd8f8068ca30fa6e531f9b0eaf31443db4d009af5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) 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/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae746d043b5abfc4dc5ca4395557fe39da758d8c560156888620581d36e7cbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveModelChatTemplate (cyclomatic 11, cognitive 10): saveModelChatTemplate 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/main/resources/web/js/model-detail.js"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c07263c96a7713f795b6c7ddafb844e45f2b0e2a3ca846c8fe605011aa6b8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) 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/main/resources/web/js/newui/hf.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b1b20716aaec9b66fe7de8c4f17a287c69c3d0542c7fef243a30f9399cc38e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openPathSheet (cyclomatic 11, cognitive 10): openPathSheet 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/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"45eb4192f25ebece3ec6e81a50675c5ceedbaeb5c30f6619b63db6652e91d18b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) 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/main/resources/web/js/newui/settings.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc3c6991251e03a9af38e4ae6ec197e9360d6a25ea7b00e2abf17cfbe08870f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"7274f1284d25ee7a291442a9d4685c8d692e1542afb901348b931fd0225b779d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeModelCapabilities (cyclomatic 11, cognitive 9): normalizeModelCapabilities has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0472aab861a1904db24c0da94ef554f2341d0103a7ccbe7fe37b452e287d77c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMmprojDeviceOptions (cyclomatic 11, cognitive 9): renderMmprojDeviceOptions has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f892db61643082218857bb67e5506aa8deaa3c55402ab4223022d61fdc68f50f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"380f3b455f0b4752f2be91ad75dbe9a738094213b2a1860e8fd6e5ce01d2a14f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d97b61ea9fc3bf75ac902682a222286c5daca1a1e697e5b3efb2e577796bcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"678350aec1d9ffd91749b284e6c9b49339896b27d2b52568dbee12db84e74a96"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/model-action-modal.js: 2099 lines of code: src/main/resources/web/js/model-action-modal.js has 2099 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/resources/web/js/model-action-modal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad377e45def260ed3100bf38ebbd38b162cde5c5f6c85b6d70a45393329a40d1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/settings.js: 2086 lines of code: src/main/resources/web/js/settings.js has 2086 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/resources/web/js/settings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c6c760836bfe75b0fc710ec3a1ef38778f78015a7722e2c99f7541dfffce10"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/model-detail.js: 1292 lines of code: src/main/resources/web/js/model-detail.js has 1292 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/resources/web/js/model-detail.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6489f309d7a8581862ddb3c04733ed2b1a4faac3ef43a5c30ec0a3ae2d78f0e8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/chat/chat-mcp.js: 1076 lines of code: src/main/resources/web/chat/chat-mcp.js has 1076 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/resources/web/chat/chat-mcp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c7721df04bc7318ed1d4846c911b8b0ca8e75368b5445c760375bdb084d026"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/hf.js: 934 lines of code: src/main/resources/web/js/hf.js has 934 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/resources/web/js/hf.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ebc357f128d7b449abc402e1101ce95826cb321206545a523b759c5175ccfe"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/marked.umd.js: 832 lines of code: src/main/resources/web/js/marked.umd.js has 832 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/resources/web/js/marked.umd.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe5b9bdd8cb7073dd587c7516f82ce66005cbc2f4c575d0c75af434451ce7d8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/model-list.js: 750 lines of code: src/main/resources/web/js/model-list.js has 750 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/resources/web/js/model-list.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac6df81f2efbddd33235b0d4fd21aa00d121366b2b61e6c12e2bdb6735a0d90"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/newui/model-config.js: 694 lines of code: src/main/resources/web/js/newui/model-config.js has 694 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/resources/web/js/newui/model-config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bfcca5e3e23bfe08e70b2588cad13c786c0f0c585320ebf5166525d2a4bddd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/download.js: 674 lines of code: src/main/resources/web/js/download.js has 674 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/resources/web/js/download.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a20a1cd4dc7f78a4c4e814175be58cece4fe4fa43f9530817eb82040a17112"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/usage-report.js: 666 lines of code: src/main/resources/web/js/usage-report.js has 666 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/resources/web/js/usage-report.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"170117295e257305fdbcf57b9c42e16e854bd1187e4c0faff6c9020d2f8e9e4b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/newui/usage-report.js: 546 lines of code: src/main/resources/web/js/newui/usage-report.js has 546 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/resources/web/js/newui/usage-report.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2acb7237d5efdb4c3d2599ed374acc690c09b25a9e38d97d421dc92d91567a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/newui/hf.js: 463 lines of code: src/main/resources/web/js/newui/hf.js has 463 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/resources/web/js/newui/hf.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"491d7003beb14142eb6d0c3a5c3f91ee304fce887e2ad462e5ced94da40d243b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/web/js/lz-string.js: 461 lines of code: src/main/resources/web/js/lz-string.js has 461 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/resources/web/js/lz-string.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"489b20875ef613e863ee91a0912b7cad5d6b8978e7f2e7e7e3936c99b719db6b"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 27 production file(s) reachable from 0 test file(s) via the import graph \u2014 \u0027production\u0027 here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace\u0027s file count"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64e0e3511eb969fb4720b196e7d3799e1714077217351c3c56a27b50e3e21220"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Files.exists(filePath) || !Files.isRegularFile(filePath)\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java, src/main/java/org/mark/llamacpp/server/controller/CertController.java. 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6394e5987ebf7e313afc02994268defe617845b847773751940239fd957ff2f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Files.exists(p) || !Files.isDirectory(p)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java, src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java. 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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac48a9421fffbda41980be39ba968eebaa0f8237ea21d55d5a567b47122bbb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Files.exists(rootPath) || !Files.isDirectory(rootPath)\u0060 appears character-identically in 5 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java, src/main/java/org/mark/llamacpp/server/LlamaServer.java, src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java. 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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6cd2b0a1d72a2c47fc2c35c2187875537cfd57d97b1501817f81161359cd06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!found \u0026\u0026 root.has(\u0022data\u0022) \u0026\u0026 root.get(\u0022data\u0022).isJsonArray()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java, src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java. 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/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"482bf1b426f0da22ba9cf400515fc28716e0e3f9bd5887ed627ffe3f7b37394d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!id.isEmpty() \u0026\u0026 !dataById.containsKey(id)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6bb4109b36889db3a8dcee3edb6d908a5421214c589ff40816ff2f59d5bcdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!inSingle \u0026\u0026 !inDouble \u0026\u0026 Character.isWhitespace(c)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java, src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java. 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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"002a93ffbcb11808d0b78665c4a89e75ff05ed29daa0c06baca5fa5a643cc4fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!info.has(\u0022items\u0022) || !info.get(\u0022items\u0022).isJsonArray()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83e6df63e507e9c8394444faab80fa9db53e25b3feedcacf79648c5b72d9edf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isHttps \u0026\u0026 !\u0022http\u0022.equalsIgnoreCase(scheme)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e4a3e221c80067ec75ed05d2154dd6913fb9400fd3542fcb03a455ed413d23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!key.isEmpty() \u0026\u0026 !modelsByKey.containsKey(key)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4e6edeefdcddcd45c52ed1808895f4fcf67d95e5875adfc4f1194c06dcfe93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!nodeId.isEmpty() \u0026\u0026 !\u0022local\u0022.equals(nodeId)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java, src/main/java/org/mark/llamacpp/server/controller/PerplexityController.java. 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/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"79021840ed1690f15e60ea4ddc258482d6d2fe27c03504e2add8da500ac8fa0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!obj.has(key) || obj.get(key).isJsonNull()\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/record/BinaryRequestLog.java, src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java. 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/main/java/org/mark/llamacpp/record/BinaryRequestLog.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01ad4cffecda74a1bf3fd34bab836224f4e37a7483e4b7b9ae545c649bb551e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!probe.rangeSupported \u0026\u0026 actualThreads \u003E 1\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1142856a89b2d6aa3fb8a2982e7bc0883bf5deea308122850f71affe867018d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!waitForTlsHandshake \u0026\u0026 sent.compareAndSet(false, true)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b31214509f61c572c47a49632136dd43cee501ac2114642a294be02f8cbc80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022Host\u0022.equalsIgnoreCase(key) || \u0022Connection\u0022.equalsIgnoreCase(key) || \u0022Content-Length\u0022.equalsIgnoreCase(key) || \u0022Transfer-Encoding\u0022.equalsIg\u2026\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java, src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java. 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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e4541dae0ce79476f73e808724fede79c227ae0fb605aee59b03cdb0400ae2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022enable_thinking\u0022.equals(key) || \u0022force_enable_thinking\u0022.equals(key)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java, src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java. 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/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da1f1ec5dd7235b306ff8a67f5bf56c83c642f779610ebc82a739b2592c7933"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022false\u0022.equals(s) || \u00220\u0022.equals(s) || \u0022no\u0022.equals(s) || \u0022off\u0022.equals(s)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/SystemController.java, src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java. 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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6819f48cbb9f73e28874f0b2ee24073dd027d860d511a52705d92cb3ad8dea2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022jpeg\u0022.equals(subtype) || \u0022jpg\u0022.equals(subtype)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java, src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java. 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/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d0a414255407a109d40694ab7cdff9b1ab957dc306c4f8ab43c3816247092a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022true\u0022.equals(s) || \u00221\u0022.equals(s) || \u0022yes\u0022.equals(s) || \u0022on\u0022.equals(s)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/SystemController.java, src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java. 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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90936d89abe08f6f285ed2d3581c9998745841b2d58d333fbc3fbd9be7fe3af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(ch \u003E= \u00270\u0027 \u0026\u0026 ch \u003C= \u00279\u0027) || (ch \u003E= \u0027a\u0027 \u0026\u0026 ch \u003C= \u0027z\u0027) || (ch \u003E= \u0027A\u0027 \u0026\u0026 ch \u003C= \u0027Z\u0027)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java, src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java. 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/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdd663486dd8bd392c7d6b57566c83132ceafac3d2fa432e746be0bb3bbbdc4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(cmd == null || cmd.isEmpty()) \u0026\u0026 (extraParams == null || extraParams.isEmpty())\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java, src/main/java/org/mark/llamacpp/server/controller/SystemController.java. 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6da051bc94f8c580c2357411c077efdbd3ae8617c6592c7b6212fa1bf4b5ead"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060acceptRanges != null \u0026\u0026 acceptRanges.toLowerCase(Locale.ROOT).contains(\u0022bytes\u0022)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dace3e73187fe098f0240dd37675f7481ed3b9066bfc632081ff3d122339199"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060assistantId == null || assistantId.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java, src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java. 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/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dab529f409f888cc69e480a9987b0dd80c5e90bcb567d3e04bdc2f0b06dd25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authority == null || authority.isBlank()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b0656effb51614da0a262d26fe92a170e79f4846b34975f87849f2df065b22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body != null \u0026\u0026 (method.equals(\u0022POST\u0022) || method.equals(\u0022PUT\u0022))\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/NodeManager.java, src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java. 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/main/java/org/mark/llamacpp/server/NodeManager.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c630bbbbdf050aa2defeb25157f591dfef184c0ba109fcfd5bfe90a4299e14b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body.has(\u0022variantIndex\u0022) \u0026\u0026 !body.get(\u0022variantIndex\u0022).isJsonNull()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java, src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java. 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/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf761bb7e0a29afb5bba62d9bbad37a544843de1a5679695d05745037656ac9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cache != null \u0026\u0026 cache.has(\u0022data\u0022) \u0026\u0026 cache.get(\u0022data\u0022).isJsonArray()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/AnthropicService.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5154e0a1546528b1a0c06151a5f3cdeb28aadcee6f754f96bfeed3370ae0bcf6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.startsWith(existingPath) || existingPath.startsWith(candidate)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java. 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"af925f99c35f11af7d7d0b17de278b9e2d64946d20a2aa63fa518a99885370d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cloneId == null || cloneId.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/ConfigManager.java, src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java. 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/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd49fb67b8752622aec148af4fa38cab7848c212cdc8254167c2c33335458277"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code == 301 || code == 302 || code == 303 || code == 307 || code == 308\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1777fdd10b6923c035200b9aa7f3f2a8ffcf7764db57906e03019b72c7386e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configName == null || configName.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/ConfigManager.java, src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java. 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/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cb3b79ec68aaba0ad73aaedbab401aa35c38ef62b46a6de4cb6b769e863554"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content == null || JsonUtil.isBlank(content)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ProxyController.java, src/main/java/org/mark/llamacpp/server/controller/SystemController.java. 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/main/java/org/mark/llamacpp/server/controller/ProxyController.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"043886448113e780da0576c82ac3077d3ff76d2411db4e9c63215bd90c2cf76b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content == null || content.trim().isEmpty()\u0060 appears character-identically in 4 files \u2014 src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java, src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java, src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java, src/main/java/org/mark/llamacpp/server/service/EasyChatService.java. 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/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f041272f379507ee1754f08578125ca359336d3bcece0e099e0d2f0e54b23e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contentLength == null || contentLength.isBlank()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a2f7e33ef4a0745604193e12d43a883af5c86f191bf6b71e25350a39b65b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contentRange == null || contentRange.isBlank()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fdbf35a443fc5bc41fcdea43cf6b15105f76bbec8a4047aea4c2e345c63f4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contentType != null \u0026\u0026 contentType.contains(\u0022text/event-stream\u0022)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/AnthropicService.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b00e5d705abb32dcb54adf66f9fdfb6819ba122ba073e3f176739c4181ef693"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contentType == null || contentType.isBlank()\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java, src/main/java/org/mark/llamacpp/server/service/EasyChatService.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aacfe4d1e16efb508dfaa2eb9bd56f57c3c8b4785d7d7bf6c87600f46a3eda1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current != null \u0026\u0026 containsPathIgnoreCase(current, path)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java, src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java. 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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"6071e496e5603d643edb2777ce7ce4845eb20241c72397812da2027d88649bb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.operationName() != null \u0026\u0026 !current.operationName().isBlank()\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java, src/main/java/org/mark/llamacpp/server/controller/EasyChatController.java, src/main/java/org/mark/llamacpp/server/service/EasyChatService.java. 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/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5769ed6e60aefbb9bd24d093b561c2e43a2a3eee1e00b0aeb7bada1d6e94e95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d == null || d.trim().isEmpty() || d.trim().equalsIgnoreCase(\u0022none\u0022) || d.trim().equalsIgnoreCase(\u0022all\u0022)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java, src/main/java/org/mark/llamacpp/server/controller/SystemController.java. 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e339b428773823d48f8dfba571eddbd9721e59b65109d4df4e292d111d34bc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.getMessage() != null \u0026\u0026 (e.getMessage().contains(\u0022Connection reset by peer\u0022) || e.getMessage().contains(\u0022Broken pipe\u0022) || e.getMessage().c\u2026\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/AnthropicService.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"e213cea94eab016ab4cc0262cccfe57624cf88b7a7f20e51553a3b32540e2a39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060el == null || el.isJsonNull() || !el.isJsonObject()\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java, src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java. 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"262cd641debde5c124bb4e824e977f331cd43fb588ecd87599b6c247517ece5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060el == null || el.isJsonNull() || !el.isJsonPrimitive()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java, src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java. 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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d9698d776eca9a4d286b50dbc9ea2dcbc78f6ece707d167acc32694774f674"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element == null || !element.isJsonObject()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ChatStateController.java, src/main/java/org/mark/llamacpp/server/service/EasyChatService.java. 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/main/java/org/mark/llamacpp/server/controller/ChatStateController.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"9950c2cb92e21f8970b357c5f6dfb29852adf486ad4c7bef21ffb297c147265d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element == null || element.isJsonNull() || !element.isJsonPrimitive()\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java, src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java, src/main/java/org/mark/llamacpp/server/tools/ParamTool.java. 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/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dca2c3e885cb7fe1d3e0038f7674887933437b11ce6c49420b981e5fba76228"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.isJsonPrimitive() \u0026\u0026 element.getAsJsonPrimitive().isString()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java, src/main/java/org/mark/llamacpp/server/tools/ParamTool.java. 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/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea758faed88d71f563dfc9660283e4e83b54790f43a1c2b6a9d3d00451f20208"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existingLdPath != null \u0026\u0026 !existingLdPath.isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java, src/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java. 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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"021ca0c9e5506f6121a60a7f66f2a1c220784299c7c4d5a3da1bbc744a1a93c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file == null || !file.exists() || !file.isFile()\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java, src/main/java/org/mark/llamacpp/gguf/GGUFMetaDataReader.java, src/main/java/org/mark/llamacpp/gguf/MtpHelper.java. 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/main/java/org/mark/llamacpp/gguf/GGUFMetaData.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dfc80d22b37a52b0101a7c6cf0fc34954bb7281e1074f8d194ca85170cefb8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileName == null || fileName.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java, src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java. 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/main/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ed984b64bdbec20d4312c56ad492ed01fd16516137259316ce1122e57d97b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060globalCfg != null \u0026\u0026 globalCfg.isEnabled() \u0026\u0026 globalCfg.getHost() != null \u0026\u0026 !globalCfg.getHost().trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a52e9389d00b62dd9de006249324acea4a22076e8c956737d848b5f9625c37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.has(\u0022data\u0022) \u0026\u0026 item.get(\u0022data\u0022).isJsonObject()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"3202f8858dc4494c84eec6a7024b33766356e1ade61b2586a7772b218c5b079c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.has(\u0022model\u0022) \u0026\u0026 item.get(\u0022model\u0022).isJsonObject()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3b1178ec4ce2ce39977cc222cb9037e28f15b6e14db1aa9412b8ce250fd64d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060itemEl == null || itemEl.isJsonNull() || !itemEl.isJsonObject()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c4f43e0101ef5eb826d6919dd9dad25942e054e23dba9db345951b7b56d8d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key == null || value == null || value.isJsonNull()\u0060 appears character-identically in 4 files \u2014 src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java, src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java, src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java, src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java. 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/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3811ffa4d1de8696afc21657b6a429d99fbdbb218758e7a490b63f24c82f96d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060llamaBinPath == null || llamaBinPath.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/controller/SystemController.java. 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c67bbfe1086fa2bbbad46593ff3346253db4d2d48af9c8fa4fb40b6cf023108"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060llamaBinPathSelect == null || llamaBinPathSelect.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java, src/main/java/org/mark/llamacpp/server/controller/SystemController.java. 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"78066022c028bfc380c06779ed43d3c80585066bd71076c36d085af4993830ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.startsWith(\u0022cublas64_\u0022) \u0026\u0026 lower.endsWith(\u0022.dll\u0022)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java, src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java. 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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3151e85b1ac085c8c192583336f8e4e26d74892d065ebda5010661fa8348693"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.startsWith(\u0022cublaslt64_\u0022) \u0026\u0026 lower.endsWith(\u0022.dll\u0022)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java, src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java. 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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6596a43a079a7840bbd7ab9edad76d5777dc571bb32249e428af50f5be536a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.startsWith(\u0022cudart64_\u0022) \u0026\u0026 lower.endsWith(\u0022.dll\u0022)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java, src/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java. 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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee07ec4ad4e4e5e7df066a76f7df68eb48a1fa93de769f326d08340dfd3c905a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata == null || !Files.exists(tempFile)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc4c780cb9974143e04af6ca24c0f2ca2703c28364c7352551567a744b028c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.contentLength() != probe.contentLength() || metadata.ranges().size() != rangeStates.size()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0890f806750a84a76b99be62d001b9d442d396114582aabbd57ef07655728d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modelId != null \u0026\u0026 !modelId.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java. 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"b165f143a5fb02bd1aa6b9972f91f47675ce460014371132d558ae5cfd9dc677"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modelId == null || modelId.isBlank() || loadedIds.contains(modelId)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/AnthropicService.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8209e35300c32422c3c0daf69c0043547ca94cbeaf733cbfac20cadba9af31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modelId == null || modelId.trim().isEmpty()\u0060 appears character-identically in 11 files \u2014 src/main/java/org/mark/llamacpp/server/ConfigManager.java, src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java, src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java. 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/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddadaaa74326afe388d1e985ac661cab57c0ededb948e9b3d0896925e483360"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modelName == null || modelName.isBlank()\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/server/service/OpenAIService.java, src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java, src/main/java/org/mark/llamacpp/server/service/StreamingForwarder.java. 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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0788dba4140039e1ab5f08b0da2d01dc590522d9a02f1feba2b184a0f87c492a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modelName == null || modelName.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java, src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java. 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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b3878a49cff7ccceacafb53094811884dbad0458b6239e77ac38ae940cc8a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060n.endsWith(\u0022.jpg\u0022) || n.endsWith(\u0022.jpeg\u0022)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java, src/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java. 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/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1620fda31bd18eaed3677d1760cebf3d2d9334b5d633874e497cb3e5b8ea134e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node != null \u0026\u0026 node.getName() != null \u0026\u0026 !node.getName().isBlank()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2ae6e6cb47b6031ea345049aec57ed971be6de7b32d543f3d61dc03158c083"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nodeId != null \u0026\u0026 !nodeId.isBlank() \u0026\u0026 !\u0022local\u0022.equals(nodeId)\u0060 appears character-identically in 6 files \u2014 src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java, src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java, src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java, src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java. 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/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa8f5a480137c8be330f3d08e1e9f3dc5908804b9ae6a0a27f50d14ca211624"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nodeId == null || nodeId.isBlank() || \u0022local\u0022.equals(nodeId)\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java, src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java, src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java. 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/main/java/org/mark/llamacpp/server/controller/AutoLoadPolicyController.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb67f47e058ff7a8e1185b6601e1dca8889ff89c583ab33c31ab1f886c272c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060obj == null || key == null || !obj.has(key)\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/service/AnthropicService.java, src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java. 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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2fc10042771f994d75384ebe5f2e8910ea2ae2e018c6a564188aa498a4a6ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060obj == null || key == null || key.isBlank()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java. 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2931}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f9d125edbf4084a8b3f78a432e76bd88946e724a091344d0904904998c0dea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os != null \u0026\u0026 os.toLowerCase(Locale.ROOT).contains(\u0022win\u0022)\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaCppProcess.java, src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java. 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/main/java/org/mark/llamacpp/server/LlamaCppProcess.java"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fb3e8bb32d92209584a16f125fec94ee836d8e7f667a86f37414eabe3c2d68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060output == null || output.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/controller/SystemController.java. 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":3406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d53c46089796c4c5ce3f51b7120198e81a0d8c6c8574ffc9341870e68a313b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rangeState.start() != snapshot.start() || rangeState.end() != snapshot.end()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"459551eacda748f5f18c62bdec6dd3f93fa96a57df3e7f16f98da518de7efab3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reqData == null || reqData.getPath() == null || reqData.getPath().trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java, src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java. 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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"703a8c4cacc42d30ee9c3f62b32c0083ce4cf734393b219a4213417ecff92413"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060responseBody == null || responseBody.isBlank()\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java, src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java, src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java. 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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"7019cd84bcc41774702aa5dac72ba20f7e84f26b0b94da5232f405a9bb21c56d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060responseCode \u003E= 200 \u0026\u0026 responseCode \u003C 300\u0060 appears character-identically in 9 files \u2014 src/main/java/org/mark/llamacpp/server/NodeManager.java, src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java, src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java, src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java. 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/main/java/org/mark/llamacpp/server/NodeManager.java"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b5ffb4300580833bab3e34d141b58d331e6943d961b835b25f11338d5b1415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.has(\u0022data\u0022) \u0026\u0026 root.get(\u0022data\u0022).isJsonArray()\u0060 appears character-identically in 3 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/service/AnthropicService.java, src/main/java/org/mark/llamacpp/server/service/OpenAIService.java. 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2851}}}],"partialFingerprints":{"codehealthFindingId/v1":"9724929aae42cde055bffc53fa56bb3c1016320d1bbb8a7907a7a2ef81fad536"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.has(\u0022models\u0022) \u0026\u0026 root.get(\u0022models\u0022).isJsonArray()\u0060 appears character-identically in 6 files \u2014 src/main/java/org/mark/llamacpp/server/LlamaServerManager.java, src/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java, src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java, src/main/java/org/mark/llamacpp/server/service/AnthropicService.java. 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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2850}}}],"partialFingerprints":{"codehealthFindingId/v1":"9840c1260708121e6876c246145483b431e93bc654e3be9e31e5843b6b82319a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060slash \u003C 0 || slash \u002B 1 \u003E= contentRange.length()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2778a936b5c5049cd0f60b59dc01d744b60e87433440f9fa7880f3365dcf256"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceModelId == null || sourceModelId.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/ConfigManager.java, src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java. 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/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2897d53b6949ba67f81817d50f58f5b2ef2ae82237276dc4e165f05c2f6c4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start \u003C 0 || end \u003C start || downloaded \u003C 0\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"82218e0c24ff446bed006aebb81e281ace63ca1f908224661f5c00b79c07681e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.stopRequested || Thread.currentThread().isInterrupted()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e3de7025b27187140ad9248e5dc6558c320e5ed95abc6cf4f2ab05c0351a5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolArguments == null || toolArguments.isBlank()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java, src/main/java/org/mark/llamacpp/server/mcp/TimeServer.java. 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/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa6be846a22022e7db81d292e225c63487ed105004750e2e6025c37947cf405"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri.getRawQuery() != null \u0026\u0026 !uri.getRawQuery().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/file/downloader/NettyHttpDownloader.java, src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java. 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/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"08690122ac9ea3ad96ceeef6ac325917e1b9ca5e6cefdcb8a1a3fe0eb99709d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value != null \u0026\u0026 !value.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/java/org/mark/llamacpp/server/controller/ModelActionController.java, src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java. 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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ae4e0790fb58b2e9b752f8afa21e9c98db97db6887ff94635a3e3fe30b8a3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(concurrency) || concurrency \u003C= 0\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/newui/benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6d0bd161f8fbedd92e051d8f030940288e8d3de666d9f5181f73ad8ac953cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(maxTokens) || maxTokens \u003C= 0\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/newui/benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"2722ea821bd568742cb8f5f29960beb684cafc92ed0bf8cc9affc87a673a3a3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(promptTokens) || promptTokens \u003C= 0\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/newui/benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e07ba296c351ccee5c5867896d47fcbfdaf25a5b62c9f48c8c897479d4a7379"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isFinite(partIndex) || !isFinite(partTotal)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/hf.js, src/main/resources/web/js/newui/hf.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b61769d7c063a28e55005420b7aeab09d7a7305ebe11eb9d738b269119610e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!r.isStats \u0026\u0026 r.timings \u0026\u0026 r.timings.prompt_per_second != null\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/newui/benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f37e418572fb4d9619565c5256d946e76e90168ce9c3764ae6be1ab2670318"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!raw || raw.startsWith(\u0027#\u0027) || raw.startsWith(\u0027data:\u0027) || raw.startsWith(\u0027javascript:\u0027)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/hf.js, src/main/resources/web/js/newui/hf.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"35978b47edd9f0042fdf2742279f9b2e4c7d2e81c9bc5f4807049493dbc65f0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || value.startsWith(\u0027#\u0027) || value.startsWith(\u0027/\u0027) || value.startsWith(\u0027./\u0027) || value.startsWith(\u0027../\u0027)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/hf.js, src/main/resources/web/js/newui/hf.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5ebdf8890d9ea2c34f8941af41975ae9423349e2ad0303b226289c0d64aabc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(p.fullName || \u0027\u0027).trim() || (p.abbreviation || \u0027\u0027).trim()\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/newui/benchmark.js, src/main/resources/web/js/newui/model-config.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2a70e11f40b450c3e54a65b69fbb1d3e4ae7bd9c2dd1a08e43c02192038d76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(prev) \u0026\u0026 prev \u003E= 0 \u0026\u0026 prev \u003C checked.length\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/newui/benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2319cd238220468413a885ea0fdbea91774959f9502e30755e34fe37ead137"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060String(tagName || \u0027\u0027).toUpperCase() === \u0027IMG\u0027 \u0026\u0026 /^data:image\\//i.test(value)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/hf.js, src/main/resources/web/js/newui/hf.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0044b1a06f87d39ae88f4c4ae575e954c80e9c5f0f917342f8677a028e5a447"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.llamaBinPathSelect || cfg.llamaBinPath || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/newui/model-config.js, src/main/resources/web/js/newui/models.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"86aabcbbb3be9d844c1a51043644923966e9536a409b6cdf18150085c3666afe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentModel \u0026\u0026 currentModel.isClone \u0026\u0026 currentModel.sourceModelId\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/model-action-modal.js, src/main/resources/web/js/model-list.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"53369370400ac3034e36485045f83bc8efe2e7b5af8867942c6d15a09ba0ed3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d \u0026\u0026 d.success \u0026\u0026 Array.isArray(d.params)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/model-benchmark.js, src/main/resources/web/js/newui/benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f17f821efc91517b12bc1cef8a70552934c7f114a230f0151d75a3ff4ccf9f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d.promptTokens \u003E 0 || d.predictedTokens \u003E 0\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/newui/usage-report.js, src/main/resources/web/js/usage-report.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"b732944801ddf55193395fe52dfc935e71ad8165f623f3a2dfeb67f3644f046a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data \u0026\u0026 data.success \u0026\u0026 data.data \u0026\u0026 Array.isArray(data.data.devices)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/model-action-modal.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1ec1ba050b1307f738d2c759c951d2ea4c311cca3c8dd15de8b4e71fa14128"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060g.files \u0026\u0026 g.files[0] \u0026\u0026 g.files[0].path != null\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/hf.js, src/main/resources/web/js/newui/hf.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"023c7a9f8563c391c637079b5a98bb65e2b1a8662ff1f214c34c7504007ed999"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u0026\u0026 i.description !== undefined \u0026\u0026 i.description !== null\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/model-action-modal.js, src/main/resources/web/js/model-benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d321fc3d753f1959bf1e5b6c1f911cbb4e2c097f6edbe2b9143c79ab17e7aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u0026\u0026 i.name !== undefined \u0026\u0026 i.name !== null\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/model-action-modal.js, src/main/resources/web/js/model-benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7386c45e50c59fb9ffec10e02eec935cd49205b927c361be5117851b3e41eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u0026\u0026 i.path !== undefined \u0026\u0026 i.path !== null\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/model-action-modal.js, src/main/resources/web/js/model-benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"779c8d1ba992a652443605611e032675245b98e360cd35a6a748b73e1fa1d488"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i === 0 || i === midIdx || i === count - 1\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/newui/usage-report.js, src/main/resources/web/js/usage-report.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1eb6a43d14c889aeaa2f1492e4b219f02ad82a99a37a39cee7dfd47b4a25578"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listData \u0026\u0026 listData.success \u0026\u0026 listData.data\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/model-action-modal.js, src/main/resources/web/js/model-benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"0580618205b9362674c5882409ff15199a964b265e1a93283539ae02374776dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.startsWith(\u0027javascript:\u0027) || lower.startsWith(\u0027vbscript:\u0027)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/hf.js, src/main/resources/web/js/newui/hf.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c571aeed5a742095c539cf9bbd1aa093daa2e225a19cedd27a55ca011b884d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mx \u003E= slotX \u0026\u0026 mx \u003C= slotX \u002B slotW \u0026\u0026 my \u003E= pad.top \u0026\u0026 my \u003C= pad.top \u002B ch\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/newui/usage-report.js, src/main/resources/web/js/usage-report.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba196bf5c93824d8497f4b7463816ae7f42bbdcafafad11853431cfe550110a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060n \u0026\u0026 n.nodeId \u0026\u0026 n.nodeId !== \u0027local\u0027 \u0026\u0026 n.enabled !== false\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/download.js, src/main/resources/web/js/settings.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c604872784b0d8ccc9df4ad454766ae534a7d3bf7a895468081eebeaf9208f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name === \u0027style\u0027 \u0026\u0026 /expression\\s*\\(|url\\s*\\(\\s*[\u0027\u0022]?\\s*javascript:/i.test(value)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/hf.js, src/main/resources/web/js/newui/hf.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"513269ec2fbf27d624b5ff6aa1ab3eed7c4f9e2077531bb636b0393e6b61d0e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060navigator.clipboard \u0026\u0026 navigator.clipboard.writeText\u0060 appears character-identically in 3 files \u2014 src/main/resources/web/js/hf.js, src/main/resources/web/js/newui/benchmark.js, src/main/resources/web/js/newui/hf.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07f39a0540701f933d70ddcc987ab89094b8bb0bee836698e91a54bfb026660"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nodes \u0026\u0026 nodes.success \u0026\u0026 Array.isArray(nodes.data)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/newui/benchmark.js, src/main/resources/web/js/newui/models.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a88cea873d4063d1f9039f3ebe634c0cc4644bd6ec4884d4a60f4f7f53de07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.defaultValue != null \u0026\u0026 p.defaultValue !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/newui/benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff75ca5bac263f72f88cfe442760dd418cb22dba2c87aa4e577e3816980a5a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060q \u0026\u0026 !name.includes(q) \u0026\u0026 !(m.id || \u0027\u0027).toLowerCase().includes(q)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/newui/benchmark.js, src/main/resources/web/js/newui/models.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"76586c3a3fca1130a94cccb2318a4ec42105c7dd19d6209bf376bcbbe1ccd93f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.status === \u0027fulfilled\u0027 \u0026\u0026 r.value \u0026\u0026 r.value.success\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/newui/benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cea9de010397315df50089604361ecb78aad3004ca311627726b9c314be604"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result \u0026\u0026 result.success \u0026\u0026 Array.isArray(result.data)\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/usage-report.js, src/main/resources/web/js/websocket.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df9cdf938f04b503deef769f41ac53d2561d42a0459d2be81a33f132b77b8d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style.getPropertyValue(\u0027--border-color\u0027).trim() || \u0027#333\u0027\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/usage-report.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"500244ae4deb3f5274adff06b380c83959946e5f7cfdb936ab51365eae780c61"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style.getPropertyValue(\u0027--text-secondary\u0027).trim() || \u0027#999\u0027\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/usage-report.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d130dd3cb754e4ec556490ec2d179f2b56a5f14eed498ba68a04fa278b8d045d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v === \u00271\u0027 || v === \u0027true\u0027 || v === \u0027on\u0027 || v === \u0027yes\u0027\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/model-action-modal.js, src/main/resources/web/js/model-benchmark.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3ca1e5ccdd13da86a04fd789fc946627d30804c2fadc892ab34b0142519aad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.I18N \u0026\u0026 typeof window.I18N.t === \u0027function\u0027\u0060 appears character-identically in 6 files \u2014 src/main/resources/web/js/benchmark-v3.js, src/main/resources/web/js/download.js, src/main/resources/web/js/hf.js, src/main/resources/web/js/model-list.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5595d8b43e8222248178b0894bbebf1e8d5b7756bdae8c40a1fa736273f617"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.marked \u0026\u0026 typeof window.marked.parse === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/hf.js, src/main/resources/web/js/newui/hf.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8f6d3051912b020f1c229720873329634f5280fbbc04486ea6bb2aed6df7ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.matchMedia \u0026\u0026 window.matchMedia(\u0027(max-width: 900px)\u0027).matches\u0060 appears character-identically in 2 files \u2014 src/main/resources/web/js/model-benchmark.js, src/main/resources/web/js/model-list.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"48973dad3d8b9279bb30cdf2b13aca6e715b2cf1d74aae4a67cc8933f6821ff2"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): The JDK merges \u0060stderr\u0060 into \u0060stdout\u0060 here (\u0060redirectErrorStream(true)\u0060), and that one stream is still a pipe \u2014 and \u0060p.waitFor(\u2026)\u0060 is written before stdout is read, so nothing drains it while the parent waits. The JDK\u0027s own \u0060Process\u0060 documentation warns that failing to read a child\u0027s output promptly \u0022may cause the process to block, or even deadlock\u0022: once the child writes more than the pipe holds (measured on OpenJDK 25 / Linux: 60,000 bytes finishes, 70,000 hangs forever), it blocks on the write, never exits, and the bounded wait then times out on a command that was only waiting to be read, and the output is lost. Nothing fails loudly. Read every piped stream before (or while) waiting \u2014 a thread or \u0060CompletableFuture\u0060 per stream \u2014 merge them with \u0060redirectErrorStream(true)\u0060 and read the one stream before \u0060waitFor\u0060, or discard what you do not want with \u0060redirectOutput\u0060/\u0060redirectError(ProcessBuilder.Redirect.DISCARD)\u0060 (or a file)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsoupCliHelper.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c2ed6779e59016b9f8bd39925161311aa62ab697fb4a9dd4d92cfd68b71e27"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): The JDK pipes both \u0060stdout\u0060 and \u0060stderr\u0060 of this child \u2014 no \u0060redirectErrorStream\u0060, \u0060redirectError\u0060, \u0060redirectOutput\u0060 or \u0060inheritIO\u0060 is set \u2014 and the parent waits on \u0060process.waitFor()\u0060 while nothing in this scope ever reads stderr. The JDK\u0027s own \u0060Process\u0060 documentation warns that failing to read a child\u0027s output promptly \u0022may cause the process to block, or even deadlock\u0022: once the child writes more than the pipe holds (measured on OpenJDK 25 / Linux: 60,000 bytes finishes, 70,000 hangs forever), it blocks on the write, never exits, and the wait never returns. Nothing fails loudly. Read every piped stream before (or while) waiting \u2014 a thread or \u0060CompletableFuture\u0060 per stream \u2014 merge them with \u0060redirectErrorStream(true)\u0060 and read the one stream before \u0060waitFor\u0060, or discard what you do not want with \u0060redirectOutput\u0060/\u0060redirectError(ProcessBuilder.Redirect.DISCARD)\u0060 (or a file)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a59bf99fe5f4b2f4275f55755f1e3c6df317b7b40fb5450c281ca89a2391d9"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 5/47 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchConsole: \u0060fetchConsole\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/console-modal.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b3ed5cfec1ce07a549fcc203e0493789da139a96b8ce248ea2c9a85999db51"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchRemoteConsole: \u0060fetchRemoteConsole\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/console-modal.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c751d803322d96ad817cdd9c2ab8de5c7ecf6c23e77a31dbd4acd0b17c407b1c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchHitsPage: \u0060fetchHitsPage\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"914757698ac32542325800a83fa0977f90cee2b69beca383691b2569618106c8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: createHfDownloadTasks: \u0060createHfDownloadTasks\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccbf0fd54207ce0c7850d9879837e8203e222d38f721c372b86dcafb66a873f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: selectRepo: \u0060selectRepo\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20ec44e4a1bad0a9aa0e2422a964a1419560ced803bb08bfa05ae246b2e39a3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadBundle: \u0060loadBundle\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/i18n.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca79b56f483b7a93cd23229e55ccc9decf6a365abe9667fc783449e0fa3be96"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: calculateModelTokens: \u0060calculateModelTokens\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb995fd069847a2dc7424daae33698aa9de1da55da2127261ea167f031a2c7cd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchFromNetwork: \u0060fetchFromNetwork\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/node-cache.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"397a01f9a823f33a8f2beda9946089f27cb08568958d645bd400eba676a24feb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadLlamaCppReleases: \u0060loadLlamaCppReleases\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6430767bf53b780fb4139e5e116cf4250c9d35b618f2d1ee8b7756b238f0d1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadLlamaCppAsset: \u0060downloadLlamaCppAsset\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10a810a84c5dcc0e31f2680059de2f5cd22519173737c99702008a8f6dbd45d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadSettings: \u0060loadSettings\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e796d81a454bedf073d89aa3be4e39ac548451e65c24899e1b000951062fc00d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadHttpsCertStatus: \u0060loadHttpsCertStatus\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"815f3fd813955a2df08034a1268d108ae851db5a65ea571e3f0ebd9f3810ba28"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveServerPorts: \u0060saveServerPorts\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"888f74e54872445e1b3541f954ddc125d4c653bafc7b2714ee4720955c85a24a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveListenAddress: \u0060saveListenAddress\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"308c8c9894829e74c250c2d0fc6dfd38b9fe56d3bad8f0203cf31ce8b80fed4c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveHttpOnlyPort: \u0060saveHttpOnlyPort\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c7430666c38259f7ee9d66e2bb9894746ffacbb60a63eea10961131d9cc9ba"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveNodeRole: \u0060saveNodeRole\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5a1298d1c7f4900b24d5373a81639e00adbd5c6aa1d6b28b7ee3435aa5d7e7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: setMcpServer: \u0060setMcpServer\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c95f1a5056a2d672c6d686ffc72c8ebfcf7b673d6d98301aaa1801b7587526"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveSecurity: \u0060saveSecurity\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcd656cca07e8e765096b35f035b7ee80cdded42381db81392fc9038aaea900"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveHttps: \u0060saveHttps\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"917ebb2c8e481c58c3fe4582bd8ba3790e9a34d898c3ef92f4dd918df11dcdcc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: generateHttpsCert: \u0060generateHttpsCert\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b2d76db8e076cc742fe6eae1bc66d06d56a01a0668323f232edc1c6fe5aa10"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveLogging: \u0060saveLogging\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc594561dfe7407cf23f254142000aad198769be9c85c0ff745b684b4f89c0fe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveDownload: \u0060saveDownload\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92ad6b0d90b136fef5e5eec0d05b0b20215ddc624eeceb377508b5246ba252f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadNodes: \u0060loadNodes\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"659ece55360a21a595e9919d9cae80ebb8f7cc5f6d8773d9e2defd672e0be20a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveNodeForm: \u0060saveNodeForm\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a9cd37e7e6ab18ba3119ba80533927c986a30e35442ebd2e7648718d0f3f1f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: removeNode: \u0060removeNode\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c59c5b8c97a22c9efacc6c3867278b4af06121677b30111e938e9da95f58d75"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: testNode: \u0060testNode\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ceddeb7e10d167518a09ca47edb8935f408ef67b6db7a2e7d42ba4546a3f3d6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: toggleNode: \u0060toggleNode\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb75f339e048e874d18b8684c84f1fc2646412bdd8f53118f682fe7eb0e5a931"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: checkUpdate: \u0060checkUpdate\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2761a88a032f1758f232afee3269699f50d8a70fe07c8e14850792f7d45d97a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadUpdate: \u0060downloadUpdate\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9c2dbbc8965ca8ff5b1e2461726e4fd732dd741e45fbceffcc570a093b4d7e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: applyUpdate: \u0060applyUpdate\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bb6d9f8054ac4173c7ec9dcb8ced202f9ea83bfa3db027a236c3440039f313"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: cancelUpdateDownload: \u0060cancelUpdateDownload\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"936ddf20e2f73207cf55377ed2bf1b0a7203279a67515a74285063f135ba04ff"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: restoreUpdateStatus: \u0060restoreUpdateStatus\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"304991e739c4a6fe73fc663d9fb1e89e283228bfd1f03a79bee935ba257878d1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: addModelPath: \u0060addModelPath\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cf44e70a64e73399a5aa570e60b46a2b629ba9d6a20f55e37b0be8601ac2ac"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: addLlamaCpp: \u0060addLlamaCpp\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"80eac95fa10e9632609ee03f48cc97d247c1909fa7a50552e90a3845520cd5df"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: testLlamaCpp: \u0060testLlamaCpp\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbb27535e7206d48161f37d2edc2296b9f87ca6cac8982949930a84e168a873"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchTokenSummary: \u0060fetchTokenSummary\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"602bd7831bfdf84f2f4756bc7a085fab796155945221fca5b5af1a5ef38495b1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: deleteModelRecords: \u0060deleteModelRecords\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef415819eecc245a7d59aa95943685316f3494227e737af62faebe7e89c9845"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchDailyTokens: \u0060fetchDailyTokens\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"373cbe19aa67c2ccf0338f73668769c46cd3e0df8d3dc409afcd62d67d9ce626"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: initMonthSelectors: \u0060initMonthSelectors\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5c7e331da8eb3e7e61c75ade1be8cbd809c77050f48a79ec9fc3735d02d521"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchRequestLogs: \u0060fetchRequestLogs\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a163b5ca94a5a41d244b8adebf872f091047a7d9e7ab004a3bf79f7737845544"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchLogModels: \u0060fetchLogModels\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/websocket.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cd947a32c7ecc60e2f0c61341b434af6c7a97a48286fc2153a2ae36ed0a197"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: load: \u0060load\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/app.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac66f7bdcdf19c4bc14f626a51d8e772c78152a537e834df75680eb3492c110"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060window.I18N.t(\u0027page.chat.main.mcp.no_servers\u0027,\u0027\u6682\u65E0\u5DF2\u8FDE\u63A5\u7684 MCP \u670D\u52A1\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"089faaacd341f98b5b5711c71765a78b1342c7d08071962740c6e2272826e442"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060entries.map(function(server){const isServerEnabled=enabledUrls.has(server.url);const isCollapsed=isServerCollapsed(se\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/chat/chat-mcp.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2ac6b40f80efe08146ea6ee0c714032abc8ac5b20e41b465e418c233a53870"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060nid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/console-modal.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c290577f9cbc04736da9cd26af1fa92c4922e7547f6570cf24458f7bd249ecd0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060type\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060insertAdjacentHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2560da609931b24ed4a8b04f4b76194cf4e203d95d701beef033719e21c5751f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060title\u0060 is text this program did not author, and it is written into the text of an element through \u0060insertAdjacentHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3af13cadcd5f8fe8ddae8b24d1548419d0e24f42615f1bd8936f004127ed7a3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060id\u0060 is text this program did not author, and it is written into a script or style context through \u0060insertAdjacentHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"48719234f9ee73dcb8b4f09b09c3a30e12018160d19c5dad148c6998da628ef4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.load_failed\u0027,\u0027\u52A0\u8F7D\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c2efb315d9cfcaa93e170bb731c2b1a34f31f93b043859bc2ff807498442e9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060error.message||t(\u0027common.network_error\u0027,\u0027\u7F51\u7EDC\u9519\u8BEF\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4b6206e72d850369f6d16fb30841060bce8c41c37cea1e2b56aa60220c2b25"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.retry\u0027,\u0027\u91CD\u8BD5\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a76e08f081b2c82a2ae550651ad39133432e84fa47cf8f1b6ec3de3be1e06ad"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027download.empty.title\u0027,\u0027\u6CA1\u6709\u4E0B\u8F7D\u4EFB\u52A1\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e28792a6e1243f6779ba9e14777afaca6a45f98c7ea9220b6da6e55dca5b44"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027download.empty.desc\u0027,\u0027\u70B9\u51FB\u201C\u521B\u5EFA\u4E0B\u8F7D\u4EFB\u52A1\u201D\u6309\u94AE\u6DFB\u52A0\u65B0\u7684\u4E0B\u8F7D\u4EFB\u52A1\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac485dce8932f54e36605ee76ba60143bcdb07635592cbd23836408b9f9fd47f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.download.create_task\u0027,\u0027\u521B\u5EFA\u4E0B\u8F7D\u4EFB\u52A1\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4a99ce6c3568900e41f83d9c63170bf9bc304b19bf4e8f1e2c883f38cb0c81"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060taskId\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55579ff68f983053c6a465e1a19cb4a0780cc6e40c7d4c085e4211a01a8e9cf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060statusText\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/download.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99e862006c884b4938156d9fa117c570d39f6172fb544f211fb06c8fe8258f8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060type\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060insertAdjacentHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1c9145e65e88c9b41252b89f9302c36151beb7b2986002a024eeb8a7867b58"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060title\u0060 is text this program did not author, and it is written into the text of an element through \u0060insertAdjacentHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d3a5fb24385b8c0687a0242183d75659b0a4fc386eb5218a4b1a772fd47046"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060id\u0060 is text this program did not author, and it is written into a script or style context through \u0060insertAdjacentHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0de9acba67039ddf6eeadda7e08925bae502ef93add25fca0f730b6369c3d3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.no_results\u0027,\u0027\u672A\u627E\u5230\u7ED3\u679C\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2761bfeccd6e7bc55946d1a8b8b7403530d5bd05ca05602d889b6df042c5446a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060hit.downloads\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc775d9e6e1b5e4b661f0396838007e6dea08f2c39466cfa204bd4ebe6b5f0b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060hit.likes\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38c6c973c670424a0cb31e86196f1b1c760e79d9671e6697b078b07ba451fcf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060hit.parameters\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f4da78e1fb28780eed339df66ca56e3bae85c088411657f5638b4f3856d394"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060hit.pipelineTag\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2de5b56c841799bafb10df41342ff85d8e3fc0e51a603c16a24dd607c47f91"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtmlAttr(hit.repoId)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6938cb5fc8197d62614ae25775035843ea2ca17347554e374554be8172711e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.select_repo\u0027,\u0027\u9009\u62E9\u4E00\u4E2A\u6A21\u578B\u4EE5\u5217\u51FA GGUF \u6587\u4EF6\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9337fcfe153467a39f04a98dfbec8e36afe61faa53aefdc30eda24865423ee1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.not_found\u0027,\u0027\u672A\u627E\u5230 GGUF \u6587\u4EF6\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"16535e9960bbd4867fbda5c671eb309b233f2b726b700d17d46072ae184f1eba"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060tf(\u0027hf.gguf.shard\u0027,{count:group.partCount,total:group.partTotal},\u0027\u5206\u7247 {count}/{total}\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f448a027d07d93c34f3e620bc4fa1c67a2e64946c7213c9be617e62189fedb54"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.copy_links\u0027,\u0027\u590D\u5236\u94FE\u63A5\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"98babbd47fc428c8e6e07f23f6a42a13beca669c0339b5fd629e8a0b5cd374f2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.create_download\u0027,\u0027\u521B\u5EFA\u4E0B\u8F7D\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"438445fa9562d06ba18e6fde9d29d27a8e0926e47a13d0b66bc5246acc96c46a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.search.searching\u0027,\u0027\u6B63\u5728\u641C\u7D22...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"15559f610fb80719fe833b9f8f97e5fdf30f976ef62416b6446870872abeba22"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.search.failed\u0027,\u0027\u641C\u7D22\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5944ce0b12666955b3f572cea5e690a31fba781518a8c879cbc565d1b2015c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e15c8f6ba8c78c22aac4f87ca7b49285ede269c9bad035f0b3d5e5f5775cdd6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.readme.empty\u0027,\u0027README \u4E3A\u7A7A\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3acffa7a25a81b79f98ea22014f054a1a59b236aff048212996941311aea0e2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html==null?\u0027\u0027:String(html)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8a3c5c46c09aeed3429a23d428a8f8cee2037957735b161fbacc502fab4d88"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.not_found\u0027,\u0027\u672A\u627E\u5230 GGUF \u6587\u4EF6\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a870f4a37ede80a2a5f7de2d2cb7ce74e07b30e73c37eb856dc8590d297003"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060tf(\u0027hf.gguf.shard\u0027,{count:g.partCount,total:g.partTotal},\u0027\u5206\u7247 {count}/{total}\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5df8eb226a11090af6cdb3164a71dd57ab3cf537e7832a3e5eee394bc20696"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060index\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bde1dd5b39b1625455b8f995edbcadd319dd94bd4b8f01b9ad4a1d8d7d5399"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.copy_links\u0027,\u0027\u590D\u5236\u94FE\u63A5\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"44df7b5a6a2263a71bbfc851c3911a0dec8c13062d8efe81eea2016fd722a91d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060index\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d241dc49189be930e107f7739a36fe21f1c0ac4579bd8d4c21e291621ab66e4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.create_download\u0027,\u0027\u521B\u5EFA\u4E0B\u8F7D\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f3caafda04894cf73c21b5f8f9beaf7e560924ec3c06a87eaf6815fa230b33"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.parsing\u0027,\u0027\u6B63\u5728\u89E3\u6790 GGUF \u6587\u4EF6...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"8360c35b0fcc17359ee43419caf2f0ded89dde746a621d67070f77798b81f08a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.parse_failed\u0027,\u0027\u89E3\u6790\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"3556bef8a3558eacb6befa78afc97c4dc01fd37cb85c563120e056d2a23804fc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.parsing\u0027,\u0027\u6B63\u5728\u89E3\u6790 GGUF \u6587\u4EF6...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"196d828f517290158e071f3745a007bac12b76dc14691311403aa280eca060dd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027hf.gguf.parse_failed\u0027,\u0027\u89E3\u6790\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/hf.js"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c079d5c7131397c7e68ebe7967f91001b8c56ab58071feb1888b0703211deb6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.loading\u0027,\u0027\u52A0\u8F7D\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5e11e11bf4d1d2067e1c3c8c0f4c341eeb4e9564bd5ef4fb19af723a9cd18c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_action.llamacpp.not_configured\u0027,\u0027\u672A\u914D\u7F6E Llama.cpp \u8DEF\u5F84\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"2446fa736aa0e483745abb59513d4b785b4c92505c16b94e5c5004048516ac04"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.processing\u0027,\u0027\u5904\u7406\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6ac424aaeb00598773d8efcb2ff419ce6a4dabd9b0afed8022835d4cafd356"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.saving\u0027,\u0027\u4FDD\u5B58\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6bd203e61f534ba14388af99a4cbea217d2fa27f44811f3efa3d1a418fb447"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.processing\u0027,\u0027\u5904\u7406\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ea9abdfb43646c02a02d4f1fc5478dc562133e2f12338a431e30df608e9ea5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.saving\u0027,\u0027\u4FDD\u5B58\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4891b41b46863eadb310cf8c2b9c268fc28f9386c5110d5490aa21589f7df46"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_action.fit_params.table.param\u0027,\u0027\u53C2\u6570\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1e6128dbb0f5efbc0181120d37b53184d63c7c36bd872d1852ed7947bb2568"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060key\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd4537cb5e9061c8bcf0a12dfdfda2fe411af1be510c4035b56f17c373e1de0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.select_llamacpp_first\u0027,\u0027\u8BF7\u5148\u9009\u62E9 Llama.cpp \u7248\u672C\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4ec7b2d6efef475fe9d375854f541a0f28a1ce002ff78c6fd60bf99bb71680"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.devices_load_failed\u0027,\u0027\u83B7\u53D6\u8BBE\u5907\u5217\u8868\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1d166adc604c58aa32f53d1342c0d6d978c4c573270241c61c92f6c9ff0368"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.no_devices\u0027,\u0027\u672A\u53D1\u73B0\u53EF\u7528\u8BBE\u5907\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f396fdf82ece898db948b8326493ca32cba2bf720e5244f7c43759939b37868"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.devices_load_failed\u0027,\u0027\u83B7\u53D6\u8BBE\u5907\u5217\u8868\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ac6b0f63e99d7627309de93df55acb37a36a0639593c326389747d51f22c30"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.title\u0027,\u0027\u6A21\u578B\u6027\u80FD\u6D4B\u8BD5\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e581f8d55583f72f4ddd518e3d00bf374734459072d85bf292d31cf8e1a93238"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.form.model\u0027,\u0027\u6A21\u578B\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eed013859c40ad4d416dd78168dda96dd2acdae7a9a59bd7daa7ef355bfbabd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.form.llamacpp_version\u0027,\u0027Llama.cpp \u7248\u672C\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"92edad349f89d6a76a4cf6d615d38bd9fe566acc7ed1c3bc41d4e101444cdeb4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.form.devices\u0027,\u0027\u53EF\u7528\u8BA1\u7B97\u8BBE\u5907 (-dev)\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"70437eed6a826f0583dc1523eb4dfedcb9ff7b395370c4bba13d646384d68c5b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.form.devices_help\u0027,\u0027\u9ED8\u8BA4\u5DF2\u52FE\u9009\u5168\u90E8\u8BBE\u5907\uFF1B\u53D6\u6D88\u52FE\u9009\u53EF\u6392\u9664\u8BBE\u5907\uFF1B\u672A\u9009\u62E9\u8BBE\u5907\u65F6\uFF0C\u4F7F\u7528 auto\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b59071a065ae76769d736dcd91ee0e991fea8b97932ff6535e11781395c0263"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.select_llamacpp_first\u0027,\u0027\u8BF7\u5148\u9009\u62E9 Llama.cpp \u7248\u672C\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb356f0e119263f602d0280c77cf26581e5ff6865724fa1327247a0e9c0b90b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.loading\u0027,\u0027\u52A0\u8F7D\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"79898718eb8cf72fb20be32f9afac8c80dec1355226f61bec7dc0b800e6fbaeb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.cancel\u0027,\u0027\u53D6\u6D88\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5b776b8317ebad6c83b956c54b3de714969be24e362a157bdec5126a0bab6c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.reset\u0027,\u0027\u91CD\u7F6E\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8e557e55bade47bf685caf7866158fd9aa03691bc3bfc4b175a88075d13a1d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_action.submit.benchmark\u0027,\u0027\u5F00\u59CB\u6D4B\u8BD5\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"91806991d15d74c93b6bed82b4ef3002e9587e412922b7368ffa7817ef0ea3fb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.loading\u0027,\u0027\u52A0\u8F7D\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26d8accec7fb7515c94bc286e4c7c4a0b9b7e1b2f7b07f0cdd7777ccfc896e7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.not_configured_path\u0027,\u0027\u672A\u914D\u7F6E\u8DEF\u5F84\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cc3fc1adf633235eb94ed93e4ac52b19ea3673d282affd5cb61e88c50f2fa3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.load_failed\u0027,\u0027\u52A0\u8F7D\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6276dcef94969f2091e8567ae9012cb71e8bb97a80759a8e5bf74873604e42f9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060dataFullNameAttr\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dde5c85dc23eb15f829f0e87d1542c73e8e00b9de22b7ce91ad84f904bc7ccb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060dataFullNameAttr\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de2a6463c25b103415027278d45dbdc1a84002dfbcbb655815319f105734c5c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060dataFullNameAttr\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a9bf9ec2430f830950225a0fb435818b07d82ffdc4c757acc14258c19fcc06"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060dataFullNameAttr\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"163e05afdce7f589747f1ff280a8c53b61afeedceea363b8cd3837bba81a6a7f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060dataFullNameAttr\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a782fee8f043bbbddacd7bf78640fa416ada397a4d772e982056cb93db5000"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.params.empty\u0027,\u0027\u65E0\u53EF\u7528\u53C2\u6570\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7efeaba23f9c16cffa2a0ff5620eae4a026dff8da4f1d317b941568f73945de"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.select_llamacpp_first\u0027,\u0027\u8BF7\u5148\u9009\u62E9 Llama.cpp \u7248\u672C\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"8173ab0204519d8721fe2f8850eed71ba6c38767be98a88f95c264ca5d729451"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.loading\u0027,\u0027\u52A0\u8F7D\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5586eea108a087f0d38fd54af2681d55174b32caae2aafd9e6322d909c4848e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.load_failed\u0027,\u0027\u52A0\u8F7D\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6016da180a3450866da97f5004e83088df5ed6b2c9a3d9d0b0a4ccc7f0805448"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.no_devices\u0027,\u0027\u672A\u53D1\u73B0\u53EF\u7528\u8BBE\u5907\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdf8ced1b1fcec362b22b75a9cb18415f9dc7f34ac47fac44d8674de420dbef"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060value\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b674122e8dfb9cb525020a67cbf4facee34f198a03fe4b6fba08d5133e1afae"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060trimmed||value\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30398d0454fe440148ddcfbc69c9d9a976d0118f336d59b4a6c9df074475a6d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.load_failed\u0027,\u0027\u52A0\u8F7D\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"31077637a03d934b5c94c1693fc1a6cef620c741a22fdfd502ba41de81cbd6c1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.running\u0027,\u0027\u6D4B\u8BD5\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2d306aae27fe115fb31711513336c337531621e296423585efd6d5d45b576a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_action.submit.benchmark\u0027,\u0027\u5F00\u59CB\u6D4B\u8BD5\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"053200064b05bc9a4de87d9f855d29deda1722a0e8a24aad4c7cd4e31e8603cd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.results_compare.title\u0027,\u0027\u6A21\u578B\u6D4B\u8BD5\u7ED3\u679C\u5BF9\u6BD4\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bf1456362cdad96ab9de7f2cb517d79c1bf12e2b48df05f701509205515a83"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.results_compare.files\u0027,\u0027\u6D4B\u8BD5\u7ED3\u679C\u6587\u4EF6\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c60dca5219c718fce6685f197eef318e5326168a68c1f066ac33bb90fc9a1a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.loading\u0027,\u0027\u52A0\u8F7D\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"66799cdc4c290acae12ba83fbe010f49a909125416b64ac2348a95433ea50f81"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.results_compare.clear\u0027,\u0027\u6E05\u7A7A\u5185\u5BB9\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a11330b663b23e6159dce6cfa161fd37b298a333e13a17e77949fea7e89ab7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.close\u0027,\u0027\u5173\u95ED\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b1951199e4891a56b665dfc9d3ac50057799b15e6cc75ac4df895370c74b77"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.loading\u0027,\u0027\u52A0\u8F7D\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bc5f77c6ccc9e8aab9948f2f44b55dd4520a6c45b8fc974ee6ed4025443cb0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.results_compare.no_files\u0027,\u0027\u672A\u627E\u5230\u6D4B\u8BD5\u7ED3\u679C\u6587\u4EF6\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"9057f01677591517d611d3b1843f93368969a917f88022da34d84465407f6e1d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fn\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"418c47ff38a8dc38c85c179d8667c1bcd51d796fc25f6b90575a332d61c319e2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.results_compare.modified_time\u0027,\u0027\u4FEE\u6539\u65F6\u95F4: \u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75977033a77597225be3c2e0e01e9a78ce87c24d80ff198da97aebc9d8b7902"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_benchmark.results_compare.size\u0027,\u0027\u5927\u5C0F: \u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"b030c6ebf554696a4714983cebeb4d58b74a5a12c0a34f948c64479d71bc6c89"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fn\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d734518497d541ac78d455f4a4af29b93057989939f6118a52a71226ac1505"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fn\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-benchmark.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"c346152a53d9250504bc4e7338e6514590caba629e31d223902551d1f158e3d8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.title\u0027,\u0027\u6A21\u578B\u8BE6\u60C5\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daf32808bde67c1d421eb79814840d99f549cb9e374fec278e237951d1f6df1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.tab.overview\u0027,\u0027\u6982\u89C8\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c7a69e3b2f6df6bb739f7c4acaab686b45a2bfb4a051d8d2ed8cb6c08e4f7f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.tab.sampling\u0027,\u0027\u91C7\u6837\u8BBE\u7F6E\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35a52c997603e2dce4ed835553c80aecb0b3503fe3e1e084247d1213fa5536a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.tab.chat_template\u0027,\u0027\u804A\u5929\u6A21\u677F\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44e45a0d54991f1f8e36b0918be717a8c350d209509dc24816049d4a72b36f6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.tab.token\u0027,\u0027Token\u8BA1\u7B97\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32900e20c543f9c7b21ae39c187b7cd9f180ef3c947b645bf4e997d8a7fd641"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.tab.kwargs\u0027,\u0027Kwargs\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"92853fe14f62cc335ee006d2b26496556444681230734853275b037e094aa2ae"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.slots.title\u0027,\u0027Slots\u72B6\u6001\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ce6a506543e591f28061b057b084ac2c80e61de6a0773da37575c19074931d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.label.name\u0027,\u0027\u540D\u79F0:\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9d24a1c86e87d5134cd998df1c41c75dc835bf17ee2bdfe162a721651d2778"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.label.path\u0027,\u0027\u8DEF\u5F84:\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5c07384d20044bcad126d00fc374b9cfff46a124b12d461f783b0d72a4bfd3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.label.size\u0027,\u0027\u5927\u5C0F:\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"87342ad9816467365c880ccb7a0ef838f2cbde9ef52f411d825256dbe247b405"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.label.usage\u0027,\u0027\u7528\u91CF:\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e76018bd3c185f103848c4af8e6a685cb950ed73ee2d837d418da5ef3d0a1a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.label.status\u0027,\u0027\u72B6\u6001:\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"179354d59fa57b2ec9918c0838234404c174bb30b220b25e98a53d04586e1ec8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.label.start_cmd\u0027,\u0027\u542F\u52A8\u547D\u4EE4:\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"566b7db001f666329b7e9a1af7405cba7b597052d6483673de7307a8b871951e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060k\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c313a0abc286121cd9f6f5833bbebb49fc4e782f6d17f20d12200a0cbf7ef7b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.sampling.desc\u0027,\u0027\u5F00\u542F\u8BE5\u529F\u80FD\u540E\uFF0C\u5C06\u5F3A\u5236\u4F7F\u7528\u6307\u5B9A\u7684\u91C7\u6837\u914D\u7F6E\uFF0C\u800C\u5FFD\u7565\u5176\u5B83\u5BA2\u6237\u7AEF\u4E2D\u7684\u91C7\u6837\u3002\u6BD4\u5982\u4F60\u5728\u8FD9\u91CC\u5F3A\u5236\u8BBE\u7F6E\u6E29\u5EA6\u4E3A1.0\uFF0C\u800C\u5728openwebui\u4E2D\u8BBE\u7F6E\u6E29\u5EA6\u4E3A0.7\uFF0C\u6B64\u65F6llamac\u2026\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1b88847961688a807a19e0a80ce79f031b80bf655a92b34dd4dda73320eef6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.sampling.config\u0027,\u0027\u91C7\u6837\u914D\u7F6E\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a4c0100c5765e7d4d1a02648735cbd7e2de80fd49559a9e92f2319b832ff4f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.sampling.add\u0027,\u0027\u65B0\u589E\u914D\u7F6E\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"377ca18c1cba985d3fb23dd5ceabe39b576574ce6aaf6cd7005d5b15416f294e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.sampling.save\u0027,\u0027\u4FDD\u5B58\u8BBE\u5B9A\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bceaad1c680512e348a23067b0999269ed3541ec452add75db0972b10e0773d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.sampling.delete\u0027,\u0027\u5220\u9664\u914D\u7F6E\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"becc7a4f6ac403799b4a49b59b725ddd544b736edad2c1bcd6b9b978f5170c5e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.default\u0027,\u0027\u9ED8\u8BA4\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b5e1e1bb3d74a976b5b2018bada38f3d696b79083c84a89146af02033e0bfe"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.refresh\u0027,\u0027\u5237\u65B0\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b7a3138bdc01c859cfb6ca70bc1bf8db56432cf3cd0a9fed08523aa0df9c3a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.save\u0027,\u0027\u4FDD\u5B58\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1989711f6e29a93d0e933db2f9c41335ee0e36f3fc4818e549836425f8493c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.delete\u0027,\u0027\u5220\u9664\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d306ff8b278027c86a46ea1254b87845ba306b72878e3cffb41994fadaab510e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.token.calc\u0027,\u0027\u751F\u6210 prompt \u5E76\u8BA1\u7B97 tokens\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc004b85d4ffd794b39c018e472a316197ba1dc1b05a6f02cbda5aef1f7cef77"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.token.tokens\u0027,\u0027tokens\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1699bbfef388733fe05f4bf10d7b29f3fafbccd587d45dada0b1d411db09917"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.apply\u0027,\u0027\u5E94\u7528\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bec4a144fa628870c4aa8f6f80ff5a28b774fed829f3913eaf13bef0108c96f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.clear\u0027,\u0027\u6E05\u7A7A\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36cf1e73d168aa3ebacd5d1eaab51ba2745539b840500426a9805c4aef69394"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_detail.kwargs.placeholder\u0027,\u0027\u8BF7\u8F93\u5165 JSON \u5185\u5BB9...\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8570fc115ab33ede30a8e0b17c0eeb6a0f9603a39060e5e900798724af335c2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.refresh\u0027,\u0027\u5237\u65B0\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1346bfaad08220a43a2311b5c25a26ab6d3083234a6ea4feb9f2106fbeb1a4fd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.slots.select\u0027,\u0027\u9009\u62E9 Slot\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f875f951a1632dd9bf8deeb542f58cd5e107f675da7c02626ae650944a06e55e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060placeholder\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc4cf5f18772a0fda6619c55058d4a8dc0a59f4665fb0441e7b48650df3d1ea"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.load_failed\u0027,\u0027\u52A0\u8F7D\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"993c1ed437c0bb671ce17b2f80fb9e455894b9f0ebdf563db6c24304a70ca28c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.network_error\u0027,\u0027\u7F51\u7EDC\u9519\u8BEF\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a573d66ed975ff6454a6ec9003d310e5743769955bebb4db59da0b7871462efc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.slots.empty_title\u0027,\u0027\u65E0\u53EF\u7528Slot\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"def5ed1d58433b2e5c98f773c42b66bc7a456f3daee3babc9a9435b52ddf0577"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.slots.select\u0027,\u0027\u9009\u62E9 Slot\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f834c1277696c289e52c734950b3f108a5a3204df5b712eb150b801b2f6ba72b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060id\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-detail.js"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a72c6ae9ea832db2cbdf34397d5de92963f45befd8e233fe6144ad1d31d0848"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.load_failed\u0027,\u0027\u52A0\u8F7D\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"19627839eb5efc126e73233cf7199793262b1ea99e3a2ff7ff8315283523f9dd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060error.message||t(\u0027common.network_error\u0027,\u0027\u7F51\u7EDC\u9519\u8BEF\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc84598d47db56872f1984f49df845c3b26bd22e9eb3948d946c7bd00cfe149"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.retry\u0027,\u0027\u91CD\u8BD5\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae56ea98bf3325c9c194d713262ed8db3aff2e69cbfdb9ee7a8fc5bbdb7e1bda"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060emptyTitle\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b693120bc4ef793a535963c8dffc6ae246240758c384eaa678560bd819124ead"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060emptyText\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"233da709f7710dfe42662b55ad7dfbf47f8d02fd34408f9f5f45815bacf85444"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(nodeName||nodeId)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8aad1cdec027a32e4d8a6f2b257a6c6e95995ce5f6e2e234ffad4740e309c0e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060modelIconSrc\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a294b45749091648804e8c46d8e73326937ebc10525f84293e23da2721f5f8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060architecture\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa36967b2137334b873a724f6edf241d090ce4d41ecf1da641f5766c5d2636c1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060quantization\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9f37265490d00f566cc6fe056568db9d9dfaf7d4a0fa43423f02700ff9a43b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060model.port\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d67c4b5cd9c5811b19f6f276985b5c657ab9a88d96e99e1991f587c7bc94c96"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060model.name\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd46eef26d10c42701466af6541893eae0fbb3962961e30ed2cd3b3ff4eb8005"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060model.name\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46d086c1b28c21055dd7c3fa983e6088ace9b8524ba033a3468b790250ce34b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060displayName\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a582b68b120bd56f0576fd4f58b04a716144caa1dd5062c52839b2c39bfe5e20"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060statusText\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"95598a3aa123227b4753ddd91b28036eb38fa4e1ebf17435dfa628489c684ac7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.model.status.busy\u0027,\u0027\u5DE5\u4F5C\u4E2D\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"968268f3777b20a2180a422bb3b83ee66e900cb5e3f5dd4a80fbc9be9213d071"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060encodeURIComponent(model.id)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f97f8e8fe38f54732ca732b0688e07e85f937df0ab7af2ad237d8af996dc154"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fmtSize(m.size)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6d391f545291dd8ebc7a7a7b60a54b8e8ba3a7ff4f57512d4b9e9f14f9c531"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc((this.nodes[node]||{}).name||node)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"59853d7c13aa6f3f6774deee84f4ee9a7a3c4ebc450ac5f6ce29dfa02b553b2e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(key)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e8f0667ec99ce87124d9abb6a40d268293ea3bdced62f842e33cf96e3339be"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(m.alias||m.name)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf265219879d2f1972b5baa14cd8ff88f458e2203ee65b20b380e3a8d9b5244"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fmt(pf)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18299e704e4b63b4712de0900fe73f5b6b869abe5b8743368e4588d79f36287"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fmt(dg)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"20662d4ce499af94bb22c1f54638478c22662a34bb90db15833938af0e1e46b9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(p)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e00d563f41bc78afd63a8fd54a724565d6e3a66b9e26bc0a4fcb4223104a0a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(f.name)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"3060efe63b6a1734af4e550222c41bdbde594840ad223a5ee037f9b9cd904b30"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(ts)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f286eceeb9de7c9969e0c495c9ccda32ea56366eaa7ad9a66ed5aa0d2574eb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(fn)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"470e7f8b323dd8b79f415c9100d7d26ef928fc0b1730dfd85b74a02a4f286d73"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(label)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb23e48a17ff72adb14a64c0474c96912dfdbebd03127fa2986c2bd01a3919f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(I18n.t(g.key,g.key))\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbaf91e435a9da490d814778df6525301a6fba8777ad425fbef92ebc80e8bd5f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(benchDeviceLabel(dev))\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cd1c06a30efafdaef4b996e4cc7462ff4226c179cd9df86b2a72794dc90ce4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(benchDeviceLabel(this.devices[devIdx]))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b05c1ba4c8f5e739cee25aaf351fd3ff0fce012e9eaea6550a3f93cb0adb8b3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(h.parameters)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"045434622e63d3117e2002403c7f011bcd0119082d458db35599e9a255ff4c95"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(h.pipelineTag)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf9ebba2d3212f6b195149f846a85c99f36bc6f47b58b91c4d634e6b221a204"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060date\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d11a228b32db5d5a8a0de7fc8a34d12a5ef72c12088dda487637983680520fc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(repoId)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19e7052c2c015458c310694330459a528b6b290c5f1021ff48d5edc90210d3c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(repoId)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e8c771371c882bab075228088435314f97f6835fc2c445dc562c55b68ea31b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(hit.pipelineTag)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"21af91f715ea11cbff361a33192f2d2af16ebfc69c6634b46454a2748a842b38"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(hit.parameters)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bb6575e4e17917edf827557ec88986f73608806725632c899af837f1d11d44"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060date\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d813dc2a73afcae3cd65d24ccd2fc7ac271cdcf6c70d35ad9dae3f3ab4c463"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(e.message||\u0027\u89E3\u6790\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"677f43f2d8fa5e66620a6cdf653b15f3165959fda6b0b69c69f6545e1a774f57"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060sizeText\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba5aae8bccee9df201d159f03290287cec5ff462282d35f54b670484acd8631"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060g.partCount\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"460efec42ccfb056e8f94c274635fe52eb07dc4d5dadb0234e81ea09b7d83bd6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(g.displayPath||\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"23180cbfcdd4cb81d62ba5419897acaa75d87a68d507e4d1058d4d98e3ca6ce9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(e.message||\u0027README \u52A0\u8F7D\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a64987fe9ac57c03a17fc13badbce378a0c91143eb9fbac1c6d366bb394d4e4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(input)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"862c789d3d5c71e76c2aa79b05146446283f88839bbf7f2d4500cff2c8390171"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html==null?\u0027\u0027:String(html)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/hf.js"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7506ca6358aa130c6c0a1dde7243072bb2d61d35f9bbbd40b19f1f4cab5f47"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(n.nodeId)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/logs.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84d892e6b095210d2b8b5d802c72c043433a7db8ac8fea0d8874360a5b0b717"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(n.name||n.nodeId)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/logs.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f69cc76e2256cf2e4e664c998bb643dee179a6d70ec20c91205c1ce8de595cd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(i.filter)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/logs.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7e5137b1e22847de89df3aa65be2f51f79597f1bbd184962aab2b7cfe50890"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(i.name)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/logs.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"47693c39df2810944cdaebcc5d0395ea6922030c56366f460ba098474768064d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(i.filter)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/logs.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c190d1c0e786146029965ec2905077c7196a1a6b7fabee09edfa9bcff301212b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(e.message)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef34530116f0613964254fd0704f3040fce1be26d0257c53e09ca05155c5d1d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060d.taskId\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d076806c8c705ec80e1345e16ea848c141d030a26a7e4c28e099edc9e94e75"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060d.taskId\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb5be8edea76b14e863e272565b7c81a2c1f73b429bca35139081f25b828756"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060d.taskId\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e8fbd48dae72ceafdbc6128fd38312c2b6b7c440241a3846a41d2d117df459"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060d.taskId\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1032d0c4f6a73ee84801e870ee87ad3ffdcdaef558fa305197d34ddd96f5ae"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(d.nodeName||d.nodeId)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8691f5ae164651adee4f2c77b8ab28428dfe305e0ae333cc276fa0db83bf8cbb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(d.fileName||d.url)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba5bf2be0bc12139e66f8064e1f6a5319e5dd55534fb6b2bfa786c08aa0aa57"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(statusText)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf2f9b2ea970523cf878a834120bf1dcda59d99a9e79c69c3d2c4359b08b43a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(n)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e40f33ccd8dc2857899f9bccf15f4c1a92f05c856f3bfc27c159fcd1ebca01"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(n.nodeId)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d53fa3a4a2a02156bf2b504085269f3cd4b73643e75efc85bbf7ae911431cc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(n.name||n.nodeId)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f444d29b495b64c1ac1f234521f04e3f02d0769edfa63bb9d26560ec09d50c75"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(e.message)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8062930c6a139c944625a7cb38980b79c718001af84bf8f23b2f908d772a5bf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(gpu.name)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"903a1c2b1448b74c6f416b07f9e18761843d9378229ddef8de058d92a27ca347"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(gpuTotal\u003E0?fmtSize(gpuUsed)\u002B\u0027 / \u0027\u002BfmtSize(gpuTotal)\u002B\u0027 (\u0027\u002BgpuVramPct\u002B\u0027%)\u0027:\u0027--\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa990528ede53a439dce90b168a078316e7414fdca13541c53146d5380b86fa3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(sensors.temperature_celsius!=null?sensors.temperature_celsius\u002B\u0027\u00B0C\u0027:\u0027--\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f387db4d90680b0141141484cad320d15ee3ab4c0d6b41dcfddcd888036f6f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(sensors.utilization_gpu_pct!=null?sensors.utilization_gpu_pct\u002B\u0027%\u0027:\u0027--\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e496a407226760a6ae8754921a5cfce052c09748bf6af115bb9d17aa31d6537"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060power\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4514ae66ca88392b92e9e5b80a5e18bfc1444d900147e10d9220c4a5dfb5dd6e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(sensors.fan_speed_pct!=null?sensors.fan_speed_pct\u002B\u0027%\u0027:\u0027--\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9832645ab6dfa23d0a926708f6564d68e3450ba38cb36c67d8f4fbf27b3e3b8c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(sensors.driver_version_str||\u0027--\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7cfff1bc188aee7965de68bc6ec89b737cf6b933399c0ad02be268129c9a2e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(disk.name)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"825963990b011cab3af957517a3e8ed03cfd749bae6c6b1246a3b384c2a1e954"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(disk.filesystem||\u0027--\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7057e64f7fbe2e544c1adc596479c3f435ca1288d6d7a0be4f4c91db7a6eda06"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(disk.mount||\u0027--\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0081f6d1b7bb8449bc15513b0bbf33257daf07c6128d8cc75b0380856870e728"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fmtSize(disk.used_bytes)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0939045f4003d035b5a47214fcc5e57026fe5e93cae87f7bab8848cd73e77627"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.barColor(diskPct)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f3146f177fd429eaaa7a70e6037f9fd4e671114ce1d81d324716f6d08b7713"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(n)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8521936ac33b2ee2f6df963fcaba12d65af94c3d6901eca6f34cef1cd811dec1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(it.path)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d391f1de1236a7a2f9ab007138367cb50f8ce2539b8ff7ef097051e78f204ffb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(errs.length?esc(errs[0]):\u0027\u672A\u68C0\u6D4B\u5230\u8BBE\u5907\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d841b68b66b3240d77b1243f43e639da08cce9f0c92500008fa623bbff1918"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(d.key)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"10de4e37ff169a7ac4249ac84b1778133c0ef23ea705eb877d98edcf02be23a7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(o.value)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a117658a57dfbe66a61dcf718ec75d109e8524db2e44ab45665476d0d2bbdf9c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(fn)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"2188909409e459b231c1153df10efabd26039639ef0548a009939197ece4a31d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(label)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b2b258704c8d055029a18a234c36009a1ad0b7ae8852986ef1f2695cc54673"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(I18n.t(g.key,g.key))\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8236c29792a909c09c62195dd9097c7d8a58c05118d51be93188d26ff767c178"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(o.value)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"da78f50b7daf9a1c16988d9d04826b8ab7391c0ddd926e928dad91d53084f9d6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(s)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8477bbbc174abb222ac3bdbe3818c01d1c3e4c8433e36875c0e99d0e7d55c892"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(order.join(delim))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-config.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2177e0366d1e6b130901430e67fe0049bb397c931b5e5400315a63e1354496"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(m.port?\u0027 \u00B7 \u0027\u002Bm.port:\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23c1733bacb46c9a65a2d745902a4f2a42bde7e1b448b10ca9474a3d4b9bbb9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060icon\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e8a6d0612ae3cd6a413985fe263209ccf755122365ca637c42e26ea2d43242"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(m.alias||m.name)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c793fbfe00422a18097a7fd7c452d903a7efe3fdfbed9d1b06f4220e1d880c67"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(e.message)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9f4b303c06907aff9d41c2c60627f0c7f96eb1a1b597f8c8e490045fa0b9ba"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(cfgBundle.selected)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc5df657c9f50fdaec7de9cfce36edaff6a6cf9f7711c553b8fec3c5281a60a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(n)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a65fde1d127fd451817960b837f6a4d923c0df63104e02a5463525bab9aeba"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(e.message)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8cac5939b662484ddc47fa7be0473caf0f42e721502662bee9f36d3d35e9d1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(cfg[k]!=null?cfg[k]:\u0027\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2b0cd3005900dd1aa038bc46e027f59ed391fd38581a8d3ccce906575f4cb0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(s)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33c3083a2390e404003963d3ef7d1a73cf25b2ea6bd94cbd457a179aabc8f7a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(order.join(\u0027;\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"93531ee9e7f87ad6872c56cb5b3b70237b82e1e8a33cfc3050d2c38eda52f6a4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(e.message)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/models.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"524b734734f14a948e586e039087ebb4475fb103d8678efda2e629374046cd8c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.loadedCount\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/models.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"526ba06cc469ff3c3929412ca6f4132e33d2866114557e866f654cf30380e285"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(id)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"967238304be6978bc0b425bdf18fa4ea29c0d1420f697f4d5413c40a9f2e706a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(e.message)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa0018815039453c65cb4bf0ca10a187a80cb93d67c0439043a34f9766f5187"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(it.name||it.path)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8bb4233b693533df632cfe019c9c60293cd754eaf8246734c23e3acc977772"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(it.path)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"052a632f312628a6271ecd4163403d17de8aed7d0c9ed3183283e3c96eac4604"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(it.description)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafdad36a1d9cbf9089ba285165d5b74dca0ed2feefb4d3eb9a2fe8004c0fb83"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(e.message)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca417c3c66d978ba465ab83ff6ae92d39cb30799f44ee854d5ac15296e72ee95"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(it.name||it.path)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c7e799624c9c8c14b4514e053db62433b0feccff65f131185157db52ea8052"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(it.path)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd1354c384643760f5c2aa661f39cdcc87aafd268300390c3b27d2d38796e62"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(it.description)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d676ce151be5b9340ec31db1792ca503a0dd2cdc1adbc327d8e57e912eb576b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(t)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eae0102d12d644aef729c72a88562f48d2b2075620e512d409ea1de621bb78"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(n.name||n.nodeId)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e0c13ae9f9bf30441b4ac4907542f1c0232132191d5a1f7ef9dea9644ad688"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(n.baseUrl||\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e6938c516e0099a6418946ebf2675a9acd8b50c7db3e5231792db38af426c8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(this.release.tag_name)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"017c3491cf417c008b7bb2c669484966e0db5f446feffadc66fb8850486dc62d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(sd.pendingVersion||\u0027\u66F4\u65B0\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"387681bbf11be8f9d661b03991fa0100e12cb6325e6d202446d8336c88b269e8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(d.version||\u0027\u66F4\u65B0\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"338b3d655e2c42033db69456f4bb6280dc35b420c34be9e83df1b033e1e8b3a1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(info)\u002B(r.data.html_url?\u0027 \u00B7 \u003Ca class=\u0022link\u0022 target=\u0022_blank\u0022 rel=\u0022noopener\u0022 href=\u0022\u0027\u002Besc(r.data.html_url)\u002B\u0027\u0022\u003ERelease\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1866e6f83449e03ac5ca34448283fd72c54cb0f39882a347632d7437bf2fdd89"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(r.data.html_url)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c26ed48da023e02fc6a99ea22a24278b453eaa49f9b40dcdc29ab391fff6df3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(a.name)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ac55be88ae26105a105a6e6639b32b4d7f1088df657430ed07729aae3fb5ba"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(a.name)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"93626b55aeecc53021b90d6b3cf23273444b96a582a627121e28ec7617859cb7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fmtSize(a.size)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff258c1d187002bb13966423abf0a1eba49dfe70b887da37c0bb71575cd4d33"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060act\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"212850b4198226abeea2f678762a7b00621e39c4d4092bbdaec0ea637c0cb895"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc((r\u0026\u0026r.error)||\u0027\u52A0\u8F7D\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"687fefafe3718f6f5ff12368eb669e720561f84645bb92a41f9358678baab302"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(it.name||it.path)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/settings.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"53abfa6ad3f2cd1d9d19044424211b50638cd14162c8ef9cc5d131f2db0dfe45"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(m)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ff69ec32d20134fd8452f79b0a5e21f017df566637b4b73a51d4955aa33c47"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060totalPrompt.toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0bc222e3f7f055a608f2f8c1cd958e62c0f6964b9adfb97b999c366cc8a562"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060totalPredicted.toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"859002a29fad3e2f92a9500ed4aa3bce5678ed8caa92b1300bb477f58bb76f89"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060totalCache.toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ffa73d98132951e6d54e96d4622dbb741218141c96d0fa1f3a7ea6279eb639"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060totalDraftAcc.toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"31990194d0f6f7afccc1a8c67dc2b3b7b48ae125e6e3dc996524a6de74739392"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(id)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7484518376eb0c234fae4f9f88641f11aa5d526fa3ed16b39772b5e7c884c5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(id)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04b46faf8ec5785e4794037dc427cce2515cf4535ee7d84be94f0acfd231b5c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(m.totalPromptTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d252f986b8bf50c01d4f2ebe63496367153ca431419e143e441b4cf6986fa581"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(m.totalPredictedTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"959d0303b882fd402c8f06949baabe000c09a5a836cd962b20764e7f6fab022d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(m.totalCacheTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24c8c8829e494e54b65a10f1de9591adac507e045123cc7598d5fa8a33d4844"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(id)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"288295b11481caa68a5233ebc75c5255254bfc6f631b340060f7e85ce7b4665d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.formatTime(r.startTime)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"43353a0a3c8820991b84061da1c03210b7e84bbb545e1832b88cf1488dd33ebd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(r.modelId||\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebe5b31a13e343345efaf3807a4e947f5ad61fe478d1bd6b762605ea558d15f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(r.endpoint||\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce2854f8d693d56594fba3b814e54ba18525725639421a171df17862b783e2d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(r.cacheTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a037cbd9f20ae454812ff84fcd661b7cb89274f187776a3e8c6ed51ab6406780"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(r.promptTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a9e6de357317daae8295f76ef5bdd7973d68e334f38bc1f02289ef0948683d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(r.predictedTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f90f41c2e476e0ec7a511666760117c2f1ffd4bec511d73e2845d7d206080f4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(r.totalTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d098e59a9592735b8ef412ad31191ad6b98a187ec87c7a1d2264db15c29652e4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(r.elapsedMs||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdb914c0b948697ec995a683804a10aa6aaabd97a2d6e5b7055306243a81c9e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.formatNum(r.promptPerSecond)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73460104bcdbf8abdcaf2cae5271b24ca2f5df9467e6c2d7462124512009900"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.formatNum(r.predictedPerSecond)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aab8161f23f2412d736632c6f5e81aea5bc289e06e0ce4efa01146b2e63705b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(draftDisplay)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/newui/usage-report.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6f95ce3da066ac0050545c6028fefeff9d799639c53d6ade828d6084536b44"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060dlCount\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a843534b53926fbb8c04eb4659b86a404c3ac44497b489643c7b3123bceed2aa"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.llamacpp.downloading\u0027,\u0027\u4E0B\u8F7D\u4E2D...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f251fc4efc2c5f67461b9da4e1940f92a17f3927b5fea9cc38c62e5be87fd173"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.llamacpp.installed\u0027,\u0027\u5DF2\u5B89\u88C5\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0f2a72b8abf8e16078462975cc361307520685e3f889b2f5be29dfb7aa8273"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(a.name)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cf54ab6eb6dfacb7c9ca595003880345ab42dbfc3119f8c09b50b4ee0009c1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_path\u0027,\u0027\u6587\u4EF6\u8DEF\u5F84\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2145f3d14abc5a1353bc2132ba2752498a0c11e85b87ea37717869887b6870b9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.password\u0027,\u0027\u5BC6\u7801\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d8fad7bc42d3e0d57ddec4a07a6b7efd1885ef01d2fc770cef9049e1a076a6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_size\u0027,\u0027\u6587\u4EF6\u5927\u5C0F\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"534f78553a574fdc3e54c8dfac77f1e881f6dc86ddb435cff178754591846ddd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.install_windows_title\u0027,\u0027Windows\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0a2104e9cf265b9cb5d0f1dda6da05b39841cd075acb159c3b8888bc67fc6f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.install_macos_title\u0027,\u0027macOS\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"40976a228f7b074802cbc61dbd349ae9e65171b46591e3be67a643b0196df742"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.install_linux_title\u0027,\u0027Linux\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7faa1d792a64c165ce56066227d2a0719c6b5a02af712f7506f18f04dd1de31"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_gen_running\u0027,\u0027\u6B63\u5728\u751F\u6210\u8BC1\u4E66...\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"b526ac3be4e38c2464e1be84c409c05add8992210ded76dc34d570687355742f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_gen_result_path\u0027,\u0027\u6587\u4EF6\u8DEF\u5F84\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b42987c76ca3d870132afc1b388863af0abbcc6d42b96e683d50129b0a5dbc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_gen_result_password\u0027,\u0027\u5BC6\u7801\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a96c4db988d281352fdf208eb1e1272661dea58563807a6810f8c61138ad58"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_gen_result_san\u0027,\u0027SAN\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"930aacf83f317f2fd1db08989cd510bd6c6617c669e4f9cad8ab9b4d8e8cb008"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_gen_result_expire\u0027,\u0027\u8FC7\u671F\u65E5\u671F\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c91bf59bc5032c5429b989cafafbdf83ede1752d4795a2ba9a47fc9f8ae138"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_gen_result_command\u0027,\u0027\u6267\u884C\u547D\u4EE4\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea786064bf91b874df7ebc5cb62657454f66dbddd46050e60b5db70bb0c4dfa2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_gen_fill_hint\u0027,\u0027\u8BC1\u4E66\u5DF2\u4FDD\u5B58\u81F3\u914D\u7F6E\uFF0C\u70B9\u51FB\u300C\u542F\u7528\u300D\u5E76\u4FDD\u5B58\u540E\u91CD\u542F\u670D\u52A1\u5373\u53EF\u751F\u6548\u3002\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab98faac28f22a0f647b3f75987cc679183e3b321bcdf7941b0744bd22769c07"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_gen_download_warn\u0027,\u0027\u8BC1\u4E66\u5DF2\u5F00\u59CB\u4E0B\u8F7D\u3002\u8BF7\u5728\u5B89\u88C5\u8BC1\u4E66\u5E76\u91CD\u542F\u6D4F\u89C8\u5668\u540E\uFF0C\u518D\u542F\u7528 HTTPS \u5E76\u91CD\u542F\u670D\u52A1\uFF0C\u5426\u5219\u6D4F\u89C8\u5668\u4F1A\u62E6\u622A\u8BBF\u95EE\u3002\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f0594a2dc908e63e0ac9d11ad131a55a4f8289b20b0b279007870197c8b0e0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.https.cert_gen_success\u0027,\u0027\u751F\u6210\u6210\u529F\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"2169b8d2ddb3dcf4ac952fe2a544c1870a427ab0a5b36d49440c4e7cd4c6c2df"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060nodes.map(function(n){return buildNodeRow(n,isMaster);}).join(\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"260596138e69c511332414046924423af1c56f40d1bc8f74617f07ed38cee69e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060marked.parse(bodyText)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67d6bf01828ef9674f306f934168aeaa58804caaf37bc4b14770c88bcbc4ec6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.update.action.apply_version\u0027,\u0027\u5E94\u7528 {version}\u0027).replace(\u0027{version}\u0027,sd.pendingVersion)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae569f19de9cd3a79bd1797c8113677d3820e20f42446ac7541e259316203dd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.update.action.apply\u0027,\u0027\u5E94\u7528\u66F4\u65B0\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d177d8f156c6b7fb39719e782ac43495c40ffa49da5647016eae2acb813971b4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.update.action.download_version\u0027,\u0027\u4E0B\u8F7D {version}\u0027).replace(\u0027{version}\u0027,release.tag_name)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b625032cdc3934a666c8992fcc4fe5502a9887624d415dc3d34a7f6eeee1e281"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060applyLabel\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e971efc0f8ba1232a38b84f99070be83c919fa6219e206df4da8d454d791b1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.update.action.apply_version\u0027,\u0027\u5E94\u7528 {version}\u0027).replace(\u0027{version}\u0027,sd.pendingVersion)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e15c0be6da24293e5c5c9e353ecf424fd3c32aea8bf401c86a2bc4cafbb3a37"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.settings.update.action.apply\u0027,\u0027\u5E94\u7528\u66F4\u65B0\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"6294725d3b466fdaee8d558aab136e55b7dba5ab1ee73d362797c848d31ab987"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.load_failed\u0027,\u0027\u52A0\u8F7D\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"5841983a67c73052e527ea200dbb5e6ff00832010a539b9213343983b566ba6d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.network_error\u0027,\u0027\u7F51\u7EDC\u9519\u8BEF\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"b534340295f27d45324381929d999c2440da040c54295798ade9637b80b51689"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.model_path.empty_title\u0027,\u0027\u6682\u65E0\u8DEF\u5F84\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e4b4211dc4df5da048a8774676a36055afda5639bf0a1143d39ca6912ae903"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060displayName.replace(/\u0022/g,\u0027\u0026quot;\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f15d4551c7084b106d307d40e2e429f2437af56cf8a748723dec6253121792"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060path.replace(/\u0022/g,\u0027\u0026quot;\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d9d5232a1fb2b58e403648280888cf437a9f14dd0fc6c8e5c7f01d245ea81c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060desc.replace(/\u0022/g,\u0027\u0026quot;\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9584185c32a5e0f0d972ac7204405537ab5877d2b071330ee09c207c69a6094"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapedPath\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a3a59303416f6a9fd1491bcd607fb4e7b22e06cd58751210d955bc3ed7b993"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapedPath\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e60afce9c75b99eb6f9c9ad3061f87cdc10f9204c72099ab3e6a8516eadea1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_path_add.title.add\u0027,\u0027\u6DFB\u52A0\u6A21\u578B\u76EE\u5F55\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44517fbffbdb820c2dd6722538e537bd5ec344e6bcf5c0b100f65a909f8357f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.model_path_add.title.edit\u0027,\u0027\u7F16\u8F91\u6A21\u578B\u76EE\u5F55\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fdde2dd3b86bc7fbf77e695a8391a4f4549eddf0521bfd487ec42bb6fd07ac"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.load_failed\u0027,\u0027\u52A0\u8F7D\u5931\u8D25\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae14d16ce35ec8e75981b61aaed0c42e61f5fc6e54ebb52cbb02d244c955afa7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.network_error\u0027,\u0027\u7F51\u7EDC\u9519\u8BEF\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfabd4e3714fa6c63a226fe4c152424ca128e23bbca688d3db47b799f99c6e2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.llamacpp.empty_title\u0027,\u0027\u6682\u65E0\u914D\u7F6E\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ba54bbeef39caa6680ff52b4ab3b7585b03af810c45f605a48c64dfd614a0e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060displayName.replace(/\u0022/g,\u0027\u0026quot;\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"eade96f8fdbb5748832bf141244cc18e291549cda500be612c2b527d7f087f00"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060path.replace(/\u0022/g,\u0027\u0026quot;\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dfa0acb2b699542d42e422d4065804634d8b569ca74423e7a5d865b602bfe7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060desc.replace(/\u0022/g,\u0027\u0026quot;\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f48b800028c563f878e334186ebf3660d1a9e5252a3c15b8aa45fbd65928bde"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapedPath\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"135f3f4800c87170661bec7acd2a6e97e1f61ef48d87cc847c7f774c8a2b7221"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapedPath\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a15d60d4e72026abed91d901acb7f67fe323b377512c2ea6e80698201089a8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapedPath\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ddb16fdc5d552ad2acac0eb8a2b4571f04696f63365266e48a966cbeb4a886"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.llamacpp_add.title\u0027,\u0027\u6DFB\u52A0 Llama.cpp\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbc419fde1bcaeeeeeee7a0f2c2421cb49159c22009ce09d1a8ca3aec59b1c9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027modal.llamacpp_add.title.edit\u0027,\u0027\u7F16\u8F91 Llama.cpp \u8DEF\u5F84\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d65b057becb2549758f8bbff6b2fd2507436ca39af06ca82d7fa648cd04616a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027confirm.llamacpp.remove_directory.title\u0027,\u0027\u5220\u9664\u78C1\u76D8\u76EE\u5F55\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0fe4db2f9486b4f7b5265add86864c7b8d4d2fbf549914c9d22228e531b74c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027confirm.llamacpp.remove_directory.warning\u0027,\u0027\u6B64\u64CD\u4F5C\u5C06\u6C38\u4E45\u5220\u9664\u4EE5\u4E0B\u78C1\u76D8\u76EE\u5F55\u53CA\u5176\u6240\u6709\u5185\u5BB9\uFF0C\u4E14\u4E0D\u53EF\u6062\u590D\uFF1A\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"f651a445406f1022396dde5bb001c747c51cbf93d2a5b862f66026f5dcaeb0cd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060path.replace(/\u0026/g,\u0027\u0026amp;\u0027).replace(/\u003C/g,\u0027\u0026lt;\u0027).replace(/\u003E/g,\u0027\u0026gt;\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fea458fa689efb5c1c7dd7bbe64a973d687fad3760279d27c1c8b794b03faa"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.cancel\u0027,\u0027Cancel\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e49cc567c775603a311f746a1095e5f288e51f341c2484c2cf1a20a66cd72f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027confirm.llamacpp.remove_directory.confirm_btn\u0027,\u0027\u786E\u8BA4\u5220\u9664\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d0923fd52f1a3b6e8e320f7ce8bc32eb9056a89b11506586a0e22ee24e5a4a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.llamacpp.test_modal_title\u0027,\u0027Llama.cpp \u6D4B\u8BD5\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"758f5af983f7958472db6418f58899130797ee986f238514a14e81e1b1f7c48b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.raw_response\u0027,\u0027\u539F\u59CB\u54CD\u5E94\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3ec02e443923f245d645047c9c0169b990b7c9065ae33d46c719b6b004ed3a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027common.close\u0027,\u0027\u5173\u95ED\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/settings.js"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ad134a3c350573b77085dfa1e9da92b7fc63c11fa078dcbf6afd4ba7684e79"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027report.prompt_label\u0027,\u0027\u8F93\u5165\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"7484ac42e5ad036aaa02710a2ec46e579fda7ba39c2c26bb8b217ae760e3021c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027report.output_label\u0027,\u0027\u8F93\u51FA\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c843b1b189b14b403ea93881e8021f1aa120e4e612cb31ec459c5a92da5df21"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027report.cache_label\u0027,\u0027\u7F13\u5B58\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d421b96272cc244407baff0ca2069cbedb66ca021f819345ead2ecc82e83560"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027report.confirm_delete_model\u0027,\u0027\u786E\u8BA4\u5220\u9664\u6A21\u578B\u300C{model}\u300D\u7684\u5168\u90E8\u8BB0\u5F55\u5417\uFF1F\u0027).replace(\u0027{model}\u0027,escapeHtml(m.modelId||\u0027\u0027))\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4535f2a246b8de05365e5b72e78157440c28edf1e6ef699989b14bbe5c8ed1c7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.usage_report.stats.models_with_records\u0027,\u0027\u6709\u8BB0\u5F55\u7684\u6A21\u578B\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbb25f1f343ed811dc74e6945220092894b7159c82746bb6ca877eb765361c6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060totalPrompt.toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb5a06f0281f50a91016d7ce71b999545e0716b92dc24f6a9c0370715407da6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060totalPredicted.toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"09db78bcaf453ef6d9913e3fa87c1318bfa0dc7e4836f77a8b314103a090ad64"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060totalCache.toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c79753802b1b209c0258d335303fb36559156b8f73322152a9d5768f62083b7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060totalDraftAccepted.toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10024ba3622af07b649c8bbfba8ec5ca7c062ea9ac031d4ed66faf7bd151944"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027page.model.filter.all\u0027,\u0027\u5168\u90E8\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92db52718d32e585be009f23ce0f347c77c5aa47bba9fc81ba95afdbf76d71c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060formatTime(r.startTime)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdab87be3bfb00f991b335c3d3d551ef503d7681bb3286b983a109cef159193"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(r.cacheTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2889dcbc53f0a64abc930fa1b67d8a280dddf178d7f54624ab3fd0ee265ebf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(r.promptTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"037ebaf77383c616b403cb0df0de7e30d0265e1997f6b4ac73b9cef85e9e0247"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(r.predictedTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4de74db9e592acd210d86c8acc5a19e900dff606d5e5ff9dcada2230698f91"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(r.totalTokens||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e22d3893a3c70bf46a5e96163abfbb0150487eff2cff10a87f3f8eb5c44ac1b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(r.elapsedMs||0).toLocaleString()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a9615d8c0143bd63071bf6b70d4045d1713147d804b760cf83313b086718ab"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060formatNum(r.promptPerSecond)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d23a0eec1428930e35868c6ec1edc981d8cd98b6105abac816cd5d128d33b3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060formatNum(r.predictedPerSecond)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/usage-report.js"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"2320946e9b48ed041a78ea12fc86741b3f0516ee7ad57275e52f06f42b124803"}},{"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/main/resources/web/js/benchmark-v3.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ebe1e59faaf3bb5db2ea928119be4ffa5f887b21955bcf2e98fa9ed5e17b97"}},{"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/main/resources/web/js/console-modal.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7e5b6669817e2bf1b277415452946c59c4b3a8f8b938551f561bd449bb0cd0"}},{"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/main/resources/web/js/download.js"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75072c8e8861cfd2353019e390dfc4452cb7565d79e2a329b7bc033a1e4d23e"}},{"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/main/resources/web/js/download.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebf7bdde202322895095a2c654f013a43bff08fda0486db318d87e29500c129"}},{"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/main/resources/web/js/hf.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1d382d6a81878e4127fc63ab9aa53ced6f8374140a9004da67f7066b66a371"}},{"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/main/resources/web/js/hf.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d3db311346da19f6f0dbf97b2462897ab332280e0f220af1a6ef29a980dcad"}},{"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/main/resources/web/js/hf.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c4a59691a5f45be2833a0edb4c10dc47448b3c27366e397fe5051ad4fc0d3d"}},{"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/main/resources/web/js/i18n.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8bb9444f8762e471ed65a1469073a786b4ce7488148d88347a19a1ab9d02f8"}},{"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/main/resources/web/js/i18n.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b1a82752191bf552884a0cdc9cdc5d85c4449c14a02fde7e3f758ea0dfc918"}},{"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/main/resources/web/js/i18n.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"67593f311d1ff31f7167276cc678339b22f17b4d4e7f8f3a3e0bc81a357dd6ce"}},{"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/main/resources/web/js/i18n.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c637a0f1a0ee35c6c61e27284f481722b1b9c7b79aa3145d75b14f9fa005d85"}},{"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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3c8a9dac9bfb01a31286a23a8a5504051f9d3a61855534d6795a36d1d48e42"}},{"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/main/resources/web/js/model-action-modal.js"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a9d4962fa5dd183afa05fb7189873933e4107b80b9c976990fd860b98e32a8"}},{"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/main/resources/web/js/model-benchmark.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ea5c829f0ab73927f51962cae0a6eafdfd25d824dc4a6af80846e3f24c4867"}},{"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/main/resources/web/js/model-detail.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d95de9b3cbd8662da6baa45f6713f7a6ee7a7f9fc241d4edc9f79a70c384902"}},{"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/main/resources/web/js/model-detail.js"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfc3facc076d1a039ad004c30f63b00d68ee3a5ce7275f60da37c0fd293bbe2"}},{"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/main/resources/web/js/model-list.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7df69d4dd8d39bf04641f693bc0b938b835ee67672ee331c76f8013fbc8ae4"}},{"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/main/resources/web/js/model-list.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"26eb1ee2da71217deafd7091c306c241bbca740801637d0d1cdcdce321e63343"}},{"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/main/resources/web/js/model-list.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"597e1148ea9fa9f0e971d12ef8cd1944bcdfd5eb893fe5acf8ea66762be7df38"}},{"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/main/resources/web/js/model-list.js"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7369d95d8208db789d20b8c843e94074c46d45e3cf9fff1841823d78e2f4abf"}},{"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/main/resources/web/js/node-cache.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"414aa7129140d25624f136526064ef5da16e2086b2b0e7c8d12095b0b3174f4b"}},{"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/main/resources/web/js/node-cache.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"82be9cf941dc9431c544794ddf489f603102edee73757a24b7698c0e3b87f36f"}},{"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/main/resources/web/js/node-cache.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cdb548b82823c3cf6c6f8de102a1012ce2899c2785be565737d443adb5290d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\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/main/resources/web/js/node-cache.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d97928de031954302299bb9d6440f6c22d6844cfd20562556d6071bf5f7154"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\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/main/resources/web/js/settings.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd9e447e8eeeb1aaaf7cf95e349510aaf26acbcd6dc441f32caeaf446e24891"}},{"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/main/resources/web/js/settings.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01eb902f74b4713af4b72c3338b1f0465469b41aaa54a2fa0db3e9e3b58368e"}},{"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/main/resources/web/js/settings.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"8210c86a1ae9f5a7ce02e14d4e5faf3e5cedaf23ea5b8970a96c669e8dd35fc4"}},{"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/main/resources/web/js/settings.js"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6f8297c9036465d7467657d6c3f6d6454a1a1b828f2ec1d258267a25f231cf"}},{"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/main/resources/web/js/settings.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"811600fbca4669278cbb5168d81bc73b4d1949bc61b656b9b9ca9d3a8f662dd9"}},{"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/main/resources/web/js/settings.js"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"87293bfb7cf1050fe8341a52cb354283ac558b58c41ca31b6e0ce4b291eb1728"}},{"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/main/resources/web/js/settings.js"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a3d19ad1d4d118d5b4098fc9d6300f58354d70ee13902b971cfe2f7e39215a"}},{"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/main/resources/web/js/settings.js"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcfa69f5f6533a5247ed9f72a8efee4ccbf462bcd406e1abcdf5f3ef217af78"}},{"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/main/resources/web/js/settings.js"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8252f6798cc6f43293962c8d80b8262015e7e72cd72bbf1022d794b7153b76"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\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/main/resources/web/js/settings.js"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3c892a18880364af4b13ba6084c78eb5734607a54c0a5758602f5a74d42bbe"}},{"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/main/resources/web/js/websocket.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2719b8a90d9570fcabf2e7107fd25793668302e2ec4861adccb54a5a3865bd58"}},{"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/main/resources/web/js/websocket.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"842cd17d1e707fff30bfd5d06a31ae0ea7d5e5cfd2e1e2fc08ab01ef30c2894e"}},{"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/main/resources/web/js/websocket.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7183e94438f618d744aef99369d0c982eaa8b8f8066fee1325197d454595dc13"}},{"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/main/resources/web/js/websocket.js"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d866434a5ef89a55c3388e431da0f7fb8ba5a0e7d1ae9bd4e6d1ef4c25d055"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/main/resources/web/js/newui/app.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e6bce44dda2f9013ca5e20abd21e91634beefc002277ffeed342b558a5e2e8"}},{"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/main/resources/web/js/newui/benchmark.js"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13fa4b0e5afcde02444a20ef3c865e7d2a7a90042b2ff1720c15f420b601c63"}},{"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/main/resources/web/js/newui/hf.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"88404f9a814228935ab8c01ccbc5a000606c5204abcbd31918c3853694ae54f9"}},{"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/main/resources/web/js/newui/hf.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28c8e7ffe6d6171ea9c2dfaf771d3e32909a536db18023b1e8eb27ebb4e68ba"}},{"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/main/resources/web/js/newui/hf.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7e11043c539e3bc76d65711ebaef06fe0a65e197c486594b2b61ce5968284e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/main/resources/web/js/newui/logs.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b726d0f0cf9f9e47da9ad08a56a439093f4d39f74c9d10bd934bc31115379e"}},{"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/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73d3bd4d2b444eb33df2f1cb273ee73a23dc4c19a2eabd12095798e142e4bcb"}},{"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/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ad885df766d855033702c978d41dc5c5f8237c8be95591166151750e0b2dc9"}},{"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/main/resources/web/js/newui/misc-pages.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bbb4903355d9e7a118832139d0bea4adef29b18168725c31fc101654ea4409"}},{"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/main/resources/web/js/newui/model-config.js"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7a1ff1353cf77e39c63517d75c2261ab596de20dca3af44280bf92c1a1eccb"}},{"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/main/resources/web/js/newui/model-config.js"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"730512a748a95579425179ae38d51a343a05bcecc27120a0e3b67a0909dc20ac"}},{"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/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9651e5eea146f8af4c362ae6a19501abd12dabe4d611ec3c7d40ad05eabb95"}},{"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/main/resources/web/js/newui/model-detail.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2c9967cbceabac29a0e4f8ca96e256a0b015537e07ee101394289cc3f7cfd9"}},{"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/main/resources/web/js/newui/models.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29aafc7da93566f80a9654619d3949215847f5111683a1e6d3de95dec233f39"}},{"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/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d5d2f1048484cc23267bfea7b3976adabf04eac898403509433f083cba34e3"}},{"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/main/resources/web/js/newui/settings-nodes.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddf34084b84787eee71238df9d756b73359e097093a693658f2b1d47d9592c2"}},{"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/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e06222bb8f7ec65de813740cc878b44bc7b360e0cb9c6fc717ec27be67fb929"}},{"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/main/resources/web/js/newui/settings-update.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ad79f3f7d952e7af49ef3aa582318b2beff8b26ac01fd6fae516bee2cfaef6"}},{"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/main/resources/web/js/newui/settings.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ec6aa16f3e0ef307477c0ed37318aa01f5eeab50083119da7b2af69acf9c32"}},{"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/main/resources/web/js/newui/settings.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c439eff155a91b12977877bfbc9c99735fb0493e14a3cdec76a02251e821efa0"}},{"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/main/resources/web/js/newui/settings.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"565da09b618c8649fb7dcdfda38554590d10c73967662e6116d979e53abc1d4e"}},{"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/main/java/org/mark/test/mcp/tools/GetMcpServiceInfoTool.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"76280b6c93212e71a14f93e316b3d36117d2849e4b78a0d98fdc4805df1c4280"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/test/mcp/tools/ReadStaticImageTool.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42ef6f04f2dc10b3c576441514df27d5e398fd4004e9e91aa829bf56e9a169d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/test/mcp/tools/others/FetchWebPageTool.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27d1cfae0c91fa4e5ea12baf1202413bf87ddfac52efcbfb08a1a6c4eb4d88d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/test/mcp/tools/file/WriteTextFileTool.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c994b68045ec1deb58121bb31ba764eb42fb1831c2eb754e39456b39a984d92a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/test/mcp/tools/file/WriteTextFileTool.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fce8a71ab7b40ec3d0a1cd598253aa1493c01465cd45496066ae36a4f33385"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/test/mcp/tavily/tools/TavilySearchTool.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e2238c7c0561b114ef72e98ced14f4d2ee10059c4690157d75cbfb74273887"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/project/tools/proxy/AuthUtil.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7762d198d9ba87e78172be71e8ae626947d85c7540ba718d6198f8b5f1bb2b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e685a502a757d04fe0bea18b1f7a839caf8261a992dc1be606597fd4cb91d418"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a02f7a1b298bc6a2a700a2b9eb96b948446baa61ec18144a79faf06c8cce087"}},{"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/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"08327e5dffe3fd47e48b2bc0b01307608dc1db49d6364978e991414933794c2e"}},{"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/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aedb5226286334f83dd27c69d0542e7c7081f5317ec6dc28aeaec59ca08c2dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6469012f308d27243a7e666682621439182f2d39fd53b84b9ddcfac2e91e44"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d6f9fe05cb04326af4836af7d6d33629f71cc36a3b5c83314db9d47634d91d"}},{"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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"436c8e98d84311659ddfd1251185e25512f1ce19b2b2c3b70e6537e74fe716a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"df25edfc8d0400baf34011a299d491930f953f947dc5b77f44a03f24d2429d23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0dd69bb351b1e8dc68bbf1ea7c2c05c7831bee4ac1808bb6143984b87c61f5"}},{"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/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2797}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b8132a5eecc8a93fa7471f5ad83d07bffa9f99cf872e3669bbf2ce91db9963"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34f8057bcdd63bcd5e52a117cbd4930c53c7e6574cbd18bf8015e8d1a067722"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b31b39080749228f6ee60ef89e08720a38eeb193f499b3b159a6e3f89f91355"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2939}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4abe7154d16443e51c56e9ae2d9e9a68d17ada25f96b4ce3137645be80f04d3"}},{"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/main/java/org/mark/llamacpp/server/websocket/RemoteWebSocketClient.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"14aa05ea5907fc6f45428bbb49054872d0771910c1c473538fbdf79450d30b1d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/websocket/RemoteWebSocketClient.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d454d80e46719007bc70626fae6cca8f791117b4fc5182bee9f536269a6228"}},{"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/main/java/org/mark/llamacpp/server/websocket/RemoteWebSocketClient.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"874ba02868a74c1cbc64f600cba3fa268520211ff2b9dac139887b03a202c92a"}},{"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/main/java/org/mark/llamacpp/server/websocket/RemoteWebSocketClient.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8b53d2c4291f181dd3a1839f3525eda196390a6f93bf09ba606827643f2747"}},{"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/main/java/org/mark/llamacpp/server/websocket/WebSocketManager.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c89f55781d3a283762d52ceda96a5016f6ad78b31004190b7026c43bcf48572"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ChatTemplateFileTool.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2257b9fd9ae62e45e633c179a56d85d45f67087564a86cd4d840bb27f4a54a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ChatTemplateFileTool.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ca0131f79f29686bdf11c9e13e6c9a00e65f6973278b4660a56bd4a57e9ab8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ChatTemplateFileTool.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b54087a3b30498b9924b0ae658001536d6464a04b5457abf2c62639adc1d86"}},{"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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa4f52542fff4855929c621ee744bcb1611e6f6aa6135efc652069e28daa799"}},{"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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cb64c1db54739cdef0f7bc1b94deef0e91ea62af7f37698a96db3108760260"}},{"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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"782ef6ed4bf77504f4d9833bab4e3d29fcf1d77f3126ed54cc8f6a5392e078d5"}},{"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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bc68fa5f2dcdbd6ee61b203e9b62676c815bc6bd4fe88c6392e26c0cfba879"}},{"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/main/java/org/mark/llamacpp/server/tools/CommandLineRunner.java"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"731f92542ecb52502435f4df010b295a8b21de3415dc1c7a639916a654669cc1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0283626587da629469fac225c2ebb812e7ef9f311f84d854e839ec091cdd5a2a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f291243dbb5511cfca2b9a987ffbd346abdaad5171de3867d487070802a0ebc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a6ae937420356bf9642c91bb75bfb87c5f406ca05ba46b9a20eed8f2f8315a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b264acb7e257122d77ff06cfe75a59d6e8ec53c79d6c863e74e13f59142ed33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"da192dd281ec2f452e85f851a4cc9bbb75c0bd1645c2aab62f66d5ae32279069"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"43419532dfcc808691d1843ab95e6fab1db4d13b1c7fd187739462bb4e9c9737"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bc3c761d9634c27cc6c4ba85d7e599ef34ef6ff65001acb539c12342137118"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2569f01b6e4904689fef8c76b608afe3ede3c8a1b2d746af6ce472eebb47ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88d33715ef310fb95d46edfef756456a685720f7496966dff7b1204b7056654"}},{"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/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"390f245014cf14f4576484f849f8e62e9076559cec3a0b8c8f2706f71630765f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f634789d81117440b798e424a107572948823251bb2154cbf2c2f913d42e5821"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"67057f96dad9f5be2686f6d9254f9bd19272b2a8a9d960ba16b4769b5d54394a"}},{"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/main/java/org/mark/llamacpp/server/tools/JsoupCliHelper.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea863739d8ccd888d00f1239855266ef04eefff6a92bfe99b4b7f97b0843868b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec3107c1c8d80b8762c9cb98228bce82666c6a522805d9bd00f1d88c7c2f0b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fd15d3a5ea333e6c1acb2b334dac07de9144bdf35964075a9b050e7b9fdf22"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd7caf0fd07094f7b51f24005f0e9b17757aec12d4281f93b2386178730864c"}},{"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/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b56c44d4780f7aac76d3b1a02fca72ded195ada1d3001f449f21889cf9e761f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a5a2309f001f97c455796dccc74c74a58cc022349f266acf9e79a75f2daf05"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71aa5fd9bdb9cd845b988a9f81a7ab0c7d9e93cd518fed5b3b7e3cedd771c97"}},{"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/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1d5c6e0cc2a42b9b348b2a5b7c7c48f600b878932d4fdc883a18b76b024062"}},{"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/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fe93c4736412ddb6b14c4dce85538d53cdb0469cef0d13edabc9aff755e7d0"}},{"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/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1368217d123053e96e346516d7a876c639c0a9893801136dac5b322eb30c448"}},{"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/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"8870bbac05ccdfde963927f39c9da7afe63046d1a39e3a5c936bfa553e23e1f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"7391bb63568b248d63db9b541c6b8d071519a37fc7df6761f594d2bdcdf8abf6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ToolchainChecker.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e086781ddb7e71b570758c5c51e5a2838edc152b2b6756abdd833247ab62750d"}},{"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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"278d960009e53b9fb46f970607a929187e3ed7fe043685b94d2241f0ac44e4b2"}},{"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/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e52043df23040801adf0b8d24e8e8fbc01473a84c975c2eaa4c888de0bb14ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce296130f0819f5a3342eaa6c858996d257cc80160b96d2f42fcdd37f5d1047"}},{"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/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f377a2fb534c1e2c3e0340d77f5b9c7ca1a68429fea17d4f29eaa1f3067546"}},{"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/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2201a2b9a0c7aeec3fad4dae76d9dbd996ba5da30240f3ffbf8fe3f8491616"}},{"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/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce742ed921b5dfaed964b743287412b569d654adc3d2c8d20a6e6d78d6a0d8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e6999df06a9e7ee02c283c563f153ca0a491f8da319c92d4887c73141ed5dd"}},{"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/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d20fe2073ff5ff9ec0fced26222761f809805343c01eeb5c0d5efaacccbc86e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"991f0f6d326aa36f55c39652ee6aa990bb59ea7e44b1a2e12f8b0571be7f061e"}},{"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/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19dc1364b13523ab47835ee124efdf3b246ecd501a340f2eef64a8256270035"}},{"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/main/java/org/mark/llamacpp/server/service/BuildTaskManager.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e03395f8932ca55ce8542dbd6cf0c700e4a6187f64fd8b73941632837427c09"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6ab96e4b6159c17ef977bc3fcec47b2e2fcb6ab12130ea0cfc0ca2373ae936"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatRequestStreamingTransformer.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c74a60ab466360ca1063ccb0a50673b3a210d6ecac2f9289e1024b22467213"}},{"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/main/java/org/mark/llamacpp/server/service/ChatStreamSession.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66ed8b12cb6cbea161dd6c5d17f30e93a124c943d5fc0088c587253cd9b524c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6717c9393fbfca7252084738023cdc52f55ca07586681cd4b0d5986300ca4b86"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c831623fb03313133a838b5b9041dbe9576175dbe4486975f2c2c45ecd2c5ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"60479536c611ee0ef3d4d1c8798017f1c5ffd33746a3039c3c5e96f370686d90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2072b14ab6c4dac7aeeeb1bc654c2cb7b219f72cd64442a41e0ac547ecff8ef1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"908303bb9dfba17a01712baec0eb73a16668507ce65345a7b7f66e1cb36c9e8b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd42365d0cd03f3e2e826b505e7318633a57461a2ccfaacec1c99d7fd73a5f8a"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dff31c5db48e2f305a3b596eb3428e1ed172a594a75441f69980de7d6f4b860"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b1d091fd121ea907e09a03a38db023568a3645b3b16bfdf92c90e9c0eb294b"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatAvatarService.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"275d2074e5e0d28f272ed0338301cea6b8799f2af6e266a236b7e80fa4bd86eb"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"628cfef7f9101672282cb4a6a4b022c60d198c5008acbf408670c62d3b092267"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatBackgroundService.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"364f998b9070bc18b7f9b95c1f5c630fbcc9d0fccc455ff801d430fb4717fa6d"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac9b73733e57bdcd0e5ef33a84487526abd09529337b4716948995ad884ea80"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92eb5ceae7f96513aa7f41e2ff9490e01db618cc483f86bf62c3f78477b3100"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatRequestWriter.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4811b7189f5ae9edc6ee529e914cd200f2716202a84c8dd782f79696613b4e74"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4308fb3a45a0855af6158ae2e9e17dc2f111b114a07cca5aa5c2d59bc441397"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0ad8960610964bdf56d2a2d74684118a2fe051a3dc77b59cefd2b7b0af9fd8"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"87688ef5f5c69b10ed2868dc7743123df58820b0663e8da8fcaaf1fe5e8a01f7"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"37589cc5ab6a62444a3878604c70d853b0d9499c5b45e608eb838579629eb128"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"0767659744fc869a50dab59d1e81c66f828885198ad7b604a0bca365f5bf3afc"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab9782c8c85edf31a06932e26893b75047ba80d3cc0c5996239ebc046936c87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"61151966718cc613785ee1540e7e0ffbefec43fc73998e8983d6002012ad8542"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffedbc89e419ecff2b7125a91e642a81470844bc596d96ef3bce6eefa0802a43"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf72c2f9ffea30bca78046a9119d3cc4c73d542fce370834650210a9fe83b80c"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e526d3fc9d1d0253a3b78cfe17500e6f297b67f391a76f531f56a21a80f7815d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":2327}}}],"partialFingerprints":{"codehealthFindingId/v1":"264bd86ae16560dd3392eb633e268f2f1d91acb3f8b8e1559b5916d2968f177f"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatService.java"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aaebbd59140190d5b9b108e7b0b5fceabc7b6cb3c9d1ec0a78eccab8211e24"}},{"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/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cabadf2006a66788eb0b17703178f8f0c920b43cebbe7a5faf7f5e38a9c6f6b"}},{"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/main/java/org/mark/llamacpp/server/service/LlamaRecordService.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e9e8946def23c0abce645dec7d3078c5abd86fdfbee0a46a1af76681c9d767"}},{"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/main/java/org/mark/llamacpp/server/service/LlamaRecordService.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"206f41ea0cecf45de3e98bec25a26c5dc9f01c520785c2a6842e46db1a30dd55"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/LlamaRecordService.java"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55f5eb22bbd4a156fbda2e00aeb98b0e5c95743488ce4696f640ee642127378"}},{"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/main/java/org/mark/llamacpp/server/service/ModelRequestTracker.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce794ab2b8610c71215647574866d0a747ee6f657978ce24ab18fb104a24fd1e"}},{"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/main/java/org/mark/llamacpp/server/service/ModelRequestTracker.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf36d8c91ffc5ef092716fca91071ea66c2633cb11e99ddce6551899abcc49ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d762aae58495ad1702e0ac6c57f833e61b29c779f7fcb33fb0b483c490ffffb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4eae5440b268e39458912bc8a2c8e23b5e5f8bb287e2d9cac5a2e4491a37a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27f817799e97958586ca786442c2b8a9ad17c349ad632455eafb2b879463c18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb5155f622735dbf5e6ed0f0ec77caeb75c653f8d0edd9e4584557ffa139823"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c638bfa2977c96b45313cddc0f1ebd1081c6b20d57298000bbce72d2ef94702"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b742827a03536afb690921d5143938369ab452467d2f6e6726e873e683dbc4"}},{"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/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6c6e0cf41b81705f952140ea73c93c91cf98465a6739ffd7dd6147349c1f5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cf5b3c893969d72b9a8478846e4470416c6c3107afb445f0b56673e21b9f37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67646ad58cf8293c7e096c8a9681a6b6c50060584ed41556a768c3f415bd882"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2635d6deef34cd90f9503d2916656bb4a8d33c765a3b162984043e759e15eef7"}},{"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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a8a7d319f61a155779a3b09ba082da157939c30877172260aab3ead219820d"}},{"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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ee91bdc41c6d18fd8de7a4834fd99871e6c4df8912fdf6d2b821ba9ec96492"}},{"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/main/java/org/mark/llamacpp/server/service/OpenAIService.java"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2959fcf10fe2e2bc50c2185315c23c361af79b31b9493371c13835b095b0b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbbd7b421e29b0a1d57bab8139deef3873081efeebb35b31360bfbccaa5a849"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/SamplingInjectionBuilder.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"740fff5b7867181918e06ea4f4df050185237da898672faa1ad246b918572f3f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/UsageReportService.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba40d1555f0e7bc8c1863681218807026449635a5a16aea4ef4f6e7696872a7"}},{"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/main/java/org/mark/llamacpp/server/service/UsageReportService.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d748bd1694dfc599af2119127dd23a5c481858fde6ea7d924851d2413318a11"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"8712ce3ac61f056386a2506e963912dbd2d90e3751d9411d34d893f2d1b06b0f"}},{"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/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"83624d0da662f6b0ac6eb3e8b32f02b21f9ffe3f890cdfea38afc1c6fe553c13"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed226d0adc1327e078471bdeedcda319ffe4c340193beaa1426d1aba66c50a5e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab4b5d87827e67d48b2c8614f0f5dfa9dcca16c0b96c1a3d016f65c4a35108c"}},{"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/main/java/org/mark/llamacpp/server/mcp/McpClientService.java"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"b732e8f3d75e87ee27ec58988ff50def98a3df0a678d1709deaf15ecef9c07dc"}},{"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/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03a6e5f9572efb718bc7f651fd9a3d6a0e00a438ecf7122d2b82a944445db10"}},{"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/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3266ea20ff6c7049becbc7707f13533b98b954b50e3bad7a3f8a5197b1f9c3"}},{"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/main/java/org/mark/llamacpp/server/controller/BuildController.java"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdb2430b1c9391627cdd46941b032d19703422c950074317ae8db61dccc317f"}},{"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/main/java/org/mark/llamacpp/server/controller/CertController.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"60028486ca1c594c1c869b84564bff22371e88a3eee4e62ba400496c27e5565b"}},{"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/main/java/org/mark/llamacpp/server/controller/CertController.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40993d3ec7317908c63a74b322e3a89f78e9967d804af6d22282e1775dddebe"}},{"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/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"02434176899b5a91e6f60d1a8846183d4fd1ee272f5e11d29abbdc515ba310bc"}},{"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/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f9da672d2c35ab7192968a68961e8ddae72cdb5705b3ce1654c62d6b7a89a4"}},{"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/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ff4e28d0765dcfc49d52284fc883d75f0d016cc20d43645debb558817d2b33"}},{"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/main/java/org/mark/llamacpp/server/controller/EasyChatController.java"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe85495e0441b65f26d155786b693d09684d0cd883359cc748554e54b53f77c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/HuggingFaceController.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f11fdab3118e3c12d41779bf2671d2cce91a881ba6ac6717733ac26ef1b252b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f279d3f9968daf121e110241f6b0b709f7b4e9f8efde5048f2f15a3b5d54eaac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a0f281bd1f00fb5d04dcc5f38073f95e929926ef264a10a5907c441d9a2543"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab7910574907598e94bf6de34c303617ca577d1fb3368dbbb2eec20abe11eec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16a21b8997d7a059240d35501773db599d300cd6112e00b58118c55898b34d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"364aacefe890c83c88d66b77723059cdc6124bd69ecf7b47076fad7ce292b3ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e12f9591761c5495d600f974e82be0598393f9ec5e40460242f4b0aa826c1ce"}},{"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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"226a047294988894473b437d609e03f722a900ee3b48775542c8974a0a9e13ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56ac65fed28d1baad64719c12be474c84bab0111c90dcdf4a39c6efabae492b"}},{"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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2315d5cc9dc40b732114ae524b070c4ae4e2eb0bfd831ae2201a4e88098b75cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"f372d0f1a09a2db3c3bd087aab273bb000347a60c3f3780ff06746a915e73d3f"}},{"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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ecff7f213a86ed9bd06d7cbd12f34fb19413233b948045b20360b25c66d49a"}},{"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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"4246f1686f57c9a0489134cb0b22f84fce882099b2cd8788c19d1dea3ad3cda8"}},{"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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"677cfd7f80b68bf3ef9a6025fb2193b06862469a1828af3b2612d5404df81da3"}},{"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/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"131e95bade113822864a0e65b74773fc67ec886aff20f56a30c5edee1ddd55ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e84bd5c9426cdaa08475d2c69453be246bc2431bf84241f3aaa4caa0a318a72"}},{"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/main/java/org/mark/llamacpp/server/controller/ModelActionController.java"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6ad685977cfb018821115baaeb95e663ce84e5ba50929761e666d0e6a32b6f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelInfoController.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcff4f1ee76a0f5e6428ff15f742d4a8432c4c59f058c0fadcd43e790f7687e"}},{"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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ee9f21cb5a736507d50c4984709950f6cc92833385bb995fbc22d69f75a6c6"}},{"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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a2ecf194d63067267cdbfbe4df8c79ccb5fe1ac71d4d7f439b980582a52684"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aff40c09bbb3e4157ad169a415cab61dd34a307e8214bcc031345a44235a24c"}},{"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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e69a2151008872f22cfcc0708b01f066cce84bd118cdd84541b9a2a89be51c5"}},{"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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"511f34f4e194ebc070fcc2445a1da09c4dae56054c0c841ce715f70105e4a9b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"447e7fd43a898bd8837995b7425dafb601b91e36689759a70417f990c3c885bb"}},{"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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f65d9937684b9294bafcbc76a2fb815da148d4fd2522260621b51b695b9518"}},{"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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be837b725005983abb49d0f71159a547d131dc9e925e729c7b47f8b453aa8a4"}},{"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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc2382a5e2aab7f9301f525167898e70a35d2e6f1900e1c211264635d3769bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c1574b6d6c6183f0c3b1277c1237ca7c5986b21a1edca5d25049bec7d6318d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"1385ad13778d4f1cf676760942830c567a732e3a37be1baf6bc62553b6fc7bf1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0748bd8496426c0bdd80fefa366390f5c0c1ea1afd635cb6c65cc9d54751d52"}},{"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/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"6527fefd7fd7660345ad1f32b3b09ab3eeb6f39f6e4fdb4d92502117171c26ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/ModelPathController.java"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe3297ece23b3ac16d4810e35136838fd87caeaacc10a764c6605bb361af779"}},{"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/main/java/org/mark/llamacpp/server/controller/PerplexityController.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa36e16de1a66b2d5446c35955438ac34e4dea3d1a1e2626d8cc63be2a995dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8506e88c954a7fe4770c78e6a18f9e4f64c966292bba2fcf8b42d3a74b5f228d"}},{"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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1248d76a78f920300c9e8c41db28ea52e9bc3bd6df6f0f24e4e3274394bbf80"}},{"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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e87daf04e3fc05665c6d8a4cf8b12f80cf8a73f3c4beb424b227175ff7d0904"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"74821a5749a955204f0bdb36848a0768dceab5d2833ef5db30757303f66f9045"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f53c250e9cc75c65114a3e6f7bee5f783483ab8678927a9620d55bfa924304c"}},{"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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ab1f0db89fced40d7acf42d8a54b771135466283b1f05b2811f4b942675bd7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbb17d7d9db76e8183ef52bd1a3dde3820921b7c42536b4ce4d6a9dec5f5ad8"}},{"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/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4700f1fc61d0a3c08dfa8131a93262d2ab74d34153f8f689ebb676891bca9a"}},{"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/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"93faffa857a289e7c1d27e1e8505de00fc5baaf698913c50af64ea4ff761e520"}},{"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/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"79872bda693bd70caaa7bdbc0d1b3778d62b7712c474b8c20a7e1b32dfb194a7"}},{"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/main/java/org/mark/llamacpp/server/channel/BasicRouterHandler.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3052eef99c63659d3d250cdaf5a34cec93a6ca1b9cd188a1da441edfcbbdfa4"}},{"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/main/java/org/mark/llamacpp/server/channel/EasyChatStreamingHandler.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f3c5940378812a0bdec385ae050c6cafe1501c5c0ebb9543877e48b57154c7"}},{"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/main/java/org/mark/llamacpp/server/channel/EasyChatStreamingHandler.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ca75f97568cbabca27c0e4b9837e9f0f3090e5322714ce91eca80968b72046"}},{"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/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f24da8464bd6d2aa0e7dc5e085f224e150f14ec60e225fd45728d29770035f"}},{"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/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb67b6e86a1b32b769f0944984d523530ff366e2ec6503a0fb9757389a59057"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"279977d165f1088a311f14c70a2ffec9da8845e23c019d2a81ff81ceda067643"}},{"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/main/java/org/mark/llamacpp/server/channel/FileDownloadRouterHandler.java"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b0c7dc9cf3feb0fe2d88c7a30c00d213b345543e3af2ddee219f308309bc76"}},{"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/main/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e8448df05a56432330204653161dcddb3ab3394013060e87f2c4ddbb071cac"}},{"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/main/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf0d088f2c2faef29a8670e8d8a8e9f9defaea637ed0a8b70a69cd9e9baa973"}},{"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/main/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b8fdccc88c7089f4ca3301e50b9d846e99d2832e714bc010efce074a4553f2"}},{"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/main/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cead9796fccbfedaa4e54b87bd61c7706d43796ab74f5f5d6064cac33fddb58"}},{"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/main/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"319d44b90bb21e7611df5ca43e39f905f60252ef180a565febd998d50009dc20"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e15d2cb80838629d302b197884ebe7748cd8f82a5ed144a7322a0ffcb4de236"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/FileUploadRouterHandler.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe4a3af6d29c2ea5b2383cdd5a92d271e8dd4a07a4f7fbfae5ea21f7fedc223"}},{"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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"814862556bf7118ff6f9fd93f79849792fac9cb4a8ccb1379fbcdec6d5bb2112"}},{"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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e961930b37ad599d96b076e047da8b96797bae32b117df9faf80e411d8bda1"}},{"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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"48691a5d1963f3f7f8ef2a05704a4cc7624a295c1b2705d51e7b1d8c90cc5b2b"}},{"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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6b41c0e6876be2a9701f2ef661df64e3a0ac9d7c05c291e75233b340f38cdf"}},{"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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf9edf8acf8b27862bf6e2df4524dc3ffce0d5d86d2f9e254eb9c0dbace0dc0"}},{"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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"20470e24f2e677ffcb06b9da49b700a0923b92df72a29a2fa8c6aea8072609a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fcb9cdc5bbcae46fcc97b9c902419a0469ece3b82efba2560248f478fef04f"}},{"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/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f229122d839d921170579c51edf642e77623e3782d9e4771c02ec1d601d03d7a"}},{"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/main/java/org/mark/llamacpp/record/BinaryRequestLog.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ceed50a552151025602106676a237407d64a2c980a6d84f6320d9a247fbbb29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"837c6dc2de235966804666cabb0ab7f79cff20b782ce4f2545d385c82bec3563"}},{"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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f97c48744b6e4a82132b6bfbdc035506f4be2891a46ae41b3bbd70fcc17f19"}},{"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/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"921fb93cf3024a58e9dc60e1ae41e8ba29d0352a226682a9e2a6b35cd21809e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c50615466e39080557cc2ad6638d76c29959f151446cf38f32d4c0be1677c2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95f1ed81e04afc258bfc17c10a103d2c7331b70e012e33425d04081bac2ea5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b67775be123720a174ade1972da62fac4b036e82aabba33634dce9fb030228"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/HuggingFaceSearcher.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d27f430ad30f08e7f2ce82e47dec5abb425e91197d961a0d6721f42f05759b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfad44b729e61e2dda403545dc4c5dcb3abeddb9040ec7db831c5eb6f930485"}},{"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/main/java/org/mark/llamacpp/crawler/NettyHttpUtils.java"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0844f3c2c02e47f3b71bc5adfeea7842032355694032347cd321d475f09ffa50"}},{"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/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f9e6045d65988ca5003fee442b0a79c877d1959bd4f542a9c68ba2125b6756"}},{"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/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d19acc4525ac687f0d5e718e611c80b373aac0c313082b615525d5aeacefed"}},{"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/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4731094ebd2d4537b386e2277304d88ce7331e03cff59012752e6098034e57a5"}},{"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/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be17ce487e570b6414a0084f32e706ad9fceb52513f80063c9078eaf1008125"}},{"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/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"259ba779a17a3fc8e1c15ccf32a172d83c81017096f4166d198cb767196fc547"}},{"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/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"929e0d534f9943e6bdf4b792e003921c236e2706c7236d53ac1133daadf36b78"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4631f12cd298723f4895ecf5b690503f45683deedf778e76d7c3f49f4a7d2f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"498a86db4fe3ff826488b9c598be30944c80828806b89cd89bae4b7fb22d0a46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadWebSocketListener.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa349c8eae9eb7663e1cd1568a22168a8c28c6c2c6234e40183691293da245c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadWebSocketListener.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"65606860de875bdfcb8f15dffab131c9d605f3a2e26bcd10034dfc889e405edd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 724 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/ConfigManager.java"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc7af93896e23112f33489b736643a72e19ba73e35bdebd1bdf3b5523727935"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 81 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c602fe5597b58ddb2f89caf494e35347fac7eed039823a05fb04a39561184e80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 85 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc59a30e18ae04af5d6dc2c67b1f050d5b28a9e17cb03175093cc9e4f6e6c7c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServer.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9123fa0a8f5ffd144362cc987d842a709162974155343b96c00fb5271231e3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1815 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"480a10f60bd642d141603e14d329175c01821922a985e17957e75912b116c8dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2313 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2352022899736eb0d0328bb4687344c426eb22e49fdc5a225540e6ea193bec87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 205 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/NettyWebServer.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9165de9e76a43ee3933208cc171ee145b4bc81cdb5400cf2af744dd191666827"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 527 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3105cf3960cc15c8c8eb81c6151d14d1a87848d63375fe5bb20b3070df9b6d"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/30 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readTarHeaderSize\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadTaskManager.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba0bb22a32e449a383a227f13bb8107ecf4fafc3a2ebc6bfbb2d327d1dd34dd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveFileName\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadWebSocketListener.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4761d06ba5387a41258db81dd603c2b1af66711062ff4f076f6be2c01edcf3b1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveParentPath\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/DownloadWebSocketListener.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"353f312f5ddd0629b48d76f15971ec76b5acc69d1d8ae8051c8d7986e939fe3c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060parseContentLength\u0060 returns \u0060-1\u0060 when \u0060NumberFormatException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f110a08bf8400ff66fa1b86a0768001a1c1e7eed16d31022b6d99c114b213ca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060parseContentRangeSize\u0060 returns \u0060-1\u0060 when \u0060NumberFormatException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/NettyHttpDownloader.java"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8579b00ce0048da67d9a6aef352414e6986026922e74c48e29dd5d1b354462"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060parseContentLength\u0060 returns \u0060-1\u0060 when \u0060NumberFormatException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6005f4c31d06eb784ffda0c0aec0b96b893d2de05a3da02804ee4359eac99e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060parseContentRangeSize\u0060 returns \u0060-1\u0060 when \u0060NumberFormatException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/file/downloader/SimpleHttpDownloader.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50dc2b7fded45e04e3b9dfd073204e91ce85e607dfa2c749103ad0987a09f7b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060read\u0060 swallows every exception into \u0060return java.util.Collections.emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/gguf/GGUFMetaDataReader.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbf70d779ea67230a5a8300be0a373ccb981b7d418c1b5ce8ee30b5cf9973f1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readMetadata\u0060 swallows every exception into \u0060return Collections.emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/gguf/MtpHelper.java"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"9964c7bf30db6310777075441873a39e3002c292c5d845629f6555773446206c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readBody\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3be718afd7ddd2943db1efa0cc6d5502c64cd869b785ad1063160213d0f39e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readBody\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/LlamacppController.java"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"3623a4bcf7376a31c8998d621d9e40499fbd94fe4b6b04cb786be081e0a4a231"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFsItemLong\u0060 swallows every exception into \u0060return 0L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/controller/SystemController.java"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"0803d89ea2c56dfab33a709d3c16f7da583cee90832915c109481c4cd636bc44"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getString\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/AnthropicService.java"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"269f033344ef40798189cd24b41f6975eb190e4da2e15bafb992a4b1c06dc2ba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readBody\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a7f576d28a87574f2d371209a988254535a35e189b52e11106b155440e2693"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readString\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/BenchmarkService.java"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3536d2491fd94423a93e814479408932057c6cb68eab6594e22734c1a42723"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getLastModifiedSafe\u0060 swallows every exception into \u0060return -1L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ChatTemplateKwargsService.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ead234b56be12e5e4b19e6829c240f5b59ad316159f4eb847eadb4e28a5980b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getCPUCoreCount\u0060 swallows every exception into \u0060return -1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5228252993ef4570735073fefd689257e5f43297ed4970b64b1ef9f7addbb3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getJvmInputArguments\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1ff2d670b50f889d958f0dcda523a3ad29223d480dd6c6708fcc46a86507fe"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getJvmStartTime\u0060 swallows every exception into \u0060return -1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"799e348751313366b362ddb86212eb0f0822f9e3d0a9a15b76be6e57662bc6ca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPhysicalMemoryKB\u0060 swallows every exception into \u0060return -1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c01791c7bd41971c355f91349fd8025ac555cc31fc70b9d22aa5b725be4dbc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060tryExecAndRead\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ComputerService.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1c03b68f8a60bd06a1d371db1322665ea1f136481380068a038f422d7c1034"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readModelIndex\u0060 swallows every exception into \u0060return new HashMap\u003C\u003E()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/EasyChatStorage.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e186d0fae73b020801ca9c005f8a17e971884424fa4362f7ae33d2a81768f2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getLastModifiedSafe\u0060 swallows every exception into \u0060return -1L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/service/ModelSamplingService.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdfc25872944bb16c58b5904c31b24ff3cc2732445c6a50ccbbe86a5e0903cc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getJsonString\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4670fb1049f1f55a3cb7beb9366cf7a46a2cca8a8762e9859ef4a84c9b7d8c2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060jsonValueToString\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/JsonUtil.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd63505aa6be91d427c1798911963329ad9423090a1f4f16da5a65415c153a5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getQueryParam\u0060 swallows every exception into \u0060return new HashMap\u003C\u003E()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/tools/ParamTool.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adbc7d52a52c9f2a39cf30bc6c3d3c5bf715b5e9834855ed0d657a051b3ee13"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060jsonString\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":2939}}}],"partialFingerprints":{"codehealthFindingId/v1":"843d04424be3ad03e9ea93dfc38e8b3c9e2b1baf42431d4c0aeb05852720d5f7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getAbsolutePath\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/test/mcp/tools/ReadStaticImageTool.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1008cd7dee51d2c746a5ffa042b1feb0a0aa83e9bbfe693bf040f95656ada6eb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getParamConfigListSafe\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-action-modal.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"212bea2d52ecd48cfa7275d3c9fb431a68ef7a80d43f06591eca61b5ad5a2b24"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060renderSlotsSquaresInner\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d003a86060138befc991335d05675b2900f20de121c9c90ea38385b1d0f7fa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getModelView\u0060 swallows every exception into \u0060return \u0027list\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/web/js/model-list.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f260abdfc07aeed87eec754e71448f1d06dd1d86bdeba005b7499d67234537"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060base.endsWith(\u0022-mtp-donor\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060base.endsWith(\u0022-mtp-donor\u0022)\u0060 also satisfies \u0060base.endsWith(\u0022-donor\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/LlamaServerManager.java"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"2168ae6d123bf1217817aad7de321c2e5c80dc5a8d1bbd37b18b3dbfc13d312b"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060uri.startsWith(\u0022/v1/reranking\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060uri.startsWith(\u0022/v1/reranking\u0022)\u0060 also satisfies \u0060uri.startsWith(\u0022/v1/rerank\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a049073c2824c1efb846c81eb65a0afe47951e22df603ae59229f7efc1abad"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060uri.startsWith(\u0022/reranking\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060uri.startsWith(\u0022/reranking\u0022)\u0060 also satisfies \u0060uri.startsWith(\u0022/rerank\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/LlamaRouterHandler.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58c88e345875e3e7112e01e3a2b7a1914a59491e263ae4273c9915ebae30a2b"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060uri.startsWith(\u0022/llama.cpp/v1/chat/completions\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060uri.startsWith(\u0022/llama.cpp/v1/chat/completions\u0022)\u0060 also satisfies \u0060uri.startsWith(\u0022/llama.cpp/v1/chat/completion\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/mark/llamacpp/server/channel/OpenAIChatStreamingHandler.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"92852c2c960ee17669fc65f773fd41ba88ff47067a086597ac5f7e14dceb2928"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-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-457","guid":"b62874fe-6222-8b5b-8ade-9527ad1cbb4a","name":"CWE-457","shortDescription":{"text":"CWE-457"},"helpUri":"https://cwe.mitre.org/data/definitions/457.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-676","guid":"550e6fab-2881-3252-8a05-c688a6b19c14","name":"Use of Potentially Dangerous Function","shortDescription":{"text":"Use of Potentially Dangerous Function"},"helpUri":"https://cwe.mitre.org/data/definitions/676.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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"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":42,"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."]}]}