{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01: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":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"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":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SystemSetting.SystemSetting (cyclomatic 52): SystemSetting.SystemSetting has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 2 of the 52 points are its own statements and the rest belongs to 11 function items inside it that branch (handleInputChange, updateOption, submitSMTP, \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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"24684e82d8dc7c89308ef6c6d16b4a1295cd465be79137c470b85128ca118d0a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelsTable (cyclomatic 50): ChannelsTable has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 8 of the 50 points are its own statements and the rest belongs to 51 function items inside it that branch (manageChannel, renderResponseTime, searchChannels, \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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"518912e78696e1178ac47a3af2beac4c47f3481d1429b44d531828c7d0d8a0d8"}},{"ruleId":"D1","level":"warning","message":{"text":"PersonalSetting.PersonalSetting (cyclomatic 49): PersonalSetting.PersonalSetting has cyclomatic complexity 49 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 25 belong to 14 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":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4453c2947450f80907825c02a12bd261745f115abf177194f2aea75bba1ef6f"}},{"ruleId":"D1","level":"warning","message":{"text":"controller.RelayAudioHelper (cyclomatic 43): controller.RelayAudioHelper has cyclomatic complexity 43 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 3 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":"relay/controller/audio.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"91345ef6f2b8aef0220516ccf6595b5d341d628acfa24af84c3e6a4a93c54828"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelsTable (cyclomatic 43): ChannelsTable has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 5 of the 43 points are its own statements and the rest belongs to 40 function items inside it that branch (manageChannel, renderResponseTime, a function literal at line 521, \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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ff40e87283efefc124962806606ea372b1bbed6e1c65ac25a558a63694ccd7"}},{"ruleId":"D1","level":"warning","message":{"text":"TokensTable.TokensTable (cyclomatic 41): TokensTable.TokensTable has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 1 of the 41 points is its own statement and the rest belongs to 17 function items inside it that branch (onOpenLink, onCopy, manageToken, \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":"web/air/src/components/TokensTable.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4641e86ef1edfd9db44ca8b7c7caf4d71f87430754bcd7ab6233082e55d4be45"}},{"ruleId":"D1","level":"warning","message":{"text":"ratio.GetCompletionRatio (cyclomatic 38): ratio.GetCompletionRatio has cyclomatic complexity 38 (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":"relay/billing/ratio/model.go"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e9ae688eba39977ebf01f2272d344dbdeb540ac5ae1a22b853fe1ddd79dd67"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthRegister.RegisterForm (cyclomatic 37): AuthRegister.RegisterForm has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 5 of the 37 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 135, handleSendCode, a function literal at line 117, \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":"web/berry/src/views/Authentication/AuthForms/AuthRegister.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4a99a962d374dd4b1774bbce0869501dde8af80ed131c7d41c0318d735c830"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Profile (cyclomatic 37): index.Profile has cyclomatic complexity 37 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 11 belong to 6 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":"web/berry/src/views/Profile/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c8321b08587f35959c673b0cf022ad891d001039f2134ad78f3aa1471aa877"}},{"ruleId":"D1","level":"warning","message":{"text":"Breadcrumbs.Breadcrumbs (cyclomatic 36): Breadcrumbs.Breadcrumbs has cyclomatic complexity 36 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 8 belong to 3 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":"web/berry/src/ui-component/extended/Breadcrumbs.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"945b0f8272f3b895d1a72d95fbc9e85b3e229a54946d7c6aa2677508d840c5bc"}},{"ruleId":"D1","level":"warning","message":{"text":"LogsTable.LogsTable (cyclomatic 35): LogsTable.LogsTable has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 5 of the 35 points are its own statements and the rest belongs to 17 function items inside it that branch (a function literal at line 64, a function literal at line 122, loadLogs, \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":"web/air/src/components/LogsTable.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0402ad7e3e083adbb034a6c3934f1dd9dfe27b217bbcf9f4c38bedf509d4f04e"}},{"ruleId":"D1","level":"warning","message":{"text":"TokensTable.TokensTable (cyclomatic 35): TokensTable.TokensTable has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 2 of the 35 points are its own statements and the rest belongs to 10 function items inside it that branch (onCopy, onOpenLink, manageToken, \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":"web/default/src/components/TokensTable.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1169c9d7ae7ba2391e5beaf89c0f2e2f89f32bbc2292b101fc705e8027c1c52"}},{"ruleId":"D1","level":"warning","message":{"text":"LogsTable.LogsTable (cyclomatic 35): LogsTable.LogsTable has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 8 of the 35 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 513, loadLogs, sortLog, \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":"web/default/src/components/LogsTable.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1303e98c68c6b6b07748077030a5a8480820bb6cee05ab15a936204bdf3faa35"}},{"ruleId":"D1","level":"warning","message":{"text":"EditToken (cyclomatic 31): EditToken has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 4 of the 31 points are its own statements and the rest belongs to 19 function items inside it that branch (loadToken, submit, loadAvailableModels, \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":"web/default/src/pages/Token/EditToken.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d51f75ee68fc36cbd9a95a4a91f2fa31e58eaa346334e01386dd4968259d753"}},{"ruleId":"D1","level":"warning","message":{"text":"EditChannel.EditChannel (cyclomatic 29): EditChannel.EditChannel 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. This shape REPEATS in the file: one other method here (EditChannel.EditChannel::submit) 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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e64dcdb6382aa9a4d580495ab529753e3fae7b61222097728af5ead76e5985"}},{"ruleId":"D1","level":"warning","message":{"text":"index.TopUp (cyclomatic 27): index.TopUp 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 7 function items inside it that branch (onlineTopUp, a function literal at line 139, getAmount, \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":"web/air/src/pages/TopUp/index.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7de5564b5493fe1499708dd0b367dc2626e26953744228c2a010d199bfaa3c"}},{"ruleId":"D1","level":"warning","message":{"text":"PersonalSetting.PersonalSetting (cyclomatic 27): PersonalSetting.PersonalSetting has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 8 function items inside it that branch (sendVerificationCode, a function literal at line 61, a function literal at line 49, \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":"web/default/src/components/PersonalSetting.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9700ffe149051dd66acf3710d43ecea9e867cc2f1980fe14be936b685a9211d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditModal.EditModal (cyclomatic 26): EditModal.EditModal has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 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 140, submit, loadToken, \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":"web/berry/src/views/Token/component/EditModal.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d0924aaca9c6df6be59b01d121b48831b9428b6efb790145c2df2b48e31d03"}},{"ruleId":"D1","level":"warning","message":{"text":"EditModal.EditModal (cyclomatic 26): EditModal.EditModal has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 135, submit, loadUser, \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":"web/berry/src/views/User/component/EditModal.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2e2b17aeb6ad2c19b7fdb58fcfb09801610e346a4a959e2cbab997d8f395c1"}},{"ruleId":"D1","level":"warning","message":{"text":"LoginForm (cyclomatic 26): LoginForm has cyclomatic complexity 26 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 12 belong to 11 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":"web/berry/src/views/Authentication/AuthForms/AuthLogin.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"446fabc6b389e9d0df9a1fbd4ae08258ec2c2b0a9445a867dd8c3a70717e92a5"}},{"ruleId":"D1","level":"warning","message":{"text":"replicate.ImageHandler (cyclomatic 24): replicate.ImageHandler has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 64). 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":"relay/adaptor/replicate/image.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0922744c92513e293b5372d1f15ce86a500bca3e9c089a0f4f6229f83ecaf82"}},{"ruleId":"D1","level":"warning","message":{"text":"EditToken.EditToken (cyclomatic 24): EditToken.EditToken has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (submit, loadToken, handleTokenCountChange, \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":"web/air/src/pages/Token/EditToken.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ef9b5e0d9c3f89ec02b97e02185e766d8ceca7c85bb7d788c9bcd5c13ae34c"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemSetting.SystemSetting (cyclomatic 24): SystemSetting.SystemSetting has cyclomatic complexity 24 (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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"135441a2ebe1e0143b0e555c5fefad26033211b8e86cf97b76136be2e0cecde5"}},{"ruleId":"D1","level":"warning","message":{"text":"LoginForm.LoginForm (cyclomatic 23): LoginForm.LoginForm 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 5 function items inside it that branch (handleSubmit, a function literal at line 32, onSubmitWeChatVerificationCode, \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":"web/air/src/components/LoginForm.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb852c9765b878db819da48b0db4161e952e09176d575fb920c4cad579ae0538"}},{"ruleId":"D1","level":"warning","message":{"text":"EditChannel.EditChannel::submit (cyclomatic 23): EditChannel.EditChannel::submit 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. This shape REPEATS in the file: one other method here (EditChannel.EditChannel) 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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cef73ffcb3b5a4f3122654ae5e95abdb0df5b91126480ba8d9e7252d25e4e3"}},{"ruleId":"D1","level":"warning","message":{"text":"RedemptionsTable (cyclomatic 23): RedemptionsTable has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 35 function items inside it that branch (manageRedemption, loadRedemptions, removeRecord, \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":"web/air/src/components/RedemptionsTable.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"645e84acae81cae2ab78d58f505a1ef271ced22c93251e5ebe6f6dc5512fa665"}},{"ruleId":"D1","level":"warning","message":{"text":"RegisterForm.RegisterForm (cyclomatic 22): RegisterForm.RegisterForm has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (handleSubmit, sendVerificationCode, a function literal at line 52, \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":"web/default/src/components/RegisterForm.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f38360028a07c237367d621e19d46336567776955f3b825837e87eb6ea8ea2"}},{"ruleId":"D1","level":"warning","message":{"text":"RedemptionsTable (cyclomatic 22): RedemptionsTable 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 21 function items inside it that branch (manageRedemption, a function literal at line 260, loadRedemptions, \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":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceed97db5c6e6ee848d25de2c22dea29e19f58cf54d28537c1a8e78ae8037766"}},{"ruleId":"D1","level":"warning","message":{"text":"controller.RelayImageHelper (cyclomatic 21): controller.RelayImageHelper has cyclomatic complexity 21 (threshold 15). Of this number, 15 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":"relay/controller/image.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"db35bdd3fcf24f0fd071cd11f9c5642d6c8eab4fa0b80c2ca849bf466602c632"}},{"ruleId":"D1","level":"warning","message":{"text":"UsersTable.UsersTable (cyclomatic 21): UsersTable.UsersTable has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 12 function items inside it that branch (renderSelectedOption, removeRecord, loadUsers, \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":"web/air/src/components/UsersTable.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aae2ba944abe15b664519518f29564997051f9956ca2fd92819894aa4cddce8"}},{"ruleId":"D1","level":"warning","message":{"text":"OperationSetting.OperationSetting::submitConfig (cyclomatic 21): OperationSetting.OperationSetting::submitConfig 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":"web/air/src/components/OperationSetting.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6932c8041af724f1641ded29b3e989b602b18e61043928ba8f28c8761ba8172e"}},{"ruleId":"D1","level":"warning","message":{"text":"OperationSetting.OperationSetting::submitConfig (cyclomatic 21): OperationSetting.OperationSetting::submitConfig 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":"web/berry/src/views/Setting/component/OperationSetting.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f805016a155d282ef5d580d509751a2e0b83a72d698071fefa9a95f71f7517b"}},{"ruleId":"D1","level":"warning","message":{"text":"OperationSetting.OperationSetting::submitConfig (cyclomatic 21): OperationSetting.OperationSetting::submitConfig 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":"web/default/src/components/OperationSetting.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d475bf46beb9f02c81650467a4727f84f517fdeec490de54c361dcf6303648a7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelPage (cyclomatic 21): ChannelPage has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 18 function items inside it that branch (manageChannel, loadChannels, searchChannels, \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":"web/berry/src/views/Channel/index.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a29c217b010e7a8a3c6831083511bbebe040c7d7fc54a6ee0802256915e823c"}},{"ruleId":"D1","level":"warning","message":{"text":"message.SendEmail (cyclomatic 20): message.SendEmail 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":"common/message/email.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe915b1ed7e36875b891a1663f7dee00905896491ff8b5976e3b6cf89bf9041"}},{"ruleId":"D1","level":"warning","message":{"text":"anthropic.ConvertRequest (cyclomatic 20): anthropic.ConvertRequest 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":"relay/adaptor/anthropic/main.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b894adf281f37ba23290bd29a7b62ba179ae6b61a511979c8e3cd95f737f8064"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Detail (cyclomatic 20): index.Detail 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 7 function items inside it that branch (loadQuotaData, updateChart, initChart, \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":"web/air/src/pages/Detail/index.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4e1b4ddeeb564c94924ee59a13f6228d734e1ac64662c9897c79c040eb658e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Home (cyclomatic 20): index.Home 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, 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":"web/default/src/pages/Home/index.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e368bd3d1e1f7f8bcd5067b3b0b38aae7661b46eaf24e27443a872aca67dc0"}},{"ruleId":"D1","level":"warning","message":{"text":"controller.updateChannelBalance (cyclomatic 19): controller.updateChannelBalance 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":"controller/channel-billing.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e97069303aa6e0622aa20d1e947f81d960de075ab48ff4b706daf57c4bbfb6c"}},{"ruleId":"D1","level":"warning","message":{"text":"anthropic.StreamHandler (cyclomatic 19): anthropic.StreamHandler has cyclomatic complexity 19 (threshold 15). Of this number, 15 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":"relay/adaptor/anthropic/main.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"893acbbe703352b32d95996494248eed422b3feb6757b16475eb4ae603b17816"}},{"ruleId":"D1","level":"warning","message":{"text":"MjLogsTable.LogsTable (cyclomatic 19): MjLogsTable.LogsTable has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 10 function items inside it that branch (loadLogs, a function literal at line 181, a function literal at line 197, \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":"web/air/src/components/MjLogsTable.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"908856e1333e4f00d36319511391a72e4e4532d6912b080ada64b0d123fc9291"}},{"ruleId":"D1","level":"warning","message":{"text":"index.NavCollapse (cyclomatic 19): index.NavCollapse has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 5 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":"web/berry/src/layout/MainLayout/Sidebar/MenuList/NavCollapse/index.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"637c26e7c8e2a19b620e56c25efb3487fb3e8aee7875cd66805b30e905f4dfc0"}},{"ruleId":"D1","level":"warning","message":{"text":"EditModal.EditModal (cyclomatic 19): EditModal.EditModal has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 104, submit, loadRedemptiond, \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":"web/berry/src/views/Redemption/component/EditModal.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3093aaafb81a0258c3e5eb3613aa54201480ae40539c266299b9b83f4f25ce8"}},{"ruleId":"D1","level":"warning","message":{"text":"UsersTable.UsersTable (cyclomatic 19): UsersTable.UsersTable has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 250, loadUsers, a function literal at line 83, \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":"web/default/src/components/UsersTable.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"698fff3e7cce4229cdef6035a5d3fd0851bfc2af9fb391679085e59acc64f764"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 19): (anonymous) has cyclomatic complexity 19 (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":"web/berry/src/views/User/component/EditModal.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c172c7363bb32494c4bed52c7400731b785c5757c14c88464c12aaf308ee85f"}},{"ruleId":"D1","level":"warning","message":{"text":"controller.ManageUser (cyclomatic 18): controller.ManageUser 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":"controller/user.go"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93183d068de25252fc8e805afafd389a68d30e8454ea43671cddf87b8e4aa83"}},{"ruleId":"D1","level":"warning","message":{"text":"aws.StreamHandler (cyclomatic 18): aws.StreamHandler has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 144). 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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a774ec83c6ee94c1743eff722bf97cc3ed69198adef8f0c010cbad651f72110"}},{"ruleId":"D1","level":"warning","message":{"text":"openai.StreamHandler (cyclomatic 18): openai.StreamHandler 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":"relay/adaptor/openai/main.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"433e11854ff2edd4db9edf5a2edde0076c741f354cd98a836e70368843b4eda3"}},{"ruleId":"D1","level":"warning","message":{"text":"RegisterForm.RegisterForm (cyclomatic 18): RegisterForm.RegisterForm has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (handleSubmit, sendVerificationCode, a function literal at line 27). 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":"web/air/src/components/RegisterForm.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb859a1c189497fa7106c896e4ce6b810bec185533e2063a72e7e691a3377444"}},{"ruleId":"D1","level":"warning","message":{"text":"EditChannel.EditChannel::submit (cyclomatic 18): EditChannel.EditChannel::submit 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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2b555a0914f42e1e4ef516a8cf6251371f41ca15359a3619d29c3f66a658c6"}},{"ruleId":"D1","level":"warning","message":{"text":"submit (cyclomatic 18): submit 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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d63f8b5067bb31032c96d6b96cd53f1febc9a33420bbd03efa3dc32e18a6eba"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 18): (anonymous) has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 9 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":"web/berry/src/views/Token/component/EditModal.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d429077961c4cb3eeee57fa4b19410aa639d9443eb621d263b023010f34138"}},{"ruleId":"D1","level":"warning","message":{"text":"controller.UpdateOption (cyclomatic 17): controller.UpdateOption 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":"controller/option.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a310a81aafd5b5c481ed17e3505c87f92219d4bf6efb5e4fa37fe5f68b03a7"}},{"ruleId":"D1","level":"warning","message":{"text":"middleware.TokenAuth (cyclomatic 17): middleware.TokenAuth has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 92). 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":"middleware/auth.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85fdee41682facff4163b77e6cb378ea1bb7df45c85d2b5d0331dd8e421176a"}},{"ruleId":"D1","level":"warning","message":{"text":"zhipu.StreamHandler (cyclomatic 17): zhipu.StreamHandler has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 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":"relay/adaptor/zhipu/main.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ff46efa8f45863e87fc3c0cbb91e34e3eee6626afef6f7c2df54eafce688ca"}},{"ruleId":"D1","level":"warning","message":{"text":"EditModal.EditModal::submit (cyclomatic 17): EditModal.EditModal::submit 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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ca350adad9250d76d064fca4bc33645ebcbe5240dd7083d6df22ce505b40a9"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 16): main.main 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":"main.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f40c572ebfa3eb335faae75b852b3027937bfc887dfc652481ef5f828dcc3d8"}},{"ruleId":"D1","level":"warning","message":{"text":"model.PreConsumeTokenQuota (cyclomatic 16): model.PreConsumeTokenQuota has cyclomatic complexity 16 (threshold 15). Of this number, 12 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":"model/token.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"861282b8d5216f2ca4ed74ca57c937a4b96f12f8200458613e1d897146f1dbec"}},{"ruleId":"D1","level":"warning","message":{"text":"gemini.ConvertRequest (cyclomatic 16): gemini.ConvertRequest 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":"relay/adaptor/gemini/main.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5da12c53e9714691687d91107d410f6a20737b4fb05af69e85e3434bf6b7e27"}},{"ruleId":"D1","level":"warning","message":{"text":"replicate.ChatHandler (cyclomatic 16): replicate.ChatHandler 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 one function literal inside it that branches (line 41). 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":"relay/adaptor/replicate/chat.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a446e3af1b7a90fdc695cccb967936a818a7c96984fa2ce75094d9cd0114f0d3"}},{"ruleId":"D1","level":"warning","message":{"text":"replicate.chatStreamHandler (cyclomatic 16): replicate.chatStreamHandler 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":"relay/adaptor/replicate/chat.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"98884cdccba889308ada49025e0cf84375a872e4e4bf1ec9e421ca8dd2392f24"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Home (cyclomatic 16): index.Home has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Home/index.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2f6d2cbb5d51c5ef3b539954f1b3ad51c18e35c9563cab7687e9f729783693"}},{"ruleId":"D1","level":"warning","message":{"text":"index.NavItem (cyclomatic 16): index.NavItem has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 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":"web/berry/src/layout/MainLayout/Sidebar/MenuList/NavItem/index.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec69dc0ac3036e789d0800b4151e34a7bd107f1aad81b6d82e5c5788b6fe17db"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailModal.EmailModal (cyclomatic 16): EmailModal.EmailModal has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 104, a function literal at line 55, handleSendCode, \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":"web/berry/src/views/Profile/component/EmailModal.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"615df66ff600e80b4511fe7b516828bcbf47f2ae0dfdd125250151c1f13d07fa"}},{"ruleId":"D1","level":"warning","message":{"text":"TableRow.TokensTableRow (cyclomatic 16): TableRow.TokensTableRow 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 items inside it that branch (handleCopy, a function literal at line 175, handleOpenMenu, \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":"web/berry/src/views/Token/component/TableRow.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c141eaac8f0bd766a22ac4af60ff8f0a91601c71077d948810071330880aeabb"}},{"ruleId":"D1","level":"warning","message":{"text":"Users (cyclomatic 16): Users 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 15 function items inside it that branch (manageUser, loadUsers, searchUsers, \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":"web/berry/src/views/User/index.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a530427ffcd6f75cfd47a514ddc8e59f106a79dac678f622b1588b328b8b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemSetting (cognitive 75): SystemSetting has cognitive complexity 75 (threshold 15). Drivers by points: boolean chains 35, if/else 33 (35 pts), error handling 1 (2 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 4). Of this number, 23 points are the body\u0027s own statements and 52 belong to 23 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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"040f0f66f3da63cdbda2256364373189ff5ea4b19e26ee39d51321e946c389de"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelsTable (cognitive 63): ChannelsTable has cognitive complexity 63 (threshold 15). Drivers by points: if/else 41 (47 pts), ternaries 8, error handling 3, boolean chains 2, match/switch 2, loops 1 (nesting depth added 6). Most of this is not in the body itself: 7 of the 63 points are its own statements and the rest belongs to 51 function items inside it that branch (manageChannel, loadChannels, renderResponseTime, \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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"74259d9f81ea01e95128debfe591d8e1b69059d6202bc1a8eda67f376f978858"}},{"ruleId":"D2","level":"warning","message":{"text":"PersonalSetting.PersonalSetting (cognitive 61): PersonalSetting.PersonalSetting has cognitive complexity 61 (threshold 15). Drivers by points: if/else 35 (36 pts), boolean chains 14, ternaries 11 (nesting depth added 1). Of this number, 23 points are the body\u0027s own statements and 38 belong to 14 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd74e0ebf8073e2efaa917eeee8de8df513228e4e37c112e3f14fc0ea0aac25"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelsTable (cognitive 55): ChannelsTable has cognitive complexity 55 (threshold 15). Drivers by points: if/else 38 (44 pts), ternaries 7, match/switch 2, boolean chains 1, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 4 of the 55 points are its own statements and the rest belongs to 40 function items inside it that branch (manageChannel, loadChannels, renderResponseTime, \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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e00d5d855d355ba6decc1f8f11f5ebc481b57df3ce25aec0eb16b99597148b"}},{"ruleId":"D2","level":"warning","message":{"text":"Breadcrumbs (cognitive 53): Breadcrumbs has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 10 (26 pts), boolean chains 15, if/else 8 (12 pts) (nesting depth added 20). Of this number, 42 points are the body\u0027s own statements and 11 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":"web/berry/src/ui-component/extended/Breadcrumbs.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e555cacb94d3d6a1b816ba96e93947982c86b5c1633a82621dca80136a17e7"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.RelayAudioHelper (cognitive 51): controller.RelayAudioHelper has cognitive complexity 51 (threshold 15). Drivers by points: if/else 33 (44 pts), boolean chains 3, match/switch 2 (3 pts), loops 1 (nesting depth added 12). Of this number, 47 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":"relay/controller/audio.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e0a80e0edeaad2bfa4e07b993f86e317c588fa9076736063366d525222d248"}},{"ruleId":"D2","level":"warning","message":{"text":"replicate.ImageHandler (cognitive 47): replicate.ImageHandler has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (42 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 25). Most of this is not in the body itself: 9 of the 47 points are its own statements and the rest belongs to one function literal inside it that branches (line 64). 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":"relay/adaptor/replicate/image.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8367258d8e9d11a84bde50242e2b54e3e5c6f8c70c9bad4134dbd75e2adbfc"}},{"ruleId":"D2","level":"warning","message":{"text":"LogsTable (cognitive 47): LogsTable has cognitive complexity 47 (threshold 15). Drivers by points: if/else 25 (30 pts), boolean chains 9, ternaries 8 (nesting depth added 5). Most of this is not in the body itself: 7 of the 47 points are its own statements and the rest belongs to 28 function items inside it that branch (a function literal at line 513, loadLogs, handleEyeClick, \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":"web/default/src/components/LogsTable.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d34a8430689054bc3899740ded6c1fa49e56e52d9f73b10e6020d21420b8e1"}},{"ruleId":"D2","level":"warning","message":{"text":"TokensTable.TokensTable (cognitive 45): TokensTable.TokensTable has cognitive complexity 45 (threshold 15). Drivers by points: if/else 32 (36 pts), match/switch 4, ternaries 3, boolean chains 1, loops 1 (nesting depth added 4). None of this is in the body itself: all 45 points belong to 17 function items inside it that branch (onOpenLink, manageToken, loadTokens, \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":"web/air/src/components/TokensTable.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"214f7f9b3b65f71f044a5795501991a3d09ac1d5647ee17fe3e99a017e3ac8f5"}},{"ruleId":"D2","level":"warning","message":{"text":"LogsTable.LogsTable (cognitive 45): LogsTable.LogsTable has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (22 pts), ternaries 11 (12 pts), boolean chains 10, loops 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 45 points are its own statements and the rest belongs to 17 function items inside it that branch (loadLogs, a function literal at line 64, a function literal at line 122, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/LogsTable.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c255050d0c9803ce0c2001e3d35577d2bde9178c155a63456dac8f8b3b8366c"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.CountTokenMessages (cognitive 43): openai.CountTokenMessages has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (33 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/openai/token.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96f507d2ad76465339f5458bb636c8af77d19e187a327d78a456f1742a08ebb"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemSetting (cognitive 43): SystemSetting has cognitive complexity 43 (threshold 15). Drivers by points: if/else 27 (28 pts), boolean chains 12, ternaries 1 (2 pts), match/switch 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 43 points is its own statement and the rest belongs to 26 function items inside it that branch (updateOption, submitSMTP, handleInputChange, \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":"web/default/src/components/SystemSetting.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"14705d7a7e889c7973336bfcb92a9e8aba80ba80cfd53240293dfaec2c3d35b9"}},{"ruleId":"D2","level":"warning","message":{"text":"EditToken (cognitive 42): EditToken has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 11, error handling 4 (5 pts), ternaries 3 (nesting depth added 5). Most of this is not in the body itself: 3 of the 42 points are its own statements and the rest belongs to 19 function items inside it that branch (loadToken, submit, loadAvailableModels, \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":"web/default/src/pages/Token/EditToken.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"69877cabe05164ca6ad5c3e0d26aa885c4de416f3b95db33286a66fe6faeaa8b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.TopUp (cognitive 41): index.TopUp has cognitive complexity 41 (threshold 15). Drivers by points: if/else 25 (32 pts), error handling 3, loops 1 (3 pts), ternaries 2, boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 2 of the 41 points are its own statements and the rest belongs to 7 function items inside it that branch (onlineTopUp, a function literal at line 139, getAmount, \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":"web/air/src/pages/TopUp/index.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d228b84091d00533948d6bf48bdc5c470b4d4c27792e6768c0582d2b4d1df2b"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemSetting (cognitive 40): SystemSetting has cognitive complexity 40 (threshold 15). Drivers by points: if/else 25 (26 pts), boolean chains 11, ternaries 1 (2 pts), match/switch 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 40 points is its own statement and the rest belongs to 22 function items inside it that branch (updateOption, submitSMTP, handleInputChange, \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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f7db9344f94832a4a19c2ca4a59cf46022781a881b25681d256413626b640c"}},{"ruleId":"D2","level":"warning","message":{"text":"TokensTable.TokensTable (cognitive 37): TokensTable.TokensTable has cognitive complexity 37 (threshold 15). Drivers by points: if/else 27 (29 pts), ternaries 5, match/switch 3 (nesting depth added 2). None of this is in the body itself: all 37 points belong to 10 function items inside it that branch (onCopy, manageToken, loadTokens, \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":"web/default/src/components/TokensTable.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d809c4639b15c72008aa3b8ca7163c6c716dee60d4b334bf846d00887db53e5"}},{"ruleId":"D2","level":"warning","message":{"text":"anthropic.StreamHandler (cognitive 36): anthropic.StreamHandler has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 17). Of this number, 32 points are the body\u0027s own statements and 4 belong 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":"relay/adaptor/anthropic/main.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"92331a7d5caa5aed280fed28a0d633755caa53fffe8f54e7fb979c40e48697e9"}},{"ruleId":"D2","level":"warning","message":{"text":"OperationSetting.OperationSetting::submitConfig (cognitive 36): OperationSetting.OperationSetting::submitConfig has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (35 pts), match/switch 1 (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/OperationSetting.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a501635d0e63bdd28a441267343e754b68cc87818b17654bb029538088a212"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Profile (cognitive 36): index.Profile has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 13, if/else 12 (13 pts), ternaries 8, error handling 2 (nesting depth added 1). Of this number, 21 points are the body\u0027s own statements and 15 belong to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Profile/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"092e44cc6481d11bfa5279aadf4029b25ed44c829c9bcc3d62e7c317b9e79a80"}},{"ruleId":"D2","level":"warning","message":{"text":"OperationSetting.OperationSetting::submitConfig (cognitive 36): OperationSetting.OperationSetting::submitConfig has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (35 pts), match/switch 1 (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Setting/component/OperationSetting.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a96a1bbabebcbcef03ca7172b653c2e517796c0eb849e7b329671adec7b8436"}},{"ruleId":"D2","level":"warning","message":{"text":"OperationSetting.OperationSetting::submitConfig (cognitive 36): OperationSetting.OperationSetting::submitConfig has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (35 pts), match/switch 1 (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/OperationSetting.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e117be91dc6299fb0c360fbc6a31c63ce147c3533f2cff643d1096bfdccf18"}},{"ruleId":"D2","level":"warning","message":{"text":"anthropic.ConvertRequest (cognitive 34): anthropic.ConvertRequest has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (26 pts), loops 4 (7 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":"relay/adaptor/anthropic/main.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a18fd829ef3d263d8010810202047e905b7809f05c7b858bcf92bb175affc46"}},{"ruleId":"D2","level":"warning","message":{"text":"message.SendEmail (cognitive 33): message.SendEmail has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 2, loops 1 (2 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":"common/message/email.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77e5e8449159fd83ccda2c6906214c237fb5965f1a2b4c24549934ea0022e8f"}},{"ruleId":"D2","level":"warning","message":{"text":"aws.StreamHandler (cognitive 33): aws.StreamHandler has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 16). Most of this is not in the body itself: 5 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 144). 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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bc331ce2a1913d7e1ff39dc84a16932d043b624190f9baff847c9adcb09737"}},{"ruleId":"D2","level":"warning","message":{"text":"zhipu.StreamHandler (cognitive 33): zhipu.StreamHandler has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 17). Of this number, 28 points are the body\u0027s own statements and 5 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":"relay/adaptor/zhipu/main.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d8478ab50927a03568949f0b218d026b19340c516715782ca9f83038121811"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthRegister.RegisterForm (cognitive 33): AuthRegister.RegisterForm has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (10 pts), ternaries 8 (nesting depth added 1). Most of this is not in the body itself: 4 of the 33 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 135, a function literal at line 117, handleSendCode, \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":"web/berry/src/views/Authentication/AuthForms/AuthRegister.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb153e57755067beb7766884f630821583f8a342dfcab47bc3a61217e1f76725"}},{"ruleId":"D2","level":"warning","message":{"text":"PersonalSetting.PersonalSetting (cognitive 33): PersonalSetting.PersonalSetting has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 10, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 9 of the 33 points are its own statements and the rest belongs to 8 function items inside it that branch (sendVerificationCode, a function literal at line 49, a function literal at line 61, \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":"web/default/src/components/PersonalSetting.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7203dc67eab0f499b643ca8f6019e2dd113596a6f934bf567a8b966b5eb87127"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.StreamHandler (cognitive 32): openai.StreamHandler has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/openai/main.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b25b58b8c6d9d9bfebcbbbc896c88c4fe5d53bd21abaa5b6095739feec8e85"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginForm.LoginForm (cognitive 32): LoginForm.LoginForm has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (19 pts), ternaries 5 (8 pts), boolean chains 5 (nesting depth added 7). Most of this is not in the body itself: 9 of the 32 points are its own statements and the rest belongs to 5 function items inside it that branch (handleSubmit, a function literal at line 32, onSubmitWeChatVerificationCode, \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":"web/air/src/components/LoginForm.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"faffa4da923277a260e11caddac395160701f951131ef05714c88bfb868563dd"}},{"ruleId":"D2","level":"warning","message":{"text":"EditModal.EditModal (cognitive 32): EditModal.EditModal has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 10, ternaries 3 (nesting depth added 2). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 8 function items inside it that branch (a function literal at line 140, submit, loadToken, \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":"web/berry/src/views/Token/component/EditModal.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"27283c7dd46b13be0b53cd11b466aa811b2fc5a80ecd5ccf397a580b28b1ed22"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Home (cognitive 32): index.Home has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 10 (19 pts), if/else 6 (8 pts), boolean chains 5 (nesting depth added 11). Of this number, 22 points are the body\u0027s own statements and 10 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":"web/default/src/pages/Home/index.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d42a897e7941686f4e80e56734fc9ca39fda90966b62396a62c3cd227f61acd"}},{"ruleId":"D2","level":"warning","message":{"text":"RedemptionsTable (cognitive 31): RedemptionsTable has cognitive complexity 31 (threshold 15). Drivers by points: if/else 24 (27 pts), error handling 1, loops 1, match/switch 1, ternaries 1 (nesting depth added 3). None of this is in the body itself: all 31 points belong to 35 function items inside it that branch (manageRedemption, loadRedemptions, removeRecord, \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":"web/air/src/components/RedemptionsTable.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0021f5242aa2198d6d14bb5f75ef817394b419cdf4142533c570ed4fecf846"}},{"ruleId":"D2","level":"warning","message":{"text":"gemini.ConvertRequest (cognitive 30): gemini.ConvertRequest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 3 (5 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":"relay/adaptor/gemini/main.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a28df7b69a26ceb7baee44c42fc6995a9c75aad58ab84fedada18d40cd7a93"}},{"ruleId":"D2","level":"warning","message":{"text":"ratio.GetCompletionRatio (cognitive 29): ratio.GetCompletionRatio has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 3, match/switch 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/billing/ratio/model.go"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1df6bb85051915735d964c2ecc0e667222cf90112f35edbe9eb7b488df65ee"}},{"ruleId":"D2","level":"warning","message":{"text":"replicate.chatStreamHandler (cognitive 28): replicate.chatStreamHandler has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (24 pts), 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":"relay/adaptor/replicate/chat.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"16813729a5e787306f82e93b09d3b652db057f3e91615c452c9ca75babf0e0ee"}},{"ruleId":"D2","level":"warning","message":{"text":"EditToken.EditToken::submit (cognitive 28): EditToken.EditToken::submit has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 1 (2 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":"web/air/src/pages/Token/EditToken.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6502264bf15ce169d491da2f970695d6b630b77faf78dbf0ec155dc8a1e64a77"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Detail (cognitive 28): index.Detail has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 3, ternaries 2 (3 pts), loops 2 (nesting depth added 5). Most of this is not in the body itself: 5 of the 28 points are its own statements and the rest belongs to 7 function items inside it that branch (loadQuotaData, updateChart, initChart, \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":"web/air/src/pages/Detail/index.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2b201232a0ff8b5b9ca6b4235f637b9496cb71a032af69931407d0ac5d73ef"}},{"ruleId":"D2","level":"warning","message":{"text":"RedemptionsTable (cognitive 28): RedemptionsTable has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (21 pts), ternaries 5, error handling 1, match/switch 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 21 function items inside it that branch (manageRedemption, loadRedemptions, a function literal at line 260, \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":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5442b1a5eb782919d54cc43620057ab1eef0cdb6cdccc83f42beac4c99cf90a1"}},{"ruleId":"D2","level":"warning","message":{"text":"submit (cognitive 28): submit has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 1 (2 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":"web/air/src/pages/Token/EditToken.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d3eefcb1ded9497518b5d3585254bb4abc8f3d9c4a5e8d654a6a80f0f16e2b"}},{"ruleId":"D2","level":"warning","message":{"text":"UsersTable.UsersTable (cognitive 27): UsersTable.UsersTable has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21 (24 pts), match/switch 2, ternaries 1 (nesting depth added 3). None of this is in the body itself: all 27 points belong to 12 function items inside it that branch (loadUsers, manageUser, removeRecord, \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":"web/air/src/components/UsersTable.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b5b86272a79ae100a7b579e0b7d09a6bf27c9227a1f33fe091469dcb8c6998"}},{"ruleId":"D2","level":"warning","message":{"text":"RegisterForm (cognitive 27): RegisterForm has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 6, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 9 function items inside it that branch (handleSubmit, sendVerificationCode, a function literal at line 40, \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":"web/default/src/components/RegisterForm.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae11b2c692cca0bed606d1db532109aa09c9f0de21be9484757829df06ef96dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelPage (cognitive 27): ChannelPage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19 (22 pts), ternaries 2, boolean chains 1, error handling 1, match/switch 1 (nesting depth added 3). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 18 function items inside it that branch (manageChannel, loadChannels, searchChannels, \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":"web/berry/src/views/Channel/index.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"514794b2ba4458179d9870afb2d9c5c5948d5bdf1978b98f0b1eeda0903dace6"}},{"ruleId":"D2","level":"warning","message":{"text":"EditModal.EditModal (cognitive 26): EditModal.EditModal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 7, loops 1 (4 pts), ternaries 1 (nesting depth added 6). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 4 function items inside it that branch (submit, a function literal at line 104, loadRedemptiond, \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":"web/berry/src/views/Redemption/component/EditModal.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a90c00ed50dbe5340ed7632711dfad1042f4275058a7ebb856ecf533b60af5e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditModal.EditModal (cognitive 26): EditModal.EditModal has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 11, if/else 10 (11 pts), ternaries 3, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 135, submit, loadUser, \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":"web/berry/src/views/User/component/EditModal.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b22e208b868f4a3ef7fb74280bd5dd8c3b6dbc0271d02e3b4141b7fb185a37"}},{"ruleId":"D2","level":"warning","message":{"text":"replicate.ChatHandler (cognitive 25): replicate.ChatHandler has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 41). 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":"relay/adaptor/replicate/chat.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"604ec4955a4035f51cb991b45ef8f24439f38d30ba7c2d005ca0c19e3d384ca9"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Home (cognitive 25): index.Home has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 8 (14 pts), if/else 6 (8 pts), boolean chains 3 (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Home/index.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28fa63f0552d77c5544b63c42669e8f3331709fa6816ecf63c63fd04e6b5184"}},{"ruleId":"D2","level":"warning","message":{"text":"EditChannel.EditChannel::submit (cognitive 25): EditChannel.EditChannel::submit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 8 (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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade05ce65b2fd6114359857bdaddcb790274e39e9cb8b29fddb22a6f77d09f87"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.OidcAuth (cognitive 24): auth.OidcAuth has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (23 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":"controller/auth/oidc.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08bd0f70835ed75f99d6bacf0a5a03ff930ac944684d30b459900fe61309f4e"}},{"ruleId":"D2","level":"warning","message":{"text":"UsersTable.UsersTable (cognitive 24): UsersTable.UsersTable has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (19 pts), ternaries 4, match/switch 1 (nesting depth added 2). None of this is in the body itself: all 24 points belong to 9 function items inside it that branch (loadUsers, a function literal at line 83, a function literal at line 250, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/UsersTable.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d0c02d7afcf27d268fe74fbd6d1d5567c3a4b52100bbca50d56a64fb1e8f50"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.RelayImageHelper (cognitive 23): controller.RelayImageHelper has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 2, match/switch 2 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 5 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":"relay/controller/image.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47a068ddafc2026298509bb6a1824578397e18efc600f6c82fe0a8c109be633"}},{"ruleId":"D2","level":"warning","message":{"text":"RegisterForm.RegisterForm (cognitive 23): RegisterForm.RegisterForm has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3, ternaries 2 (nesting depth added 4). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (handleSubmit, sendVerificationCode, a function literal at line 27). 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":"web/air/src/components/RegisterForm.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b573b040db905536b0f3b31574869b7fe8c4b3bf7312f8144294156559be4e6"}},{"ruleId":"D2","level":"warning","message":{"text":"MjLogsTable.LogsTable (cognitive 23): MjLogsTable.LogsTable has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 6, boolean chains 1, loops 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 10 function items inside it that branch (loadLogs, a function literal at line 181, copyText, \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":"web/air/src/components/MjLogsTable.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e0c200b75542670d0adde20cabb8bab5db5d397f2c9d686a8206cafba35890"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginForm (cognitive 23): LoginForm has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, ternaries 7, if/else 4 (5 pts) (nesting depth added 1). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 228, a function literal at line 215, a function literal at line 49, \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":"web/berry/src/views/Authentication/AuthForms/AuthLogin.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2777150d5d7f6ba16011a203249850d4fe03ded9580891271a93848b456f828e"}},{"ruleId":"D2","level":"warning","message":{"text":"model.PreConsumeTokenQuota (cognitive 22): model.PreConsumeTokenQuota has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3 (nesting depth added 6). Of this number, 12 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/token.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db0d647e4536e098c080611b0b5deb1391c4257e07e28442aff58ff0f761261"}},{"ruleId":"D2","level":"warning","message":{"text":"index.NavCollapse (cognitive 22): index.NavCollapse has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 5 (7 pts), boolean chains 1, match/switch 1 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 9 belong to 5 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":"web/berry/src/layout/MainLayout/Sidebar/MenuList/NavCollapse/index.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bde4e10b2ced968cff3a54c35a8420200052ff8864877dfbb32cef60b99c281"}},{"ruleId":"D2","level":"warning","message":{"text":"EditChannel (cognitive 22): EditChannel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 31 (38 pts), boolean chains 27, ternaries 3, error handling 2 (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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76b7b79534c6e54b21d0098915f1f943e7ac35a436e0b24fb87f2d74ae61d02"}},{"ruleId":"D2","level":"warning","message":{"text":"model.ValidateUserToken (cognitive 21): model.ValidateUserToken has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 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":"model/token.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbc1f632b5dc967a00c3f7054663e1dc12d5a05477d5949e42760ba534dc05b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditRedemption.EditRedemption (cognitive 21): EditRedemption.EditRedemption has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, ternaries 3, loops 1 (2 pts) (nesting depth added 2). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 3 function items inside it that branch (submit, loadRedemption, a function literal at line 43). 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":"web/air/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e0f428d574b806d3c8adfc399fc265f9978dd80ba8300650e54447d5a34327"}},{"ruleId":"D2","level":"warning","message":{"text":"submit (cognitive 21): submit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 6, 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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4f734d8bb2c8bd029d74dcae29eff706a8c146b8fb35a02cf4b5fa5be57f80"}},{"ruleId":"D2","level":"warning","message":{"text":"helper.GetIp (cognitive 20): helper.GetIp has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 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":"common/helper/helper.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3fc9c07fb96f46ea2f973f54afd0c61d4cf4748d26dd0eb13c65c167928e05"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.GitHubOAuth (cognitive 20): auth.GitHubOAuth has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 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":"controller/auth/github.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4d4c32441bd0475d709ae893eb8d0cb2f5b63e8185d3ef9b73928ad07ba0df"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.ManageUser (cognitive 20): controller.ManageUser has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/user.go"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c342dbd0e0e011083380fa8cac2f637c8f41b76b2e17ebc1d5b95dc7079945a"}},{"ruleId":"D2","level":"warning","message":{"text":"middleware.TokenAuth (cognitive 20): middleware.TokenAuth has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5 (nesting depth added 3). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 92). 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":"middleware/auth.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d8b65ca1cad7e850c38a7d0c581ea62a97f5f0e82c3fa6cb055bd297500ad7"}},{"ruleId":"D2","level":"warning","message":{"text":"middleware.SetupContextForSelectedChannel (cognitive 20): middleware.SetupContextForSelectedChannel has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 1 (2 pts), boolean chains 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":"middleware/distributor.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b553b69499f6dea1542176855e9669a1a00260c46cbc66490da793c7f598cab"}},{"ruleId":"D2","level":"warning","message":{"text":"EditChannel.EditChannel::submit (cognitive 20): EditChannel.EditChannel::submit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 6 (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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4f7fe5ad85a36b92d0b40af56c08b8b19ffdc647790d3a193837b0300784b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Header.Header (cognitive 20): Header.Header has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (16 pts), if/else 3, boolean chains 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 3 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":"web/default/src/components/Header.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5e46c3bafe8c1d1458b6ae7c3c1b71815b1148add7bd38de62889d0c20ba05"}},{"ruleId":"D2","level":"warning","message":{"text":"Users (cognitive 20): Users has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 3 (5 pts), boolean chains 1, error handling 1, match/switch 1 (nesting depth added 3). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 15 function items inside it that branch (manageUser, loadUsers, searchUsers, \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":"web/berry/src/views/User/index.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecd4025a30f782cc28da517923e2b9ff952f8023b3e350c307132ed4bb3da3e"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.LarkOAuth (cognitive 19): auth.LarkOAuth has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 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":"controller/auth/lark.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94289162a6b5f50b79b0bd3187c3e1ec6feb58bf7025ecd4285c7393edfd35a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditModal.EditModal::submit (cognitive 19): EditModal.EditModal::submit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5 (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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d73e20ed563d2336b6433f3229941e30271e3032f0569db33e28934c33c385b"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginForm.LoginForm (cognitive 19): LoginForm.LoginForm has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7 (nesting depth added 3). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (handleSubmit, a function literal at line 36, onSubmitWeChatVerificationCode). 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":"web/default/src/components/LoginForm.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27f9e314aeededbcacd5c1f9cd9efcd420a3bf297ca4875b8b1ba3ce2c97ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"ali.StreamHandler (cognitive 18): ali.StreamHandler has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, loops 1 (nesting depth added 5). Of this number, 14 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":"relay/adaptor/ali/main.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b621b40141cbfb2140aaafbf3cf1b16932ce3860bddd29d039ce483286c92ce"}},{"ruleId":"D2","level":"warning","message":{"text":"anthropic.StreamResponseClaude2OpenAI (cognitive 18): anthropic.StreamResponseClaude2OpenAI has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, match/switch 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":"relay/adaptor/anthropic/main.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b973a47582bbeaf2f40e267e246ae905369a34491a4f7feb1de080c0ac0a6c0"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.countImageTokens (cognitive 18): openai.countImageTokens has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/openai/token.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"152debb3ba7ff800ac1d72106f539b2c5c7ddb3fe4116d05e1a451c5d6672864"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.ParseContent (cognitive 18): Message.ParseContent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 1 (3 pts), loops 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":"relay/model/message.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea53c0382dbaa5c5cebba34aae02926784b63afd341db8f9731485fe8087a73c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.NavItem (cognitive 18): index.NavItem has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 4, boolean chains 3 (nesting depth added 3). 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, 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":"web/berry/src/layout/MainLayout/Sidebar/MenuList/NavItem/index.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2035e48d3c2e6c092b3d31730d7f847fbdb6cf36a7b63a67f05df4a3b6bdb506"}},{"ruleId":"D2","level":"warning","message":{"text":"EditRedemption.EditRedemption (cognitive 18): EditRedemption.EditRedemption has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (submit, loadRedemption, a function literal at line 41). 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":"web/default/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"770acbb3715ba1fcad362b5d796a0b5d05b294366346a63be0455e35b8200b5d"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 18): App.App has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, error handling 1 (nesting depth added 3). None of this is in the body itself: all 18 points belong to 3 function items inside it that branch (loadStatus, a function literal at line 79, loadUser). 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":"web/default/src/App.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c421b231eec943944db65ca5a0099b4ce2fbafc2e7e947bf457f622204a920b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Redemption (cognitive 18): Redemption has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 1, error handling 1, match/switch 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 15 function items inside it that branch (loadRedemptions, manageRedemptions, searchRedemptions, \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":"web/berry/src/views/Redemption/index.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"545f6e1636f9fe8e14f5528500ecab0721919d3f1eb079e3a155685406774e96"}},{"ruleId":"D2","level":"warning","message":{"text":"Token (cognitive 18): Token has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 1, error handling 1, match/switch 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 16 function items inside it that branch (loadTokens, manageToken, searchTokens, \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":"web/berry/src/views/Token/index.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0db2601eaec838ff49eaadae7f85b9371fcbe770c772c3521a6c11ed51b67f"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.UpdateOption (cognitive 17): controller.UpdateOption has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, match/switch 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":"controller/option.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed5bfb3fc3f68e6f3bb02c493270daed6598d305e0eee4094fa7379e4d4fadd"}},{"ruleId":"D2","level":"warning","message":{"text":"aiproxy.StreamHandler (cognitive 17): aiproxy.StreamHandler has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, loops 1 (nesting depth added 4). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a066196116dfc9db9bd4502b042f3feaf0e8f3143cf5c1c5f3b9c6d0119c57"}},{"ruleId":"D2","level":"warning","message":{"text":"gemini.responseGeminiChat2OpenAI (cognitive 17): gemini.responseGeminiChat2OpenAI has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (5 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":"relay/adaptor/gemini/main.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f051f18563d113b753fb8f2831048924de82e89ba79e2890f74102d1a233b71b"}},{"ruleId":"D2","level":"warning","message":{"text":"xunfei.xunfeiMakeRequest (cognitive 17): xunfei.xunfeiMakeRequest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 244). 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":"relay/adaptor/xunfei/main.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9343b394e4b71143ad5ce503dabdf57e58cd0595de66ca0d6e8d8ae94ea812f0"}},{"ruleId":"D2","level":"warning","message":{"text":"SiderBar.SiderBar (cognitive 17): SiderBar.SiderBar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 6, boolean chains 3 (nesting depth added 2). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (loadStatus, a function literal at line 37, a function literal at line 150). 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":"web/air/src/components/SiderBar.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aa0bfe3e8432798a37c8700d75c4577710156da1f354ede5fa26870eb3adac"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 17): (anonymous) has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 2. Of this number, 11 points are the body\u0027s own statements and 6 belong to 9 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":"web/berry/src/views/Token/component/EditModal.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e8c58bd60b917f50c8449f4268bc4a6f14bbab1b912fbdc1c40bf02b103866"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 16): main.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15 (16 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, 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":"main.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6790b6deacf27413460cbd5dc85b4aed290e794a9c8c7bc1bda29cdea50d5db"}},{"ruleId":"D2","level":"warning","message":{"text":"model.InitChannelCache (cognitive 16): model.InitChannelCache has cognitive complexity 16 (threshold 15). Drivers by points: loops 8 (12 pts), if/else 1 (4 pts) (nesting depth added 7). 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":"model/cache.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6253d318e2d5d0c39defaa47a907aa570adfe802595ca59cacc63f79d06928a"}},{"ruleId":"D2","level":"warning","message":{"text":"ForgetPasswordForm.ForgetPasswordForm (cognitive 16): ForgetPasswordForm.ForgetPasswordForm has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, boolean chains 5, ternaries 3 (5 pts) (nesting depth added 2). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 103, submit, a function literal at line 64, \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":"web/berry/src/views/Authentication/AuthForms/ForgetPasswordForm.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"62895e041cecb6787ca4d7839cbbc25e985bec790c6ba67c5d825fecbf58ed38"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SystemSetting.SystemSetting: FunctionTooLong \u2014 SystemSetting runs 793 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 693 over it, 7.93\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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c360444d8d1e819878e21b509bc844e25119031882c3c187ef4435b4c739046"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SystemSetting.SystemSetting: FunctionTooLong \u2014 SystemSetting runs 542 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 442 over it, 5.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/SystemSetting.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b3f582385ef82c4d66d93386f6d4ea68c032a718c8074cf0abe926ea14915b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChannelsTable.ChannelsTable: FunctionTooLong \u2014 ChannelsTable runs 537 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 437 over it, 5.37\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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17a2fec512f997794209471c45bf70486dcc69cf24b7d43e9034151e4d773b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PersonalSetting.PersonalSetting: FunctionTooLong \u2014 PersonalSetting runs 516 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 416 over it, 5.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":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc78caaa87a31a0a4614d48f42b1f2a5d08ce2df1301aff8c4793e8165c0935"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditChannel.EditChannel: FunctionTooLong \u2014 EditChannel runs 510 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 410 over it, 5.10\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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5382822a560889a3a10e68e28065a549707c591edec1a8794dcec47862ba38"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SystemSetting.SystemSetting: FunctionTooLong \u2014 SystemSetting runs 505 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 405 over it, 5.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df198b5cbc059eb1dc82ceb7ba97b054db439183dc235d19a51b0043bde9bbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChannelsTable.ChannelsTable: FunctionTooLong \u2014 ChannelsTable runs 503 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 403 over it, 5.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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e187d2f4d2b3bcee6b79180d7190eb6b5ce67dd9a26148f2ca34abc00971fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OperationSetting.OperationSetting: FunctionTooLong \u2014 OperationSetting runs 466 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 366 over it, 4.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Setting/component/OperationSetting.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9188a021b1cb5ea1c4e57204a342ee03d25e92445b4ae39defaa910cb7518300"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditModal.EditModal: FunctionTooLong \u2014 EditModal runs 449 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 349 over it, 4.49\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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"533bf0eac76e464e157d563df609ce6f4f52f9241e8723ed882e3f2506268bae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TokensTable.TokensTable: FunctionTooLong \u2014 TokensTable runs 410 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 310 over it, 4.10\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":"web/air/src/components/TokensTable.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba1257bf57db18e060234c7d6d2a79afb6903ea17f5ff62bed7cdbc42dd4878"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LogsTable.LogsTable: FunctionTooLong \u2014 LogsTable runs 402 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 302 over it, 4.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":"web/default/src/components/LogsTable.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cb5cf20271f6b2e2eb014b9284fc1c80feaca1db7d8e483dbf3573fec512d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TokensTable.TokensTable: FunctionTooLong \u2014 TokensTable runs 387 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 287 over it, 3.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/TokensTable.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93bba9c17093f61dd14a6accd64bc00725bf19c3ba914824d56d6d9a8f28d58"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OperationSetting.OperationSetting: FunctionTooLong \u2014 OperationSetting runs 370 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 270 over it, 3.70\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":"web/default/src/components/OperationSetting.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8190576e8d4a2351bb89e0233024aa9c8fc7827f8134414890664423b706f11"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OperationSetting.OperationSetting: FunctionTooLong \u2014 OperationSetting runs 341 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 241 over it, 3.41\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":"web/air/src/components/OperationSetting.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24890e713d5324dd08bfe3fbe3e4782807834ee01640acf852840ad7bf8fdfa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PersonalSetting.PersonalSetting: FunctionTooLong \u2014 PersonalSetting runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.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":"web/default/src/components/PersonalSetting.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68fb4d1d1b6c868f3246afcb92bdfe007a348e6985fac8ba129e51cda9dd720"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UsersTable.UsersTable: FunctionTooLong \u2014 UsersTable runs 307 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 207 over it, 3.07\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":"web/default/src/components/UsersTable.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea73904caac63598f97cfef59347f86a201652a99e7c97bf71da17240a31f88f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RedemptionsTable.RedemptionsTable: FunctionTooLong \u2014 RedemptionsTable runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\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":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"73229697cd375c53387f33d6393b4598ba73a92fe51d763b1141cd8d8582795d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Home: FunctionTooLong \u2014 Home runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/pages/Home/index.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0228c123916f9867776a283aa94cfa0391508cb780d05dfc17b1960fb35c44e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LogsTable.LogsTable: FunctionTooLong \u2014 LogsTable runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.55\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":"web/air/src/components/LogsTable.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1999180478a9fd7f0881ffe51a785e5f76f05701aa31df867091a743df42183"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UsersTable.UsersTable: FunctionTooLong \u2014 UsersTable runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/UsersTable.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ea6324d15d09ba8fb25c08a6007cb3a3e1c4b29ff9acb33187c87cc346df66"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OtherSetting.OtherSetting: FunctionTooLong \u2014 OtherSetting runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\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":"web/berry/src/views/Setting/component/OtherSetting.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf75db607875042c3a05158a7fff43be63ca2e9ea47f374ce502693b4a3efd71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditToken.EditToken: FunctionTooLong \u2014 EditToken runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\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":"web/air/src/pages/Token/EditToken.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3127bb7b34eb0408fc99a626470d8c693da0b2e120ab89970f4dbd7f5ed94164"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MjLogsTable.LogsTable: FunctionTooLong \u2014 LogsTable runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/MjLogsTable.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b69a9ab3856c3e35246dcf9ce37d97786d80e7424889b0188fc3d3c00b0f6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RedemptionsTable.RedemptionsTable: FunctionTooLong \u2014 RedemptionsTable runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/RedemptionsTable.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2302f0362e1840cdca1950eac0b9e470bde65555100163099c392f79b9099efb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Detail: FunctionTooLong \u2014 Detail runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\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":"web/air/src/pages/Detail/index.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0c80fdde738336ee7cd0d31090758c3102c7f7f5bab8febe9d45bb8fb1af26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Profile: FunctionTooLong \u2014 Profile runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\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":"web/berry/src/views/Profile/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57c0c8f4474708e45c76e6ba76937c3a7a0bdcb36892f2597543e2148edd5a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.TopUp: FunctionTooLong \u2014 TopUp runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37\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":"web/air/src/pages/TopUp/index.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf43599f5ce1cf13960d9d960cbb82c6ae957d7f482d0c4938189aeb03c60ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\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":"web/default/src/App.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b30bf4111971de6d84f3d8aa500d22b17d9edcf61e2be14d5de9739e2bc8720"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LoginForm.LoginForm: FunctionTooLong \u2014 LoginForm runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\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":"web/default/src/components/LoginForm.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ffefa6ed40a7dbf8c4d1af7c5e6fb3831328c0e16f7ab79b89a0cccd2ee707"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuthLogin.LoginForm: FunctionTooLong \u2014 LoginForm runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/AuthForms/AuthLogin.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df80bdb9cdd51882e2d9f83db9ecd38c8fb4fca74a3fa77c29d98bffdd12eaf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuthRegister.RegisterForm: FunctionTooLong \u2014 RegisterForm runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/AuthForms/AuthRegister.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46e585e8f602df922e3d6045334600b82a8708a6908af2f4ab54568c572c039"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditModal.EditModal: FunctionTooLong \u2014 EditModal runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\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":"web/berry/src/views/Token/component/EditModal.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c36fffe2f283f667c426d9847201fc2e92b177070a9094fa40c769d63028dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RegisterForm.RegisterForm: FunctionTooLong \u2014 RegisterForm runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\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":"web/default/src/components/RegisterForm.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0c879c38e6a832cb8134947eb5735beb54cbae15ab1a536bc1655b8ffdb8ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ChannelPage: FunctionTooLong \u2014 ChannelPage runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.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":"web/berry/src/views/Channel/index.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f43921f123bd9056048dafc409c9509b5e48826a369796fe12588bf797df2a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Header.Header: FunctionTooLong \u2014 Header runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.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":"web/default/src/components/Header.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae40aada59f82a7bee3fecf97f7eb4fbb5e78910ae9e6ff4ae98ebbcf6ffd1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.TopUp: FunctionTooLong \u2014 TopUp runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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":"web/default/src/pages/TopUp/index.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc37fbbc958a08d4116d7a0188d96d094ad8600088c618053b29958131fa035"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SystemSetting: ClassTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 393 over it, 1.98\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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c924e1a1020a60c7696f285347ea328d2deca4f0adc2005cb08e1457043545"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LoginForm.LoginForm: FunctionTooLong \u2014 LoginForm runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\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":"web/air/src/components/LoginForm.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbd3e53949645353b75e9720acd824f64219b053dee1641d93721377643dfc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OtherSetting.OtherSetting: FunctionTooLong \u2014 OtherSetting runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\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":"web/default/src/components/OtherSetting.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce04c595e4cf887b38deb8a04af1d2d8c93a645382cd5fd6e118a337161730f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditUser.EditUser: FunctionTooLong \u2014 EditUser runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\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":"web/air/src/pages/User/EditUser.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3bf7c9c594525bd18475fb0859bac95883a04c8871224161103472a3e55236"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditModal.EditModal: FunctionTooLong \u2014 EditModal runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\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":"web/berry/src/views/User/component/EditModal.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b635878d36fff594489b22d1ed8348e38e94bb01bdc0e8be27eb1a457d53d06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"web/air/src/App.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0b693423c2685edd974800307610b289c0ed4165b216e221b86d6d3dcf5f6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OtherSetting.OtherSetting: FunctionTooLong \u2014 OtherSetting runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"web/air/src/components/OtherSetting.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6faa2d813ea9f2d61402a5c10f45d6f017f11ee4784b5d0a5b30f440876fd32"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: compStyleOverride.componentStyleOverrides: FunctionTooLong \u2014 componentStyleOverrides runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/themes/compStyleOverride.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0890e04d85a20970bdd306db3b90e8689030a4789f9e0505e7ffa34fadac5179"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TableToolBar.TableToolBar: FunctionTooLong \u2014 TableToolBar runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"web/berry/src/views/Log/component/TableToolBar.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa70155d729ddf1316da531209e2baeeb2e51e86cd59bf06cd5bc7f48e5e665"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TableRow.ChannelTableRow: FunctionTooLong \u2014 ChannelTableRow runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"web/berry/src/views/Channel/component/TableRow.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9c0a58f608794299370577016709fbd16416a72787d1648e3fa4062a7bce9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/SystemSetting.js: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: SystemSetting (26-908). 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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14bd447a566c4309aa85cda3697c751533bc2e587c4685416da59312739f78b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TableRow.TokensTableRow: FunctionTooLong \u2014 TokensTableRow runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"web/berry/src/views/Token/component/TableRow.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a978d166d14a9ca24a97bf4b41516cc88fb2f19be01841f558bc4f4ad73253d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RegisterForm.RegisterForm: FunctionTooLong \u2014 RegisterForm runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"web/air/src/components/RegisterForm.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"65730d7af36aac8044d3b2c1884e3ddeab0cb5b3b9a19b181189d08f487bdbaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Token: FunctionTooLong \u2014 Token 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":"web/berry/src/views/Token/index.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c7bcefa4f131426ce52b6c34ab22d3c73af9b19b1f5db2fb68dc1860a8c768"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EmailModal.EmailModal: FunctionTooLong \u2014 EmailModal 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":"web/berry/src/views/Profile/component/EmailModal.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a3437248931363f44282bff9797db00bf6962184285d0d0e4bc05f1ecaf14a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EditChannel: ClassTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 174 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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e848b6d26eb9af96d7b55e7e5a355e6ec8b84f80200dd8f94ffa3df67b33faa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PopularCard.PopularCard: FunctionTooLong \u2014 PopularCard runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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":"web/berry/src/ui-component/cards/Skeleton/PopularCard.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"879a88aa924126b59c13804539474861dc4e6a9e235e9c19bd9b03614a793dcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Users: FunctionTooLong \u2014 Users runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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":"web/berry/src/views/User/index.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"550ce3f928c78075d7ad6de63de47b28528b563dd66aca19fb345ff321f8f437"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: controller.RelayAudioHelper: FunctionTooLong \u2014 RelayAudioHelper runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"relay/controller/audio.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4853b40e6f9e4846ac26bedba2689e7a7ccb0309764e847ab7d635ef3d4b35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Redemption: FunctionTooLong \u2014 Redemption runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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":"web/berry/src/views/Redemption/index.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6063190a77317a7ab5de6d8406b445fb0aaa8c0b5fd25abee7108123dad1e394"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditRedemption.EditRedemption: FunctionTooLong \u2014 EditRedemption runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"web/air/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac5f3e47bc3b99605f0e38011bd5491b4def417f7774362ac8b9f0bcbd21a74"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SystemSetting: ClassTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 142 over it, 1.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa06af317df5e9b01dafdeb5372ab19604518e73ad69d36c78da104830b55f52"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SiderBar.SiderBar: FunctionTooLong \u2014 SiderBar runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"web/air/src/components/SiderBar.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"534322a54431270f085ea0306ea6548a9eefd4dcb96a692820e099f940855dfb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChannelsTable: ClassTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 137 over it, 1.34\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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5613d03688f3c901b5aef0064ca45b40018e3fdef801c4a8165e6e2237a03a3e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: GeneralOpenAIRequest: TooManyFields \u2014 40 stored fields beside 1 method. The bar is 30 stored fields; this is 10 over it, 1.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/model/general.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a2e56641eb468c9bbe1dea701cedffb7d359b35f66a2f342075243f9d3228d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PersonalSetting: ClassTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 116 over it, 1.29\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":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6425bc750032f6056754a83cce1f5c452cf8b33b3c5fb982a80674b00b45f9b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EditChannel: ClassTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 110 over it, 1.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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0e72634bef066b03ba6818f7c034938af5929839577bf03f4cbb86e3bd28ac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SystemSetting: ClassTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), 1 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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de1355d2da848c62209f534709965a18b2b2da05918fccf659ab1f9aea0ce23"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChannelsTable: ClassTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 103 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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f4d7568cd62e5255fe20ab76fc6d9023fc7b76df7f3af2ea461d06d908f919"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model.updateOptionMap: FunctionTooLong \u2014 updateOptionMap 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":"model/option.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af092593c8c0fc7339e7a274d70be366160c7376f8d6be89f292c8f92fac3d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TableRow.UsersTableRow: FunctionTooLong \u2014 UsersTableRow runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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":"web/berry/src/views/User/component/TableRow.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0b06a6b714fc53c90fadba7affe0618f967ed984fecacce12e727e4ce72b80"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ForgetPasswordForm.ForgetPasswordForm: FunctionTooLong \u2014 ForgetPasswordForm runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/AuthForms/ForgetPasswordForm.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7674fd20a16fb8f35d4b987e3adba7a4aad50db4d0cc559148da893e6f3021a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PasswordResetForm.PasswordResetForm: FunctionTooLong \u2014 PasswordResetForm runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/PasswordResetForm.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4a96e118aeb67396788ff408ee216be821bfaa049815b7e93b8eda8d579f29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ChannelsTable.js: FileTooLong \u2014 599 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 90% of them inside a single declaration: ChannelsTable (80-733). The bar is 500 significant lines; this is 99 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"681c93c7f315415762ad753605d34cc4963c453c92261e81ee4a998dd58c9b96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Channel/EditChannel.js: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: EditChannel (30-696). The bar is 500 significant lines; this is 98 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5205ce471b926b299bb5511b6cba6bd01fcce820dfc37526ba26bc445269c469"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PasswordResetConfirm.PasswordResetConfirm: FunctionTooLong \u2014 PasswordResetConfirm runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"web/default/src/components/PasswordResetConfirm.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d1beb8ab840abcf7aa4b4aad29d3f8fe2de36b7cf46f80fbb4551a4eae9a89"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OperationSetting: ClassTooLong \u2014 466 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 66 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":"web/berry/src/views/Setting/component/OperationSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feae46660f361086c1a0f7774aa5279c9a18ba66b31c276c8944fa7fb2fa0315"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/user.go: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 81 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":"controller/user.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd86e08526476ef9bcc21b9eb30aab6218821308867367b274d16b7c014d34f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditModal.EditModal: FunctionTooLong \u2014 EditModal 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":"web/berry/src/views/Redemption/component/EditModal.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38336bdd4ddec59d2f527b5249dc7047350022f1bd2590c34c0d7ab6f0c980a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EditModal: ClassTooLong \u2014 449 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 49 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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4851f5c2f4fb76dee0c10c65afb5d4b391fb249e0102c600daa12ad75e87cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SystemSetting.js: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: SystemSetting (14-661). The bar is 500 significant lines; this is 55 over it, 1.11\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":"web/default/src/components/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7388717ad24ff634d53dd1b0b8e20dc0d0f174635480f7b80f27aa8b295f9084"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ProfileSection: FunctionTooLong \u2014 ProfileSection runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"web/berry/src/layout/MainLayout/Header/ProfileSection/index.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f216847a9ed6cc2b204ca6ede63bcad1f28bc379bf168b5db5027900a1e8a694"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Log: FunctionTooLong \u2014 Log runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"web/berry/src/views/Log/index.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"588dd8e5587f9870878565b45e8bf8836052361708b11c9038ceebe4610a406c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditRedemption.EditRedemption: FunctionTooLong \u2014 EditRedemption runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"web/default/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"533a64d3c17eb6318c5d9417a8fb4c322196982f1096d369fabb47a6095542a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/PersonalSetting.js: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: PersonalSetting (25-651). The bar is 500 significant lines; this is 40 over it, 1.08\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":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1fbdc87471789ca9af35885cf4829e954d694848119fe0d500cc5c8ad64cdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ChannelsTable.js: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ChannelsTable (44-736). The bar is 500 significant lines; this is 37 over it, 1.07\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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea71801c54c920d4a98dd9f01e478f2c709e904c9d260203d714b87194281316"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Breadcrumbs.Breadcrumbs: FunctionTooLong \u2014 Breadcrumbs runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"web/berry/src/ui-component/extended/Breadcrumbs.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd27d0141edaa6f3819cc48042489d40e384955f916688a6f713eec40894fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Channel/EditChannel.js: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: EditChannel (30-640). The bar is 500 significant lines; this is 33 over it, 1.07\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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb8fd2b83cca6584fd8e522a7c5e569d11ce3747cb9c6a116cf6095c1026b0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Header: FunctionTooLong \u2014 Header 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":"web/berry/src/layout/MinimalLayout/Header/index.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a419b1a20f28fab7769338b1ce73457bb9b43000a54175a046ce4a67fae95eb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/EditModal.js: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: EditModal (71-632). The bar is 500 significant lines; this is 14 over it, 1.03\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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c667b515ec952c13f9581a2e3163d64798daf38e4a1ad4bbf592c0bf20e801e9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TokensTable: ClassTooLong \u2014 410 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 10 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":"web/air/src/components/TokensTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c080cbffda62bd367db3cc1d9ef7bde01aa47749d3766d0a5af08a0cd2d3400"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Home: FunctionTooLong \u2014 Home 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":"web/air/src/pages/Home/index.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa1e50b9b0498c7eba7763c8aa26852c72aa6592dc5a6259aa1984fc6c3c35b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SystemSetting.js: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: SystemSetting (5-588). The bar is 500 significant lines; this is 9 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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"841bb94de9ea936d4269605e5f3b3feffe87535ba22f7ad6853f69f5778641cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/LogsTable.js: FileTooLong \u2014 508 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 79% of them inside a single declaration: LogsTable (132-611). 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":"web/default/src/components/LogsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3b98ff49af0863fcdddd3e47bdb033fcc3d80d94df8460920626b79a7debda"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LogsTable: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 2 over it, 1.01\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":"web/default/src/components/LogsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d64147364148ee74c0db1717582b77330a147cf25f81c2754d7575d5aa732a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (26 members, 50\u002B identical tokens): controller/auth/github.go:223-240 | controller/channel-billing.go:376-407 | controller/channel.go:13-32 | controller/channel.go:34-50 | controller/channel.go:52-75 | controller/channel.go:131-146 | controller/channel.go:148-172 | controller/log.go:12-38 | controller/log.go:40-65 | controller/log.go:67-83 | controller/log.go:85-102 | controller/log.go:146-169 | controller/model.go:188-213 | controller/redemption.go:14-33 | controller/redemption.go:35-51 | controller/redemption.go:53-76 | controller/redemption.go:155-195 | controller/token.go:16-39 | controller/token.go:41-58 | controller/token.go:60-84 | controller/token.go:123-168 | controller/token.go:188-257 | controller/user.go:187-209 | controller/user.go:211-227 | controller/user.go:349-365 | controller/user.go:754-780 \u2014 These 26 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 26 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 26 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/auth/github.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"837e0a4145f08d8d1afd18132436cc4ed8d4d7eea9b7f49f26c58109a9ffaa99"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): relay/adaptor/aiproxy/main.go:153-189 | relay/adaptor/ali/image.go:19-69 | relay/adaptor/ali/main.go:81-115 | relay/adaptor/ali/main.go:230-267 | relay/adaptor/anthropic/main.go:338-379 | relay/adaptor/baidu/main.go:184-219 | relay/adaptor/baidu/main.go:221-255 | relay/adaptor/cohere/main.go:187-228 | relay/adaptor/coze/main.go:165-202 | relay/adaptor/gemini/main.go:359-401 | relay/adaptor/gemini/main.go:403-437 | relay/adaptor/ollama/main.go:176-209 | relay/adaptor/ollama/main.go:229-265 | relay/adaptor/palm/palm.go:130-172 | relay/adaptor/tencent/main.go:55-88 | relay/adaptor/tencent/main.go:197-235 | relay/adaptor/zhipu/main.go:212-247 | relay/adaptor/zhipu/main.go:249-272 \u2014 These 18 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 18 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 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f495a9dbd40b033a4942123111e0f6f6faf88f560ad340019c1984b11a6d3dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): relay/adaptor/aiproxy/main.go:153-189 | relay/adaptor/ali/image.go:19-69 | relay/adaptor/ali/main.go:230-267 | relay/adaptor/anthropic/main.go:338-379 | relay/adaptor/baidu/main.go:184-219 | relay/adaptor/baidu/main.go:221-255 | relay/adaptor/cloudflare/main.go:85-115 | relay/adaptor/cohere/main.go:187-228 | relay/adaptor/coze/main.go:165-202 | relay/adaptor/gemini/main.go:359-401 | relay/adaptor/gemini/main.go:403-437 | relay/adaptor/ollama/main.go:229-265 | relay/adaptor/palm/palm.go:130-172 | relay/adaptor/tencent/main.go:197-235 | relay/adaptor/zhipu/main.go:212-247 | relay/adaptor/zhipu/main.go:249-272 \u2014 These 16 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b976ba11999b6eca4f9d9be57b175b273c9644b755faf71111b04fbba38ee92d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): relay/adaptor/ali/main.go:171-228 | relay/adaptor/anthropic/main.go:249-336 | relay/adaptor/baidu/main.go:139-182 | relay/adaptor/cloudflare/main.go:31-83 | relay/adaptor/cohere/main.go:134-185 | relay/adaptor/coze/main.go:110-163 | relay/adaptor/gemini/main.go:309-357 | relay/adaptor/ollama/main.go:104-160 | relay/adaptor/tencent/main.go:151-195 | relay/adaptor/zhipu/main.go:145-210 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/ali/main.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23526fab406f4e60a6fd72a5efbcaab280f3bfffce49fc2d4677c2837b7a310"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): relay/adaptor/aiproxy/main.go:92-151 | relay/adaptor/ali/main.go:171-228 | relay/adaptor/anthropic/main.go:249-336 | relay/adaptor/ollama/main.go:104-160 | relay/adaptor/zhipu/main.go:145-210 \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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d37f7e0828842156a039c0cfcbea02b32600b59b40b3b51a39ddf5bbd4b9d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): controller/auth/github.go:85-166 | controller/auth/lark.go:83-155 | controller/auth/oidc.go:91-173 | controller/auth/wechat.go:56-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":"controller/auth/github.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"178949859a29cf9569eaedd4eef8d7fd8fd4e5c7824847ed6aac53b4b00b5d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): controller/auth/github.go:168-221 | controller/auth/lark.go:157-203 | controller/auth/oidc.go:175-228 | controller/auth/wechat.go:119-169 \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":"controller/auth/github.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0356133b2a8e9bfd5ba850fcdbf3d18183ed06341fc00f16e249042d9216a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): relay/adaptor/aws/claude/main.go:49-100 | relay/adaptor/aws/claude/main.go:102-207 | relay/adaptor/aws/llama3/main.go:72-116 | relay/adaptor/aws/llama3/main.go:141-217 \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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"559c0e41178ffeb95d853ab73b8ef20f0bb1c86948eeb4a0d7000eeee0691ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 50\u002B corresponding lines): controller/auth/github.go:34-83 | controller/auth/lark.go:30-81 | controller/auth/oidc.go:38-89 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 50 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":"controller/auth/github.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"19999060cd6f5c3f2f3044fb3be7a2a4a21639e00099433450621259588ff622"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): controller/misc.go:85-143 | controller/misc.go:145-192 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"controller/misc.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4925357b5a2a875125374f09f327457a1309f62dba7fed6a93a020d4aa3ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): controller/user.go:229-260 | controller/user.go:479-512 \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":"controller/user.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"37da4080df344eb6bdf74060db4594f35b9152b73fb3effdaf2bac7382f15b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): controller/log.go:104-123 | controller/log.go:125-144 \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":"controller/log.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c975924c23571978ccd32e38d18a92c179b291a864be189ed76b077b3fcb03aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): controller/user.go:285-319 | controller/user.go:321-347 \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":"controller/user.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60ac2218e404f7f005549d258d2d1ec056104a9ad84db6d286a8e9680afc478"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): model/log.go:158-184 | model/log.go:186-209 \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":"model/log.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2a0150442116fe3cde00655fedebf0d7d01ebc409182676a33421e1b9d0b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): model/log.go:96-123 | model/log.go:125-146 \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":"model/log.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"89aa6c5af16415b20d898a253411f32032b45ace7d2f63cd0488edeb98ef0851"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): controller/channel-billing.go:171-191 | controller/channel-billing.go:244-264 | controller/channel-billing.go:266-293 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"controller/channel-billing.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43f9186745941e4251d5146b12110568243e7a93c746c74c4089dd035838d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): controller/channel.go:113-129 | controller/redemption.go:138-153 \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":"controller/channel.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f344f52aaaaa08f8748790f32df684a771521f9ee04419927bd1266b743cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): relay/adaptor/aiproxy/main.go:48-65 | relay/adaptor/aws/llama3/main.go:118-139 | relay/adaptor/cohere/main.go:114-132 | relay/adaptor/coze/main.go:83-108 \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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d913e66b3b1691aa26181a04942dffa046af580c67fb3448bd9e9a1acd4b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): relay/adaptor/ali/main.go:117-133 | relay/adaptor/baidu/main.go:122-137 | relay/adaptor/gemini/main.go:292-307 | relay/adaptor/ollama/main.go:211-227 | relay/adaptor/tencent/main.go:90-106 | relay/adaptor/zhipu/main.go:274-294 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/ali/main.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff8c0b97eee053e6102742e1928a402829f261576c9b549524345bbf689e3d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): relay/adaptor/gemini/adaptor.go:80-94 | relay/adaptor/tencent/adaptor.go:83-97 | relay/adaptor/vertexai/gemini/adapter.go:41-55 \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":"relay/adaptor/gemini/adaptor.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b456d79207d6ad7f6c4284cee18ea5c3d997e9ecb898b049931d21688c962feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): controller/channel-billing.go:155-169 | controller/channel-billing.go:213-227 | controller/channel-billing.go:229-242 | controller/channel-billing.go:295-309 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/channel-billing.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f19abc0314fd9c0fbc0d3052ebdcc11543c65ce4aad63a7297a917273cedb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): relay/adaptor/aiproxy/main.go:67-78 | relay/adaptor/ollama/main.go:87-102 \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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4713a30906707ca1d2acbd66a150ce4192b769e7396bca965616b0ac579e594"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): model/token.go:184-193 | model/token.go:206-215 \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":"model/token.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"70993e2116da46ac1a139edd32bddda08a1c699f1ed370243d94354962fd7731"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): model/user.go:420-430 | model/user.go:432-441 \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":"model/user.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"acff928d8a886974b6d1380008f7eb098ae82532c87a243a4f53d3b595cb75d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): model/channel.go:74-83 | model/user.go:89-101 \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":"model/channel.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0bd4ecf18589c8a3bb4f9919a1769005a75e8d12040488efaabe917582912c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): monitor/channel.go:31-45 | monitor/channel.go:47-61 \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":"monitor/channel.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"073f342ce7ad145dd1f5f3c95a297530c30ee693f5a7e033495d8c68347c2e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): common/random/main.go:40-47 | common/random/main.go:49-56 \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":"common/random/main.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10a483e03c4e9f8b4cd98dd79854e4e6aeefbc5c95c846eec260af9cf039cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): relay/adaptor/aws/utils/adaptor.go:16-24 | relay/adaptor/vertexai/registry.go:35-38 \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":"relay/adaptor/aws/utils/adaptor.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc1a323ac882e53183153d71102126f0b88bf0ecaa079912409422bf6707873"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): model/token.go:160-171 | model/redemption.go:116-126 \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":"model/token.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cca701b62f45b7d8df41d359007ac0485c4cf6ac4b1d861c5c3d185fc96024"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): relay/adaptor/aws/adaptor.go:35-47 | relay/adaptor/vertexai/adaptor.go:27-38 \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":"relay/adaptor/aws/adaptor.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"40198a1ff42575894af58509bb099e44bbc31958794cf0b85f9e33a357a9fef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): relay/adaptor/aws/claude/adapter.go:19-28 | relay/adaptor/aws/llama3/adapter.go:19-28 | relay/adaptor/vertexai/gemini/adapter.go:30-39 \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":"relay/adaptor/aws/claude/adapter.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7ee08442a28197206dd453b5f959e182e51a8deb6bb381a62163fc8fbb5d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): relay/adaptor/cloudflare/adaptor.go:85-92 | relay/adaptor/palm/adaptor.go:50-59 \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":"relay/adaptor/cloudflare/adaptor.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb0b358a13ed32baa66d486314257a416feb4cdda37618879e747abfc019570"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): relay/adaptor/anthropic/main.go:21-37 | relay/adaptor/coze/main.go:24-38 \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":"relay/adaptor/anthropic/main.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e38bb4ca04065c5d9b01b0c8f2f90d04998cdc4ec67c1ed9258f962dc5f441"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): common/random/main.go:10-14 | common/verification.go:25-32 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"common/random/main.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50bd244a4dc8f9cbd3a7dd23b5bf981f379444229a164d54bd6ad4c3eaac653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): relay/adaptor/replicate/chat.go:36-65 | relay/adaptor/replicate/image.go:59-88 \u2014 before extracting anything, compare \u0060relay/adaptor/replicate/chat.go\u0060 and \u0060relay/adaptor/replicate/image.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060relay/adaptor/replicate/chat.go:36\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/replicate/chat.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e165900ce72a7c00bb9ca5dcf265715dc78db542c1df105fd825e34b73b228fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): controller/auth/github.go:143-166 | controller/auth/lark.go:132-155 | controller/auth/oidc.go:150-173 | controller/auth/wechat.go:94-117 \u2014 before extracting anything, compare \u0060controller/auth/github.go\u0060 and \u0060controller/auth/lark.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 117 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 \u0060controller/auth/github.go: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":"controller/auth/github.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bc6f60bdece196b5cc16d0c881b2e5e257a0fce21550c4aedc8e3a9945305a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): controller/auth/github.go:102-121 | controller/auth/github.go:169-188 \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 \u0060controller/auth/github.go:102\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":"controller/auth/github.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f51bed1c82d7bf68a41cc674b86c3cb932b0783b7ae11a33606d2660f8d0fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): controller/auth/oidc.go:107-126 | controller/auth/oidc.go:176-195 \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 \u0060controller/auth/oidc.go:107\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":"controller/auth/oidc.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"252256ae185a050f46002c1612630af9f97fa192ee2f73d8af34fd1ed4100fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): relay/adaptor/aws/claude/main.go:57-76 | relay/adaptor/aws/claude/main.go:111-130 \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 \u0060relay/adaptor/aws/claude/main.go:57\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. 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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e4bda029bcf903b21fd9c33e5ea744f20a69c53b8e9d2f143f3a85e42f8ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): relay/adaptor/aws/claude/main.go:190-207 | relay/adaptor/aws/llama3/main.go:200-217 \u2014 \u0060relay/adaptor/aws/claude/main.go\u0060 and \u0060relay/adaptor/aws/llama3/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 95 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/aws/claude/main.go:190\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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0473fa7957a7a97f08637a693ce5a0817aaaef93b98750ab32074aff1dd51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): relay/adaptor/baidu/main.go:191-208 | relay/adaptor/baidu/main.go:228-245 \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":"relay/adaptor/baidu/main.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c36aeaf1b2531b36d3d4d5773308e928a27c31f604d0aa8c72a44c541079e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): relay/adaptor/openai/image.go:28-42 | relay/adaptor/openai/main.go:120-137 \u2014 before extracting anything, compare \u0060relay/adaptor/openai/image.go\u0060 and \u0060relay/adaptor/openai/main.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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":"relay/adaptor/openai/image.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"09371044ee11552e0b34d729895948f1bc6cfa95b6924247f31040e3e808cd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): controller/token.go:124-140 | controller/token.go:191-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. 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":"controller/token.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82c2ed5b238483a8be16d386228fa4c2684b2437af18722869c2560e0972068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): controller/auth/wechat.go:58-73 | controller/auth/wechat.go:120-135 \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":"controller/auth/wechat.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e80a42258710c4837dd42f90cc540fe5cde1b3b0e379fd4c9fa413b79a4825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): controller/user.go:230-245 | controller/user.go:480-495 \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":"controller/user.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"980d32fcd4aff2fbda44c00be0a95a7bcc700aa3f5fb2f956ccf6b9fafc2274f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): relay/adaptor/aiproxy/main.go:101-116 | relay/adaptor/ali/main.go:179-194 \u2014 \u0060relay/adaptor/aiproxy/main.go\u0060 and \u0060relay/adaptor/ali/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 50 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/aiproxy/main.go:101\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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c00f042f06e7647da6046e37b273b21eeead1ce5abe6fbad387ff7bc18d7107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): controller/auth/github.go:192-206 | controller/auth/lark.go:174-188 | controller/auth/oidc.go:199-213 \u2014 before extracting anything, compare \u0060controller/auth/github.go\u0060 and \u0060controller/auth/lark.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 117 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 \u0060controller/auth/github.go:192\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":"controller/auth/github.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"435947f7f69e94bb06d1a7de8a1af11000f922766609f46b15c4abd9b8edeb93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): model/log.go:164-178 | model/log.go:192-206 \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, \u0060model/log.go:180\u0060 calls \u0060Where\u0060 and \u0060model/log.go:207\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":"model/log.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1685ed1ef776b422624fc84cc84602f8564f87084017cc5e48beba524b15f2ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): relay/adaptor/aws/claude/main.go:103-117 | relay/adaptor/aws/llama3/main.go:142-156 \u2014 \u0060relay/adaptor/aws/claude/main.go\u0060 and \u0060relay/adaptor/aws/llama3/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 95 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/aws/claude/main.go:103\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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8315822757227d2dd7917a5c91210e03eac39d66da581b224afe1d588d9c3f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 23): controller/channel.go:19-32 | controller/channel.go:37-50 | controller/channel.go:62-75 | controller/channel.go:133-146 | controller/channel.go:159-172 | controller/log.go:25-38 | controller/log.go:52-65 | controller/log.go:70-83 | controller/log.go:89-102 | controller/log.go:156-169 | controller/model.go:200-213 | controller/redemption.go:20-33 | controller/redemption.go:38-51 | controller/redemption.go:63-76 | controller/redemption.go:182-195 | controller/token.go:26-39 | controller/token.go:45-58 | controller/token.go:71-84 | controller/token.go:155-168 | controller/token.go:244-257 | controller/user.go:214-227 | controller/user.go:352-365 | controller/user.go:767-780 \u2014 before extracting anything, compare \u0060controller/channel.go\u0060 and \u0060controller/log.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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 \u0060controller/channel.go:19\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":"controller/channel.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84d19025ea9a02207ce57d381035349ad1fbb57951a91ea35f9d593cbce2e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 9): relay/adaptor/ali/main.go:211-224 | relay/adaptor/anthropic/main.go:319-332 | relay/adaptor/baidu/main.go:165-178 | relay/adaptor/cloudflare/main.go:64-77 | relay/adaptor/cohere/main.go:167-180 | relay/adaptor/coze/main.go:145-158 | relay/adaptor/gemini/main.go:339-352 | relay/adaptor/ollama/main.go:142-155 | relay/adaptor/tencent/main.go:177-190 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/ali/main.go:211\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, \u0060relay/adaptor/cohere/main.go:163\u0060 calls \u0060Sprintf\u0060, \u0060GetString\u0060 and \u0060relay/adaptor/ali/main.go:210\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":"relay/adaptor/ali/main.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfa6d7dac9b8fa0ae3d2202f7c6d7f5f38dbbba1171b01f06401e1f5248869a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): controller/auth/github.go:208-221 | controller/auth/lark.go:190-203 | controller/auth/oidc.go:215-228 \u2014 before extracting anything, compare \u0060controller/auth/github.go\u0060 and \u0060controller/auth/lark.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 117 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 \u0060controller/auth/github.go:208\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":"controller/auth/github.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b440d2965fc11264071f072957e21f4d288e8407a1e3ace9d98e70dc25d8bbd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): controller/log.go:110-123 | controller/log.go:131-144 \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 \u0060controller/log.go:110\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060controller/log.go:108\u0060 calls \u0060Query\u0060 and \u0060controller/log.go:129\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":"controller/log.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a272cf9bd3dff38f7759d71d56b0e698544a3a7faa283b112a40a25015b9f781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): relay/adaptor/aws/claude/main.go:50-63 | relay/adaptor/aws/llama3/main.go:73-86 \u2014 \u0060relay/adaptor/aws/claude/main.go\u0060 and \u0060relay/adaptor/aws/llama3/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 95 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/aws/claude/main.go:50\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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ae6c641b13d077723e1edbeb83f492b352da1ed019342c8374b9e1c385428a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): relay/adaptor/aws/claude/main.go:127-140 | relay/adaptor/aws/llama3/main.go:159-172 \u2014 \u0060relay/adaptor/aws/claude/main.go\u0060 and \u0060relay/adaptor/aws/llama3/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 95 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6719e8d13dbd6f206b0bdc56f2ea2469f4d0c85d866fa8dcb6e56ba411612da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): controller/channel.go:99-111 | controller/redemption.go:141-153 | controller/user.go:527-539 \u2014 before extracting anything, compare \u0060controller/channel.go\u0060 and \u0060controller/redemption.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 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 \u0060controller/channel.go:99\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":"controller/channel.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2d049950917aa29567830b808a001efad2ac4eadbadd16cd51fdbd15319ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): relay/adaptor/aiproxy/main.go:96-109 | relay/adaptor/ali/main.go:174-187 | relay/adaptor/anthropic/main.go:252-265 \u2014 \u0060relay/adaptor/aiproxy/main.go\u0060 and \u0060relay/adaptor/ali/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 50 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2b58084e2584411223ae4ce05e03932f0efd4d81402a455ecb3f29d499f51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): controller/auth/github.go:228-240 | controller/user.go:196-209 \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 \u0060controller/auth/github.go: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/auth/github.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2194c45578d48523aae84f2eb3c909d33f5df8e6bf0f5e0b99b9875b18fc5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): controller/auth/lark.go:99-111 | controller/auth/lark.go:158-170 \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 \u0060controller/auth/lark.go:99\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":"controller/auth/lark.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d41171781675ac1c67d4b077d741e5a6c16649ac6e881b31390d8442579464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): controller/misc.go:131-143 | controller/token.go:174-186 \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 \u0060controller/misc.go: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 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":"controller/misc.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"de37acaabd58b8a51267720bf8ec95e60a5844a9007cf3831dfcd4b5f6fe5ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): controller/user.go:132-144 | controller/user.go:546-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 \u0060controller/user.go:132\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":"controller/user.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae20efaa56d0d318f928fa41f84563e27ff92b391d66b9542124d0640013b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): relay/adaptor/aws/llama3/main.go:80-92 | relay/adaptor/aws/llama3/main.go:150-162 \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 \u0060relay/adaptor/aws/llama3/main.go:80\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. 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":"relay/adaptor/aws/llama3/main.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc5ad64e4547c910721e511010e08018dbd32fb66243a9005f9b479a7908c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): relay/adaptor/openai/image.go:14-26 | relay/adaptor/openai/main.go:101-112 \u2014 before extracting anything, compare \u0060relay/adaptor/openai/image.go\u0060 and \u0060relay/adaptor/openai/main.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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":"relay/adaptor/openai/image.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc7d2402f88620f4bed6b6f8d3096529082dc6ff4428c44e1d9a8cfbbe6f17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 25): controller/auth/github.go:228-239 | controller/channel.go:19-30 | controller/channel.go:37-48 | controller/channel.go:62-73 | controller/channel.go:133-144 | controller/channel.go:159-170 | controller/log.go:25-36 | controller/log.go:52-63 | controller/log.go:70-81 | controller/log.go:89-100 | controller/log.go:156-167 | controller/model.go:200-211 | controller/redemption.go:20-31 | controller/redemption.go:38-49 | controller/redemption.go:63-74 | controller/redemption.go:182-193 | controller/token.go:26-37 | controller/token.go:45-56 | controller/token.go:71-82 | controller/token.go:155-166 | controller/token.go:244-255 | controller/user.go:196-208 | controller/user.go:214-225 | controller/user.go:352-363 | controller/user.go:767-778 \u2014 before extracting anything, compare \u0060controller/channel.go\u0060 and \u0060controller/log.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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":"controller/auth/github.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0beb45c8db8a9e63a842d172ef6670aa0fdad2b154c496dfdce369ec8c2eee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): model/log.go:106-117 | model/log.go:164-175 | model/log.go:192-203 \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 after the matched lines, \u0060model/log.go:177\u0060 calls \u0060Where\u0060 and \u0060model/log.go:118\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":"model/log.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669aa65b9230749b55c5b2c6dfe0bddea40c28f6d75d322efe1522cbc4646c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): relay/adaptor/anthropic/main.go:340-351 | relay/adaptor/cohere/main.go:189-200 | relay/adaptor/coze/main.go:167-178 \u2014 \u0060relay/adaptor/anthropic/main.go\u0060 and \u0060relay/adaptor/cohere/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"relay/adaptor/anthropic/main.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"213f8ab9a4b36af50fd710c7e6f301415218b710586160961008e157a003d69f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): controller/user.go:372-383 | controller/user.go:436-447 \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 \u0060controller/user.go:372\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":"controller/user.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"794dfc147f1701c09783c65fa768864e2bf481ddf57b7874ae5f9574cfc7cd07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): relay/adaptor/deepl/main.go:70-81 | relay/adaptor/deepl/main.go:105-116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"relay/adaptor/deepl/main.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f586799a57cee42b8db581727c808e9bdabe286d6db3b5cab25615d0136e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): relay/adaptor/gemini/main.go:361-372 | relay/adaptor/palm/palm.go:132-143 \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":"relay/adaptor/gemini/main.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e2d611d10f62dde1ac78360a871fdb49332059e56d113540645703cea1021a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): relay/adaptor/replicate/chat.go:22-33 | relay/adaptor/replicate/image.go:45-56 \u2014 before extracting anything, compare \u0060relay/adaptor/replicate/chat.go\u0060 and \u0060relay/adaptor/replicate/image.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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":"relay/adaptor/replicate/chat.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c390004c229d8013c0507ab8b7cc018ab39782d68538f454ded77bcaad92b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): controller/auth/github.go:44-54 | controller/auth/lark.go:46-56 | controller/auth/oidc.go:54-64 \u2014 before extracting anything, compare \u0060controller/auth/github.go\u0060 and \u0060controller/auth/lark.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 117 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 \u0060controller/auth/github.go:44\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":"controller/auth/github.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"122bf3d52e718276aff62c293f911522f4cf130d3dd8e4a276a6a2f513a5dfe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): controller/auth/github.go:86-97 | controller/auth/lark.go:84-95 | controller/auth/oidc.go:92-103 \u2014 before extracting anything, compare \u0060controller/auth/github.go\u0060 and \u0060controller/auth/lark.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 117 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 \u0060controller/auth/github.go:86\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":"controller/auth/github.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a68f5e084a7b458aeb135b331cedbfa12700ea9e9944428247737298069739"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): controller/user.go:239-249 | controller/user.go:389-399 \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 \u0060controller/user.go:239\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":"controller/user.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"49057a9cce9a7171399105c4e6705113adf6672d26ab0c0b927f7285c709ea69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): relay/adaptor/aiproxy/main.go:179-189 | relay/adaptor/tencent/main.go:225-235 \u2014 \u0060relay/adaptor/aiproxy/main.go\u0060 and \u0060relay/adaptor/tencent/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 43 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/aiproxy/main.go:179\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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2662c8ff7b2bc77ef09f0e5878b0b8fc87990d008dafcca9876574ae17e003f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): relay/adaptor/ali/main.go:93-103 | relay/adaptor/ali/main.go:246-256 \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":"relay/adaptor/ali/main.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ab716fc55fedc0cd3d1406a73ceebabea829c23340f639a36887d3429b1f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): relay/adaptor/anthropic/main.go:295-305 | relay/adaptor/aws/claude/main.go:167-177 \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 \u0060relay/adaptor/anthropic/main.go:295\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":"relay/adaptor/anthropic/main.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf94498102957a2f67eee1a6afbbf3c38b6124caa8b9af30a3c8ce34afba8b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): relay/adaptor/gemini/main.go:387-397 | relay/adaptor/palm/palm.go:158-168 \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":"relay/adaptor/gemini/main.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"32eeb03391950715d807dde2021815b541fbfa1eb935ef787f2c15988b11c39d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): relay/adaptor/anthropic/main.go:370-379 | relay/adaptor/cohere/main.go:219-228 | relay/adaptor/gemini/main.go:392-401 | relay/adaptor/palm/palm.go:163-172 \u2014 \u0060relay/adaptor/anthropic/main.go\u0060 and \u0060relay/adaptor/cohere/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/anthropic/main.go:370\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":"relay/adaptor/anthropic/main.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17defa8d7a533f024f58f2bb0fb949fbf4c84fbda012b9e9a917dab023fef10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): relay/adaptor/replicate/chat.go:54-63 | relay/adaptor/replicate/image.go:77-86 | relay/adaptor/replicate/image.go:133-142 \u2014 before extracting anything, compare \u0060relay/adaptor/replicate/chat.go\u0060 and \u0060relay/adaptor/replicate/image.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060relay/adaptor/replicate/chat.go:54\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/replicate/chat.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"411cbd367a878b66df6169f3efa71fb974e9eba1179819d939a0990cd1fd2786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): relay/adaptor/ali/main.go:82-91 | relay/adaptor/ollama/main.go:177-186 \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":"relay/adaptor/ali/main.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f71d0f573f51b6bd2d51f0774be04c4960462f541fb025b0983ef5f70d9364c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): relay/adaptor/aiproxy/main.go:156-164 | relay/adaptor/ali/image.go:26-34 | relay/adaptor/baidu/main.go:187-195 | relay/adaptor/baidu/main.go:224-232 | relay/adaptor/gemini/main.go:406-414 | relay/adaptor/tencent/main.go:201-209 | relay/adaptor/zhipu/main.go:215-223 | relay/adaptor/zhipu/main.go:252-260 \u2014 there are 8 copies across 6 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 \u0060relay/adaptor/aiproxy/main.go:156\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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce812edeb05dfe620add91bc2787fb3184166cf609156abd15d93ba807f2433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): relay/adaptor/ali/main.go:218-226 | relay/adaptor/anthropic/main.go:326-334 | relay/adaptor/baidu/main.go:172-180 | relay/adaptor/cloudflare/main.go:71-79 | relay/adaptor/cohere/main.go:174-182 | relay/adaptor/coze/main.go:152-160 | relay/adaptor/ollama/main.go:149-157 | relay/adaptor/zhipu/main.go:199-207 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/ali/main.go:218\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060relay/adaptor/cloudflare/main.go:81\u0060 calls \u0060ResponseText2Usage\u0060 and \u0060relay/adaptor/zhipu/main.go:209\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":"relay/adaptor/ali/main.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3fcb68813d873aa980b7635335094050144cc8671d3be7b09fb5b28a7cb6f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): relay/adaptor/aws/claude/main.go:56-64 | relay/adaptor/aws/claude/main.go:110-118 | relay/adaptor/aws/llama3/main.go:79-87 | relay/adaptor/aws/llama3/main.go:149-157 \u2014 \u0060relay/adaptor/aws/claude/main.go\u0060 and \u0060relay/adaptor/aws/llama3/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 95 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/aws/claude/main.go:56\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. 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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"41638c5849700e3cc19e6600db4be139424cac66d8f7693b76f214983476ab9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): relay/adaptor/ali/main.go:83-91 | relay/adaptor/ollama/main.go:178-186 | relay/adaptor/tencent/main.go:57-65 \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. 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":"relay/adaptor/ali/main.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2ced40c87894abe7ef4a6e648b1b00a74d6a76802c3a6897c02fa47d6fbb3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): controller/user.go:129-137 | controller/user.go:433-441 \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":"controller/user.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef7d0d41cdeefe2c8656124f3245364fbcb87429a08e12346f1a4c9591cdfc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): relay/adaptor/aws/claude/main.go:73-81 | relay/adaptor/aws/llama3/main.go:89-97 \u2014 \u0060relay/adaptor/aws/claude/main.go\u0060 and \u0060relay/adaptor/aws/llama3/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 95 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"70034226e38c380fbb61950020193885ac37eba66ed7f852e2fddf0ed91edd62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): relay/adaptor/aws/claude/main.go:144-152 | relay/adaptor/aws/llama3/main.go:173-181 \u2014 \u0060relay/adaptor/aws/claude/main.go\u0060 and \u0060relay/adaptor/aws/llama3/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 95 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/aws/claude/main.go:144\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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc1eb2fde4a0e92c9873eb5941d944db17ba18367c8e867de848b0041c136de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): relay/adaptor/gemini/adaptor.go:81-89 | relay/adaptor/tencent/adaptor.go:84-92 \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 \u0060relay/adaptor/gemini/adaptor.go:81\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":"relay/adaptor/gemini/adaptor.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"102ea828708dc2f2928020dbb7c1b8b268ad830072bc41bccae70ddc7b830cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 15): relay/adaptor/aiproxy/main.go:155-162 | relay/adaptor/ali/image.go:25-32 | relay/adaptor/ali/main.go:233-240 | relay/adaptor/anthropic/main.go:339-346 | relay/adaptor/baidu/main.go:186-193 | relay/adaptor/baidu/main.go:223-230 | relay/adaptor/cloudflare/main.go:86-93 | relay/adaptor/cohere/main.go:188-195 | relay/adaptor/coze/main.go:166-173 | relay/adaptor/gemini/main.go:360-367 | relay/adaptor/gemini/main.go:405-412 | relay/adaptor/palm/palm.go:131-138 | relay/adaptor/tencent/main.go:200-207 | relay/adaptor/zhipu/main.go:214-221 | relay/adaptor/zhipu/main.go:251-258 \u2014 there are 15 copies across 12 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 15 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060relay/adaptor/ali/main.go:241\u0060 calls \u0060Debugf\u0060 and \u0060relay/adaptor/ali/image.go:33\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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd72e232ae7fe110e8ca159a75f05fdc99b8628e145cb9bab01dcd36d471d7b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): relay/adaptor/ali/main.go:217-224 | relay/adaptor/anthropic/main.go:325-332 | relay/adaptor/baidu/main.go:171-178 | relay/adaptor/cloudflare/main.go:70-77 | relay/adaptor/cohere/main.go:173-180 | relay/adaptor/coze/main.go:151-158 | relay/adaptor/gemini/main.go:345-352 | relay/adaptor/ollama/main.go:148-155 | relay/adaptor/tencent/main.go:183-190 | relay/adaptor/zhipu/main.go:198-205 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/ali/main.go:217\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, \u0060relay/adaptor/cloudflare/main.go:81\u0060 calls \u0060ResponseText2Usage\u0060 and \u0060relay/adaptor/zhipu/main.go:209\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":"relay/adaptor/ali/main.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9248c879bed966fdfcb9c9e9aca62a25ce2e9907f4c03b596e251df58de83e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): relay/adaptor/aiproxy/main.go:159-166 | relay/adaptor/ali/image.go:29-36 | relay/adaptor/baidu/main.go:190-197 | relay/adaptor/baidu/main.go:227-234 | relay/adaptor/gemini/main.go:409-416 | relay/adaptor/ollama/main.go:237-244 | relay/adaptor/tencent/main.go:204-211 | relay/adaptor/zhipu/main.go:218-225 | relay/adaptor/zhipu/main.go:255-262 \u2014 there are 9 copies across 7 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. 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, \u0060relay/adaptor/ollama/main.go:236\u0060 calls \u0060Debugf\u0060 and \u0060relay/adaptor/aiproxy/main.go:158\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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dadcefa2ec2482e688e0adaf871a8aad713072a30fa28489aaaf5ac62bd671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): relay/adaptor/deepl/main.go:69-76 | relay/adaptor/deepl/main.go:104-111 | relay/controller/audio.go:176-183 \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":"relay/adaptor/deepl/main.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e9b746bcd6d3b32febc0cdcf7a5712522016eea213c6e63bb431335977d798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 18): relay/adaptor/aiproxy/main.go:178-184 | relay/adaptor/ali/image.go:61-67 | relay/adaptor/ali/main.go:107-113 | relay/adaptor/ali/main.go:259-265 | relay/adaptor/anthropic/main.go:371-377 | relay/adaptor/baidu/main.go:211-217 | relay/adaptor/baidu/main.go:247-253 | relay/adaptor/cohere/main.go:220-226 | relay/adaptor/coze/main.go:190-196 | relay/adaptor/gemini/main.go:393-399 | relay/adaptor/gemini/main.go:429-435 | relay/adaptor/ollama/main.go:201-207 | relay/adaptor/ollama/main.go:257-263 | relay/adaptor/palm/palm.go:164-170 | relay/adaptor/tencent/main.go:80-86 | relay/adaptor/tencent/main.go:224-230 | relay/adaptor/zhipu/main.go:239-245 | relay/adaptor/zhipu/main.go:264-270 \u2014 there are 18 copies across 12 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 18 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, \u0060relay/adaptor/aiproxy/main.go:186\u0060 calls \u0060ErrorWrapper\u0060 and \u0060relay/adaptor/ali/main.go:114\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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b89d27b16f439d440bfb1a989c325878d2c533bb46c8f14f1b562297fe6759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): controller/auth/github.go:64-70 | controller/auth/lark.go:66-72 \u2014 before extracting anything, compare \u0060controller/auth/github.go\u0060 and \u0060controller/auth/lark.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 117 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 \u0060controller/auth/github.go:64\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, \u0060controller/auth/github.go:73\u0060 calls \u0060Close\u0060 and \u0060controller/auth/lark.go:75\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":"controller/auth/github.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"563ffa4ad063cd993f9da118684a474bb201eb48a9cb054c78b95a40ad7b6fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): relay/adaptor/openai/image.go:30-36 | relay/adaptor/openai/main.go:126-131 | relay/controller/audio.go:222-228 \u2014 before extracting anything, compare \u0060relay/adaptor/openai/image.go\u0060 and \u0060relay/adaptor/openai/main.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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 \u0060relay/adaptor/openai/image.go:30\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":"relay/adaptor/openai/image.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9773d4a867a317372a6bf011d29dfd596daf570ead27cfef72176b8bad4650a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): relay/adaptor/ali/main.go:172-177 | relay/adaptor/ollama/main.go:105-110 \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 \u0060relay/adaptor/ali/main.go:172\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":"relay/adaptor/ali/main.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66a650c8885f1ae1a0a39f8c7fdd53312197f8efa4e928adc174f3deb9aa945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): relay/adaptor/aiproxy/main.go:95-99 | relay/adaptor/ali/main.go:173-177 | relay/adaptor/anthropic/main.go:251-255 | relay/adaptor/ollama/main.go:106-110 | relay/adaptor/zhipu/main.go:147-151 \u2014 \u0060relay/adaptor/aiproxy/main.go\u0060 and \u0060relay/adaptor/ali/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 50 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/aiproxy/main.go:95\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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b845273c88b0627a7460aa4bf094c2e3f6c5d14fcaef09efd26fe23a2baf9b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): relay/adaptor/ali/adaptor.go:56-68 | relay/adaptor/baidu/adaptor.go:98-110 | relay/adaptor/gemini/adaptor.go:55-67 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/ali/adaptor.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6205a237f84c72ebe4f59e219df981becab146704ca6fdee9af61e963bfa2f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): relay/adaptor/anthropic/adaptor.go:64-71 | relay/adaptor/cohere/adaptor.go:49-56 \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":"relay/adaptor/anthropic/adaptor.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"764050fcf788652bb5fb302a2cb07d152b277fbc74f6dc348bf1f3b8c7d931a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): relay/adaptor/aws/adaptor.go:27-33 | relay/adaptor/aws/utils/adaptor.go:26-32 \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":"relay/adaptor/aws/adaptor.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3e827c11ee2116cbb5e0c0570d50f3d3d881539c3c5fe23d8c563b4436f138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): relay/adaptor/aws/claude/adapter.go:30-37 | relay/adaptor/aws/llama3/adapter.go:30-37 \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":"relay/adaptor/aws/claude/adapter.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d483e69f47574e24b8199f73af3dd04994eea9e48498a34422a2ced8c96dbe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): relay/adaptor/aws/claude/main.go:41-47 | relay/adaptor/aws/llama3/main.go:35-41 \u2014 \u0060relay/adaptor/aws/claude/main.go\u0060 and \u0060relay/adaptor/aws/llama3/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 95 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"17be11f0b09fdbecd1a3549bc579b25d9ac1858e5ee6e063bd48d265ecedf576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): relay/adaptor/baidu/adaptor.go:123-135 | relay/adaptor/ollama/adaptor.go:62-74 \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":"relay/adaptor/baidu/adaptor.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a126d62b2c8ce0ac9d194286640f5f5bf6dedbc507074b7eaca8baf7143827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): model/redemption.go:44-52 | model/token.go:116-124 \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":"model/redemption.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ae1fa6d622c8fabff0fac9888ea8eb2a9a797efe2dccc8d9b00a99fb9e9489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): model/token.go:173-182 | model/user.go:374-383 \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":"model/token.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"185f03c98dc2723ab2656a3c7ffd9224280dc11fb3c3ff28a46b2aebf2dfe002"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): model/token.go:195-204 | model/user.go:390-399 \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":"model/token.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0251f4bc16d3a3cc0e742cf9483f9882444a821559bc5e2740a1077a7c941eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): relay/billing/ratio/group.go:16-22 | relay/billing/ratio/model.go:671-677 \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":"relay/billing/ratio/group.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"99065f497328f8d7355a4f9adeb4216e9daa148bbe1a3a5995961648695039f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): relay/billing/ratio/group.go:24-29 | relay/billing/ratio/model.go:679-684 \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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/billing/ratio/group.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1de084092f37abab3a238c91cc29b8ce8789f6a81b08b856834281442fe01b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 24): controller/channel-billing.go:395-407 | controller/channel.go:20-32 | controller/channel.go:38-50 | controller/channel.go:63-75 | controller/channel.go:134-146 | controller/channel.go:160-172 | controller/log.go:26-38 | controller/log.go:53-65 | controller/log.go:71-83 | controller/log.go:90-102 | controller/log.go:157-169 | controller/model.go:201-213 | controller/redemption.go:21-33 | controller/redemption.go:39-51 | controller/redemption.go:64-76 | controller/redemption.go:183-195 | controller/token.go:27-39 | controller/token.go:46-58 | controller/token.go:72-84 | controller/token.go:156-168 | controller/token.go:245-257 | controller/user.go:215-227 | controller/user.go:353-365 | controller/user.go:768-780 \u2014 before extracting anything, compare \u0060controller/channel.go\u0060 and \u0060controller/log.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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 \u0060controller/channel-billing.go:395\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":"controller/channel-billing.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67fd876da84903225441a70a0e6f2457bd99d6f63db779eff4796412086951d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): controller/auth/github.go:209-221 | controller/auth/lark.go:191-203 | controller/auth/oidc.go:216-228 | controller/auth/wechat.go:157-169 \u2014 before extracting anything, compare \u0060controller/auth/github.go\u0060 and \u0060controller/auth/lark.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 117 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 \u0060controller/auth/github.go:209\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":"controller/auth/github.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f7b9323e61a59203cdf77276af66cd05e2e2ba521ea193e6fca59f490a4b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): relay/adaptor/replicate/image.go:197-207 | relay/adaptor/replicate/image.go:211-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060relay/adaptor/replicate/image.go:197\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":"relay/adaptor/replicate/image.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae98db2d3d18a5d6b7675381eb6178c6a3e45035439cddde35294cdeac1c2b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): relay/adaptor/ollama/main.go:188-198 | relay/adaptor/ollama/main.go:245-255 \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":"relay/adaptor/ollama/main.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d852e110728a4e243f3b53edefa9fd4a86ce7d922d6b8ca9fe32f81b3775c03a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): controller/auth/github.go:125-135 | controller/auth/lark.go:115-125 \u2014 before extracting anything, compare \u0060controller/auth/github.go\u0060 and \u0060controller/auth/lark.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 117 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 \u0060controller/auth/github.go:125\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":"controller/auth/github.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3315ba9e600d29135d741926e0ffa53c2a98949700f393d97c059dd586de3643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): controller/auth/github.go:123-132 | controller/auth/lark.go:113-122 | controller/auth/wechat.go:79-88 \u2014 before extracting anything, compare \u0060controller/auth/github.go\u0060 and \u0060controller/auth/lark.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 117 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 \u0060controller/auth/github.go:123\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":"controller/auth/github.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c91d18fc1557a5aec1e1333b31c463db323bdb52344077ee2d9a744af9d16da"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: User (LCOM4 6): User\u0027s methods fall into 6 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 6 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":"model/user.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a08e1e66e3ee13578d9baa7f12fddd80fe1b04cb48c6ed4191aac9c530c2941"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Adaptor (LCOM4 6): Adaptor\u0027s methods fall into 6 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 6 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":"relay/adaptor/openai/adaptor.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b8cc7965af38094d050256510b8b7e1bb90a13eb84d9bf0b1bcee092b14169"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Channel (LCOM4 5): Channel\u0027s methods fall into 5 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 5 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":"model/channel.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"999d1b5b87d0b85b00a6b7d2348d9e5e80fcfb86114cc20b35f704ed41481743"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Adaptor (LCOM4 5): Adaptor\u0027s methods fall into 5 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 5 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":"relay/adaptor/ali/adaptor.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc2b5595cdb9707bc0bd0da1f0d06d4b52811edcd0506b432b6c4745ba0d215"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Adaptor (LCOM4 5): Adaptor\u0027s methods fall into 5 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 5 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":"relay/adaptor/replicate/adaptor.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6392246b58b4e79b056ae920ae54153bdbeb3bca72ad52d5cd0f51834ad04a1b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Token (LCOM4 4): Token\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":"model/token.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4723422f0dfd072329682a53969edbe6ce1b3e19a49143a8181ade020de91e2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Adaptor (LCOM4 4): Adaptor\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":"relay/adaptor/aiproxy/adaptor.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaa08f60eaaf2ce5c544d77bb15294e4bda78cc3c1d4a7c0ea3d3c308eae45a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Adaptor (LCOM4 4): Adaptor\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":"relay/adaptor/cloudflare/adaptor.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6032d0cd7f79dfffe5f748e0a7318ac23b07e35bf6dd1e50bb537f92833a7e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Adaptor (LCOM4 4): Adaptor\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":"relay/adaptor/coze/adaptor.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2937529233555827ce6a5143b8f9b8a75b40d64ce2d9e307ce546d0bf72d3b0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Adaptor (LCOM4 4): Adaptor\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":"relay/adaptor/xunfei/adaptor.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a47772fc216d3c8ae10f7f23d6b9e73069c4862c4c7badf3c92c9e650ab2ee"}},{"ruleId":"D13","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":"354692e9b399bdd97973809bcc76410ab84655786f343227d0d6bfe7a7d29eb5"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/components/ChannelsTable.js: web/default/src/components/ChannelsTable.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ChannelsTable.ChannelsTable at line 80. 1 of those changes was a fix/bug commit, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/components/ChannelsTable.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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6491e8d39140f9914f194064ac512a61eb106e65c92dd45eb5ab3337766615"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: relay/billing/ratio/model.go: relay/billing/ratio/model.go changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ratio.GetCompletionRatio at line 725. 2 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- relay/billing/ratio/model.go\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":"relay/billing/ratio/model.go"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fbc5fafae45cc5f17538291ab806c9fec882f330e46a49710b83de45375eea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/pages/Channel/EditChannel.js: web/default/src/pages/Channel/EditChannel.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in EditChannel.EditChannel at line 30. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/pages/Channel/EditChannel.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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3107a05fe047eee673cc31fa9c77315846291fd4ec45c5fcf37440e41269d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/components/LogsTable.js: web/default/src/components/LogsTable.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in LogsTable.LogsTable at line 132. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/components/LogsTable.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":"web/default/src/components/LogsTable.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"273a63c1f5c5872c4489c27631d041612c2a37d23ce02e082b2a18a6f19fb8ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/components/TokensTable.js: web/default/src/components/TokensTable.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in TokensTable.TokensTable at line 64. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/components/TokensTable.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":"web/default/src/components/TokensTable.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06e130598146042801ff907aaa7ee30f08c7255090fd324dd124a6897291536"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/components/RedemptionsTable.js: web/default/src/components/RedemptionsTable.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in RedemptionsTable.RedemptionsTable at line 58. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/components/RedemptionsTable.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":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"64722442fc14382e154c39f87039a829d763622afd2fa9f91daed82b98d4fc7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/pages/Home/index.js: web/default/src/pages/Home/index.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in index.Home at line 10. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/pages/Home/index.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":"web/default/src/pages/Home/index.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"da018b3cce299a28c90ba52889efc52ef4c163e757d122babb5368a0f1ae31a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/pages/Token/EditToken.js: web/default/src/pages/Token/EditToken.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in EditToken.EditToken at line 21. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/pages/Token/EditToken.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":"web/default/src/pages/Token/EditToken.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"44212ba1e7510f6c7ef0105a7fc403906b85b479ed560787e0c5b0cd0045999e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/components/UsersTable.js: web/default/src/components/UsersTable.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in UsersTable.UsersTable at line 38. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/components/UsersTable.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":"web/default/src/components/UsersTable.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef48c8ab5c6dd82eb01b400e1c7a1ee8d107e11a0fb3d602983db5237710a5c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/components/SystemSetting.js: web/default/src/components/SystemSetting.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in SystemSetting.SystemSetting at line 14. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/components/SystemSetting.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":"web/default/src/components/SystemSetting.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"397931db6ad689557e5a517bc0a43f2b9e5058e448da90661540be6b64f7faa8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/components/RegisterForm.js: web/default/src/components/RegisterForm.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in RegisterForm.RegisterForm at line 17. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/components/RegisterForm.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":"web/default/src/components/RegisterForm.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a4526438d3357821b1b89f81d8854dd8b76baa4b49259b98ebbc19bb0ead9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: relay/controller/image.go: relay/controller/image.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in controller.RelayImageHelper at line 106. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- relay/controller/image.go\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":"relay/controller/image.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce282851b48e38f4e353fc114fa51b0b9af8265dfb50c00eb2a9f1919193591"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/components/OperationSetting.js: web/default/src/components/OperationSetting.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in OperationSetting.OperationSetting at line 12. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/components/OperationSetting.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":"web/default/src/components/OperationSetting.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aac1b8775828216b731bbcd615c76397da1049f51304fc2400aa645b01d37c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: controller/channel-billing.go: controller/channel-billing.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in controller.updateChannelBalance at line 311. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- controller/channel-billing.go\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":"controller/channel-billing.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afb2eacb6af837bde0f6697188fd15fe5863e858c87fc722bc47ac2ba0475d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/default/src/components/PersonalSetting.js: web/default/src/components/PersonalSetting.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in PersonalSetting.PersonalSetting at line 25. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- web/default/src/components/PersonalSetting.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":"web/default/src/components/PersonalSetting.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac4be16a256893bdea00fc11a767cc52c750c43846397b0adc070241eab98eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: common/message/email.go: common/message/email.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in message.SendEmail at line 21. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- common/message/email.go\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":"common/message/email.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcdd9b20f33247bc364085d5f5fe3038382c98afa4d6b136f21c4d7df2648c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: relay/adaptor/gemini/main.go: relay/adaptor/gemini/main.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in gemini.ConvertRequest at line 38. 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 2024-11-23..2025-02-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-11-23 19:30:16 \u002B08:00\u0027 --until=\u00272025-02-21 19:30:16 \u002B08:00\u0027 --full-history --no-merges -- relay/adaptor/gemini/main.go\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":"relay/adaptor/gemini/main.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73cc51abe8195978430ba5e4bda1fd9589aa7f41a5bc6016d08e91d96f50df6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: web/default/src/pages/Dashboard/index.js, web/default/src/pages/Home/index.js, web/default/src/components/RedemptionsTable.js, web/default/src/components/Header.js. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"efb8df282c576fa6ab96d28130dfe26c4b8ee2b43037b5f9c4083b1f9864ed3d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support non-stream mode \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":"relay/adaptor/replicate/adaptor.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fb0fe531d31a8e495ee344a6678bed164034166d4ba4f32928130b17e1f6ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // \u0022minimax/video-01\u0022,  // TODO: implement the adaptor \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":"relay/adaptor/replicate/constant.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f7abe477aed6224575b9eb1185a4b47cf004a68abaf0f89056a2c372987d11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: delete this line when most users have upgraded \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":"model/main.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcfb7bd66eaa7041c72e2648047e933505a323ad86271a5c93c2452ae85fc43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe we can combine updates with same key? \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":"model/utils.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebde5c48dc445c3a3adb168dc5be6eadca4c4be7cbfac918262098372a9b4972"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support Azure \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":"controller/channel-billing.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"830a0caf931d57027e526d7835d8d60cc09514621dd91be98583cbd0c08dbe24"}},{"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 \u0060main.go\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a3e98f9a3db0a104ca87a623a16ba8fc33487b53a279d445cb50087c399a8a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u5408\u5E76 options \u548C snackbarConstants.Mobile\u0022 repeats the code it sits on: 4 of its 5 words (options, snackbar, constants, mobile) are already in \u0060options = {...options, ...snackbarConstants.Mobile};\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/utils/common.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef134155e8c14b3219e875386e0217a04d57b702c0c4163d0550278accd1a07"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 4 of 4 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (19591 LoC, 327 module-visible types across 83 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 65 % of calls cross a namespace and only 30 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"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":"613343d1b752f35745826fe8d15b453cf20383607c0f92f58d6658c1e8f77558"},"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":"d3963d9f0883390ef6e4c8eabbc4ed639a70f4e279e5af657cd708e720b9fb41"},"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":"f31733cc815de25a7bae74d164778ec098ea9aa6fcbd8c5cb1ce929451728f28"},"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":"96f88121b035a898a6759141862415469563ae4858d3bd2449d90d5e5ba04a57"},"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":"2b50d6185f231a28fa9959e31861b0be76667502f1a2f794cc5c60d4fa797cb7"},"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":"dc0b6be51b6b19db542af8c69f736f5b8b7aa0951ebbf99dbd0c928d40a576d2"},"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":"956a985573c0a03d4587604dd95754aa1a8cee22743e1cfd5feb41c5332fee7f"},"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":"8d50eed947b7fdd88e2f0b0cab8c072b750f7619cc7a4e0262d2498ede5acf3e"},"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":"28f53a850d8de25a488421cc6e9ad1e836879aaddf82f4c740bac76f248cab2c"},"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":"51316ac9eae2d3a4ed4387cead6c35fb554d884133f473a8669e7ed6ff28dec3"},"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":"3105e8bfaf82c88b88abc89b448825a152c062013d6cc72245114e6e73e707d8"},"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":"9a0180c6c575d03f93dfc0db5097e7a50f820561fe31fb095ff65adcac9a6305"},"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":"bace3c1ebaae0f67e6f5803e6973bda8f2bead623ea3b9629686021777251367"},"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":"482a3b37084e8fff10032c1012c003ffb68d104eb6b984b0425f47cf0193cf0b"},"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":"265c15f3ae778c008aa18a19262b83be153df15f7402ebf0a41e48850b965e3b"},"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":"c0be0c785aa30bdd926d530b213738505a1ab4c18821d7b019d0bcc1e5c0a03e"},"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":"8bcecc55009f7ccfd4f00ce7e3032e2c191fe2690f447e534fdfb49b44823cce"},"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":"e45b249c31b716245c5b3be74393c6d0b9810f3e1adb0385c99e334b66b10bc6"},"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":"4ca68382308809dadf0fc33db1c96b485a91a129b10099d1de05861651b66563"},"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":"834087adb13da93d83e1b32f98dae9c49e62710cea636d776cd0c8ba2eee5e88"},"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":"a7236e0a9b197a9922566cd3ebdb5115d7b9e781b051c9c920c456c074f4c437"},"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":"8eba0594923ac2b0cc452462b142498cc0cf95d5bec62d0e03114b782e438329"},"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":"146bcfee5774c109500bff7c1fa4a6bbec1761c6caffce9d5b052bc393dd6e73"},"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":"88252bcbf0612d0a9ec1cba1a7dd144cea840f8bc36e89072df07b4da55cbdb9"},"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":"e0612b145d5eda26b7f82aaa09f1f3a3bfd527c0f95587b3a1e4646eb723f851"},"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":"5d2b7558c522bfff0555ebf28e244736a0639a768306d74c1d71d24afb42e9fc"},"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":"b721a5bbfb34d7a3edad7fd1eae99b1c8559fedc9b76e8f805cb1293cad374ea"},"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":"61b356b207f153607d4c012f469a65b9b8e8233da07ad3a491bce4a1e6eb7c53"},"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":"d735c61d7dda9fc4b96e6b94e6b82d0136854f18faedc3a729018d9981fa17ec"},"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":"52b35fd0b6d9488e03b707f4668de3586f2f82463f5569e55b47dc0a4a9804bc"},"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":"51b8cb50637511bb48e9f229698f89332d99f7e9513d2d5819e0cf56e3ce57fa"},"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":"e27856d0787041ff3658b7ee9860bae72b6fd7fe8a5833473b821f11afbcdf99"},"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":"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":"9382834355ebda343b0305d625c7a87cb1b6c43dc41909483abae7c8c4a6d194"},"taxa":[{"id":"CWE-522","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":"ae9e22e9d9b192435bcdcbe99a0ec7db4ef7f9f27250930e1eef461ee4cb7447"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5d5719a837c3a6769b02b96a8d12ff76016ed55a042964b899cbe685e527f52"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af0143538b4fb3355e551951af8abb7c5ddf510305f6f9afe27e17d046a5f998"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11b9869b583f0c9153ab6c31fd3ba129acf0729ff8a43a9dd86e64f368264d4f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fa5e189dfd1e93b6bcb4d7aab70c6176540609a681512f448c8425714c68519"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d2da3e100673fe3e7de70e6ee706f6b8edd66860d83420c17890a99c22bc9fa"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de4c897e80370206fc96102532c3bb558e01c059d5411a4815d547f57d2f3f02"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da71d9af1e1efeb59ccb17c9aacaa1b06ba28c939c36a8808e7c1631f84424ef"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4007b7628b2f28fa47452cb66cbb17c24526cec30893fd36419259f4d1f06edc"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"411a6e6455e6669108fff81066c5f875f8b185d79804372415d4a2237ce7b2fb"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d8fc9fab213503a21d81487d3d91b9de87f3be5332ef9ee4f095d60afc6e6b2"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5871770e73f0af338d9de70d52d9398dffe4df9100efb2634556c626949998e3"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"228024cd001da8cdeadbde2422a5a3d2b057ebaef81522f9c726901773f488b6"},"taxa":[{"id":"CWE-338","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":"b7ab1959aced267b9ef5c4e669081d3a7ee3a63545571d2847dd9f6c169f95d2"},"taxa":[{"id":"CWE-338","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":"96874c2154edba831f53575e7f577ba7272703bbc3b21f60b7ecc1e19606b1ca"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0583504e3005955b10d6bb410dc1f95dad0a9f67d84e818c275100a21caa2f39"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e758a9a471c3b25d54da7bd2d6c8b823186053f8dd00978642aeca4b640cdb22"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7adf4870dfeed69e1a43283cc863c7beb7525b6f35bfe9d096fc619652ca68b0"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"690e4c4531e1f2c76fce403059e588a6f103274f3bc4ed591ff466dae31cdd7f"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0769c805f5817b713ecde68c7863e22f5afd1e3fe16a4869c4f737fb1196d47"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"c956717e99dd403571a4735625315340887689670a93d17fd4f6d5995c37e49e"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"9a4a6f45db07aa431e22e306231fa2e19823a6009513f94c5a37d82782dc0afa"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"830732209e11aea4334cc2d24442daf502835952b6233e61476a6cd93a67ed6b"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"aa08440f4507718e626516d6ef110736177db34e32612aafc9314d8dfef92df0"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"58520b7977a5873bc333ffd7e5f56dc442b6df40404b9a2bc0254d7376d652c7"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2025-3487","GO-2025-4116","GO-2025-4134","GO-2025-4135","GO-2026-5005","GO-2026-5006","GO-2026-5013","GO-2026-5014","GO-2026-5015","GO-2026-5016","GO-2026-5017","GO-2026-5018","GO-2026-5019","GO-2026-5020","GO-2026-5021","GO-2026-5023","GO-2026-5033","GO-2026-5932","GO-2026-6303","GO-2026-6354","GO-2026-6355"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e2c38ac86a572f8aaa6c724ff8ffb9a57b839fbf8ec6d98882a5a89de096479"},"properties":{"dependency":{"package":"github.com/jackc/pgx/v5","version":"5.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-4771","GO-2026-4772","GO-2026-5004"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9c7de190231d3b97dc0f1a0317bc61d7e63d7af55c350df48ddbea24eb5d370"},"properties":{"dependency":{"package":"google.golang.org/grpc","version":"1.64.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-4762","GO-2026-6061","GO-2026-6348","GO-2026-6441","GO-2026-6443"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc6b3da8d45599285558ee050cce4f4c8d65a08973bcc06156137b1e3a250822"},"properties":{"dependency":{"package":"golang.org/x/oauth2","version":"0.21.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2025-3488"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"828ea1e8413ed7130f4db43166e61dbba155db17fc6d56b1e2cf130e21249a28"},"properties":{"dependency":{"package":"github.com/golang-jwt/jwt","version":"3.2.2\u002Bincompatible","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2025-3553"],"reachability":{"kind":"production","file":"relay/adaptor/zhipu/main.go","line":14}}}},{"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":"601de294c71477e32447105a170bc1bac75e416c0f2494daab4e0c392d76adb9"},"properties":{"dependency":{"package":"golang.org/x/image","version":"0.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-4815","GO-2026-4961","GO-2026-4962","GO-2026-5031","GO-2026-5032","GO-2026-5061","GO-2026-5062","GO-2026-5066","GO-2026-6222"],"reachability":{"kind":"production","file":"common/image/image.go","line":16}}}},{"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":"0bdf6e35fb4ce52ab3acda8c9d66343766f932e0b638e368be42c0e8b4377b74"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.26.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-33814","BIT-golang-2026-46600","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2024-3333","GO-2025-3503","GO-2025-3595","GO-2026-4440","GO-2026-4441","GO-2026-4918","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"072482002a33e1aef6ac65c8b9a35edd8b91f0dc45421a089f043d271df2963f"},"properties":{"dependency":{"package":"github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream","version":"1.6.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2026-5764"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7adcd144ac972cc4a82bd5b4eb69e86d4da855129917e5d633c32fa0154b10c2"},"properties":{"dependency":{"package":"github.com/aws/aws-sdk-go-v2/service/bedrockruntime","version":"1.8.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2026-5764"],"reachability":{"kind":"production","file":"relay/adaptor/aws/adaptor.go","line":10}}}},{"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":"6f66d1241993ce9b7edc97cd46108c1268e627f14b534ab457f657fe86b0787f"},"properties":{"dependency":{"package":"stdlib","version":"1.20.99","advisory":"GO-2024-2598","aliases":["BIT-golang-2023-45288","BIT-golang-2023-45289","BIT-golang-2023-45290","BIT-golang-2024-24783","BIT-golang-2024-24784","BIT-golang-2024-24785","BIT-golang-2024-24789","BIT-golang-2024-24790","BIT-golang-2024-24791","BIT-golang-2024-34155","BIT-golang-2024-34156","BIT-golang-2024-34158","BIT-golang-2024-45336","BIT-golang-2024-45341","BIT-golang-2025-0913","BIT-golang-2025-22866","BIT-golang-2025-22871","BIT-golang-2025-22873","BIT-golang-2025-4673","BIT-golang-2025-47906","BIT-golang-2025-47907","BIT-golang-2025-47912","BIT-golang-2025-58183","BIT-golang-2025-58185","BIT-golang-2025-58186","BIT-golang-2025-58187","BIT-golang-2025-58188","BIT-golang-2025-58189","BIT-golang-2025-61723","BIT-golang-2025-61724","BIT-golang-2025-61725","BIT-golang-2025-61726","BIT-golang-2025-61727","BIT-golang-2025-61728","BIT-golang-2025-61729","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2024-2599","GO-2024-2600","GO-2024-2609","GO-2024-2610","GO-2024-2687","GO-2024-2887","GO-2024-2888","GO-2024-2963","GO-2024-3105","GO-2024-3106","GO-2024-3107","GO-2025-3373","GO-2025-3420","GO-2025-3447","GO-2025-3503","GO-2025-3563","GO-2025-3750","GO-2025-3751","GO-2025-3849","GO-2025-3956","GO-2025-4006","GO-2025-4007","GO-2025-4008","GO-2025-4009","GO-2025-4010","GO-2025-4011","GO-2025-4012","GO-2025-4013","GO-2025-4014","GO-2025-4015","GO-2025-4155","GO-2025-4175","GO-2026-4337","GO-2026-4340","GO-2026-4341","GO-2026-4342","GO-2026-4403","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"common/client/init.go","line":19,"symbol":"url.Parse"}}}},{"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":"03b55e8c44636684718775c1f4784658e61224c0ca841b29f253edfa356e6c2c"},"properties":{"dependency":{"package":"filippo.io/edwards25519","version":"1.1.0","advisory":"GO-2026-4503","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"362d19fbc20680c130f6d3f829465778e97203407075f4ceb76a4cf0cc41a027"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.28.0","advisory":"GO-2026-5024","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76d999f7f0da1c7805a61d7a77ca6e9d78cdf7e7d953cafe7b73d81759ae1a99"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.21.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea90d4a89ed124d75960342bec5214b8c2deeb745d761dd1ad2ac6b2ada907df"},"properties":{"dependency":{"package":"github.com/gorilla/websocket","version":"1.5.1","advisory":"[GHSA redacted]","aliases":["GO-2026-6278"],"reachability":{"kind":"production","file":"relay/adaptor/xunfei/main.go","line":17}}}},{"ruleId":"D31","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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","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":"2fcef669386a0b58c036f594700c5521a507d70bcd9d4b229e9d092bbb6fa4ac"},"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":"D31","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":"dd9b9bfaacc3c723ae10086df9320a4e935fc56f304052741f5797f38460e639"},"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":"D31","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":"becbc5502f94878197b05d70c7ef15f1353fd99a90efcb824b9c43f11ae5ce7a"}},{"ruleId":"D31","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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D31","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":"e3456a33515efc2e2b0fc6b725fb30396a686312092c39ebaa9032146e44ed46"}},{"ruleId":"D32","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":"33b59135831de7abedc2f4f1609ea5dc48d90bac0c6866597595b40d5c393c49"}},{"ruleId":"D32","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":"a802ed6efda9075bd6b93a72f59fc17b229061553d5558eb0d235891822a989a"}},{"ruleId":"D32","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":"a33d32f08ada31a9be3b17a88db42af731fd8979de8c67bb9443a2c376cbe421"}},{"ruleId":"D32","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":"9c7dae44e12c57af3bc42e96f171bbdb8b34d51fbbae5b6850135f661a92bfb6"}},{"ruleId":"D32","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":"bf29e9d6e90e4b27ace2c488c863a93f43caa3b65a516e10cd79a452bee209bf"}},{"ruleId":"D32","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":"cca8c8406e378d5e616ca4395d0216929581840585c9c7b9ee7119288fddbfc6"}},{"ruleId":"D32","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":"64675b3797cbd956803cb2abf32758dacc9ea23fce8191987e96065890c29688"}},{"ruleId":"D32","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":"3af9d8bf5e07ac6328472a2a387f2814740b4c18a38fcee2107cf7b29242f042"}},{"ruleId":"D32","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":"7156394beb65669011d4fbacc695bba79ddead39c0c2c1b85be4126c6248c95c"}},{"ruleId":"D32","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":"fcf0441d39d2a1ae71060bd23d5ead7f9c76db0669dc51322f8401ae41874c4f"}},{"ruleId":"D32","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":"d178e30114c7f4d32e45c9f661504f635c3e00f5a4d8f3ff55230267707f98d9"}},{"ruleId":"D32","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":"1ce2403962d74c6b3602d378bdbdee5a33bd8ab581ce1e6a5bb09b1b84dae1ee"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 189 of 189 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 189 separate risks. Counted over 189 of the 467 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/billing/ratio/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbaa5ab8b09b2a9ec43c791b878c308c31e66f8912e85ae7f80798298ccbe48"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46805815cca6bbde5a09dc5cd7216dc3b702b8822fa0926270a5c4a3f28cc882"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d85f4f7cbc29333666239a7ccaa14ccd8b6b56a25711db8b14692ee47592f51"}},{"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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80ad7f3d350a10dd29a0b8b3c86a3cf33bab495b31b32b5ba0abadcf57ea2a0"}},{"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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a851c39ad07912646b3c1c987e8fed36ea1f2553da080a4613c70d611ddfffa"}},{"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":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f2238d97bb2e880b65b015feafb5aae962efe195053cd3c119f4dcbf23901b"}},{"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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ad3edf08ce44faee7b597388d4e7407984dcbea2621b619f674c3c32b65c55"}},{"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":"web/default/src/components/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b6c7f2eee4de7ab3e9578ccbc235cb25d5521d1f65bed96f745481b66af03f"}},{"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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f72ded7d7b56e44c9a74b61a7c777f41ddbcf521bd7b25d1e35cbf4ce269f5"}},{"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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"359dbd0503222702ceab2944e4ec7cf57d0831f3b5ab48ce9b1a3dd26bec413d"}},{"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":"web/air/src/components/TokensTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"009bc3315bfb0170724fdbc763ec87284cb8aadb03413225c6f3d8cf0409bafd"}},{"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":"web/berry/src/views/Setting/component/OperationSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53e483cf20b640648575b19f52e0e99a9dcc7584b823045ab4aa55405df9018"}},{"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":"controller/user.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a741355ed454da1fe35a1b53370d47790ca01c8f0fe6f9d790a1aea5e590700d"}},{"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":"web/default/src/components/LogsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cbb551b79868714f7d080e67b82df898921c63467b9c55432b6af6284e19e0"}},{"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":"web/default/src/components/TokensTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba0d7e075dad9fa36771f968410eb11375ca47eb6b39743b29436b62490c4bc"}},{"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":"web/default/src/components/OperationSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e419d42af8e3cc841a772c51551262f767820f9468e080ede8ace776df632d"}},{"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":"web/default/src/pages/Dashboard/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d72b4a6e9a9fcf839220001a824a350284b53c97d03d939d5a167e455368d9d"}},{"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":"web/air/src/components/MjLogsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6c03387b475bd445c7457884b2e2e16b80c7fb8a006cd0eef3691850f51c40"}},{"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":"web/air/src/components/LogsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a14b224450cfa79c3ba656465c6c8007e26bd33e0bbf67de3ae49cc22769741"}},{"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":"web/air/src/components/OperationSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"297d0987819012041d261ce2ff87c2559ca8b5d7113869350bd61ee66c5902f0"}},{"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":"web/air/src/pages/Detail/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d297b0293c3cf90c004e73946463382c760ffbbbbd0322c3cb96969b8f2d77d9"}},{"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":"model/user.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20661bca1a1ea8be66073d98d794f977817ed3356fff38bb2ad18906640920fd"}},{"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":"web/default/src/components/PersonalSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4f37715ea0a9bb896f1b3a4f257f2dd9bab06182718006975bddfecc7ad7e2"}},{"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":"web/default/src/components/UsersTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d391663c2e18b8243f3bab23ab5e460a33a16d952a77fd43afae5615fc85e158"}},{"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":"relay/adaptor/gemini/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d88ae03cb02577fc5236189dbb4895a7f7cb3878155e00bb22d83b9da46d80b"}},{"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":"web/air/src/pages/TopUp/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb286272a8184bf2e3adfa220211b59fd2e33a56435debf5d939a3138a872cc"}},{"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":"controller/channel-billing.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec85a97d54aeeddf1cfb9bbb7c4ceec049daadee5488de62ba59be5ff299007d"}},{"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":"web/berry/src/views/Token/component/EditModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc2b0061724db9f18909e2976bf2009f218303180f8723665791c5bbb1fc794"}},{"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":"web/default/src/pages/Home/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d353d4ec15d0ebbb198ec96b7fe19c2ad477081a45272a582881a0a644b7de5"}},{"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":"web/berry/src/views/Profile/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7efd17758ca60ab7b0071de3245368c78f419ecd0eb3ded16887b20aa3f3bbe"}},{"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":"web/air/src/pages/Token/EditToken.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea4a42e85dbd5bc69443d2629984f40f95b8b7a487b470f4a29b1db25975560"}},{"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":"web/berry/src/views/Authentication/AuthForms/AuthRegister.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b1da5ec8de3764365aa464894edc1ed4b00b4adbcf223227627524e19f1007"}},{"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":"relay/adaptor/anthropic/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8aace58bcf6800782c8898507ba6b39b788a99abe1c6b632ea964afbd081ffc"}},{"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":"web/air/src/components/RedemptionsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca804acefbf5ee1b78dab7f2b8c5b22d109e286961cb9058461837ef32ee6e8"}},{"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":"web/air/src/components/UsersTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"808f05cae6187c1e3cf925adc991301db8f6f23b217382432e4d9138e7cf94e6"}},{"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":"web/berry/src/views/Authentication/AuthForms/AuthLogin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70209049a3eea0ff16acae21b68601d44522b78a4af2fe626f8e788f53541094"}},{"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":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08984cd774dee9dec3f4f7ba6caa1265353463822e32cbac55ca18ebf260f90b"}},{"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":"web/berry/src/views/User/component/EditModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf5590702d96ad5e98e0655d20ff8c0222c9f702f126a337fa8fec78d3582f3"}},{"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":"web/berry/src/views/Setting/component/OtherSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f522a446575dd4460e190628b5f544dcf6bb369b073d2ab6ed8d5bead56ac3"}},{"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":"relay/controller/audio.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"705ef66fffebfec468500c49e4fb05b7c9d15c9daa2a44c8b276c0f5dd41930a"}},{"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":"relay/adaptor/baidu/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b405650355b80cff74f90ac8d9765915581d377ee65825cfd4ece88adceac94"}},{"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":"relay/adaptor/tencent/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcd6b67f47fd76944b26c259bec0792a7dbf086cf0d7fbcf23d6533d87348c2"}},{"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":"web/berry/src/views/Channel/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"227c17d69fb523ae0a561a338cb33f2170beb4649c1114bb3f1b64492bf63f2a"}},{"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":"web/air/src/components/LoginForm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf346bba21d92bf43379e5586f2a32a23b20b872e21c3b68ea15c374e4c27080"}},{"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":"web/default/src/components/LoginForm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"391379eb93847e12481b9c605da17a6c94157225d98d6f5c5410a06986322be0"}},{"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":"model/option.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d131d7c7428b56a982a1c5828bce44285cf7a33422dd78a97ac78294c475524c"}},{"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":"web/default/src/pages/Token/EditToken.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1640e728ce2c44ae3b2f2346131892f613797ee9720e3f5becffca0fd2465722"}},{"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":"relay/adaptor/zhipu/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56950cacb6c4da01685dfe4f2ef5a4ff9e38ef6473f7d2db5a2cf9c9bcc42a44"}},{"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":"model/token.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da45f65e556a6785bd44eccf9b8e65d53304aaec81629b17198686a9fafcf2c"}},{"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":"relay/adaptor/xunfei/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fbebfe5a03b784ef0e44ed9afe641a9ab3d424b9c1df53e50132ef363493c7"}},{"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":"web/default/src/components/Header.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01ee58032d4fa3788ec4a70790c1dc3346c72d9f4dd1439c88e68c92e7b3f44"}},{"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":"web/default/src/pages/TopUp/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2c366e9da28dcffff60aa615e36beedbe66195e25c04f8ff267dfebe478e52"}},{"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":"relay/adaptor/ali/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b461e45eb19f98a6d7e131bffdb3e0b1667cf8d4fc72164f3a9b8d75b9e08a45"}},{"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":"web/default/src/App.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87a87bcc19bdedbc2e2cfd8e79f9b01fbb98755a686d6de4b341bcce64b2eca"}},{"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":"web/default/src/components/RegisterForm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e084621e81ecc693088759656c790e940e9bf039842e21a430094c7ba48338"}},{"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":"web/berry/src/utils/common.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3fa52296c2b9217965ee2b5a9d9ca237f1edc12692566adb651506e08b85ab"}},{"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":"relay/adaptor/ollama/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec7c59669a83f3314a03c6c00bd8499077665ea2d4abf4a5f3315fa5a649a7d"}},{"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":"web/default/src/components/OtherSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6452fbd2f3e4db6ff7d7c8c4e24d2b1d77af87938dac99cf425d65f285c15a4"}},{"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":"relay/adaptor/openai/token.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"252246369a5861e1c5bf5d37e3663dec5c7ed02717ac42a3379742e66ee0f3a4"}},{"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":"model/log.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8841b79eb96a531dff2ad50b4b3fd07cec1ad43131b3d1cad86ea9114a793c"}},{"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":"web/berry/src/views/Token/component/TableRow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"512af2302deb251860bf0fb154ae6b0046bd17a8c4ab2c93ab21865cdffcd713"}},{"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":"web/air/src/components/OtherSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a691f1222482bc8454ce52d4dd9345af54d691cf65f6fa5d04592b622591bce"}},{"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":"web/berry/src/views/Channel/component/TableRow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6438a7622631691389a29508636a6a72bf0fc68b7a04ff1baa098b47d95f5d"}},{"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":"relay/controller/image.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1900bc90cdfea7ee0d1bd1f0fda1b63ea62846441ca2761bc7bdb8b9c1fe7b9a"}},{"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":"web/air/src/pages/User/EditUser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6463d344d50d15dbb64a4e761f7796a4673dddd454f5247f7b487408d88d52a1"}},{"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":"relay/adaptor/aws/llama3/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b3be8d929f1ab7b3d2966f0ec36975e2c791f691b4e9f3147355f8d5f8fb0e"}},{"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":"model/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e0eaf856237ab9468e2552c6ba51098cd2e7be0fce0fb0ea425e949d93429f"}},{"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":"controller/misc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af9ab80dc426170d77586eb0eb37c220dbbe9f373abb22676cb057f6acbf82c"}},{"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":"relay/adaptor/aws/claude/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8a06967504ca3820639d63927d918f5c2a2d11f4d9a5a8993c95d85595b130"}},{"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":"web/berry/src/views/Log/component/TableToolBar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0b5db8f55825df457f21c0405a3140a8b32563d0be27c7dcb5466623ff08bb"}},{"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":"relay/controller/helper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1864e1c72456fb36897821183771744599cdbe0ee76b91f5f637a7f77cadf6"}},{"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":"model/channel.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1972ababae4173e88671ffb11170d17f6a9448c3b84fbed6931593b7d2070cd"}},{"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":"web/berry/src/views/Dashboard/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cb7d6f0d4c2aee87b3c926cd372d7194602d1f1502724a11011c09c1d6a184"}},{"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":"web/berry/src/views/Token/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75af0d2fc6fcd90d6f94c8a83209f086751a0c070a188726a1b64be4c87535ad"}},{"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":"relay/adaptor/cohere/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7556cb4ca899c40985bc61f993d7535c67c457c71b2b6a44d9d7ac8caee006a4"}},{"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":"web/berry/src/views/Redemption/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e85688ad491e127608905b1f212ed326049004b2da125d2dfd69a3feb399a56"}},{"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":"web/air/src/components/SiderBar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c72c9e8936be232c5b5d86cd0a5c525c2781b4a68c450650408a5f2634a937"}},{"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":"web/air/src/App.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f8dbe8904f842fec662479e4f95138e36e7469ca7b0ebffb5101edc1447e86"}},{"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":"web/air/src/helpers/render.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2700b1af4d44b54f6a5bdb410affec49d28625bfab7603051c5310b5121e9e76"}},{"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":"web/berry/src/views/Profile/component/EmailModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a7778a84bd02dd1c946bc672e5da2f5f3851908fbbe27b42bfc096d1f2770a"}},{"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":"web/default/src/pages/User/EditUser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28106e58efbc93eabefe6fd7dcedbe5a5ccb527827ed263389ee9813ad3a3dee"}},{"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":"web/berry/src/themes/compStyleOverride.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92529c194e0a7874b70c5432a1c5324df45141c9ded5ab8da8a5dea89efc7f5c"}},{"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":"web/berry/src/views/User/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1705b157454a7867d3655432a429a69ef69eae3ee671803bf5ae4f1470068c5"}},{"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":"web/berry/src/views/Redemption/component/EditModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1babf69e79a50e1b94da56e62b59ec22e7c3f09907c8ad2bccd5b00496451264"}},{"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":"web/berry/src/ui-component/cards/Skeleton/PopularCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a42ee39db051659cd0569bd32df05b70f86996e01a87a2cccec223642a4369"}},{"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":"web/berry/src/views/Channel/type/Config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cd39a807e962d3bd01ec95e87e2c7fb47c3b8ffc0fa5eacdcf97bc908e51f3"}},{"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":"web/berry/src/views/User/component/TableRow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3811b337f4de2b40fd16187292f710db27f55545acc5427e762240caa8ebf24a"}},{"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":"controller/token.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"631177234522460b2224e856d62d305444b0a3327e42adaf0debd2320dcbbe76"}},{"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":"relay/adaptor/aiproxy/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caed55cbc12f785e199d6ff8eab7e2737a34d7a7f01c51faf44828fea5160bef"}},{"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":"controller/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb484e1e8641a9dfeaec9d77d03694244747ce7a79f5a4cd67c61b83d56fb1dd"}},{"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":"relay/adaptor/replicate/image.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fbd04d76d83bf5d45f0bfa7e822a6f236da7cbd5bb4854887d2d7df367737a"}},{"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":"web/air/src/components/RegisterForm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29a1731eb39c7fa42d441ed1a5f6ebe53552bb48a9220cfe7164f55ca9fcd88"}},{"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":"relay/adaptor/palm/palm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a609be4c73b4efeafb19cfe9364c9522a0bff3edaf0a34b62bbfbd557932f90"}},{"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":"web/air/src/helpers/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f851841b9396bda876ce4dde48d07efe7f167e0fa64b9e8e682b361618283a0"}},{"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":"web/berry/src/ui-component/extended/Breadcrumbs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38db2f1f52a27174b37f534d4407f2d20352c329cf45a816d6d811793c6c9a22"}},{"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":"web/air/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77179cf38c6cc66d4b004488c461af59c9ee8effffc93c2e3ad63427c66e416"}},{"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":"controller/auth/github.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b92cd472ec10d9c9eb190d21603c4c6c27bedd146c11560ae0b3999abc3fa7"}},{"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":"relay/adaptor/coze/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"121ea673692b06bb8fe3b642cb144338b1dbd2d4c0deeaaa87cba7954b55584e"}},{"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":"router/api.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f187139415c650ff5d8e2bd0617640b9b07a6dd3ad206c7655ddb8ffb2265e"}},{"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":"relay/adaptor/replicate/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcb1e0e0ffdbe8b3cbbd93d491f592fe33717d11433bc34688c899ea92c9ae8"}},{"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":"web/default/src/helpers/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fc2b05921c68e39463c6071db210b92c4e99dfe74a1a2612ffb28ea76b6e23"}},{"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":"model/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8602886ba53974b3251f9cd677cacd41be4322ae0a5dfdf3a685ab56a6748346"}},{"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":"controller/auth/oidc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31891f864596cdb77bc886c3f7575e34719708e62153feba367e09681692723"}},{"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":"web/berry/src/layout/MainLayout/Header/ProfileSection/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66e3343c4fdc6890d4ffb5742ad27f552f375f5a7ed9b7f7e3d80b92af72218"}},{"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":"relay/adaptor/ali/image.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c242f9fdc6b81591793c16007710bcd6d4ad54827f69ce2372ae36173668a752"}},{"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":"web/berry/src/views/Authentication/AuthForms/ForgetPasswordForm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e40fd828a59cd4635779bf514ae61f4adb15340aa7585e36c2839ecfcc15d99"}},{"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":"web/berry/src/views/Log/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d797c41001e47357e0d6ce8c7086e9d827a0e13dbd23e5ba05f633d5ebaf6d7"}},{"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":"web/berry/src/layout/MinimalLayout/Header/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f23f51e7d75c33470a5b0a4e3378229fded9c11a93ea497f90da7de736e5080"}},{"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":"web/berry/src/ui-component/Label.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5584257cb786d1417540d80984707295eca894db6282f032d9ae5133e9135485"}},{"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":"relay/adaptor/cohere/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"227473dbff0ec275b421f7869f2f75a656f56af41bf87e12a429fed07d6b8c42"}},{"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":"web/berry/src/serviceWorker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfd1ca7cb94dcf8c933ba168cd52532e771a1235fdfa3b17c8c63a7a9751abd"}},{"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":"relay/adaptor/openai/adaptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b13a3c6231f74921dd654ec2c880151f5112fcfd6bd1ef119aaf5cfd938249"}},{"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":"relay/adaptor/replicate/chat.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de481c8375db99e84d0eb4173632ffa849fd5517f1833446cd89fe9437d8e5a1"}},{"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":"web/air/src/components/HeaderBar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e913dda27aabf318da30e98d176d8335bcaf62871908935d5da0a90e412754a"}},{"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":"web/default/src/constants/channel.constants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0bf243baaa2783c9452aea1f1bd5bd37509cc83a559018153e6f249e9d117e"}},{"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":"relay/adaptor/openai/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ece6f8609b1d94d7593fb6f79de2840d98eed523a0d87e76cfdd7201f6ef591"}},{"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":"web/air/src/pages/Home/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98e943218da343ca6795a216dd221101bb67a495c32aba5cf9612ff690ae1bf"}},{"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":"relay/adaptor/tencent/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dfa1c5a8591baee8b5b4e797921678409411a2c060e55bd1344ee2a6ce29c8"}},{"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":"web/default/src/components/PasswordResetForm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73100ba3508779934cf2d09e9f255ff23cb6e84378dc26f959c2bcfd44782d7"}},{"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":"controller/auth/lark.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"478e6358bf0efcb2786f35d26289a92cca7d9cdc882640dd67518a2fd116806b"}},{"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":"controller/relay.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b0edebeb5a58d7841c2c4b821449751f4f69f27ee9263ad275424956173e92"}},{"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":"web/berry/src/layout/MainLayout/Sidebar/MenuList/NavCollapse/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2260d03d836fbf53a1d47fb4677e5647ca82bfdcceb6baf97531533c3b75ff"}},{"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":"web/default/src/components/PasswordResetConfirm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2784fefaf786d99491bd313cb6956aa6d35305fc90074e50ae131494ebe4057e"}},{"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":"relay/adaptor/ali/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb02162cacf800a573b235c1f8d140789049347c6be8cf5df573ede88aed730"}},{"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":"relay/adaptor/deepl/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9b9d81c12b5a5e1e7c572460931dad313338b53db3364fbb3b67ec096a9634"}},{"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":"relay/adaptor/openai/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d9082c599fb3d950d726565b6d7ac29aaeea8425d17efb96e6961a8e25be07"}},{"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":"common/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b510b01c7e99f2689784ed591bf924f7bff4f4f58307f0bccd582224d308511b"}},{"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":"controller/log.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfbf2c51771c3339e3ce230504793ad6934e646443d904c4ca67194d9c922e7"}},{"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":"middleware/auth.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bf86aafcfb57b450488ccd3bd07d43e7e86bc6689e7cf8cc927db9a7ecc34e"}},{"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":"router/relay.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2116c3d88c49537061d14614e1de703718bd37b6d1bcaf396fd6086c6e2e18"}},{"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":"web/default/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b4ed68b6d9c7788ccbae9115fa56399b24619a6ce4297a6217922234ab27fb"}},{"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":"web/berry/src/views/Redemption/component/TableRow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5375a133c9255432be60a54b0ce5c8029f08ebdc94af2243ba1f2338a42d91"}},{"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":"relay/adaptor/zhipu/adaptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"845461d79928a3edb32a8ae244b849e9ae0a54c46af7635f7fac011f74a8d4c2"}},{"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":"controller/redemption.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69b1527a0b61dc078da585d33a59c9b8dcc02b7839822b672862858b3bbcc2f"}},{"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":"relay/controller/text.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2741e272f085e87fb1cb071bb6705bf72714e63ff581c97004414c63a36a24"}},{"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":"web/berry/src/constants/ChannelConstants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d76e304023276866f6ea353c168c8594d2e922d6c88b9f4cc85a47d3d5575d0"}},{"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":"relay/adaptor/replicate/adaptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a4f35494ea239969afdf83a057a88773ce1f0add777a8a4621af12d7ea2864"}},{"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":"relay/model/general.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab807b2b78e684ef600f26cf36d6af9aa6ab52ab521a436c318fb75e7917873"}},{"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":"web/berry/src/hooks/useLogin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebd5e6e3922e5342b4d2e9017b3b6bd8177a35f924ecda24e6c9678e113c691"}},{"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":"web/berry/src/layout/MainLayout/Sidebar/MenuCard/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2763791367a1124143ec054c606e857b4c230b30f226cb1cdc5ba6415a1bbe2"}},{"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":"web/berry/src/views/Topup/component/TopupCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"215509cbda9a7fc4bdae5233cadbe9d458567ca520ece52afd901c7e404a3989"}},{"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":"relay/adaptor/baidu/adaptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad010e0e69d4742b424a60b93ff89bc8bb61fb1c9015c29c1ed9b8f4cd93f0df"}},{"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":"model/redemption.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a20b207307a8eeede95549ff6a92c2c5b396521da27a0ef4f3a78607ce5c778"}},{"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":"controller/auth/wechat.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9577288555820a33c93358ed70ad47a71650c06b01ba3f85c10130c873a99a4"}},{"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":"common/logger/logger.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2bb44fae10e21e9583c48485fe087ff0ba5cb89c5b8e9ed0b93686c2112d1a"}},{"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":"web/berry/src/views/Dashboard/component/StatisticalBarChart.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e469f6a50c23ed7834979a8201e4950ac80efcab633ab2a0306b2b34d490458b"}},{"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":"web/berry/src/layout/MainLayout/Sidebar/MenuList/NavItem/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da0b7f147499fa96c64d4a3beeb0ee369f6991395c1cf1520588257e1bea9d8"}},{"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":"main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3acd9500993f1113e4e580e35787e1a9dd95343eaed8ba8901bdb13f91f9b2"}},{"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":"relay/adaptor/cloudflare/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7392efa2188e4cbbad7b72ad93d5e402c499613df96c2417fb8453f526f3eb4"}},{"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":"web/berry/src/views/Authentication/Auth/GitHubOAuth.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0875fefb2bc8752b64a5e8108848f761e3a6fdfb2ee05ccabea5aee499ff0df4"}},{"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":"web/berry/src/ui-component/cards/UserCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9ff8d1565b9518578108b480f134ce1f37a4152b1f50b414be18a5818f452d"}},{"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":"web/berry/src/views/Authentication/Auth/LarkOAuth.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4445139b23a2e81dd4d7ecb8fc63887229811576a43df7410bf63bfc384935a2"}},{"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":"web/berry/src/views/Authentication/Auth/OidcOAuth.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"316e15cc05da088d637d73e364ca89a5b5a8196a1895b11db5d3c8c39597f833"}},{"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":"web/berry/src/views/Dashboard/component/StatisticalLineChartCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9593b121d0d658ab032218024692aaefdf4097f0623c1194987f561d8b22366f"}},{"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":"model/ability.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55669142c77f36541a8e93a41f041253ce5b851cdcbf4c63074c9c9353326a39"}},{"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":"controller/channel.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"004d5053f5a1c0ca5432dd5a35d33785260aa91505270a433e484904000e7104"}},{"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":"web/berry/src/themes/typography.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bc8e49c7eee142ba43bb4ebad76f41a041806df4af440ff44114c37b4f9a98"}},{"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":"middleware/rate-limit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a26fd46da0c6ce91344dcc19896e255ea10007e56f95125a83dab58da11819a"}},{"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":"web/air/src/components/PasswordResetConfirm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2220ed2c466247972db528a69ef87a3d73b6b15706f959a0636174b1c6cddd67"}},{"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":"common/helper/helper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3021e9d98a1e28a7d9c9e4a1cd563e5f7db1e1e93cba9bfae9d4c8c27d8480"}},{"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":"web/berry/src/layout/MainLayout/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba466cc9f9a04c297f9a335116f6cf9d05181476a63473ec0e212542aa3f20a2"}},{"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":"middleware/distributor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34366e939154536b7cb7ede34c2d422620ec0cb04fcf81b086da7109ff2aef74"}},{"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":"web/air/src/pages/User/AddUser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bd74dd168f9b0977fe3fce749b8a8c47a886cc45e422ace2f10926c4a0b6bb"}},{"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":"web/air/src/components/PasswordResetForm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a10bbc8fd84dff9d6ae9e926f1b6f45326f5ff0e180e80a56bb6e0f2c565121"}},{"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":"web/berry/src/layout/MainLayout/Sidebar/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"791a3aad032b14660b8e1ff99b2331fc7d816622fa4c7aa6dbe1a334b98cf4d0"}},{"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":"relay/adaptor/openai/compatible.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b8ff466541443ec5172fb518b052e3a388beeb5a72579ddf2461580e62bc30"}},{"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":"web/air/src/constants/channel.constants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"882245641c4891dfeb01daf32d556ca88247aa11fc12cd4891eae8056a38273f"}},{"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":"relay/adaptor/cloudflare/adaptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebeb77674535641820a632ba2d8650cdac5da4fb64d8e4b6e83ec7cb36e98b1"}},{"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":"common/message/email.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dc3c2f92eddcee88af28e7fad453a9d1c4641313adb3e74a85b265b1748897"}},{"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":"web/berry/src/views/Dashboard/component/StatisticalCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7835eba38070f9a6b5a1bc384980605b53c9645039a0a322914ebc2469c98f"}},{"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":"relay/adaptor/vertexai/adaptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7609e557314c1003cb7f5c3b9e49d34f6cf6c3f13b14a51e8b713eb803bc8ae"}},{"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":"web/berry/src/views/Setting/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0591a0cb6aabf73431066cf5da2cb44a0d75f4ace86bbe049f117dcbd9765e"}},{"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":"relay/adaptor/ali/adaptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc43d910ecaa1b069315378585427340d848e61a48e7ab6e7b3ede4d5700b43"}},{"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":"relay/adaptor/tencent/adaptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d21bf635f97995a99e7ed57b81367d586d37717a94f5bac1dabeeb0a1ad5d3"}},{"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":"relay/adaptor/gemini/adaptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"037b28c84109492b3d03a9d7232f8392edb76149afce5714a67f292d5c881db9"}},{"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":"relay/adaptor/anthropic/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77afa6430dd69a608bf983760738fc1d269edf42cf89f2c8d2fb7d44ad8f23c0"}},{"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":"monitor/channel.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca0de55cfab6e7db99ccace4ebc884fc3c7bca020ece587cc925e6a48388aa"}},{"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":"web/default/src/helpers/render.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c6e7e98890e24cbd63e810103c7c55b0e830634c31a8e6d1c0e8bf3141bf17"}},{"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":"relay/channeltype/url.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6fef60eeba9e959bb55b502a2a9c71d51375b6fe7371621927a2033fdaf15d"}},{"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":"web/berry/src/views/Authentication/Auth/Register.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c56e7625b811564ee693f31de5164fe6960ac069b3810a7885cf0b29a1c994"}},{"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":"web/berry/src/views/Authentication/Auth/ForgetPassword.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"833b9f03c39a2c25afd3de6cf34f9aa4b0467cc4e5233ceea8ebdc269e5e2641"}},{"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":"web/berry/src/views/Authentication/Auth/ResetPassword.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e24b673593b63752590f59acc223cf1e2552a7ac95185b0e86a3e51b98418e"}},{"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":"web/default/src/pages/User/AddUser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fff1f9deb9673859b5739474275f9da30987aa1b2935328c8e3fe3a4a3f7a3"}},{"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":"web/berry/src/views/Authentication/Auth/Login.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fc9335e5cb0c95b82e4e09aa8b9e66ce7f671d12b94037030eab3822d5b231"}},{"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":"controller/option.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6e49092cbfee4eb3812eb79dbbaec9d19ff6647aeaf036e746328237ef295b"}},{"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":"web/berry/src/themes/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75771161f207f21271b397f1a134127aa90802576863a960b766c6f134ab4f90"}},{"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":"web/berry/src/views/Topup/component/InviteCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5384824e45d8705056a54efd0a1cd1bc6452875a6a003bc476efbaaafc53f3"}},{"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":"relay/adaptor/xunfei/domain.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67f2c6653146c835a43be9ff133e5b86989eab39efa627402da044b4045dfac"}},{"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":"web/berry/src/ui-component/extended/Transitions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4b91aec147e880f77c41ba4bde598c7085fc87cc20c03f71de082f170be478"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: constants.go \u2194 option.go: \u0060common/constants.go\u0060 (context common) and \u0060model/option.go\u0060 (context model) sit in DIFFERENT parts of the tree yet change together 63% of the time (19 of the 30 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 19 shared commits counted here, the most recent 3 are \u0060a3f80a33\u0060 feat: enable channel when test succeed (#771); \u00603fca6ff5\u0060 feat: support email domain whitelist (#337); \u006035cfebee\u0060 feat: retry on failed (close #112) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/constants.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8368b0f63aa4587110146eb5b012fb6e52517a9afc12f5bcb673c586c8ac410d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: channel.constants.js \u2192 adaptor.go, compatible.go, define.go, url.go: \u0060web/default/src/constants/channel.constants.js\u0060 changes together with 4 other files \u2014 \u0060relay/adaptor/openai/adaptor.go\u0060, \u0060relay/adaptor/openai/compatible.go\u0060, \u0060relay/channeltype/define.go\u0060, \u0060relay/channeltype/url.go\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/constants/channel.constants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c636cd2c9e4ea766e1305fcdb5d484d81bed9362c8606716dfad6bdfb17ed5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: constants.go \u2194 SystemSetting.js: \u0060common/constants.go\u0060 and \u0060web/default/src/components/SystemSetting.js\u0060 change together 70% of the time (14 of the 20 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 14 shared commits counted here, the most recent 3 are \u00603fca6ff5\u0060 feat: support email domain whitelist (#337) (at that commit the file was still \u0060web/src/components/SystemSetting.js\u0060); \u0060d9764037\u0060 feat: able to add chat page link now (close #70) (at that commit the file was still \u0060web/src/components/SystemSetting.js\u0060); \u0060c5837c3b\u0060 feat: support aff now (close #75) (at that commit the file was still \u0060web/src/components/SystemSetting.js\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/constants.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ae7dda37c7112df4b40d5b09413984cc2d2a89cfe9b2fabbdd11b4600fa704"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: model.go \u2192 adaptor.go, constants.go, adaptor.go, Config.js: \u0060relay/billing/ratio/model.go\u0060 changes together with 4 other files \u2014 \u0060relay/adaptor/gemini/adaptor.go\u0060, \u0060relay/adaptor/gemini/constants.go\u0060, \u0060relay/adaptor/zhipu/adaptor.go\u0060, \u0060web/berry/src/views/Channel/type/Config.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/billing/ratio/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1734ac64111fa7425d03ba5aa9f6a8296f8a5234e452f503663bdc113b26a4a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ChannelConstants.js \u2192 compatible.go, define.go, Config.js: \u0060web/berry/src/constants/ChannelConstants.js\u0060 changes together with 3 other files \u2014 \u0060relay/adaptor/openai/compatible.go\u0060, \u0060relay/channeltype/define.go\u0060, \u0060web/berry/src/views/Channel/type/Config.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/constants/ChannelConstants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fd3209f6bbeff227f0dfdb1b01d06dc17623bf15d7d56b94e7d8e44c0d57a9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: compatible.go \u2194 url.go: \u0060relay/adaptor/openai/compatible.go\u0060 and \u0060relay/channeltype/url.go\u0060 change together 67% of the time (10 of the 15 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00603f421c4f\u0060 feat: support Gemini openai compatible api; \u006053da2091\u0060 feat: add AliBailian adaptor and update channel options; \u006057c1367e\u0060 feat: add Xunfei V2 channel support and update related configurations \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/openai/compatible.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89efd69400e57c748fe3d53912a22595533b7c67147e00357c51e8defe15332"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: RedemptionsTable.js \u2192 TokensTable.js, UsersTable.js, EditRedemption.js: \u0060web/default/src/components/RedemptionsTable.js\u0060 changes together with 3 other files \u2014 \u0060web/default/src/components/TokensTable.js\u0060, \u0060web/default/src/components/UsersTable.js\u0060, \u0060web/default/src/pages/Redemption/EditRedemption.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1657cf287ae9671f876fa189f502210fe3402f06cdceed87bb9bccebabe12f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Config.js \u2194 EditChannel.js: \u0060web/berry/src/views/Channel/type/Config.js\u0060 and \u0060web/default/src/pages/Channel/EditChannel.js\u0060 change together 50% of the time (8 of the 16 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060cf9b5f0b\u0060 feat: support claude and gemini in vertex ai (#1621); \u0060ade19ba4\u0060 feat: update default API version for Azure OpenAI (#994); \u0060b33616df\u0060 feat: support groq now (close #1087) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/type/Config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a87ed7c3cf9c6dfd3f27f92622de3364c28f2dbfedfea9bada59763020b07d6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: option.go \u2194 OperationSetting.js: \u0060model/option.go\u0060 and \u0060web/default/src/components/OperationSetting.js\u0060 change together 50% of the time (6 of the 12 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 \u0060ea407f00\u0060 feat: able to set completion ration now (close #968); \u0060a3f80a33\u0060 feat: enable channel when test succeed (#771) (at that commit the file was still \u0060web/src/components/OperationSetting.js\u0060); \u006035cfebee\u0060 feat: retry on failed (close #112) (at that commit the file was still \u0060web/src/components/OperationSetting.js\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/option.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"578e419d993d98c550b3a14ad1761b81e7bdaac72b4eaa0fd50d03d9bf7c177d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EditRedemption.js \u2194 EditToken.js: \u0060web/default/src/pages/Redemption/EditRedemption.js\u0060 and \u0060web/default/src/pages/Token/EditToken.js\u0060 change together 50% of the time (5 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060ae20aea5\u0060 feat: i18n support; \u00603d297132\u0060 chore: update default theme style; \u00606536a7be\u0060 fix: do not show dollar balance if not enabled (at that commit the files were still \u0060web/src/pages/Redemption/EditRedemption.js\u0060 and \u0060web/src/pages/Token/EditToken.js\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74a99e0a913554e6233a09783b3293b6379ff1c8713e681dd1a3cd50bb9d06b"}},{"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":"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":"81d0799af757bba1afbed34637d383ea39ed22bd8ff8ec5b09c5aa413595d701"},"taxa":[{"id":"CICD-SEC-6","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":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.stat-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":"web/default/src/pages/Dashboard/Dashboard.css"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"769653256c3883aea8474ea4caeaa0f3e9e3f4dd9f315124291dcacf07188ed5"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful package: config: Package \u0060config\u0060 is written on every request (\u0060notifyRootUser\u0060 is reached per request from the Gin handler \u0060controller.TestChannels\u0060, and every request\u0027s goroutine sees the same package variables) but writes that state outside any lock (RootUserEmail, SMTPFrom; e.g. \u0060RootUserEmail\u0060 in \u0060notifyRootUser\u0060 at line 22). Unsynchronised concurrent writes are a data race in Go: an update is lost or a value tears, and a concurrent map write aborts the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"monitor/channel.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8dbfa1abaec6e49d6b6011b89f21c32d317281914815082d04dc9809855e6a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful package: openai: Package \u0060openai\u0060 is written on every request (\u0060getTokenEncoder\u0060 is reached per request from the Gin handler \u0060controller.RelayTextHelper\u0060, and every request\u0027s goroutine sees the same package variables) but writes that state outside any lock (tokenEncoderMap; e.g. \u0060tokenEncoderMap\u0060 in \u0060getTokenEncoder\u0060 at line 63). Unsynchronised concurrent writes are a data race in Go: an update is lost or a value tears, and a concurrent map write aborts the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/openai/token.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c0cb672be57ad7d1e145a930c0c1cd81cae680d610916a521bc1f76125208a"}},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: Ability: \u0060Ability\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/ability.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab2b2ab5c62c8f42fbbf2f3f9ecad35c318fb93245c7f3373097a9423787208"}},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: Channel: \u0060Channel\u0060 is an aggregate/entity with 20 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/channel.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d5be36a4e53a2fab46fbc7bcc5f701bfa50bb366ee51f805d7d5bb42afdd2c"}},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: LogStatistic: \u0060LogStatistic\u0060 is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/log.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72ca30e72c812bb3af2709ac258a78936e09547d1a41ce38abcb19ca89b3356"}},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: Redemption: \u0060Redemption\u0060 is an aggregate/entity with 9 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/redemption.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b28b6aa2a1d397c1a5d5539a66c229bec4a68ee39c71582ab30a2ca88512472"}},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: Token: \u0060Token\u0060 is an aggregate/entity with 13 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/token.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"62281426f75028bccf1e6e0ab6016d35b14504cb1646bf72b6d328aa84fad8bf"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: Ability: \u0060Ability\u0060 exposes publicly writable state (Group, Model, ChannelId, Enabled, Priority)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/ability.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee58f1df2bcabb0d37f049b3b1bed2a2d872a81c87dbe1925813864588f774f6"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: Channel: \u0060Channel\u0060 exposes publicly writable state (Id, Type, Key, Status, Name, Weight, and 14 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/channel.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a5695a5cb4dbdf8b2e2acea5e5a4dec1751a91ed530100fb99be11ef4e3eb0"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: LogStatistic: \u0060LogStatistic\u0060 exposes publicly writable state (Day, ModelName, RequestCount, Quota, PromptTokens, CompletionTokens)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/log.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dbf9ae381931ca2466f28d8e4e6ff2860669e304195e65a7b6859def1920c4"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: Redemption: \u0060Redemption\u0060 exposes publicly writable state (Id, UserId, Key, Status, Name, Quota, and 3 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/redemption.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd5e03c28c57bb647705d45fb3e17d066fed169a7e5d5911c85af7e9e5066aa"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: Token: \u0060Token\u0060 exposes publicly writable state (Id, UserId, Key, Status, Name, CreatedTime, and 7 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/token.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3865016cc99b3b5701d6714e9a94a3cda277b0b5a80b172572502a75897a8d2"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: User: \u0060User\u0060 exposes publicly writable state (Id, Username, Password, DisplayName, Role, Status, and 13 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/user.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c6a759dc51c96c975d696047e304253562e99936b34859ab6890aac2aca6a5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/HeaderBar.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed2c31bb80540f4d996d26b1484f3883d2bf03fff5c881c636eab0d7013cb3d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060onCopy\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/TokensTable.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfdc3503a369230f1248e73d2dfc38c547531bf304ce0b482119489b676dc6a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060onOpenLink\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/TokensTable.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af6f5a13dd0d5f7301c8a04c555ab1569263f382cec678b41f624bf5f9f5ef3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleKeywordChange\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/TokensTable.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d8683acde20df6c427f8e0bfc1d66eb7e28dafc4aadebfffacea2928ce9e97"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleSearchTokenChange\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/TokensTable.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e577bdbf777a19340cbc7140add562cfe7f6374edc6dc45c9703d029a3fd87b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060onSelect\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":"web/air/src/components/TokensTable.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4129ec4b9ad9bfdb5063eb8893c4a0decbf7d67819b607298e58bc7e474220d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060onSelectAll\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":"web/air/src/components/TokensTable.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac569e9362a55f278d8cc36f2425439d337ad23198ee64b954b2905265e99c8a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleKeywordChange\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/UsersTable.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60b80e9c1f8babf64b1df43305dc556afbeda91eafc63e4f19c8a543e5cf86b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleLogout\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/layout/MainLayout/Header/ProfileSection/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b13599602d8f38ed94e4af2aee0e906377fa91c10b8658d0748d10c61c59b4"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060onOpenLink\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/TokensTable.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afebfe1371ec5ccd5e982d15466f8ffd9da59c3d7a8c22ab28edc1025054323"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleKeywordChange\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/TokensTable.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5c73ef307b9053b8d53d26cd06f82b67daca71f7b1e98796bbc2c44c027230"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleKeywordChange\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/UsersTable.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1327f3cedddf8c2035dbfe2b7d338391c911bab7cf4220b72b2f5c9b5488dd"}},{"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P12","level":"warning","message":{"text":"Test suite runs only after the merge: \u0060ci.yml\u0060 run(s) the test suite, but no workflow that runs tests is triggered by a pull request (or a merge queue) \u2014 so the suite reports on code that is already on the default branch. A red build there blocks nothing and the only remedy is a revert. Add the pull-request trigger to the workflow that runs your suite so the gate applies before the merge, not after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"731ad560de6aa35d3e92103d5ad0fbec4c54f771b709281e852941847e03ef03"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add gosec / govulncheck (or golangci-lint) (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 5 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: \u0060web/air/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/package.json"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"62334cff3a9e1174b9f3e03168c82acf6c13b770289ca63ac0d55d69a81dd081"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/image/image.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc43a7adda307c09d17b8fdeeda0d42c4151c5e8c161421506d4c11ca3f8f8b6"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/message/message-pusher.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2075db2f72d283921951a1ef8c6bc4a5dc67ad733a6062c2015d7feaac2f2e02"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.PostForm(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/turnstile-check.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa10eea0968946a243e079b02d769e05651a658968590621146ff77a128ee61"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/ali/image.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aff192c7c633c67da9649123f238df6bcd02980fc24135bf8be5c761ebb53f9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/ali/image.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bc8af33710f90857a6008d18c9c6211d2fabd784f70fc360b9c7ddd52ae37a"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by GORM AutoMigrate (no migration path): GORM AutoMigrate builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt a versioned migration tool such as golang-migrate, goose or Atlas, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/main.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9005f0b5970a24687204c08c35c1ac61f63d78003bcf6681a709aac6748f4ecc"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by GORM AutoMigrate (no migration path): GORM AutoMigrate builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt a versioned migration tool such as golang-migrate, goose or Atlas, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/main.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3519344304f4050b164b8c0d0d855e818a55e1c2064eb9b9a035055b5447ad"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by GORM AutoMigrate (no migration path): GORM AutoMigrate builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt a versioned migration tool such as golang-migrate, goose or Atlas, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/main.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf090b543cef5c614c8c577695e956904b6aae65a6f5937f9e1c4db986ee19a"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by GORM AutoMigrate (no migration path): GORM AutoMigrate builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt a versioned migration tool such as golang-migrate, goose or Atlas, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/main.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe04dc9d13e85ab11a4165eda9f955812aea9939594c0c057f3aab17dce3e5e8"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by GORM AutoMigrate (no migration path): GORM AutoMigrate builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt a versioned migration tool such as golang-migrate, goose or Atlas, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/main.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6011e312fe4529bd49a1bffb4e353f9ba9bc3663b563bfc642789fd36f5cb146"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by GORM AutoMigrate (no migration path): GORM AutoMigrate builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt a versioned migration tool such as golang-migrate, goose or Atlas, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/main.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba73010649585a76d1d897e37e491bba3544e990370eafdf2aadb9fe52a7ca4"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by GORM AutoMigrate (no migration path): GORM AutoMigrate builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt a versioned migration tool such as golang-migrate, goose or Atlas, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/main.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce5582a0891915d2af6ac567dcb69264d6cfde35be8a378ac71b48bdfc8e921"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by GORM AutoMigrate (no migration path): GORM AutoMigrate builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt a versioned migration tool such as golang-migrate, goose or Atlas, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/main.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44b7dd44b5117396828fd4e37a57a4a3c660ed49772bb5536a6ecb11847b963"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by GORM AutoMigrate (no migration path): GORM AutoMigrate builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt a versioned migration tool such as golang-migrate, goose or Atlas, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"model/main.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"177e60c68af5a4c15be8fc965736554b3d56552e517e7d5c3a4ca2e56e2f604d"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 242 plain JS \u2014 the untyped files are web/air/src/App.js, web/air/src/components/ChannelsTable.js, web/air/src/components/Footer.js, web/air/src/components/GitHubOAuth.js, web/air/src/components/HeaderBar.js, web/air/src/components/Loading.js (\u002B236 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (81 clone groups): 81 duplicated blocks under web/ have copies in at least two of the sibling directories air, berry, default \u2014 69 of them are reported below, and 12 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 81 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 81 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 81 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/OtherSetting.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf956928039083f9f8505c3ffe5e6b22ce7c0567effb4978a605278e4fbac21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 11 sibling directories (38 clone groups): 38 duplicated blocks under web/berry/src/views/ have copies in at least two of the sibling directories About, Authentication, Channel, Dashboard, Home, Log (\u002B5 more sibling(s) not listed) \u2014 30 of them are reported below, and 8 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 38 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 38 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 38 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Redemption/index.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf2f73de4b7d73bb72a5182a5b2cebb9c10ee6c496993cfacd21650dcdaaeb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (12 clone groups): 12 duplicated blocks under web/default/src/pages/ have copies in at least two of the sibling directories About, Channel, Home, Log, Redemption, Token (\u002B1 more sibling(s) not listed) \u2014 9 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 12 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 12 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 12 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5250abf8ac7e49c0ebed4e739cc52e262b461fd43ad63624a0b5a8c23449dcac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (261 matched lines \u00D7 2 locations): web/air/src/components/RedemptionsTable.js:47 \u00B7 web/air/src/components/TokensTable.js:96 \u2014 the two spans are one implementation copied and then locally edited \u2014 1377 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":"web/air/src/components/RedemptionsTable.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5488bc494a854eabb58e4900d12a129c30f0596ddb071774d2061a9bb4d33fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (171 matched lines \u00D7 2 locations): web/air/src/components/OtherSetting.js:22 \u00B7 web/default/src/components/OtherSetting.js:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 936 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":"web/air/src/components/OtherSetting.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b874c0ba53ca9f5073dde63c7f91ce74a31ca6800af023a24f6323a1b17aea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (168 matched lines \u00D7 2 locations): web/air/src/App.js:27 \u00B7 web/default/src/App.js:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 582 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":"web/air/src/App.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfbdc7028f23304421325f00ffd8f3c71218f119bf1166b1498f56e54aee80a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (163 matched lines \u00D7 2 locations): web/air/src/components/TokensTable.js:198 \u00B7 web/air/src/components/UsersTable.js:113 \u2014 the two spans are one implementation copied and then locally edited \u2014 981 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":"web/air/src/components/TokensTable.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53d77c850e73b08a38aa8046050aec670447ffb633fbc6bd2dbf1bd7e434602"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (151 matched lines \u00D7 2 locations): web/berry/src/views/Redemption/index.js:23 \u00B7 web/berry/src/views/User/index.js:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 929 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":"web/berry/src/views/Redemption/index.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ddbacc7771267585ddf44b4356fe1958b9c2bd8eb66ab8e3c0684b7ec204ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (147 matched lines \u00D7 2 locations): web/air/src/helpers/utils.js:6 \u00B7 web/default/src/helpers/utils.js:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 860 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":"web/air/src/helpers/utils.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2137967e2f52798416552d637ecae047e7b12600d3363b93c78667c8b5180fd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (139 matched lines \u00D7 2 locations): web/berry/src/views/Token/component/EditModal.js:55 \u00B7 web/berry/src/views/User/component/EditModal.js:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 813 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":"web/berry/src/views/Token/component/EditModal.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46fb5e39290da685a84414228578bd8926d53d0ca4a48188c0fc5a72cf6fe8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (135 matched lines \u00D7 2 locations): web/berry/src/views/Redemption/component/EditModal.js:37 \u00B7 web/berry/src/views/User/component/EditModal.js:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 792 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":"web/berry/src/views/Redemption/component/EditModal.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"043daee7198a7161593cfa124940e97689fb731fb3feec4b2882fa6bd3626723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (134 matched lines \u00D7 2 locations): web/air/src/components/RedemptionsTable.js:125 \u00B7 web/air/src/components/UsersTable.js:105 \u2014 the two spans are one implementation copied and then locally edited \u2014 866 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":"web/air/src/components/RedemptionsTable.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf186c41675d2db8d750931a5d6ccf7dd8728c47517370642347198fc3c151b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (111 matched lines \u00D7 2 locations): web/air/src/components/PersonalSetting.js:51 \u00B7 web/default/src/components/PersonalSetting.js:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 673 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":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2942cf47375a43758f5d4f596f0af4c0c61c141dc634ec29bfbd3221209eb9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (96 lines \u00D7 2 locations): web/air/src/components/SystemSetting.js:101 \u00B7 web/default/src/components/SystemSetting.js:117 \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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f597fecbcbee901fce305658d1323789c58afb98344dbf53f5f66e8b3cfeb7bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (93 matched lines \u00D7 2 locations): web/default/src/components/LoginForm.js:21 \u00B7 web/default/src/components/RegisterForm.js:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 490 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":"web/default/src/components/LoginForm.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dec79f76fadebdd358bee9fec1d94e461a6b9d20f05c0296d99f81df06bdd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (92 matched lines \u00D7 2 locations): web/air/src/components/ChannelsTable.js:185 \u00B7 web/air/src/components/TokensTable.js:199 \u2014 the two spans are one implementation copied and then locally edited \u2014 548 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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5577a830f45d49f5d6c9044956da6afd8877734cdf640ea2861647dacf2d1b4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (90 matched lines \u00D7 2 locations): web/air/src/components/TokensTable.js:286 \u00B7 web/default/src/components/TokensTable.js:92 \u2014 the two spans are one implementation copied and then locally edited \u2014 500 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":"web/air/src/components/TokensTable.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb485598db902211a2389d75e90e098177c909b39a6f558c8b0650be28b56b32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 2 locations): web/air/src/components/OperationSetting.js:28 \u00B7 web/default/src/components/OperationSetting.js:36 \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":"web/air/src/components/OperationSetting.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"56225fad786a193f728f391fec8dd11ba3a15730edd55e9f46b3540ef4451585"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (76 matched lines \u00D7 2 locations): web/berry/src/views/Authentication/AuthForms/AuthLogin.js:226 \u00B7 web/berry/src/views/Authentication/AuthForms/AuthRegister.js:133 \u2014 the two spans are one implementation copied and then locally edited \u2014 416 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":"web/berry/src/views/Authentication/AuthForms/AuthLogin.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"392a95c184c37aa430b566604c17cfa4c90d53a29e6f1abfc32327f5d91e06d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (75 matched lines \u00D7 2 locations): web/default/src/components/OtherSetting.js:16 \u00B7 web/default/src/components/SystemSetting.js:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 482 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":"web/default/src/components/OtherSetting.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3e96e18cc3fe307324f18f5a825e0d6907e5ae0e1ac5f18a5589ceb34f2ff2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2 locations): web/default/src/components/RedemptionsTable.js:99 \u00B7 web/default/src/components/TokensTable.js:220 \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":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60b21fa87890cd58a904bdc0e97b5aedc548c408e2418946e12be3a35bd9434"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 2 locations): web/default/src/components/TokensTable.js:251 \u00B7 web/default/src/components/UsersTable.js:122 \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":"web/default/src/components/TokensTable.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e4d101c7fa1fa3d855a57799907f57127226f6c33370da274301a491f99387"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): web/berry/src/views/Topup/component/TopupCard.js:12 \u00B7 web/default/src/pages/TopUp/index.js:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 311 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":"web/berry/src/views/Topup/component/TopupCard.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"580d3b136404289dd0d2678cda3d96ade8becc015a80b25aa09acfeb0376fa36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 3 locations): web/berry/src/views/Channel/index.js:26 \u00B7 web/berry/src/views/Redemption/index.js:23 \u00B7 web/berry/src/views/User/index.js:23 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/index.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5597dba614b6c905d1b7bb9bffa818df5e9e34588ba20b4a895dc81da5cb22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): web/air/src/components/RegisterForm.js:15 \u00B7 web/default/src/components/RegisterForm.js:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 351 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":"web/air/src/components/RegisterForm.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db8b795d27e321ccd4e9a9f53d87f4cba9fb559afd70b1a55785d5ef6bcaa68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (54 matched lines \u00D7 2 locations): web/berry/src/views/Channel/component/TableRow.js:192 \u00B7 web/berry/src/views/User/component/TableRow.js:125 \u2014 the two spans are one implementation copied and then locally edited \u2014 280 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":"web/berry/src/views/Channel/component/TableRow.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f973a81b3dfb0d75209699877575fe4b8b5cf18d8c2e404f5e9b47a217f35d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2 locations): web/berry/src/views/Setting/component/SystemSetting.js:133 \u00B7 web/default/src/components/SystemSetting.js:117 \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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e86c421f147d74367c0cd43fae248736cdee7b78615a2c1a476ad31aa15faf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): web/default/src/components/ChannelsTable.js:616 \u00B7 web/default/src/components/TokensTable.js:447 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa51a81526701e044cdc0f42ba5deb309907f5c470edb588483154776e950b39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 3 locations): web/air/src/components/GitHubOAuth.js:7 \u00B7 web/default/src/components/GitHubOAuth.js:7 \u00B7 web/default/src/components/LarkOAuth.js:7 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/GitHubOAuth.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca60635b7d27a44b0a0cf3a931aa38b10f9fc7e7e1d24601646f0f61ebc18ca9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 3 locations): web/berry/src/views/Authentication/Auth/ForgetPassword.js:17 \u00B7 web/berry/src/views/Authentication/Auth/Login.js:15 \u00B7 web/berry/src/views/Authentication/Auth/ResetPassword.js:15 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/Auth/ForgetPassword.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe9452ab1d3828c4f5d2c578170694770c50a8a36899101ff72d16a469c11e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 3 locations): web/berry/src/views/Authentication/Auth/ForgetPassword.js:5 \u00B7 web/berry/src/views/Authentication/Auth/Register.js:5 \u00B7 web/berry/src/views/Authentication/Auth/ResetPassword.js:5 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/Auth/ForgetPassword.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0bb51165c3dddf8c850aee45778ae5519be837c4ccb5c431af496b9959e612"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (50 identical lines \u00D7 3 files): web/berry/src/views/Authentication/Auth/GitHubOAuth.js:1 \u00B7 web/berry/src/views/Authentication/Auth/LarkOAuth.js:1 \u00B7 web/berry/src/views/Authentication/Auth/OidcOAuth.js:1 \u2014 these 3 files are line-for-line copies of one another \u2014 50 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/Auth/GitHubOAuth.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31223e66d9f55457d02677c7b232c2c3330dcc259480ef926ae93d36c9471cc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 3 locations): web/default/src/pages/Dashboard/index.js:244 \u00B7 web/default/src/pages/Dashboard/index.js:298 \u00B7 web/default/src/pages/Dashboard/index.js:354 \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":"web/default/src/pages/Dashboard/index.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb9fab9f1c03922592a5d7651f6e4902ee60211e390ffa900099b5e7a6de42e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): web/default/src/pages/Channel/EditChannel.js:210 \u00B7 web/default/src/pages/Token/EditToken.js:133 \u2014 the two spans are one implementation copied and then locally edited \u2014 240 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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"774dbc870a2b5f915b134f3edbefd476eb7be800ce4001718d8e66f6ee74dfdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): web/air/src/components/ChannelsTable.js:523 \u00B7 web/air/src/components/LogsTable.js:266 \u2014 the two spans are one implementation copied and then locally edited \u2014 326 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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2d7c469dcdd698d6d394e90c65adaf85e20420ed19073bfaf3d4cb10b49c0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): web/air/src/pages/Redemption/EditRedemption.js:103 \u00B7 web/air/src/pages/Token/EditToken.js:199 \u2014 the two spans are one implementation copied and then locally edited \u2014 298 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":"web/air/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"820dd6016091df03899f190b74d9d7896995b38a501f2de9d73896f6003fefd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): web/default/src/components/LoginForm.js:67 \u00B7 web/default/src/components/PasswordResetForm.js:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 253 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":"web/default/src/components/LoginForm.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"240da27e0fceec95dc3de2ac3d684eac8fdaebeb187e9006566b5e99a5f73cfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 3 locations): web/berry/src/views/Channel/index.js:165 \u00B7 web/berry/src/views/Redemption/index.js:114 \u00B7 web/berry/src/views/User/index.js:112 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/index.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97098e902be113d2fd0068d42f5ba922f0d5cb8ce8a4115a659ca109c730bab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (45 matched lines \u00D7 2 locations): web/berry/src/views/Redemption/component/EditModal.js:23 \u00B7 web/berry/src/views/Token/component/EditModal.js:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 309 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":"web/berry/src/views/Redemption/component/EditModal.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadba0c1684d60659c6b45ba7eabfc96427beec6a0a4168901a2600bf0ef5866"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): web/air/src/components/ChannelsTable.js:317 \u00B7 web/default/src/components/ChannelsTable.js:155 \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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"c943b2dc5dd12563fb46923b27aea3c5e8d0061db2aca57d56e706bf17ee0161"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): web/default/src/components/PersonalSetting.js:311 \u00B7 web/default/src/components/PersonalSetting.js:374 \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":"web/default/src/components/PersonalSetting.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc12122867e34f0719235fa442039197ef0842d1a7fc552268e8ca3f2a19c5fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): web/air/src/pages/Redemption/EditRedemption.js:33 \u00B7 web/default/src/pages/Redemption/EditRedemption.js:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 246 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":"web/air/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"426481e6e8e572b6a24e75b2724a52f2be8fe4b9b1e7beba1510c26152dcfd83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): web/berry/src/views/Setting/component/OperationSetting.js:48 \u00B7 web/default/src/components/OperationSetting.js:40 \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":"web/berry/src/views/Setting/component/OperationSetting.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dbe2930a30b8b17a92263aa9f1c40210344efc7baf80138ee402cce0425e75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): web/air/src/components/SystemSetting.js:463 \u00B7 web/air/src/components/SystemSetting.js:507 \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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ff305c4bf9c4bb0b769c68ee7f34be2f35257bc4d29805bd83dd05a2bd74d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): web/air/src/components/LogsTable.js:148 \u00B7 web/default/src/components/LogsTable.js:137 \u2014 the two spans are one implementation copied and then locally edited \u2014 340 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":"web/air/src/components/LogsTable.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"946e32b32149c8f807ea254176df3a09115975171c1bf51ae4e90a2a57029f83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): web/berry/src/views/Setting/component/OperationSetting.js:350 \u00B7 web/berry/src/views/Setting/component/OperationSetting.js:417 \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":"web/berry/src/views/Setting/component/OperationSetting.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab3006a3c5aab0ec863d9f6388cab86681ba89f99423c402d30625e47495f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): web/berry/src/views/Setting/component/OtherSetting.js:23 \u00B7 web/default/src/components/OtherSetting.js:18 \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":"web/berry/src/views/Setting/component/OtherSetting.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55d797ba2c374368a1d86fb3d6b978a736f2724b4fb631c2f992b55f7584d7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): web/default/src/components/RedemptionsTable.js:315 \u00B7 web/default/src/components/TokensTable.js:469 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"48eda89847d47a414a0ba52654bd396a5939eafc2f8ebdcfd9571d4c8804607d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): web/default/src/pages/TopUp/index.js:95 \u00B7 web/default/src/pages/TopUp/index.js:160 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/pages/TopUp/index.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b39d2e0ef09e64b75fb9c72075636f2730e50aa6db0acf4a1a7c0ab7f32210f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): web/berry/src/views/Channel/component/EditModal.js:421 \u00B7 web/berry/src/views/Token/component/EditModal.js:156 \u2014 the two spans are one implementation copied and then locally edited \u2014 236 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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc813aa12ead9950a281893fb82d81e3d5371cd04e94ca60aaf2507fab52b541"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4 locations): web/berry/src/views/Channel/index.js:253 \u00B7 web/berry/src/views/Redemption/index.js:170 \u00B7 web/berry/src/views/Token/index.js:181 \u00B7 web/berry/src/views/User/index.js:172 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/index.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"580e8d7e4920e81369ed2d459c1c685840f0b29cbfe9821c4871917a16b492e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): web/default/src/components/RedemptionsTable.js:25 \u00B7 web/default/src/components/TokensTable.js:25 \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":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd28125d5a9753b053d13e91d6f5099b550073388810a82e426c2c83373be731"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): web/air/src/components/Footer.js:7 \u00B7 web/default/src/components/Footer.js:8 \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":"web/air/src/components/Footer.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86a1db822f9cedbd036d5de5cf6a8087e522800d30aadebad23d4b0ae60ae72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): web/air/src/pages/Home/index.js:9 \u00B7 web/berry/src/views/Home/index.js:9 \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":"web/air/src/pages/Home/index.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e957fafc753c403d6513710d140f8beea73fe9409ffe0c33c4d9596c8f2c03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): web/berry/src/views/Redemption/component/TableRow.js:26 \u00B7 web/berry/src/views/User/component/TableRow.js:41 \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":"web/berry/src/views/Redemption/component/TableRow.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe39ddfd084b9872e7be917a827cff3d477dd9af80f4940ffddb7489928ac5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): web/default/src/components/PasswordResetConfirm.js:67 \u00B7 web/default/src/components/PasswordResetForm.js:76 \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":"web/default/src/components/PasswordResetConfirm.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8af0b13f09f5bd304b9b1e85a8984ea8db0a2692d2697fdc40e7ff005945e5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web/air/src/components/PasswordResetForm.js:17 \u00B7 web/default/src/components/PasswordResetForm.js:38 \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":"web/air/src/components/PasswordResetForm.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae9e5c65ca4112e0a90806ae5be9565b3ec23253f26d1a24a1fe9783c193524"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web/air/src/pages/Channel/EditChannel.js:354 \u00B7 web/air/src/pages/Channel/EditChannel.js:421 \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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6bedac91e1c3537946e04ea37d0dbaeb8fbf74dea6de48f7822e1e43ec1740"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web/air/src/pages/TopUp/index.js:26 \u00B7 web/berry/src/views/Topup/component/TopupCard.js:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/TopUp/index.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc40ff178a86c72a6f3a4379208c2ea8c5a0df916d06686bd461f87e0cc1cd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web/default/src/components/TokensTable.js:80 \u00B7 web/default/src/components/UsersTable.js:39 \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":"web/default/src/components/TokensTable.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c2239fde6e729a01617adc3d85c59cde16d6d8bd8e8c7b4b2d9b9c270b741b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): web/air/src/components/PasswordResetConfirm.js:16 \u00B7 web/default/src/components/PasswordResetConfirm.js:25 \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":"web/air/src/components/PasswordResetConfirm.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2deb3b382f6d88b1512c3317a92a16150e05301baac9b808c5307569e7c80da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): web/air/src/components/OtherSetting.js:76 \u00B7 web/berry/src/views/Setting/component/OtherSetting.js:93 \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":"web/air/src/components/OtherSetting.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"06914ab1783c88b1459154f79b37bd7236cef774248d6941e1ddad7f87a2db94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3 locations): web/default/src/components/RedemptionsTable.js:181 \u00B7 web/default/src/components/TokensTable.js:300 \u00B7 web/default/src/components/UsersTable.js:171 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a37c9f9ec6ef10b94ade7314a4dab696e4b9413cfd5d7713721a4702a0ec7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): web/berry/src/layout/MainLayout/Sidebar/MenuList/NavCollapse/index.js:96 \u00B7 web/berry/src/layout/MainLayout/Sidebar/MenuList/NavItem/index.js:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 153 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":"web/berry/src/layout/MainLayout/Sidebar/MenuList/NavCollapse/index.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6fbe72c1f1b0c36d0bd64504ca5718573fb4033764b7e6578ffcca00718702"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): web/berry/src/views/Setting/component/SystemSetting.js:390 \u00B7 web/berry/src/views/Token/component/EditModal.js:162 \u2014 the two spans are one implementation copied and then locally edited \u2014 142 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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"246f8e5c11087cc20a9fdd6a213b24a3acfb17036915bc826230893d4ba0435f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4 locations): web/default/src/components/ChannelsTable.js:382 \u00B7 web/default/src/components/RedemptionsTable.js:148 \u00B7 web/default/src/components/TokensTable.js:268 \u00B7 web/default/src/components/UsersTable.js:139 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75c631ddb87832dd8ada689bb3209c4bd3889010c58dd36f4e067be434f0a96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): web/default/src/components/TokensTable.js:518 \u00B7 web/default/src/components/UsersTable.js:391 \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":"web/default/src/components/TokensTable.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"805c4facf81f9fbb5ab83b85720e15a267afe416627daaabdc98032a366a2713"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): web/default/src/pages/User/AddUser.js:26 \u00B7 web/default/src/pages/User/EditUser.js:91 \u2014 the two spans are one implementation copied and then locally edited \u2014 126 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":"web/default/src/pages/User/AddUser.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fc37c08d720169b1b10191243b2767836532a3437550600780f94f647a9b4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/air/src/components/OperationSetting.js:136 \u00B7 web/default/src/components/OperationSetting.js:161 \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":"web/air/src/components/OperationSetting.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d075ae76ed8272805bf157031dc0736122ebf8b1c1721f67e72f578a7e68bff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/air/src/components/OperationSetting.js:203 \u00B7 web/air/src/components/OperationSetting.js:274 \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":"web/air/src/components/OperationSetting.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"152f825841d298863b418946369a7241b978e4a8a0a285b06630212debc2ea5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/air/src/pages/About/index.js:7 \u00B7 web/berry/src/views/About/index.js:9 \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":"web/air/src/pages/About/index.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf7454e7c097a082e43b60c832ba03c4914ca312b18a284b96bcece54e20edd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/berry/src/utils/common.js:209 \u00B7 web/default/src/helpers/utils.js:191 \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":"web/berry/src/utils/common.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e674c8d513e6b2312c2abb06f397601aab71f12ad5168542fff2359c15d2277"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/default/src/components/TokensTable.js:127 \u00B7 web/default/src/components/TokensTable.js:175 \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":"web/default/src/components/TokensTable.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"28209db7f85e860a4f1c729c453ff5d1a60ffb319916cdd1f39c9c03905a2709"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/default/src/pages/Redemption/EditRedemption.js:79 \u00B7 web/default/src/pages/Token/EditToken.js:151 \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":"web/default/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c99ddf4f76d7c1bcc8e459de5ad69ffca2e94d97dd718504ea70ea2ea725c50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/air/src/components/UsersTable.js:176 \u00B7 web/default/src/components/UsersTable.js:55 \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":"web/air/src/components/UsersTable.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec0a066b60102349d0516ced645e2c95349d1b97195a89661322b90da79d1df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/air/src/pages/User/AddUser.js:37 \u00B7 web/air/src/pages/User/EditUser.js:87 \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":"web/air/src/pages/User/AddUser.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"645c85c8fe3a5f2f03c67f88416e7e35cc60613b3b1b9d235f317bbbb0a424c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/berry/src/views/Setting/component/SystemSetting.js:604 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:776 \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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"5991f624415e339a9138bcb4a20eb5490e2d6ce79c5cbf3ac7f0c0247271c4a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4 locations): web/default/src/pages/Home/index.js:176 \u00B7 web/default/src/pages/Home/index.js:200 \u00B7 web/default/src/pages/Home/index.js:224 \u00B7 web/default/src/pages/Home/index.js:248 \u2014 all 4 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":"web/default/src/pages/Home/index.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf25622c0f401829218d3f327f3d34183e04053f46bdec27d3164971ca790c7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web/air/src/components/SystemSetting.js:216 \u00B7 web/default/src/components/SystemSetting.js:249 \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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aa7489f87d709c306e7b45d4bbe1158a59f6aaf3035140a94724b67cf28dca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5 locations): web/berry/src/ui-component/cards/Skeleton/PopularCard.js:26 \u00B7 web/berry/src/ui-component/cards/Skeleton/PopularCard.js:50 \u00B7 web/berry/src/ui-component/cards/Skeleton/PopularCard.js:74 \u00B7 web/berry/src/ui-component/cards/Skeleton/PopularCard.js:98 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/ui-component/cards/Skeleton/PopularCard.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"72eb92b597d2646144fc734851181065e0b8a9698b69b26c8d8be3751e76cc0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3 locations): web/berry/src/views/Channel/component/TableRow.js:46 \u00B7 web/berry/src/views/Redemption/component/TableRow.js:27 \u00B7 web/berry/src/views/User/component/TableRow.js:42 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/component/TableRow.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a8094ef809df9047174d1879a8e294af66beefa846425a524af18a6e9bc708"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4 locations): web/air/src/components/ChannelsTable.js:79 \u00B7 web/air/src/components/MjLogsTable.js:127 \u00B7 web/air/src/components/RedemptionsTable.js:44 \u00B7 web/air/src/components/TokensTable.js:109 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b005d03482aa10ec70f99ac14a657477b14af2499abbae1cc2cdf32a48418d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/air/src/components/LogsTable.js:248 \u00B7 web/air/src/components/MjLogsTable.js:336 \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":"web/air/src/components/LogsTable.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cd99fc8502b013fa8589c09f9afb86421b31d5d933c952146ef75147781049"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/air/src/components/PasswordResetConfirm.js:56 \u00B7 web/air/src/components/PasswordResetForm.js:51 \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":"web/air/src/components/PasswordResetConfirm.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"32590dde8425227a0c37eacf9b3b2f50c7811e15ebff43887b7411003091e829"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/berry/src/views/Token/index.js:113 \u00B7 web/berry/src/views/User/index.js:103 \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":"web/berry/src/views/Token/index.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2afab09f022364a61f38278cec1cc46b11443607717345bef54f9da33b25233"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/default/src/components/ChannelsTable.js:117 \u00B7 web/default/src/components/LogsTable.js:233 \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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91c2b9f736c46992ad23af11cdc625909656f2690a66d78fe014af38304bfbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/default/src/components/LoginForm.js:251 \u00B7 web/default/src/components/PersonalSetting.js:233 \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":"web/default/src/components/LoginForm.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd56a9f04a315f0c40e18cdd36c64605a1ea7eb52613e30b253a39664277eaff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4 locations): web/default/src/components/LogsTable.js:269 \u00B7 web/default/src/components/RedemptionsTable.js:137 \u00B7 web/default/src/components/TokensTable.js:259 \u00B7 web/default/src/components/UsersTable.js:130 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/LogsTable.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c68aff9701931b28071cbc87ab1ddb38bb87174f653457f6b946bdd2db385b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/default/src/components/LogsTable.js:423 \u00B7 web/default/src/components/LogsTable.js:454 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/LogsTable.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac9898a80f213dd653e7b48a37c43aee17fafb62fc6934711bb7a4a2aa79966"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/default/src/components/LogsTable.js:591 \u00B7 web/default/src/components/RedemptionsTable.js:353 \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":"web/default/src/components/LogsTable.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca6565875520b44c5069929038d0249ba1601c5f95581ee4f538cafe9223319"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): web/default/src/components/RedemptionsTable.js:239 \u00B7 web/default/src/components/TokensTable.js:358 \u00B7 web/default/src/components/UsersTable.js:229 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9c22e45c9026af73099c0052a3ec2f297e24c0204ec4197aefc0459653dfae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): web/air/src/components/MjLogsTable.js:209 \u00B7 web/air/src/components/MjLogsTable.js:232 \u00B7 web/air/src/components/MjLogsTable.js:255 \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":"web/air/src/components/MjLogsTable.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe91191b5e57a0e43fcb5098e0c8d8bc486464d3bf9b7b0e12a7b29a67f3e01c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/air/src/components/OperationSetting.js:249 \u00B7 web/air/src/components/OperationSetting.js:292 \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":"web/air/src/components/OperationSetting.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"273e9a77cd40cd1af378bc61647d0d7dbb2949ecbaae9f728f6dacc6ee696d26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/air/src/pages/User/EditUser.js:44 \u00B7 web/default/src/pages/User/EditUser.js:56 \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":"web/air/src/pages/User/EditUser.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9647a0b79b469dad9e76bd5a364e0f9a325a7276986b40e0eba616b33cc1f76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/berry/src/views/Authentication/AuthForms/ForgetPasswordForm.js:116 \u00B7 web/berry/src/views/Profile/component/EmailModal.js:154 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/AuthForms/ForgetPasswordForm.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a317a14545383879a71af328d670382b85588df527e34b3f2cf7f13bf274cf4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/berry/src/views/Setting/component/SystemSetting.js:811 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:860 \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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a8aa50969d680a2901d1bd35280d2d1bd9b10216e79bdde1fb9e55033d7fac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/default/src/components/ChannelsTable.js:508 \u00B7 web/default/src/components/RedemptionsTable.js:246 \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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7c0896fc43e4b595dbb8b9b596539a2259598ac63cc6db6b546141d5fde880"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/air/src/pages/Token/EditToken.js:41 \u00B7 web/default/src/pages/Token/EditToken.js:43 \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":"web/air/src/pages/Token/EditToken.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"794d0b202119c8acaf1a4119554864804c08d66b3dc71ad130e2f28a763f265a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): web/berry/src/hooks/useLogin.js:23 \u00B7 web/berry/src/hooks/useLogin.js:45 \u00B7 web/berry/src/hooks/useLogin.js:67 \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":"web/berry/src/hooks/useLogin.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5402a0eed4a95d468c8360a07c1a8c8917cc1f57f89e80dc8c1f52bbae3f4109"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4 locations): web/berry/src/views/Channel/component/EditModal.js:620 \u00B7 web/berry/src/views/Redemption/component/EditModal.js:169 \u00B7 web/berry/src/views/Token/component/EditModal.js:298 \u00B7 web/berry/src/views/User/component/EditModal.js:267 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"25efa0e08ec1980ce534f50da04d99274ccae8383bdbf4373f35d0219d95b424"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4 locations): web/berry/src/views/Setting/component/OtherSetting.js:133 \u00B7 web/berry/src/views/Setting/component/OtherSetting.js:214 \u00B7 web/berry/src/views/Setting/component/OtherSetting.js:234 \u00B7 web/berry/src/views/Setting/component/OtherSetting.js:259 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Setting/component/OtherSetting.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c36d2bb6f744c11b795d59df7b9869ed209f0d3e43e4fc3dec42b67953da0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): web/default/src/components/ChannelsTable.js:193 \u00B7 web/default/src/components/RedemptionsTable.js:114 \u00B7 web/default/src/components/TokensTable.js:235 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c157b228f5e248fb31ad86e4e97a7b7e149041a423abaa36966a3730549a7ccb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): web/default/src/components/SystemSetting.js:554 \u00B7 web/default/src/components/SystemSetting.js:590 \u00B7 web/default/src/components/SystemSetting.js:634 \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":"web/default/src/components/SystemSetting.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a75fb985a8d353020cd751002dff88e04fca3029fb76d3f3677f40209e42116"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/air/src/components/ChannelsTable.js:447 \u00B7 web/berry/src/views/Channel/index.js:134 \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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a371a48cc7a9f5c5088eb6f61d2d4ccb37bf2290707872d6b1e26098a3c6629"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/air/src/components/LogsTable.js:345 \u00B7 web/air/src/components/MjLogsTable.js:400 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/LogsTable.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde0f73724bae4f7adbf6decce94529ac5d85ebd5438f42f1ea069388b85f972"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): web/air/src/components/UsersTable.js:239 \u00B7 web/default/src/components/TokensTable.js:255 \u00B7 web/default/src/components/UsersTable.js:126 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/UsersTable.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e56d8ee554934964a005c9a64842e1bf5077e8aa06c2814b076178c19d97145"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/air/src/context/User/reducer.js:1 \u00B7 web/default/src/context/User/reducer.js:1 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/context/User/reducer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fea72d8c97e65ae6940923cf1cc6adb084470567dda2d59092e9d4cd57e4f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): web/air/src/pages/Token/EditToken.js:136 \u00B7 web/air/src/pages/Token/EditToken.js:162 \u2014 the two spans are one implementation copied and then locally edited \u2014 116 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":"web/air/src/pages/Token/EditToken.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e97d56c978a2820a7d065c0ccfb996a6fe1ef850c5f2fb78dc03a5036dbf494"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): web/berry/src/views/Setting/component/SystemSetting.js:545 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:662 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:822 \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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40d611b0d21a89f6b017f4ca336e26fd6f1edd7d2e4331c8f757e8dd30f5c8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4 locations): web/default/src/components/OperationSetting.js:190 \u00B7 web/default/src/components/OperationSetting.js:210 \u00B7 web/default/src/components/OperationSetting.js:316 \u00B7 web/default/src/components/OperationSetting.js:384 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/OperationSetting.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1231e42721e0b44f24155e5eec0a9ffdaeb3661731f34e942ef9b7385a8e5d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/default/src/components/PasswordResetForm.js:32 \u00B7 web/default/src/components/PersonalSetting.js:53 \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":"web/default/src/components/PasswordResetForm.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbd8554b30e46ce825d9fb2ab8716b3c25908abbb6e81c7097b5afa4c587d23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/default/src/components/RedemptionsTable.js:67 \u00B7 web/default/src/components/UsersTable.js:48 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f2febcf5cf3836857c0582313aaf679c04b39c1f2df79a05543c06ac1740d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/air/src/components/RedemptionsTable.js:186 \u00B7 web/default/src/components/RedemptionsTable.js:64 \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":"web/air/src/components/RedemptionsTable.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"438623a843e02884b8dd5b068bcbd7e3757607635c3e6a7dec3a32d68f6bce12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/air/src/pages/Channel/EditChannel.js:130 \u00B7 web/default/src/pages/Channel/EditChannel.js:84 \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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf5d3259ebcfc4a0697e5022447a24824b3d1854c926eca981893aeac267e4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5 locations): web/air/src/pages/Channel/EditChannel.js:291 \u00B7 web/air/src/pages/Redemption/EditRedemption.js:110 \u00B7 web/air/src/pages/Token/EditToken.js:207 \u00B7 web/air/src/pages/User/AddUser.js:44 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"03672fbdcf41b19224764f627c3c93894321b2e80cd92b049660d9ad31131fb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/air/src/pages/Channel/EditChannel.js:411 \u00B7 web/air/src/pages/Channel/EditChannel.js:617 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d1b88e5c17397974ba0e004325d3826feeb67db0549041670aac15bd6dd9c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/berry/src/ui-component/cards/MainCard.js:56 \u00B7 web/berry/src/ui-component/cards/SubCard.js:46 \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":"web/berry/src/ui-component/cards/MainCard.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ff93bc3b47782bbc34705c62490168307a9e7584a1de6702b1b0a0fc26bba4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/berry/src/views/Channel/index.js:111 \u00B7 web/berry/src/views/Token/index.js:104 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/index.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8d4c53a28905ba68279e756916cf046e11d24445fee88617990326a7fd4144"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): web/berry/src/views/Setting/component/SystemSetting.js:491 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:601 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:773 \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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce69e62f1bcab6c449633da09bcc62620c5a595339303ec794db8cc4c9ff53f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/default/src/components/PasswordResetForm.js:111 \u00B7 web/default/src/components/RegisterForm.js:210 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/PasswordResetForm.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab97bbf9f5305e989f5c5308c2e586c4b6075703d37689c2ace7c7e0213b72a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/default/src/pages/About/index.js:10 \u00B7 web/default/src/pages/Home/index.js:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/pages/About/index.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a27f18d8b2c3d7c01712dcf7ac734e939703ca45dd1da4b056fcfcf0d126dc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/default/src/pages/Dashboard/index.js:110 \u00B7 web/default/src/pages/Dashboard/index.js:152 \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":"web/default/src/pages/Dashboard/index.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40f35ad85dfbc3674d319ad544ca5f116e8fda7205f8c4663e815b21f7f9764"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5 locations): web/air/src/App.js:120 \u00B7 web/air/src/App.js:144 \u00B7 web/default/src/App.js:188 \u00B7 web/default/src/App.js:212 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"web/air/src/App.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35cd200f2caff785d25ec76a6c3a61114d3c4b49dbc2a534ce223ce3f226bc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/air/src/components/ChannelsTable.js:473 \u00B7 web/berry/src/views/Channel/index.js:149 \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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"522f3d315498a88482ac966250abbad9231e394921d2e3a7717d7397e93da001"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/air/src/components/PersonalSetting.js:596 \u00B7 web/air/src/components/PersonalSetting.js:629 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c53f703403bfc7c0c073e8dfe647c03b598c2683ad1800ce69536d1c1b5f5b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/air/src/components/RedemptionsTable.js:224 \u00B7 web/default/src/components/RedemptionsTable.js:81 \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":"web/air/src/components/RedemptionsTable.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f6827b60235fd15061db4be75b6dcb05111e6048ce35b66820c6375c2b0f09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/air/src/components/utils.js:3 \u00B7 web/default/src/components/utils.js:3 \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":"web/air/src/components/utils.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e280501de9a5216a624b9e34b571a9f85998f522d73f5f72d31e487751e4a168"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/air/src/pages/User/EditUser.js:180 \u00B7 web/air/src/pages/User/EditUser.js:197 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/User/EditUser.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"976dd04b935a45cfd6ab3b663c549db094cd8759e9776530bcb420a2a0e5b23d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/berry/src/views/Channel/component/TableRow.js:258 \u00B7 web/default/src/components/ChannelsTable.js:50 \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":"web/berry/src/views/Channel/component/TableRow.js"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff4d2796bf067c7205725c74448f7e06f78a9f979baadaf04d41bc282e00e5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/berry/src/views/Profile/index.js:291 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:882 \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":"web/berry/src/views/Profile/index.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f963516f58a24d01c3181e8ce03393ae64a350889854abbbeb14bc7efab82e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/air/src/components/PasswordResetForm.js:75 \u00B7 web/air/src/components/RegisterForm.js:162 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/PasswordResetForm.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b87785340effa7f0e53105bfbc7878caab48f41a3045a7838b398077723b4f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/air/src/context/Status/reducer.js:1 \u00B7 web/default/src/context/Status/reducer.js:1 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/context/Status/reducer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"891cc3d4920b917c568ecc7e33092dc5929c0310319882901791db1701fa1277"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/berry/src/views/Authentication/AuthForms/AuthLogin.js:79 \u00B7 web/berry/src/views/Authentication/AuthForms/AuthLogin.js:126 \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":"web/berry/src/views/Authentication/AuthForms/AuthLogin.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcee366fb7449f9633de8767fd8657ae8251ef41a99ba45574ab6f0ee0713c42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/berry/src/views/Authentication/AuthForms/ForgetPasswordForm.js:59 \u00B7 web/berry/src/views/Profile/component/EmailModal.js:50 \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":"web/berry/src/views/Authentication/AuthForms/ForgetPasswordForm.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a3b805d87167442d950717f2013a4331a3c83c70081317736c7a1f0090302f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/berry/src/views/Log/component/TableToolBar.js:93 \u00B7 web/berry/src/views/Log/component/TableToolBar.js:127 \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":"web/berry/src/views/Log/component/TableToolBar.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e54ee0f2e66591000046a24bbceff333d9d5a1be5c8bc5b18239063e54633fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/berry/src/views/Redemption/component/TableRow.js:91 \u00B7 web/berry/src/views/Token/component/TableRow.js:231 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Redemption/component/TableRow.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f440bbd32118db586a731a5b8d204b51b0b8bb3c704803787348b035a1e8f552"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/air/src/components/ChannelsTable.js:561 \u00B7 web/air/src/components/RedemptionsTable.js:336 \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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfd02d1c97691bedc1c8044eb3ad3bd9456886e9806f996d59fc5bd6bf6105a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 11 locations): web/air/src/components/LogsTable.js:317 \u00B7 web/air/src/components/RedemptionsTable.js:284 \u00B7 web/air/src/components/UsersTable.js:243 \u00B7 web/berry/src/views/Channel/index.js:67 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 copies are spread across 11 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":"web/air/src/components/LogsTable.js"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa885e5b185188086cdb962a37f11d503def744d333e8764ed476b5c032905d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/berry/src/layout/MainLayout/Sidebar/index.js:36 \u00B7 web/berry/src/layout/MainLayout/Sidebar/index.js:53 \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":"web/berry/src/layout/MainLayout/Sidebar/index.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4618279801b4c795bccc31035d2acdb72706966ef0194c19b94219e8294b894"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/berry/src/views/Authentication/AuthForms/AuthLogin.js:257 \u00B7 web/berry/src/views/User/component/EditModal.js:187 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/AuthForms/AuthLogin.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"506337d139b7fafd587f76b3c4028745e869dc7178ade6efd00e957e6b76dc56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/berry/src/views/Authentication/AuthForms/AuthRegister.js:178 \u00B7 web/berry/src/views/Profile/component/EmailModal.js:136 \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":"web/berry/src/views/Authentication/AuthForms/AuthRegister.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cb5e895fa3e571adb07ba0942c038854a9792c92c0d8338bec33545ff09ca6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/berry/src/views/Channel/component/EditModal.js:323 \u00B7 web/berry/src/views/Channel/component/EditModal.js:345 \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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c52b64c90343607b82689d07abcdc503ff84f7182326e747fe916150621f6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/berry/src/views/Log/component/TableToolBar.js:47 \u00B7 web/berry/src/views/Log/component/TableToolBar.js:66 \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":"web/berry/src/views/Log/component/TableToolBar.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"443dfb2dff3d2ce371dd45cfd56d85f5bf01021bbd090de069012ad6471a0527"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): web/berry/src/views/Log/index.js:110 \u00B7 web/berry/src/views/Redemption/index.js:153 \u00B7 web/berry/src/views/Token/index.js:164 \u00B7 web/berry/src/views/User/index.js:154 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Log/index.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"856ca54ce9d1319f05644370aab4049c940cf64934f383458be556dc938cd2f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 12 locations): web/default/src/components/ChannelsTable.js:445 \u00B7 web/default/src/components/ChannelsTable.js:461 \u00B7 web/default/src/components/ChannelsTable.js:477 \u00B7 web/default/src/components/RedemptionsTable.js:204 \u00B7 \u002B8 more site(s) not listed \u2014 the 4 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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f27bebe7b7b2d8cb45ce2fbcba93faf047f2d92b53d34166b9960f0b5f5d1af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/default/src/components/OperationSetting.js:222 \u00B7 web/default/src/components/OperationSetting.js:328 \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":"web/default/src/components/OperationSetting.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b7f52b6495ee3874f6f082633445671fd5d2abf5eb029c6af18ba0e2010af7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/default/src/pages/Channel/EditChannel.js:128 \u00B7 web/default/src/pages/User/EditUser.js:36 \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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c873bf96ded1eee95fdd1105cfd88c0431f4622421f8f87b1455a6ebe8c4df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/air/src/components/ChannelsTable.js:542 \u00B7 web/air/src/pages/User/EditUser.js:25 \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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5954c4157d7a1e76f818878652f4c4cb24889eac67ef198bba2d65ebac46c02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/air/src/components/SystemSetting.js:504 \u00B7 web/air/src/components/SystemSetting.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb4763cad209382eca446355f744e9efdc22e482015070c7395a021452306ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/berry/src/views/Profile/index.js:161 \u00B7 web/berry/src/views/Profile/index.js:175 \u00B7 web/berry/src/views/Profile/index.js:189 \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":"web/berry/src/views/Profile/index.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e22d83c6ce30ba20ccf3bda65a8381ba8c24b8ff6b728213a92a0d3ce482d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 13 locations): web/berry/src/views/Setting/component/OtherSetting.js:198 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:428 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:442 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:456 \u00B7 \u002B9 more site(s) not listed \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":"web/berry/src/views/Setting/component/OtherSetting.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa630c091c3ad32c2a2ab1f365dffbf9edc87854bb49907a620c2de9ac8711b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 15 locations): web/berry/src/views/Setting/component/SystemSetting.js:430 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:444 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:458 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:472 \u00B7 \u002B11 more site(s) not listed \u2014 all 15 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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"90458c6ba96b510c50bb6e867d8d583d3c0af6ea7b88e577fc011bcd39f7c39f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/berry/src/views/Token/component/TableRow.js:234 \u00B7 web/berry/src/views/User/component/TableRow.js:130 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Token/component/TableRow.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dffcfbf13160910144783b7750e2b1244bfbd3c8d484a5990b6ec8d9e547037"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/default/src/components/SystemSetting.js:531 \u00B7 web/default/src/components/SystemSetting.js:571 \u00B7 web/default/src/components/SystemSetting.js:617 \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":"web/default/src/components/SystemSetting.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b04910becc95d5724146ac8df28695cb3f8f681db488c7cc00521ae4b624dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/default/src/pages/Channel/EditChannel.js:248 \u00B7 web/default/src/pages/Redemption/EditRedemption.js:81 \u00B7 web/default/src/pages/Token/EditToken.js:153 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"650fd7172c81ec8104107c064f82d24ec24eabf49f9744d25a65e5dd9509e08a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/default/src/pages/Channel/index.js:6 \u00B7 web/default/src/pages/Token/index.js:6 \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":"web/default/src/pages/Channel/index.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"037fedd092f0f802cba15be53eee1ee7062be20b6c0bca7288f08d64b583a4f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/default/src/pages/Log/index.js:6 \u00B7 web/default/src/pages/Redemption/index.js:6 \u00B7 web/default/src/pages/User/index.js:6 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/pages/Log/index.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e7dfcf2363454152705b77bf8616b07bb3f952edef18e8cb6c62cc0de124ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/air/src/components/MjLogsTable.js:42 \u00B7 web/air/src/components/MjLogsTable.js:58 \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":"web/air/src/components/MjLogsTable.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7c743a7415e20582268a2f01420181624f6cf76757eccfe130ddd4e37c7330"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/air/src/components/OtherSetting.js:129 \u00B7 web/air/src/components/SystemSetting.js:246 \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":"web/air/src/components/OtherSetting.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"76874c83b1f32d6755d868cef19b24fdc64b62f8ac5057bcebf8bd08cf58a64c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/air/src/components/PersonalSetting.js:36 \u00B7 web/default/src/components/PersonalSetting.js:35 \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":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"04defc1ff176fb61d4548e2e2dceadf3447626ce74fd4f31137a396f1023219a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/air/src/components/PersonalSetting.js:578 \u00B7 web/air/src/components/PersonalSetting.js:611 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c055e4b7a03f950a2658674a073951f5bd0ba5b505a637847426fdbed1213c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): web/air/src/components/TokensTable.js:314 \u00B7 web/air/src/components/TokensTable.js:366 \u00B7 web/default/src/components/TokensTable.js:121 \u00B7 web/default/src/components/TokensTable.js:169 \u2014 the 4 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":"web/air/src/components/TokensTable.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"21350e8868d5dac8dcf97079d4081998b828e8a922cfd6021a6b402b76c95a07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/air/src/pages/User/EditUser.js:69 \u00B7 web/default/src/pages/User/EditUser.js:79 \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":"web/air/src/pages/User/EditUser.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8693a5a3b06ebd701f6aecfdd4ba5b17c4f5e72aaeb79352d6909604756f36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): web/berry/src/layout/MainLayout/Header/index.js:23 \u00B7 web/berry/src/layout/MinimalLayout/Header/index.js:48 \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":"web/berry/src/layout/MainLayout/Header/index.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac283fd6d3cda202ce92c22dfe9701e5e7d041c432b16856d4e396d3b5b766d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/berry/src/views/Authentication/AuthForms/AuthRegister.js:285 \u00B7 web/berry/src/views/Authentication/AuthForms/ForgetPasswordForm.js:140 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/AuthForms/AuthRegister.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f09926593de3434f154919d288d66ee6fdd0b33f2db2025b33446e0f55fe10b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): web/berry/src/views/Channel/component/TableRow.js:107 \u00B7 web/berry/src/views/Redemption/component/TableRow.js:50 \u00B7 web/berry/src/views/User/component/TableRow.js:65 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/component/TableRow.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"325b10191da0a523dc8669aa2ab60adc91e43bf1608acb34c649208e245db56c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/berry/src/views/Setting/component/OperationSetting.js:414 \u00B7 web/berry/src/views/Setting/component/OperationSetting.js:488 \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":"web/berry/src/views/Setting/component/OperationSetting.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7f782acb6b1ebc49c2ab656fd0bcb751aebec4db8c9f8748870977ea018946"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/air/src/components/ChannelsTable.js:251 \u00B7 web/air/src/components/RedemptionsTable.js:203 \u00B7 web/air/src/components/TokensTable.js:417 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f82665e37a4ec6f41259fd588155a088ee8a6bd22fbbfef77f7ee26730297b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/air/src/components/PersonalSetting.js:402 \u00B7 web/air/src/components/PersonalSetting.js:438 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d0cd70188f885f55c42f63acd84527b7713d5700de8ca04cca54402db176fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/air/src/context/Status/index.js:6 \u00B7 web/default/src/context/Status/index.js:6 \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":"web/air/src/context/Status/index.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2516eb2e1e22a16907ffb030151149ab097774e3ac6432c1f76593ea4cfa7b22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/air/src/context/User/index.js:6 \u00B7 web/default/src/context/User/index.js:6 \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":"web/air/src/context/User/index.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1699b1f708ceed0ab9ee3a68f695d8bb86f7cc7c1f090de98cf76d3d4cfb10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/air/src/pages/Channel/EditChannel.js:182 \u00B7 web/default/src/pages/Channel/EditChannel.js:138 \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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d4eaa7316110826fa84de4a024b62a2637d312933c5bc0de5c0adf630b545c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8 locations): web/berry/src/views/Authentication/AuthForms/AuthLogin.js:241 \u00B7 web/berry/src/views/Authentication/AuthForms/AuthRegister.js:147 \u00B7 web/berry/src/views/Authentication/AuthForms/AuthRegister.js:183 \u00B7 web/berry/src/views/Profile/component/EmailModal.js:141 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 5 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/AuthForms/AuthLogin.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e5215f7b97ebca443ac3e742d2e4c6ef906224830a8086dbd7bdded1106bce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): web/default/src/components/ChannelsTable.js:708 \u00B7 web/default/src/components/LogsTable.js:594 \u00B7 web/default/src/components/RedemptionsTable.js:356 \u00B7 web/default/src/components/TokensTable.js:525 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b829d12d60de28e079465b4bc931be95fef6634b9d2e4b567e1ac5283112a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/default/src/pages/About/index.js:46 \u00B7 web/default/src/pages/Home/index.js:277 \u2014 the 2 copies are spread across 2 files, 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":"web/default/src/pages/About/index.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a678ef41a97e0ef8169ac2ce0e0c2276ec99d03051807184e2d49c06cfd4bcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 12 locations): web/air/src/components/ChannelsTable.js:423 \u00B7 web/air/src/components/RedemptionsTable.js:289 \u00B7 web/air/src/components/TokensTable.js:476 \u00B7 web/air/src/components/UsersTable.js:248 \u00B7 \u002B8 more site(s) not listed \u2014 the 12 copies are spread across 12 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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"93dc3325f581b3b16c8be4341f67d4a4d2bb300dc8d646ea3b149e5e144e3581"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/air/src/components/HeaderBar.js:43 \u00B7 web/default/src/components/Header.js:91 \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":"web/air/src/components/HeaderBar.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"144aba572804c92073c3770b5746aa6759db9910490886603cb13f41b66b20b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/air/src/components/OtherSetting.js:117 \u00B7 web/air/src/components/OtherSetting.js:162 \u00B7 web/air/src/components/OtherSetting.js:173 \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":"web/air/src/components/OtherSetting.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eadc29f05bbceb5a3c1987b409dc770f2db3234cd615f4f9100912b5a403ea3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/air/src/components/PersonalSetting.js:415 \u00B7 web/air/src/components/PersonalSetting.js:432 \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":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"265ee5c1d8fb6cdb3cfa4bac404deef05961864d141b3e7ab9717cc263407322"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/air/src/helpers/render.js:33 \u00B7 web/berry/src/utils/common.js:173 \u00B7 web/default/src/helpers/render.js:40 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/helpers/render.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4088d8ef2a9682265289c96a00785eeeb0b35ee98c8d24f8b1708f372f71a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/air/src/pages/Channel/EditChannel.js:153 \u00B7 web/default/src/pages/Channel/EditChannel.js:109 \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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"671e365dc75efff6ccdc6baa218144627ea6b7106c2f9ffab2b40ccd96b3e5cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/air/src/pages/Channel/EditChannel.js:170 \u00B7 web/default/src/pages/Channel/EditChannel.js:124 \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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"391ac0e8ef4be8b62843e8b9eba51febf802e0856e5825db8ea0e9eabfa13e8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/air/src/pages/User/EditUser.js:9 \u00B7 web/default/src/pages/User/EditUser.js:11 \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":"web/air/src/pages/User/EditUser.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1a56c4d8d3794f25418b5e3994a9a8eee0339a360453ca38e6fce27d088f88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/berry/src/views/Authentication/AuthForms/AuthRegister.js:136 \u00B7 web/berry/src/views/Authentication/AuthForms/ForgetPasswordForm.js:112 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Authentication/AuthForms/AuthRegister.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f7c8e4b4acd43fce7cd82594bb87be9570e43b594306eb586adaff09406c39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): web/berry/src/views/Log/index.js:127 \u00B7 web/berry/src/views/Redemption/index.js:166 \u00B7 web/berry/src/views/Token/index.js:177 \u00B7 web/berry/src/views/User/index.js:168 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Log/index.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b774f8cded9c5145d9684f6cf79eaac6bf38c9de97a639bd30e62880bd043c0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): web/default/src/components/LogsTable.js:408 \u00B7 web/default/src/components/RedemptionsTable.js:195 \u00B7 web/default/src/components/TokensTable.js:314 \u00B7 web/default/src/components/UsersTable.js:185 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/LogsTable.js"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7db546e14a0642c8662a87f0a59b10f1d0e883264f5bfcb18a072fb0ea9113"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/default/src/components/OperationSetting.js:245 \u00B7 web/default/src/components/OperationSetting.js:256 \u00B7 web/default/src/components/OperationSetting.js:267 \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":"web/default/src/components/OperationSetting.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e933b4798cc7050cbdc950880c7069d0ae5b96f427629f60318d881a8a6c32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/default/src/components/PersonalSetting.js:274 \u00B7 web/default/src/components/PersonalSetting.js:352 \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":"web/default/src/components/PersonalSetting.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a96e88db7879679fd37f05a2f52812b6aa9a18caa61047e35a9477415e02263"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/air/src/components/Loading.js:4 \u00B7 web/default/src/components/Loading.js:4 \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":"web/air/src/components/Loading.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e218fb1bf84c28dd598d04b5afbdd6b6b39025d2f0d8e70fa085d5c84e62cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/air/src/components/LoginForm.js:36 \u00B7 web/default/src/components/PersonalSetting.js:50 \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":"web/air/src/components/LoginForm.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab71468581de496de74a04e91844a381e5758ce739866539dde2aa671f3c01a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/air/src/components/LogsTable.js:226 \u00B7 web/air/src/components/MjLogsTable.js:313 \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":"web/air/src/components/LogsTable.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"39de4fed580058ca6c78f0c70e3f2e9f721b44c95adb829b08847637378bd770"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/air/src/components/LogsTable.js:291 \u00B7 web/air/src/components/MjLogsTable.js:368 \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":"web/air/src/components/LogsTable.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b12150d471102c9e525dccfbf692bd03395373b8b32a1e41e6cd42033a63da4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/air/src/components/RedemptionsTable.js:22 \u00B7 web/air/src/components/TokensTable.js:43 \u00B7 web/air/src/components/UsersTable.js:14 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/RedemptionsTable.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6dc66227011e1c9fcb852e0a6d0b2c2a59c15d65dc1a239d965de62849ecf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/air/src/components/RegisterForm.js:82 \u00B7 web/default/src/components/PersonalSetting.js:153 \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":"web/air/src/components/RegisterForm.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"240e705cf0450888e79354d00cb36bd93c4c798c7e4b6a81b8a18229b1352172"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/air/src/pages/Channel/EditChannel.js:229 \u00B7 web/berry/src/views/Channel/component/EditModal.js:155 \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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"292a43b56ee23fbf7eddf0459ebb9ed3f9ae2e79ceba616760d2401b9fc2844e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/berry/src/hooks/useRegister.js:28 \u00B7 web/berry/src/views/Profile/index.js:77 \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":"web/berry/src/hooks/useRegister.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"572e063aabee6f5d955cf8ff1c6bd0fa429114fc17a7b7b899c8171b798c69dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/berry/src/views/Dashboard/index.js:34 \u00B7 web/berry/src/views/Profile/index.js:62 \u00B7 web/berry/src/views/Token/component/EditModal.js:103 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Dashboard/index.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"511a1a48ff9a11eabd7df38240e3495aacb9a0f61550aff2fc21c5b0d9077687"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/default/src/pages/About/index.js:31 \u00B7 web/default/src/pages/Home/index.js:57 \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":"web/default/src/pages/About/index.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2fbbf1df63cd2409b2119f81bb6b816592db02d01b6ee2a8d73351b62de0fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/air/src/components/LogsTable.js:19 \u00B7 web/air/src/components/MjLogsTable.js:10 \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":"web/air/src/components/LogsTable.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a95918f31262d920f6c35582154dc6b5b8135c300701261efb5f1de948b435"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/air/src/components/PersonalSetting.js:257 \u00B7 web/berry/src/views/Profile/component/EmailModal.js:38 \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":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"278eb812f8f3eb9cd9fda7973ea84924709111efcc313ee13f660b9c3caeaa57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/air/src/helpers/api.js:4 \u00B7 web/default/src/helpers/api.js:4 \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":"web/air/src/helpers/api.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e5bd28762dc9def2c12ae63ee1bce4d94c536a36ed7a3fb7813ee5cb459a9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/air/src/helpers/render.js:4 \u00B7 web/default/src/helpers/render.js:5 \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":"web/air/src/helpers/render.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda02924a6fdc519ffd92d14466be475778dd5d7c7836405808ad7309d164cb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/air/src/helpers/render.js:85 \u00B7 web/berry/src/utils/common.js:145 \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":"web/air/src/helpers/render.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd31282284692f5469117554ae085f89293a639fbff3c2483617483fd0c872c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/air/src/pages/About/index.js:47 \u00B7 web/air/src/pages/Home/index.js:120 \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":"web/air/src/pages/About/index.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f812f44cdd74d6d625399e98af40f5820e5ebb8a527e37a090ba914fe2ba559"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/air/src/pages/Channel/EditChannel.js:52 \u00B7 web/default/src/pages/Channel/EditChannel.js:52 \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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4b2273be61fe760a27b51383b29c9e8b3e1b24f28a9bd334d57176793e5513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/air/src/pages/User/EditUser.js:24 \u00B7 web/default/src/pages/User/EditUser.js:34 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/User/EditUser.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae61273696ba919436247a6581a259ecb755b019ffb5d019ddf033ee4269c24f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/berry/src/views/Profile/component/EmailModal.js:37 \u00B7 web/default/src/components/PersonalSetting.js:172 \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":"web/berry/src/views/Profile/component/EmailModal.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1107f5ddda95e14a58fadfb0d3cd8d0e7212efc671a9a838d7c6ae1cb4331f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/berry/src/views/Setting/component/OtherSetting.js:67 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:119 \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":"web/berry/src/views/Setting/component/OtherSetting.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3884d7e7ab124dfee9dd3be40aab5f11c563512555c638bfbba6098b7dde4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/default/src/components/Header.js:192 \u00B7 web/default/src/components/Header.js:271 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/Header.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"411e8c88cc876caa65fc77b9bb60b4a6910ae3c2d6da19c8a26575eed8a45347"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/air/src/components/LoginForm.js:58 \u00B7 web/default/src/components/LoginForm.js:54 \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":"web/air/src/components/LoginForm.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"261e01a064802afd8a326268f520f08425eecf93cce7740ce39693a9f40dfb8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/air/src/components/MjLogsTable.js:426 \u00B7 web/air/src/components/UsersTable.js:344 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/MjLogsTable.js"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a396d50f734a2e4941b06068426aaae96c7b248dcd7ee5ee6671bde42d4339b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/berry/src/ui-component/cards/Skeleton/PopularCard.js:10 \u00B7 web/berry/src/ui-component/cards/Skeleton/TotalGrowthBarChart.js:10 \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":"web/berry/src/ui-component/cards/Skeleton/PopularCard.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4622d11d4c3895c86dfe4d662b26102617a3c008635f4c4733c8ab59b5d211c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/berry/src/views/Setting/component/SystemSetting.js:514 \u00B7 web/berry/src/views/Setting/component/SystemSetting.js:569 \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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5d5c9f35f27b02c6b0d79a8b147ed234b566e1a0ac32803fca6448cac064d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/default/src/components/ChannelsTable.js:80 \u00B7 web/default/src/components/RedemptionsTable.js:58 \u00B7 web/default/src/components/UsersTable.js:38 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fbfdb380fdd561f722b99f5add40c307023beeb4a09c484ea865532b351711"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/air/src/components/ChannelsTable.js:33 \u00B7 web/default/src/components/ChannelsTable.js:25 \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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d749697495e2326be87dcf9259a4664ea9505c8bda2a03aa5c25084e17c8deaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/air/src/components/UsersTable.js:164 \u00B7 web/default/src/components/TokensTable.js:89 \u00B7 web/default/src/components/UsersTable.js:45 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/UsersTable.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc054eadb1ce552f3f3f55f7c5cedac42bda7bf6b225cb86dcdcf28fa2717f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/berry/src/views/Channel/component/EditModal.js:35 \u00B7 web/berry/src/views/Token/component/EditModal.js:35 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"49822c6e9d1f22d2ba6132686cdba6a1e1f2215311f0b850d007aa11452e91b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/berry/src/views/Channel/component/EditModal.js:223 \u00B7 web/default/src/pages/Channel/EditChannel.js:83 \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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ceca6b6c42eac822b45a55cdd8b84d82674d82cbe775a239f806a62133a5db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): web/berry/src/views/Profile/component/EmailModal.js:111 \u00B7 web/berry/src/views/Redemption/component/EditModal.js:104 \u00B7 web/berry/src/views/Token/component/EditModal.js:140 \u00B7 web/berry/src/views/User/component/EditModal.js:135 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Profile/component/EmailModal.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cee1c9426ed0fc67ea9995261e06702338cf9494bf179efb72f2bf423c28a4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/default/src/components/RedemptionsTable.js:265 \u00B7 web/default/src/components/TokensTable.js:400 \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":"web/default/src/components/RedemptionsTable.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb0e9e3e99d1c499a6813c5f27ffb530d90caeaa364486af1f50aaf5d1f6e67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/air/src/components/MjLogsTable.js:414 \u00B7 web/air/src/pages/Detail/index.js:314 \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":"web/air/src/components/MjLogsTable.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"e236df2434e0b603e0fbda60cd12c48e5282df16dfee0616f891c79a55cfe29f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/air/src/pages/Token/EditToken.js:246 \u00B7 web/air/src/pages/Token/EditToken.js:252 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Token/EditToken.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"848eb37efc46f0b6b69ad6ef491f6d3ccf718213bc73624b1d99ef9d185c0ebf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): web/air/src/pages/TopUp/index.js:14 \u00B7 web/berry/src/views/Authentication/AuthForms/ForgetPasswordForm.js:35 \u00B7 web/default/src/components/LogsTable.js:136 \u00B7 web/default/src/components/PasswordResetForm.js:22 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/TopUp/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d9d4c5b6b53b2a8bb26df6d697cea92cc51da953b0d95b072b7164134d46df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/berry/src/utils/route-guard/AuthGuard.js:6 \u00B7 web/berry/src/views/Authentication/AuthWrapper.js:12 \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":"web/berry/src/utils/route-guard/AuthGuard.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8416dcc2c7f8656b17d849a6bb993b96ac197764ee2430fa56d9a4ffc67148"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/berry/src/views/Channel/component/EditModal.js:264 \u00B7 web/berry/src/views/Redemption/component/EditModal.js:92 \u00B7 web/berry/src/views/User/component/EditModal.js:123 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"96239054508c61f632d7455484c33e90e27319c6df99cd0141ab627fe8a99dd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/berry/src/views/Channel/component/EditModal.js:287 \u00B7 web/berry/src/views/Channel/component/EditModal.js:328 \u00B7 web/berry/src/views/Channel/component/EditModal.js:350 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ce079453e425eeda93e7bc2d6a18cb1213edc1ce8ee22f246259bff66b36c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/berry/src/views/Dashboard/index.js:89 \u00B7 web/berry/src/views/Dashboard/index.js:95 \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":"web/berry/src/views/Dashboard/index.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9184db42d48c60c80d890bd1cc9e1296d5b1e521a27d406a2d031ff4b7d77883"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/default/src/components/TokensTable.js:70 \u00B7 web/default/src/components/TokensTable.js:77 \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":"web/default/src/components/TokensTable.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2324cc73f17301d4e10cbbefcece0953ddc859074e9394952c81fb073bd9c7c8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/air/src/components/LoginForm.js:8 imports @douyinfe/semi-ui/lib/es/typography/title, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/LoginForm.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc84f7d9c7aff79b9f3bf6f7bd980613a211043e29d62c5ac6f22989d01bca1c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/air/src/components/LoginForm.js:9 imports @douyinfe/semi-ui/lib/es/typography/text, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/LoginForm.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ac93389f30a1b4dbe61f71e6616ad817373715859c7f3f7ac1fb56bf317474"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/air/src/components/LogsTable.js:7 imports @douyinfe/semi-ui/lib/es/typography/paragraph, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/LogsTable.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"61acaf465ef134cb05f64f24268ea3eb31d9754a4ce97dbf4439b32e3601a8bc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/air/src/pages/Channel/EditChannel.js:5 imports @douyinfe/semi-ui/lib/es/typography/title, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a31da7d8e9169f29425a599474fa3303207ae29fbe110d49d6f91ee4a4865ff"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/air/src/pages/Redemption/EditRedemption.js:6 imports @douyinfe/semi-ui/lib/es/typography/title, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Redemption/EditRedemption.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceef1020c3546f154e5645d1d1040ccacc8df5886c218691895179ac4687965f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/air/src/pages/Token/EditToken.js:18 imports @douyinfe/semi-ui/lib/es/typography/title, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Token/EditToken.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a12d528bb7e77a2de6ef9bdd8b0f8dd0d570f497a46fa2304e0a255a3c4abd1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/air/src/pages/TopUp/index.js:5 imports @douyinfe/semi-ui/lib/es/typography/title, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/TopUp/index.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99c0beb2b8f9b237a61bc912dccc3a4d41a1644dcc3268777c71b195fc46f2c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/air/src/pages/TopUp/index.js:6 imports @douyinfe/semi-ui/lib/es/typography/text, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/TopUp/index.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff86620e974c642590c0ba388da345a14a2f1673e5753e329b312f114bfe0768"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/air/src/pages/User/AddUser.js:3 imports @douyinfe/semi-ui/lib/es/typography/title, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/User/AddUser.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88be1ce73166a8e729bbd617c6a6c41e1cbd22c724007b8358afb2a3c289c77"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/air/src/pages/User/EditUser.js:5 imports @douyinfe/semi-ui/lib/es/typography/title, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/User/EditUser.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb127a612492e1a0a2470a4e850486033165ca6584f8f4cdd631efe0a18555b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 28): (anonymous) has cyclomatic complexity 29 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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2923d06dc94abe0d38911bb1eb6dcec9eb50f1d41e56d11b55cca00f8a200c8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditChannel (cyclomatic 29, cognitive 22): EditChannel has cyclomatic complexity 29 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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7cd448b0cb8f18a2261883d58ed1924f4e24445efd842b74694ea5244fe2f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Breadcrumbs (cyclomatic 28, cognitive 42): Breadcrumbs has cyclomatic complexity 28 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/ui-component/extended/Breadcrumbs.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b29d1522f3827393067f37c4af45061e8fd4c4c045632d1e7fd68eaf0a4e36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Profile (cyclomatic 26, cognitive 21): Profile has cyclomatic complexity 26 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":"web/berry/src/views/Profile/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e763fd27824830971712b6d90466f3c9caf6bba8863cc79d1285c2fb3c03de0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SystemSetting (cyclomatic 24, cognitive 23): SystemSetting has cyclomatic complexity 24 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 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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d62b3cfe524fe82414fc7712f43484bdcc44ccf1b4b79726c39ffa4d3bd72e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 23, cognitive 25): submit has cyclomatic complexity 23 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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"23755e2d22c497deadc147fafe584a800a7a051b47dbe92410b8b86d2bed6886"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 17): (anonymous) has cyclomatic complexity 23 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":"web/berry/src/views/Authentication/AuthForms/AuthRegister.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9658b61b934ffafd303cdbb68cee183f4e80fbb86bc1ca8742a812c111f2ef24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitConfig (cyclomatic 21, cognitive 36): submitConfig has cyclomatic complexity 21 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":"web/air/src/components/OperationSetting.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a8512151301b192d9444d55f6e78f3093b92cfc6defa8d1d1b2aaa787cde18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitConfig (cyclomatic 21, cognitive 36): submitConfig has cyclomatic complexity 21 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":"web/berry/src/views/Setting/component/OperationSetting.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2107bab8e7abd8f9392d0668acddd9a38a51f15b49eb088d46b4fa7030d3a0a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitConfig (cyclomatic 21, cognitive 36): submitConfig has cyclomatic complexity 21 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":"web/default/src/components/OperationSetting.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b427a808f940b03578a7a3c98d669d927690aa3202eca0a125cd3dc65503743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 13): (anonymous) has cyclomatic complexity 19 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":"web/berry/src/views/User/component/EditModal.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff709c9819657bb9d52be54cd45d82f863da9fe5d5ea2471fdf2f16bdaa41bb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 18, cognitive 21): submit has cyclomatic complexity 18 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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"464b85269975e139c4093bb528907dc03f0a192e826dfcbd0e1baade89d88ba7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 17, cognitive 19): submit 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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89e0358068d6cc6e0e90bb3fe3067f54e6d69dc8e04081e5299b2442074a1bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LoginForm (cyclomatic 14, cognitive 11): LoginForm 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":"web/berry/src/views/Authentication/AuthForms/AuthLogin.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc808b4cb41f826896c0e60483cf779dd8f5c0715965ed427e335176e181150"}},{"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":"web/berry/src/views/Token/component/EditModal.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaa53add93a5001c01db489abce6e6f60f339cbd8662d4961776d18c1c264be"}},{"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":"web/berry/src/ui-component/extended/AnimateButton.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc302d7d5815495a094f75bdbf874d1b9beab206641f48c3e5b90006ec5cd03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitOidc (cyclomatic 12, cognitive 13): submitOidc has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f167869bd1680e8b1454cccfefa0b18bcd393b738ec29873e271443663ba0e"}},{"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":"web/default/src/components/LogsTable.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee58eaccaf85e7e8c87892e062aa6021d0d81227907c2b27db3ec2d3e8031b6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 11, cognitive 28): submit has cyclomatic complexity 11 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":"web/air/src/pages/Token/EditToken.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5046a55ac81d3149b01329df4d67fe7ca7a9b9ce00eed7b39cbf96a39cf8aa96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Header (cyclomatic 11, cognitive 16): Header 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":"web/default/src/components/Header.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecd67f6f2ff75498c4d6bfaedef7b274bb731b926f29b08e1383c0978cda41f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) 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":"web/berry/src/contexts/StatusContext.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"31078825bd298b60c5f6a9afc48e46e8d0a5339cc4f3e597102e59e5a52c34d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadStatus (cyclomatic 11, cognitive 13): loadStatus 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":"web/default/src/App.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cfc51765e32042be51eaf44b422f3756146042534a56fcc8b20a2a5c0d778b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function manageChannel (cyclomatic 11, cognitive 12): manageChannel 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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e1184e68206dfd167b09c0944c7b0fec1bf4d5a853db75c573fc2ecd22762b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function manageChannel (cyclomatic 11, cognitive 12): manageChannel 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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"435ab0102ec6873f2114388e64c2f3757ba6455c13c2452ecc2320c5d0bc06a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NavCollapse (cyclomatic 11, cognitive 10): NavCollapse 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":"web/berry/src/layout/MainLayout/Sidebar/MenuList/NavCollapse/index.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a8aa67b172dd50bca0049d4fa9857ba675a929cb5d831f9f205b45588df119"}},{"ruleId":"R3","level":"warning","message":{"text":"web/berry/src/views/Setting/component/SystemSetting.js: 889 lines of code: web/berry/src/views/Setting/component/SystemSetting.js has 889 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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5171b40d7bb2023665c4608f07dbbbba7c1ae964de645077237fc9f42e62e139"}},{"ruleId":"R3","level":"warning","message":{"text":"web/default/src/components/ChannelsTable.js: 705 lines of code: web/default/src/components/ChannelsTable.js has 705 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":"web/default/src/components/ChannelsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de8693f991c0256338554c27bfcc9d79a1d9071d14d1b59d5093cd366a063ac"}},{"ruleId":"R3","level":"warning","message":{"text":"web/air/src/components/ChannelsTable.js: 703 lines of code: web/air/src/components/ChannelsTable.js has 703 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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca5682a8d6ff1cb3842dbcc41b5e29cd55a263e98951fed52fbdd5deca894c5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/default/src/pages/Channel/EditChannel.js: 681 lines of code: web/default/src/pages/Channel/EditChannel.js has 681 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":"web/default/src/pages/Channel/EditChannel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"300ae162d34a72c8b0ed3c22ec541404d2ea701ed15d13b92e73c2ead3acfa31"}},{"ruleId":"R3","level":"warning","message":{"text":"web/default/src/components/SystemSetting.js: 641 lines of code: web/default/src/components/SystemSetting.js has 641 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":"web/default/src/components/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be20d865718ff8f57f2184b47c29261b89eada57573ec33e20d6fdf7832fc0d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/air/src/pages/Channel/EditChannel.js: 625 lines of code: web/air/src/pages/Channel/EditChannel.js has 625 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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1f2a708663524755fc0ce9e641a3bcf229c4dcbe29d40a1d77d7465f82a47c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/air/src/components/PersonalSetting.js: 624 lines of code: web/air/src/components/PersonalSetting.js has 624 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":"web/air/src/components/PersonalSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06c1556f815a8eace54fb9ba327e3ec7460207eb5ab42b105ce6fef79a1148a"}},{"ruleId":"R3","level":"warning","message":{"text":"web/berry/src/views/Channel/component/EditModal.js: 611 lines of code: web/berry/src/views/Channel/component/EditModal.js has 611 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":"web/berry/src/views/Channel/component/EditModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"077a589a4bbf49f0b096d75c6184803b1abf8ad7eb55c4b89303cad04bca73f1"}},{"ruleId":"R3","level":"warning","message":{"text":"web/air/src/components/TokensTable.js: 596 lines of code: web/air/src/components/TokensTable.js has 596 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/TokensTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8924150741f1847d22ef3e2b237d33be4bea6ba49659df0612ba575b157e597"}},{"ruleId":"R3","level":"warning","message":{"text":"web/default/src/components/LogsTable.js: 586 lines of code: web/default/src/components/LogsTable.js has 586 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":"web/default/src/components/LogsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dc88144ca7cfb06bd937e027c0586dcfbec20ca02848336c3a3ec7782e1de0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/air/src/components/SystemSetting.js: 573 lines of code: web/air/src/components/SystemSetting.js has 573 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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ceeca1345d85959b77a98a9662eb29fe1c3e6f6f999d36ab6c13df56089b1e"}},{"ruleId":"R3","level":"warning","message":{"text":"web/berry/src/views/Setting/component/OperationSetting.js: 542 lines of code: web/berry/src/views/Setting/component/OperationSetting.js has 542 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":"web/berry/src/views/Setting/component/OperationSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada9984d88793b48e7933ab2a89f58a995587760d80d43725dc2ac2debcc5413"}},{"ruleId":"R3","level":"warning","message":{"text":"web/default/src/components/TokensTable.js: 511 lines of code: web/default/src/components/TokensTable.js has 511 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":"web/default/src/components/TokensTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d712fb3d7c9679a1032a84550990d43f472c3ac0bac6a58db8cbfa74e157927"}},{"ruleId":"R3","level":"warning","message":{"text":"web/default/src/components/OperationSetting.js: 435 lines of code: web/default/src/components/OperationSetting.js has 435 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":"web/default/src/components/OperationSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39c9739f92126b919897566a05fd8f5bee997cf4ad03d24244a654e3640eb41"}},{"ruleId":"R3","level":"warning","message":{"text":"web/default/src/pages/Dashboard/index.js: 429 lines of code: web/default/src/pages/Dashboard/index.js has 429 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":"web/default/src/pages/Dashboard/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65efe6c5cc9c32fa2a231e5fc37e574140bb539b7bb4b9d7109c32aef83eea5c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/air/src/components/MjLogsTable.js: 416 lines of code: web/air/src/components/MjLogsTable.js has 416 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":"web/air/src/components/MjLogsTable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"036ffd01d6f99abf60a1087a3aa1e1ad9ba3b00eddad29484ed44fefc9db1a4d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/default/src/components/PersonalSetting.js: 402 lines of code: web/default/src/components/PersonalSetting.js has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/PersonalSetting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5beb8e660633cf51a079427b9b4b779fad5aea1c1d3df9cacf9271a08cc307"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 231 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":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~278 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/berry/src/constants/index.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/constants/ChannelConstants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f044644bd8a8a9566cb227160283895d11f2c249e8e5b342351187eca7723ca1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~155 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/ui-component/cards/Skeleton/PopularCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2a8d4d675f7545c43c3215e211d12a6ac57a46efe061ca090d89e08167422a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~99 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/views/Dashboard/component/StatisticalCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22837fdbc3563bd1d8577df3668beb198be24606cd72d74b0782cce745ec0dd2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~72 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/berry/src/ui-component/cards/CardSecondaryAction.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/ui-component/extended/Avatar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73b85977a49c4a5a3ed5b62af457e29c63320b75deebf51cfc4bfede0d9c8cd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~59 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/berry/src/constants/index.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/constants/SnackbarConstants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb95bc77d5e6b6d2455ba373f26d422621071ee727e8ae50e455113c22da45e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~55 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/ui-component/cards/CardSecondaryAction.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b08ca6d37da8c580ef2c1cc07da9713370b3a54a15435cccfedf4ce6cee48ff"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~44 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/ui-component/cards/Skeleton/ProductPlaceholder.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9387e22bc052b8eaf501a7bc2e9338aebcb8ea2aacc625fdc39fd155c47c90"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~39 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/layout/NavMotion.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5664188f5e450003ee49dbc306e72a6f4c606048907d8faa95158fc5ed6dbea"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/berry/src/views/Dashboard/component/StatisticalCard.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/ui-component/cards/Skeleton/TotalIncomeCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aea8092d7aa3cf9074d855795202984fa34400067153b3701fa64705a13a07"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~18 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/hooks/useScriptRef.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc812e0bf8bc5324d3144421fb0ddd8bee0e0bf759a788526bbb0368005f6c72"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~13 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/hooks/useAuth.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8f9ccef49ef2060e95a027a15754dc08dfcdca20bc3d7d18bc23954d9fb995"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~8 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/ui-component/cards/Skeleton/ImagePlaceholder.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"317ca9c832f43729db8532f365f4254e4b10c834ac55230071d9d8dc71c51e5c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/constants/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"286bc29521c2fb7a2e43e2928ddd448a145b1a72f89086cabf64fbc34c0790b8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/berry/src/constants/index.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/constants/CommonConstants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d83c0dff5cc87513cd19b6607d4f986cfc9fe92f0c9b2b407c88f3ece7caef7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027userConstants\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/air/src/constants/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/air/src/constants/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/constants/user.constants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1af145910655eaf0ea8183adfcb77e8be7ba2128ad5f8648aaeb5c0c14dda8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027authHeader\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/air/src/helpers/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/air/src/helpers/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/helpers/auth-header.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ec67a7d9766d0df6cb1b619196d2704a659da680e104deba6b6b48d073ba3f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027renderText\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/helpers/render.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"500265ad17ac83f2f3cbdea0fadcb18f9292ce8cb80d0680ae6d4d4ba4a3077d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/air/src/helpers/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/air/src/helpers/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/helpers/utils.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e74ba065885322c986369241e7e921a618d58bec05540d534f843446f82093"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027showWarning\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/air/src/helpers/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/air/src/helpers/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/helpers/utils.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0b66a35f1144cea5273f6d015fbb6c124c360d775e29a10c8c80a0caa26aa0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027openPage\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/air/src/helpers/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/air/src/helpers/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/helpers/utils.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"861491d0fb197f9ff0576e61a9299aa4c542fad03efc5db2177fbbd5ce6b8e08"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027setPromptShown\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/air/src/helpers/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/air/src/helpers/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/helpers/utils.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bb21e0a5ba93473d5103de8f4d0a813cbff7d02ba1284af1fb4b48c9222353"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027unregister\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/serviceWorker.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"436db98ac8c6d84aa5058e9d1fdc4f1ee6a3a55ae7c62864bdb6115f8dc45fdf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027initialState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/store/accountReducer.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d861829a6b92dd37410a0bf01b9c8ff87e7d926c1f551940496401bdc56fe7f6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MENU_TOGGLE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/store/actions.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc98dc4d9a473c96eed6ef7ec2b3caa4a7dcb8b291ca84171c0a4f063ccb17e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027appDrawerWidth\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/store/constant.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"157b69329d8d5b44c67a86ef98411e220cd3f67e1385b7d7833746566e96b0ad"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027initialState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/store/customizationReducer.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"906c2545c83670f7df2a2f9db0f382537c32da212bbd35ca3377e15adc40b476"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027initialState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/store/siteInfoReducer.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeef4d6b71f90d4a516ab1e38c132f33b7fbc984ef9b01cbfa9c761d019b2fd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getTodayDay\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/utils/chart.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc33ec6d15f9536f65784e35515d03a48a1f20bfd56333ab0b53c0b83e0ba6a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getSystemName\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/utils/common.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be1cb9269f80a391de5780079a55ee8bb1cad45b9d5cf427ee2a9d3424d3098"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027showWarning\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/utils/common.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b3311e50074dc719fcf3b70842db0de556982c6ead025bbbb797c78ec45375"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027userConstants\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/default/src/constants/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/default/src/constants/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/constants/user.constants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8aa4c905f102a8fba2879d445363d6234daba6d1901ac473c153216578a0d6b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027authHeader\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/default/src/helpers/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/default/src/helpers/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/helpers/auth-header.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf4cf03193135c36c118121393fcabe84b1bc26a95939ee446ffcba43c4fae5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/default/src/helpers/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/default/src/helpers/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/helpers/utils.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8c9471fb792130ce7b5c7e98ca9e825d5f1610ddeced49f2fc31b769aebfae"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027openPage\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/default/src/helpers/index.js, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/default/src/helpers/index.js in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/helpers/utils.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2befbb1c8276aec2c8cc30891bae0c91e86e2f4f928e9d8332b41b5e24ca59e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/i18n.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"423d11ac6eafcd83e91ae9c0c0e4198d88d000d38e4f45b5aaa471e25d796604"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027renderTimestamp\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a135215804bb3962c9589630a3cffd56ef4ff5f77e95c4011d68ce497d1b2fe"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027showWarningOptions\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/helpers/utils.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99cc88eb7daa2a7aee32a3f0d2ad0502900068ddf0ff2391da3434b1939231d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027MODE_OPTIONS\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/components/LogsTable.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"547acccf52d5856a888cab6cda12dd78ccbe5dfd90fc9f7bd79506a80b33d68d"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027assets\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/index.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00a5bed6c7096a7277b5ed36cd7a2c9e9e6a36949f382467d82e339fa194d0f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@visactor/react-vchart\u0027: Declared in web/air/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d7a3a7b658eb92234b6179cc76274c7101956670630b93ed442327b8484bedd2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027react-dropzone\u0027: Declared in web/air/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4599cdce717f443c24912453a3e45da6f4b51424cd343f7e20e112cd7f5a3872"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027usehooks-ts\u0027: Declared in web/air/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"13eaeabc09a15a5d6ffca1dbc367a4c88c7483176b3a5d058785ab26ca9d2a61"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@emotion/cache\u0027: Declared in web/berry/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3ef7b7391b8e8f28edbebf94df12d44ae1770f26bcf2dc419bc01c3b48d1188d"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@emotion/react\u0027: Declared in web/berry/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"625cc07fc773eb0a9d14198ddea468d8731eb03ff5ff82fe0b8dbe0eed9f8cf4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@emotion/styled\u0027: Declared in web/berry/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c63b0f8b756feda97d913fcc6be26f8f783e759d81339ec350acf3ef0c0e7d45"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@mui/lab\u0027: Declared in web/berry/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aeabf834f137c301d19159c1647370bf98054ed564e71fe97d791545640aef35"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@mui/system\u0027: Declared in web/berry/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b58c2f379ba4c6898a20b82153561185b752ff5582d1c8f405d7ade202bf0434"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@mui/utils\u0027: Declared in web/berry/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7568464c220302916fd3d2c6137f729140ba3b893e59c19cd43d34ff0eb3bf90"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027apexcharts\u0027: Declared in web/berry/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ff5ab9dd57ad600867077d23b085e67508e57e660e7ff67317a79eeacedebbe6"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027history\u0027: Declared in web/berry/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5115a85c5376b1ddaf2c356e8c5888358da49089a3ced1ee90b6cb25896d4b9b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027immutable\u0027: Declared in web/berry/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"26e572a378bd48d92267eb7cd4452be7e86fcbf32b972147c1d8c0a282f70a7f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027material-ui-popup-state\u0027: Declared in web/berry/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1996de067d91e1c3b09bb1f75d76744be3985c664b1ba0d447471df3a7364a4a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027moment\u0027: Declared in web/default/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"94723b62a9fd1d95fd5f51da569e50b3b275ca194e815074c5e8ab1708048783"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027react-dropzone\u0027: Declared in web/default/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"85a17c5dc721b7b550e2839d7c2ef69ed6733ae09f015743feb4135dd96f953d"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): web/berry/src/utils/api.js \u2192 web/berry/src/utils/common.js \u2192 web/berry/src/utils/api.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/src/utils/api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d9f3744789d48e396ab59dd61e9500ca1c7d71408a79e62e281d55c4326f26"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): web/default/src/helpers/api.js \u2192 web/default/src/helpers/utils.js \u2192 web/default/src/helpers/api.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/helpers/api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f014f833f2704d944ba2be7c1787cf445199bf69c4d03d40a0dbf3c28087cf54"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060vercel.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/vercel.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ad45f2cabb8e89b0c7437c44d64dc70992369ec8e84b2846be3b6282fa45e9"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: web/air/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/package.json"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7aa3ecee02562779beacc82fb6b99fb5f13aabe24f8c617a80d1d1111ae8a4"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: web/berry/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/berry/package.json"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4004bc62fdfe74beb6a55ffcca2bd9d29f206a55fb27ba3096ccdaf4714aad"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: web/default/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/package.json"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"31091a06ecb9c18b12a8a53d0a466cc51a9c4d0e9fcc74f2237ca0c97e6d184c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(data) \u003C 5 || !strings.HasPrefix(data, \u0022data:\u0022)\u0060 appears character-identically in 2 files \u2014 relay/adaptor/coze/main.go, relay/adaptor/tencent/main.go. 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":"relay/adaptor/coze/main.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6e7b81d0d58483163ba96baabdfb7de0817cced26d8358b8859bc57a2a40da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state == \u0022\u0022 || session.Get(\u0022oauth_state\u0022) == nil || state != session.Get(\u0022oauth_state\u0022).(string)\u0060 appears character-identically in 3 files \u2014 controller/auth/github.go, controller/auth/lark.go, controller/auth/oidc.go. 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":"controller/auth/github.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"886961a01022364dbb7515892fed426f2503d43eab7600bde5927e81ab8cbc78"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isEdit \u0026\u0026 (inputs.name === \u0027\u0027 || inputs.key === \u0027\u0027)\u0060 appears character-identically in 2 files \u2014 web/air/src/pages/Channel/EditChannel.js, web/default/src/pages/Channel/EditChannel.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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dcd25f458157ebd48276daf52084e4a04a1dde6550df356b6aec984011ded1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060homePageContentLoaded \u0026\u0026 homePageContent === \u0027\u0027\u0060 appears character-identically in 3 files \u2014 web/air/src/pages/Home/index.js, web/berry/src/views/Home/index.js, web/default/src/pages/Home/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Home/index.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4390cfc026216da4a26e2e2d9ef858b4d560854123912367ef3e8f64511048f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputs.model_mapping !== \u0027\u0027 \u0026\u0026 !verifyJSON(inputs.model_mapping)\u0060 appears character-identically in 2 files \u2014 web/air/src/pages/Channel/EditChannel.js, web/default/src/pages/Channel/EditChannel.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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb9212c44790c86f5dfe21ef1b1c069f1a7bd5d98913c90cbbe3bb0508b4e28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputs.username === \u0027\u0027 || inputs.password === \u0027\u0027\u0060 appears character-identically in 2 files \u2014 web/air/src/pages/User/AddUser.js, web/default/src/pages/User/AddUser.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":"web/air/src/pages/User/AddUser.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d96ce81d8fee456f9f7f826466e5daf20ff39783f50e0005468dc08118ad84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.key === \u0027ModelRatio\u0027 || item.key === \u0027GroupRatio\u0027 || item.key === \u0027CompletionRatio\u0027\u0060 appears character-identically in 2 files \u2014 web/air/src/components/OperationSetting.js, web/default/src/components/OperationSetting.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":"web/air/src/components/OperationSetting.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4d09738b38a718c965aeb8e0b7dc9bd7fd9c484c424830836946509ab99ac8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localInputs.base_url \u0026\u0026 localInputs.base_url.endsWith(\u0027/\u0027)\u0060 appears character-identically in 2 files \u2014 web/air/src/pages/Channel/EditChannel.js, web/default/src/pages/Channel/EditChannel.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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e508b4db3a6f84539eacef5f4c41ae74babc617b40862383249073f62a3fbaa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localInputs.type === 3 \u0026\u0026 localInputs.other === \u0027\u0027\u0060 appears character-identically in 2 files \u2014 web/air/src/pages/Channel/EditChannel.js, web/default/src/pages/Channel/EditChannel.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":"web/air/src/pages/Channel/EditChannel.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"05017fbdf81371633d095b4c5439a4e6a7ebb98d0bcc9916f81dd1e86f6d3b25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localStorage.getItem(\u0027home_page_content\u0027) || \u0027\u0027\u0060 appears character-identically in 3 files \u2014 web/air/src/pages/Home/index.js, web/berry/src/views/Home/index.js, web/default/src/pages/Home/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/air/src/pages/Home/index.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e4934a97c841f807bce40ef55e83db6ac0ded751f570c8b4da85fe77be390f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name === \u0027PasswordLoginEnabled\u0027 \u0026\u0026 inputs[name] === \u0027true\u0027\u0060 appears character-identically in 3 files \u2014 web/air/src/components/SystemSetting.js, web/berry/src/views/Setting/component/SystemSetting.js, web/default/src/components/SystemSetting.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3c4ddda5539ab1e57e98a3b9ba7132197b2d7cbdd682b53f20df6def45d008"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originInputs[\u0027EmailDomainWhitelist\u0027] !== inputs.EmailDomainWhitelist.join(\u0027,\u0027) \u0026\u0026 inputs.SMTPToken !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 web/air/src/components/SystemSetting.js, web/default/src/components/SystemSetting.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2e714b327b12d132af6d85d84ef1581bbe27a849e4f124367998ad96382dcc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originInputs[\u0027GitHubClientSecret\u0027] !== inputs.GitHubClientSecret \u0026\u0026 inputs.GitHubClientSecret !== \u0027\u0027\u0060 appears character-identically in 3 files \u2014 web/air/src/components/SystemSetting.js, web/berry/src/views/Setting/component/SystemSetting.js, web/default/src/components/SystemSetting.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d80e4ce557b9c769bfe99860b042903aec4bb8d6b9e3202c55c27337902d37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originInputs[\u0027LarkClientSecret\u0027] !== inputs.LarkClientSecret \u0026\u0026 inputs.LarkClientSecret !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 web/berry/src/views/Setting/component/SystemSetting.js, web/default/src/components/SystemSetting.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":"web/berry/src/views/Setting/component/SystemSetting.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ea425730ef6742776d68ce94895423bcb6cbb2ad69503b4e1ab2b5884d71e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originInputs[\u0027MessagePusherToken\u0027] !== inputs.MessagePusherToken \u0026\u0026 inputs.MessagePusherToken !== \u0027\u0027\u0060 appears character-identically in 3 files \u2014 web/air/src/components/SystemSetting.js, web/berry/src/views/Setting/component/SystemSetting.js, web/default/src/components/SystemSetting.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8f553e80d8c9772244f38be1f7386904ea3c7743fb05afe061e7145eeec6dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originInputs[\u0027SMTPPort\u0027] !== inputs.SMTPPort \u0026\u0026 inputs.SMTPPort !== \u0027\u0027\u0060 appears character-identically in 3 files \u2014 web/air/src/components/SystemSetting.js, web/berry/src/views/Setting/component/SystemSetting.js, web/default/src/components/SystemSetting.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8826de6eff18160faedb1bc42c483368654dfd8741b12e94af8ae2e235c9f4c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originInputs[\u0027SMTPToken\u0027] !== inputs.SMTPToken \u0026\u0026 inputs.SMTPToken !== \u0027\u0027\u0060 appears character-identically in 3 files \u2014 web/air/src/components/SystemSetting.js, web/berry/src/views/Setting/component/SystemSetting.js, web/default/src/components/SystemSetting.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"069871b79fcfe0d4e200159038493a0567a8029f3a5b4672a7a8545820234ddf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originInputs[\u0027TurnstileSecretKey\u0027] !== inputs.TurnstileSecretKey \u0026\u0026 inputs.TurnstileSecretKey !== \u0027\u0027\u0060 appears character-identically in 3 files \u2014 web/air/src/components/SystemSetting.js, web/berry/src/views/Setting/component/SystemSetting.js, web/default/src/components/SystemSetting.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9b564f9b43551ac0eab3f139901a131c62bc9b725a45de460085bc7f6f12ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originInputs[\u0027WeChatServerToken\u0027] !== inputs.WeChatServerToken \u0026\u0026 inputs.WeChatServerToken !== \u0027\u0027\u0060 appears character-identically in 3 files \u2014 web/air/src/components/SystemSetting.js, web/berry/src/views/Setting/component/SystemSetting.js, web/default/src/components/SystemSetting.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2babf56894db8a4d6d1aec24fe17870dcf4e2f90c53eac962835237c06a9cfb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parseInt(localStorage.getItem(\u0027page-size\u0027)) || ITEMS_PER_PAGE\u0060 appears character-identically in 2 files \u2014 web/air/src/components/ChannelsTable.js, web/air/src/components/LogsTable.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":"web/air/src/components/ChannelsTable.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f90994535a6f5a9b850ccb255fd4595160105873e064cabd7f5ed03f85688d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060restrictedDomainInput !== \u0027\u0027 \u0026\u0026 !localDomainList.includes(restrictedDomainInput)\u0060 appears character-identically in 2 files \u2014 web/air/src/components/SystemSetting.js, web/default/src/components/SystemSetting.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":"web/air/src/components/SystemSetting.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac932575982d0acca70e8dd480fea676d2d3e611a8843a7bfc63f117fd5eb57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060turnstileEnabled \u0026\u0026 turnstileToken === \u0027\u0027\u0060 appears character-identically in 8 files \u2014 web/air/src/components/LoginForm.js, web/air/src/components/PasswordResetForm.js, web/air/src/components/PersonalSetting.js, web/air/src/components/RegisterForm.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":"web/air/src/components/LoginForm.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2662b67443f15e29b2a74d98368f2392dbcfeb4e8d35f4246bb52b98f18ae3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060username === \u0027root\u0027 \u0026\u0026 password === \u0027123456\u0027\u0060 appears character-identically in 2 files \u2014 web/air/src/components/LoginForm.js, web/default/src/components/LoginForm.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":"web/air/src/components/LoginForm.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9745719f37509afeb7911b65f63b18f92fdd3cb07ee38a7d1db7ba1057a8f9ec"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context or an AbortSignal: Only 5/17 functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http; net/http, net.Dial) accept a context.Context or an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a \u0060signal\u0060 (Go: \u0060ctx context.Context\u0060) 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":"577196fe89725f9b0e6c2faf89eceb8eb245919bd44e4439e0b0d649c1ee1c53"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchDashboardData: \u0060fetchDashboardData\u0060 awaits \u0060axios.get(\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: \u0060axios.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/default/src/pages/Dashboard/index.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e176c538a156dc38c28bb09a039dcdd5cc6d6ccfb21320169e56dee6d09930"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: getBaiduAccessTokenHelper: \u0060getBaiduAccessTokenHelper\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/baidu/main.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b981cb8ec57cdf791461ed8d327e4e14d19046e7538f81a04a358bfc80a906"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: asyncTask: \u0060asyncTask\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/ali/image.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac92bdbe81e3a2ca79259170f8961fbfbceb7d14285d917d91f92dbab1ff1147"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: getImageData: \u0060getImageData\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/adaptor/ali/image.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90eb2f0997f3369851430e9fce2f755c2b9d98a304da2900a9d26084c0aa95b"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: GetResponseBody: \u0060GetResponseBody\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/channel-billing.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b50ace766f7795254fd902c48878796c76a8ed92d6321391e4e95e54683940"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: getGitHubUserInfoByCode: \u0060getGitHubUserInfoByCode\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/auth/github.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe06d85b6593f9989ea7c17f74707b1b4dd28235b2e77ee2a5ca404ff23eae5"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: getLarkUserInfoByCode: \u0060getLarkUserInfoByCode\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/auth/lark.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae1f813ea98c370a7660ab3a1b994df3750dbc5761939abc7fe170c52a8b797"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: getOidcUserInfoByCode: \u0060getOidcUserInfoByCode\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/auth/oidc.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d16acf2c357bad4662c66dac3ba8d17915e311d522e8845d566e551e68a81a1"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: getWeChatIdByCode: \u0060getWeChatIdByCode\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/auth/wechat.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e3dd38062fb5b40c7db67500892bdb8f3d1a7409e966fa136389d607425668"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: SendEmail: \u0060SendEmail\u0060 calls \u0060net.Dial(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/message/email.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2cdee3cf987ae0ab9f9f188418360d4e52c710e477da55cc3f18872c883a57"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: SendMessage: \u0060SendMessage\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/message/message-pusher.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b0481ed1c080c049dfc2299c24a7a43856684cbc65b30a0096b95b2e0d4293"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: GetImageFromUrl: \u0060GetImageFromUrl\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/image/image.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1f3b0dd726065256090118d5fb8c730eb319c8765cbf790c49757f227bd53c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060footer\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/air/src/components/Footer.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a64b376fa3504d3e1718fe3850980a9998eab4d2fcdc2ff0f602d5449abe89d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060updateData.content\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/air/src/components/OtherSetting.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6c5d125267f3b98765e3fecc74704802f60c169e4c46929e2ebad2e2ee2a03"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlContent\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/air/src/helpers/utils.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b287328066a79b069475aacbb0a07a953ca7395beabf44173af42c55c96fc85"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060about\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/air/src/pages/About/index.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"03857f9d669ce68dc541c5871104d1caf9506c65d45e57408303fd5bff2e911f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060homePageContent\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/air/src/pages/Home/index.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d395cd0ba37f325aa3e847633018b8635fe5c844a2bf6511b3545304670337a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060siteInfo.footer_html\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/berry/src/ui-component/Footer.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c65e43e83be1c21e0677d1e4e599be735435c9503d7a8fb929285a30360017d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlContent\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/berry/src/utils/common.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"983647384663f89de0e6ba4389e72170a12be7a038b01ccd2e3171b30c80acb9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060about\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/berry/src/views/About/index.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a192af74f51fb686ceee2f65020d68c43bb219359e311c78a8a4a3b1901056"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060homePageContent\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/berry/src/views/Home/index.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d19186175d89f3507d65ccb855f7a4eae24eb9cda9becef02e5fb66299fd9c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060updateData.content\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/berry/src/views/Setting/component/OtherSetting.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"036c6d73f53f6c385ac95afc79b21d993220127d585bc5aad2cd46c01397ab98"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060footer\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/default/src/components/Footer.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2849a2f1a263cb26beee53b5054a3fdd408c2bfadd88f504ece284f6b14fd1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060updateData.content\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/default/src/components/OtherSetting.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d24de86eebe90c1035cdc75319e38459a9106d1cfe8e28fc433a24752ab3788"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060channel.tip\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/default/src/helpers/render.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b691e645ee0952d2311df5e1c3eeadadf579ab216cd0ea980d84fde2bd336854"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlContent\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/default/src/helpers/utils.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc678996c20032c8362d2e1bbae5c9bf9f7e3a0eea5f1a452297cb13bf59ca8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060about\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/default/src/pages/About/index.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8292136081df6ee98207fec48429017cd5efe6a4979f82c6ecd5b3288d9be67"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060homePageContent\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\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":"web/default/src/pages/Home/index.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0540a6a1f0ac112a05f98d0a6f575c93e17c2ea545b2ea65a984c3dc9c36f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"relay/adaptor/zhipu/main.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75a989493662320995c802abe65bd5dc86dc65e3e543e0cd01a993a52639f09"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"monitor/manage.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdbc5e4fc418f5736c29e9b35c28bad5b1e47017dbbf20ef638f752fcf47428"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if openAIErr != nil\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":"monitor/manage.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dedc5c7c3afa5154a61f719a79d44a9f2797338753ea9f73e8ff918bcaadc9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"model/cache.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9269ba6c440d27393ba70b06409e7b880f294e0788b8756ebbd6da3c824705"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"controller/channel-billing.go"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"316635ffa777e2ace133ad6d52964c869a8b26d702527486955908f7c9818399"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"common/helper/helper.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a80e42d0c8f60d1cdb3ea2b626bd7279da3e5705a02b224c6c2e8cfbb3c27d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"common/env/helper.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"00298eea9ba1b32c20c8293b94da6fc57a65eb67f6a3a9eae33880da6cd56b7b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"common/env/helper.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e8ddc65ecda51aae6971eac4b919cce7930220f237fe616240e3e4f56a3b9f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060String2Int\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/helper/helper.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4c672630003dd6bff2d8410dd097a7ad959f59be2ef48c5f2ae66c8aa6ad6f"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060strings.Contains(lowerMessage, \u0022your credit balance is too low\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060strings.Contains(lowerMessage, \u0022your credit balance is too low\u0022)\u0060 also satisfies \u0060strings.Contains(lowerMessage, \u0022credit\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":"monitor/manage.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3423d3b82aa2a0f8251f7b48391d810f33e110f105b22994f32899dfa8e57c08"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.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-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"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/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":97,"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."]}]}