{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"IR2LanguageCompiler.compile (cyclomatic 116): IR2LanguageCompiler.compile has cyclomatic complexity 116 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: VeriFx-lang/src/main/scala/org/verifx/Compiler/IR2LanguageCompiler.scala holds 2 of the 7 methods over the threshold \u2014 including the worst \u2014 and 109 of the 179 points over it (61%), 3.1\u00D7 the next-largest file (VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/IR2LanguageCompiler.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"91525388328d6d24a43d6893149a06ab809ed841fbe6c4f0b57750aef87ca28d"}},{"ruleId":"D1","level":"warning","message":{"text":"Z3CompilerPlugin.makeMethodCall (cyclomatic 39): Z3CompilerPlugin.makeMethodCall has cyclomatic complexity 39 (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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"68def5e68975a4e3b2a4d9d34d27ecd2e12450bb2f52bcaf255048ef27fcfc70"}},{"ruleId":"D1","level":"warning","message":{"text":"Types.inferType (cyclomatic 39): Types.inferType has cyclomatic complexity 39 (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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fab60649a7cc267d17df2079f93592af6c3394976fff29f2654f58a86783287"}},{"ruleId":"D1","level":"warning","message":{"text":"Types.matchTypesForStructure (cyclomatic 26): Types.matchTypesForStructure has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5f79483807970f961ec06549e1d0bea0bb66148a1c89f879446b8e422cdcb7"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaScriptCompilerPlugin.makeMethodCall (cyclomatic 24): JavaScriptCompilerPlugin.makeMethodCall has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"204b0a320dc362cc55c2e189f46746a686a564d9af0a2efb6447f8beeb11831f"}},{"ruleId":"D1","level":"warning","message":{"text":"IR2LanguageCompiler.compileMethodOrPred (cyclomatic 23): IR2LanguageCompiler.compileMethodOrPred has cyclomatic complexity 23 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: VeriFx-lang/src/main/scala/org/verifx/Compiler/IR2LanguageCompiler.scala holds 2 of the 7 methods over the threshold \u2014 including the worst \u2014 and 109 of the 179 points over it (61%), 3.1\u00D7 the next-largest file (VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala at 35). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/IR2LanguageCompiler.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e7e0d88cebda679524a4c09af1cda94772348ea5721cd4c19be2e01939050e"}},{"ruleId":"D1","level":"warning","message":{"text":"MethodPredicate.transformer (cyclomatic 17): MethodPredicate.transformer has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: MethodBody.transformer (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed19240593a2fa98da36efab2d35da08cf23df53ed4bec456abd815bc2f31ba"}},{"ruleId":"D2","level":"warning","message":{"text":"IR2LanguageCompiler.compile (cognitive 283): IR2LanguageCompiler.compile has cognitive complexity 283 (threshold 15). Drivers by points: loops 81 (276 pts), match/switch 3 (6 pts), if/else 1 (nesting depth added 198). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: VeriFx-lang/src/main/scala/org/verifx/Compiler/IR2LanguageCompiler.scala holds 2 of the 18 methods over the threshold \u2014 including the worst \u2014 and 323 of the 507 points over it (64%), 4.8\u00D7 the next-largest file (VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala at 68). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/IR2LanguageCompiler.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1d4a753723280930bed86e0627d2caae3e17115aaa9f0a13b89f0af3ff17ce"}},{"ruleId":"D2","level":"warning","message":{"text":"IR2LanguageCompiler.compileMethodOrPred (cognitive 70): IR2LanguageCompiler.compileMethodOrPred has cognitive complexity 70 (threshold 15). Drivers by points: loops 18 (69 pts), match/switch 1 (nesting depth added 51). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: VeriFx-lang/src/main/scala/org/verifx/Compiler/IR2LanguageCompiler.scala holds 2 of the 18 methods over the threshold \u2014 including the worst \u2014 and 323 of the 507 points over it (64%), 4.8\u00D7 the next-largest file (VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala at 68). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/IR2LanguageCompiler.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff80b23534a795f4799384f3e4a63bc8e36f4a0bc060fe72c28dd7fa894cc6c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Z3CompilerPlugin.makeMethodCall (cognitive 42): Z3CompilerPlugin.makeMethodCall has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (30 pts), match/switch 4 (12 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"664bccefbdbc7cb76d7334a8d49f78e657162e710fc43cac26b6c22859899ef5"}},{"ruleId":"D2","level":"warning","message":{"text":"Types.matchTypesForStructure (cognitive 39): Types.matchTypesForStructure has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 11, match/switch 4 (10 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b27aa9d62e728c54349a5995e5f31f006b522304ce15d8f2006cc3f3b039a93"}},{"ruleId":"D2","level":"warning","message":{"text":"Types.inferType (cognitive 36): Types.inferType has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (20 pts), match/switch 7 (14 pts), boolean chains 2 (nesting depth added 14). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8417c93a9174982a5e572ba1a74c95c879d9285ff62d88a7ae42cf105d60ae"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaScriptCompilerPlugin.makeMethodCall (cognitive 33): JavaScriptCompilerPlugin.makeMethodCall has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 2 (7 pts), match/switch 3 (6 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc44cb34c21d6bdb2f11000c3af6fba99f67d110d68eb1720c645c38415df019"}},{"ruleId":"D2","level":"warning","message":{"text":"Z3CompilerPlugin.concretizeClassIfNeeded (cognitive 30): Z3CompilerPlugin.concretizeClassIfNeeded has cognitive complexity 30 (threshold 15). Drivers by points: loops 3 (18 pts), if/else 4 (7 pts), match/switch 2 (5 pts) (nesting depth added 21). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a170e50ca09669ec750c221274b4e4f0e939ed9f827556c512649eef4642ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Method.fillTypeParameters (cognitive 28): Method.fillTypeParameters has cognitive complexity 28 (threshold 15). Drivers by points: loops 7 (28 pts) (nesting depth added 21). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3209e3754665943e772715d12cab44687e90beba15a06e3b8afd0aa25d71be"}},{"ruleId":"D2","level":"warning","message":{"text":"Z3CompilerPlugin.makeClassDef (cognitive 28): Z3CompilerPlugin.makeClassDef has cognitive complexity 28 (threshold 15). Drivers by points: loops 8 (18 pts), if/else 4 (8 pts), match/switch 2 (nesting depth added 14). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ab4dcc50ddc96858d59791721030c00151451b6d4e2c21ff787d676760db18"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassCompiler.transformClass (cognitive 27): ClassCompiler.transformClass has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 5 (15 pts), if/else 4 (11 pts), boolean chains 1 (nesting depth added 17). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b3758a72342852c3da0ba3c9d4a79818068806b97bfbb433016e578b81acc7"}},{"ruleId":"D2","level":"warning","message":{"text":"Types.extendEnvWithPattern (cognitive 24): Types.extendEnvWithPattern has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 4 (10 pts) (nesting depth added 14). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2804a813a461f74adfb8528b04e60ddbdfc656f5d0b6a6485103ac601eda4ec"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodPredicate.transformer (cognitive 22): MethodPredicate.transformer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 4 (7 pts), boolean chains 1 (nesting depth added 9). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"2398e51649bc1f9068d352ed2343e49fc0c057b7ea16ce8cf0f1c7b7770a5d00"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassCompiler.transformTrait (cognitive 22): ClassCompiler.transformTrait has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 4 (9 pts), boolean chains 2 (nesting depth added 11). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa2ac913cc22452de83e86786e1938b7f812c5373334c6ee7465b5cd04955d7"}},{"ruleId":"D2","level":"warning","message":{"text":"ProofCompiler.transformer (cognitive 21): ProofCompiler.transformer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d87a08d7d8958737c5f44d40a1f532cc3217dc5511fc6af2e8f92ec6a1abe1e"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodBody.transformPattern (cognitive 20): MethodBody.transformPattern has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 3 (4 pts) (nesting depth added 8). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf140035502d242a87cf6eb763f3f11ed591571eac2b418a914c934f5d58c3f"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodBody.makeNew (cognitive 18): MethodBody.makeNew has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 4 (7 pts) (nesting depth added 9). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"578f147e45ebd4323e39f439d3a3b259a9423914ec9efe16d44e88c5051ce27e"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaScriptCompilerPlugin.getIdentifiersAndBody (cognitive 17): JavaScriptCompilerPlugin.getIdentifiersAndBody has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (9 pts), match/switch 3 (8 pts) (nesting depth added 11). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"342bc9fb43b9c75f5d0383b6c479878e4e326337ca2863f84080f9ed7fabec00"}},{"ruleId":"D2","level":"warning","message":{"text":"Types.inferTypeParam (cognitive 17): Types.inferTypeParam has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 4 (7 pts) (nesting depth added 7). 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4640d48f5b3913f8f3b8f2ff0c190ff1558ba093afbe43cec300b12238515ac6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Compiler/VeriFx2IRCompiler.scala: FileTooLong \u2014 1311 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 811 over it, 2.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0adb4af44c63434dcd2e984dff140d255e97f42310974c341b6cd902746b918"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Plugins/Z3CompilerPlugin.scala: FileTooLong \u2014 834 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 334 over it, 1.67\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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef2d3288a70286d76f5fad565b6432f954978f86c5727fcd7e5e292dd5210d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Types: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7072a72282a6d1d9cf4972efa4f17001fc63e972c184038951a0b490f6ee6b6d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JavaScriptCompilerPlugin: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. Most of these members implement Compiler.Plugin (32 of 39 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f845aa9c6bf519d063fada1ee31de4f2f8725f448593e09ded1d2b9a03856a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Z3CompilerPlugin: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. Most of these members implement Compiler.Plugin (32 of 38 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df261fcf6c4039baeb045886cf88031f24fa928cfb33cc222ca4cd564da0368"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScalaCompilerPlugin: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. Most of these members implement Compiler.Plugin (32 of 35 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"123f17d6635267f33e4216b502ede8841e80e7bf384da01a28522817b5c7e280"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Compiler/Types.scala: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 50 over it, 1.10\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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5e790fbeea82574cbf949a4baef04f0e1788460d84403586d3fdbd528cb944"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala:447-481 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:378-412 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd7960aa5c8ee007e9704bf159cbeb718ab8fb095e8cd8c0011d2080b6e4dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:2354-2373 | VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:2444-2466 \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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a773f152120321f080d0225ae00851a3438e2f1952a89f8c61cd563a897abb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:304-343 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:345-376 \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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa736b3dbca025059bb08a5707e53527d27c9e47bf650f9e51f22637e3326809"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:308-330 | VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:332-361 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a976f1c88ac99d414c20d175a317a49df4c144b4dff9729b4ee387baba388465"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala:137-156 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:168-187 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala:554-578 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac540876dfcfaed6ae0ecf0a8918cd17684e9412554e6be3e0ae83ef5f19fb1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:407-419 | VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:440-460 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b368f0a25118e9e1cab5d6ed843cdbb0059b2a6b46756910b0751ce9542d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:101-113 | VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:115-127 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b164aa9bf05a45c6f4a338eee691c7d386028e300e895440e4f407b37554b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): VeriFx-lang/src/main/scala/org/verifx/Analysis/Proofs.scala:183-193 | VeriFx-lang/src/main/scala/org/verifx/Analysis/Proofs.scala:195-202 \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":"VeriFx-lang/src/main/scala/org/verifx/Analysis/Proofs.scala"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4272078298cc262be36810ea45c21514d1b06d5e5a424471a791a969653a9651"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:57-65 | VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:1198-1205 \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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d674b104ac8d78f17a6f4f1a87152970c7d94116a14049366fe7143b8a790869"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala:564-573 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala:575-584 \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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e529f705d2553e079d3d6f7c0068eae34aeb66f6d2504405bfc2f1beb14462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala:139-152 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:170-183 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala:556-569 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e10f7696be30b1a59920c859cbd7772f8028ba7070d753cec8ff98f4d8e527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:309-320 | VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:333-344 \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 \u0060VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala:309\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a9c62f028457c4583932499b909521ffdb82ac229c310999d431b4ed870783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala:448-460 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:379-391 \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 \u0060VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala:448\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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde5513091e814caf831df78db1e3df9f0bdc1b364def3e29f4ad5f91ee63665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala:189-196 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:241-248 \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 \u0060VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala:189\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, \u0060VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:249\u0060 calls \u0060Tuple\u0060 and \u0060VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala:197\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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2594a95a74cf1426d6c6fd73e0887ae21523cf2168a90a06938f4e7bbd325ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala:1370-1375 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala:1383-1388 \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 \u0060VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala:1370\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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edaab3d7ffb1467560985f9551f4200fbdb6ad9ae5200045315572ef89ba687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:314-318 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:354-358 \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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce8b4048c6ceb2421a12886ea86908a69d7ff5a723626901e9a0a4abaa280af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala:21-26 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:12-17 \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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"013b14531bb520fc191198e28584bb74822a37270c59bb5018624798ae961038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala:129-135 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:160-166 | VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala:546-552 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala:544\u0060 calls \u0060makeTypeParam\u0060, \u0060pure\u0060, \u0060Z3Type\u0060 and \u0060VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala:158\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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e95ede41ff62d8c75e8ac9523f815342b26dfa33fa88291216eb6a00184912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): examples/CRDT Verification/src/main/scala/Prover.scala:30-41 | templates/linux/src/main/scala/Prover.scala:30-41 | templates/macOS/src/main/scala/Prover.scala:30-41 \u2014 before extracting anything, compare \u0060examples/CRDT Verification/src/main/scala/Prover.scala\u0060 and \u0060templates/linux/src/main/scala/Prover.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/CRDT Verification/src/main/scala/Prover.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30c602d1b4d2d328e07becf8b4ea521b1649f9cff04aab1b6babe99aeb1431e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): examples/CRDT Verification/src/main/scala/Prover.scala:71-82 | templates/linux/src/main/scala/Prover.scala:71-82 | templates/macOS/src/main/scala/Prover.scala:71-82 \u2014 before extracting anything, compare \u0060examples/CRDT Verification/src/main/scala/Prover.scala\u0060 and \u0060templates/linux/src/main/scala/Prover.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/CRDT Verification/src/main/scala/Prover.scala"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da9f9dca726262c6df15475fdd5c60a074e081c2276c16a5104d2531560ac4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples/CRDT Verification/src/main/scala/Prover.scala:13-22 | templates/linux/src/main/scala/Prover.scala:13-22 | templates/macOS/src/main/scala/Prover.scala:13-22 \u2014 before extracting anything, compare \u0060examples/CRDT Verification/src/main/scala/Prover.scala\u0060 and \u0060templates/linux/src/main/scala/Prover.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/CRDT Verification/src/main/scala/Prover.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"00288103273abb8b021941adf9a96c99a08c961727278eac914cfc1e02419aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/linux/src/main/scala/Prover.scala:43-52 | templates/macOS/src/main/scala/Prover.scala:43-52 \u2014 before extracting anything, compare \u0060templates/linux/src/main/scala/Prover.scala\u0060 and \u0060templates/macOS/src/main/scala/Prover.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/linux/src/main/scala/Prover.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e096e0299ffa159e6649e9d321adc10ed9b306aed3fed23a098ede8842d952f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): templates/linux/src/main/scala/Prover.scala:54-63 | templates/macOS/src/main/scala/Prover.scala:54-63 \u2014 before extracting anything, compare \u0060templates/linux/src/main/scala/Prover.scala\u0060 and \u0060templates/macOS/src/main/scala/Prover.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/linux/src/main/scala/Prover.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"804ac9d2e5039253299e72c7754903dbeae6516317f4da54eaee43154112b337"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ScalaCompilerPlugin (LCOM4 11): ScalaCompilerPlugin\u0027s methods fall into 11 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 11 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"056812dd609992e504680c7eccf966dac598cd22a68799cb1cfffb560ba7b657"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JavaScriptCompilerPlugin (LCOM4 8): JavaScriptCompilerPlugin\u0027s methods fall into 8 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 8 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7826dde43eb911bbe0d606b05daec64c7621c22ded106b1999a9ef81bb04bc8c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Z3CompilerPlugin (LCOM4 6): Z3CompilerPlugin\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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/Z3CompilerPlugin.scala"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27dc105b6294d2d7f914fe7f95e411b177ba23c63f7a4fd14ad50a2f6dfec54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: Fix newline bugs \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":"VeriFx-lang/src/main/scala/org/verifx/Utilities/Interpolators.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf625330fdfbef8e00a9490e6c1245d4cf77b22d3747306fdb71cf578ea6833"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make it tail recursive! \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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"e660dad0f7d3864157402eaacdd88d7bad94bb4374f2ff35e7da654742d76a5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we could now immediately call dispose() since we queried and reconstructed the model \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":"VeriFx-lang/src/main/scala/org/verifx/Analysis/Proofs.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e1ea94c0e8b061c5bd4fdba0ef436eaa8fff1ab17b5ca07f2d06277ba5262c"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060VeriFx-lang\u0060 is runnable (a \u0060mainClass\u0060 or an app packaging plugin in \u0060build.sbt\u0060) and neither \u0060VeriFx-lang/readme.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/readme.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27314d36b364184bfceb915b76cb66871bb783a55b56fb28916ce14efc30d0a1"}},{"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 \u0060VeriFx-lang/build.sbt\u0060 makes this repository a deployable product (line 45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/build.sbt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"394b697e4e6ff980d0b50c75338927facf8fc0ea258617f26fb3a7ce87d94f3b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060VeriFx-lang\u0060 (7358 LoC, 254 module-visible types across 6 directories) overshoots its size bounds. 1 of 2 build unit(s) (sbt) overshoot their size bounds, lowering Project Cohesion to 0.0/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/build.sbt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff2282563e1cf96fe8d560309c6e02deb90da7d603f4457aa2b18157f6da1aa"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .icon with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/api/lib/index.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"008de68d5278d4f6745e26e501c9ed452bfa24b04c80a9587c2cbea9468309aa"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .icon with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/api/lib/index.js"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4979c14fecef4f50c9302591a8a2ce5bef8c7ca4bfc2f66ef64d51aa751105"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.8:1): \u0060#diagram-controls \u003E button.diagram-btn\u0060 sets color: #fff on background-color: #c2c2c2 \u2014 1.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/api/lib/diagrams.css"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9161b903830a17f734ca513f59db7fae2155a2e9de1fd22b666559ab4d04ffb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060#mbrsel \u003E div#filterby \u003E div \u003E ol \u003E li.in\u0060 sets color: #fff on background-color: #f16665 \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/api/lib/template.css"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0c704cf88724c8a02f4d3e1a47331d0758f8df520744dd7bfc2a18422991ea"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#diagram-controls \u003E button.diagram-btn\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/api/lib/diagrams.css"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f5caa2bf3dad5a0558eef4c7bbf30ca975a32db5b5a417e0bd2083cb5537e3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060textarea\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/api/lib/index.css"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef061f7e9b2d47818c7ab6e4f0f706e66ca582b3b5212363ed6593d4ef6bb95"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.jspVerticalBar .jspArrow:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/api/lib/index.css"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"a749d5c958d2bfda5824bf6eff23dbc5e88131a8ee0885d8ac85434e1c3a02dc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060textarea\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/api/lib/template.css"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2deaae74d230d5164ebc6b2d7ca4567eaf17cf524fab274d163aa8a668a0973"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Plugin[C, M, S] (35 abstract members): \u0060Plugin[C, M, S]\u0060 declares 35 abstract members: \u0060int_type\u0060, \u0060bool_type\u0060, \u0060string_type\u0060, \u0060startFile\u0060, \u0060endFile\u0060, \u0060makeComplexType\u0060, \u0060makeTypeParam\u0060, \u0060makeFunctionType\u0060, \u0060makeLiteral\u0060, \u0060makeBinaryOperation\u0060, \u0060makeUnaryOperation\u0060, \u0060makeReference\u0060, \u0060makeIf\u0060, \u0060makeBlock\u0060, \u0060instantiateClass\u0060, \u0060makeFieldAccess\u0060, \u0060makeMethodReference\u0060, \u0060makeMethodCall\u0060, \u0060makeValDef\u0060, \u0060makeValDecl\u0060, \u0060makeFunction\u0060, \u0060makeFunctionCall\u0060, \u0060makePatternMatch\u0060, \u0060makeMethodDef\u0060, \u0060makeMethodDecl\u0060, \u0060makeContextDef\u0060, \u0060makePreconditionDef\u0060, \u0060makeInvariantDef\u0060, \u0060makeClassDef\u0060, \u0060makeTraitDef\u0060, \u0060makeEnumDef\u0060, \u0060makeMod\u0060, \u0060makeImport\u0060, \u0060makeLogicVar\u0060, \u0060run\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugin.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b014c62ea4b455d93ae1b55366aa5970d51d4b888c8a8e3f859b63f0e4bfe6d1"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: readme.md links to \u0060VeriFx-lang/src/main/scala/be/vub/verifx/Compiler/ProjectCompiler.scala\u0060, but \u0060VeriFx-lang/src/main/scala/be/vub/verifx/Compiler/ProjectCompiler.scala\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"readme.md"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc000d147bd5a58b455ac40062b2839858a3a236f7a0bbef6cb20a3fc4f5ac3"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add scalafix or scapegoat (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isOfType(classType, \u0022Map\u0022) \u0026\u0026 mapSpecialMethods.contains(method)\u0060 appears character-identically in 2 files \u2014 VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala, VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/ScalaCompilerPlugin.scala. 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Plugins/JavaScriptCompilerPlugin.scala"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c4d02441d5b8567cc10bc820f7bdbde9b2c63cd8fe59bcd3330fdb553baab9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060quantifier == \u0022forall\u0022 || quantifier == \u0022exists\u0022\u0060 appears character-identically in 2 files \u2014 VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala, VeriFx-lang/src/main/scala/org/verifx/Compiler/VeriFx2IRCompiler.scala. 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":"VeriFx-lang/src/main/scala/org/verifx/Compiler/Types.scala"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb8ccac9ffbb2e088bf317e356993ff11f542ffa132889a1ef21952b308c27f"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 24 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}}],"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-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}