{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"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":"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":"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":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"Namer.probeMacroAnnotation (cyclomatic 68): Namer.probeMacroAnnotation has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala holds 3 of the 5 methods over the threshold \u2014 including the worst \u2014 and 76 of the 99 points over it (77%), 5.8\u00D7 the next-largest file (plugin/src/main/scala/org/scalamacros/paradise/typechecker/Expanders.scala at 13). 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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d208e6cdb1e170358c02f91cbb419caecf059b19f2d2a0d4f51568808305e7e"}},{"ruleId":"D1","level":"warning","message":{"text":"Namer.finishSymbolNotExpandee (cyclomatic 29): Namer.finishSymbolNotExpandee has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala holds 3 of the 5 methods over the threshold \u2014 including the worst \u2014 and 76 of the 99 points over it (77%), 5.8\u00D7 the next-largest file (plugin/src/main/scala/org/scalamacros/paradise/typechecker/Expanders.scala at 13). 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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cae415e2541c974ed3d39183ba6d844946311ac7a5b576f390e33097c91b26"}},{"ruleId":"D1","level":"warning","message":{"text":"Expander.expandAnnotationMacro (cyclomatic 28): Expander.expandAnnotationMacro has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Expanders.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9d154c5a14a83c20e69317bb01d331419f89aad67dd70329c548b22cc59793"}},{"ruleId":"D1","level":"warning","message":{"text":"ParadiseTreeInfo.getAnnotationZippers (cyclomatic 25): ParadiseTreeInfo.getAnnotationZippers has cyclomatic complexity 25 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee635c8db26ad1177bf27751d4ec7075ef8187d5ab2d2ad741c8b950689efdc7"}},{"ruleId":"D1","level":"warning","message":{"text":"Namer.createAssignAndEnterSymbol (cyclomatic 24): Namer.createAssignAndEnterSymbol has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala holds 3 of the 5 methods over the threshold \u2014 including the worst \u2014 and 76 of the 99 points over it (77%), 5.8\u00D7 the next-largest file (plugin/src/main/scala/org/scalamacros/paradise/typechecker/Expanders.scala at 13). 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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6117583202f97b81a93c09620ae1309f92198bed8a4cb545bd36d5751be82884"}},{"ruleId":"D2","level":"warning","message":{"text":"Namer.probeMacroAnnotation (cognitive 143): Namer.probeMacroAnnotation has cognitive complexity 143 (threshold 15). Drivers by points: if/else 49 (101 pts), boolean chains 26, loops 4 (11 pts), match/switch 2 (5 pts) (nesting depth added 62). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala holds 4 of the 8 methods over the threshold \u2014 including the worst \u2014 and 186 of the 294 points over it (63%), 3.6\u00D7 the next-largest file (plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala at 51). 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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4ed7edfd7dc390ec0884f8d8b288b00ea5acab3122d22c19e2ff507b5ecea2"}},{"ruleId":"D2","level":"warning","message":{"text":"ParadiseTreeInfo.getAnnotationZippers (cognitive 66): ParadiseTreeInfo.getAnnotationZippers has cognitive complexity 66 (threshold 15). Drivers by points: loops 14 (52 pts), if/else 9 (13 pts), match/switch 1 (nesting depth added 42). 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":"plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ec5192e5085bbb51e82e9d5f4063ab42ffd76545473b7bc479106a052ed28b"}},{"ruleId":"D2","level":"warning","message":{"text":"Expander.expandAnnotationMacro (cognitive 56): Expander.expandAnnotationMacro has cognitive complexity 56 (threshold 15). Drivers by points: if/else 23 (33 pts), match/switch 5 (10 pts), loops 3 (6 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Expanders.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af989afcdf48420ee436e8fdb7e95f35d5abe89ced2a557f5b9543b129055c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Namer.finishSymbolNotExpandee (cognitive 45): Namer.finishSymbolNotExpandee has cognitive complexity 45 (threshold 15). Drivers by points: if/else 22 (41 pts), boolean chains 3, match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala holds 4 of the 8 methods over the threshold \u2014 including the worst \u2014 and 186 of the 294 points over it (63%), 3.6\u00D7 the next-largest file (plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala at 51). 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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79cc0c5ed2958ef3daada87708cf27d690b7f58648804306ef4bce083a25aa0"}},{"ruleId":"D2","level":"warning","message":{"text":"Namer.createAssignAndEnterSymbol (cognitive 39): Namer.createAssignAndEnterSymbol has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 8, match/switch 4 (7 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala holds 4 of the 8 methods over the threshold \u2014 including the worst \u2014 and 186 of the 294 points over it (63%), 3.6\u00D7 the next-largest file (plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala at 51). 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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79b78263cc1d05b5c05d504a7681845b22fccf77f07cbc016971c07d7601ea8"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.typedMacroAnnotation (cognitive 28): Compiler.typedMacroAnnotation has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (26 pts), boolean chains 2 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Compilers.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"57608b1c2f251076361357dfcfc5f401cd2ccf5b1d003ba7c558664e1bb91b6c"}},{"ruleId":"D2","level":"warning","message":{"text":"Namer.patchedCompanionSymbolOf (cognitive 19): Namer.patchedCompanionSymbolOf has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala holds 4 of the 8 methods over the threshold \u2014 including the worst \u2014 and 186 of the 294 points over it (63%), 3.6\u00D7 the next-largest file (plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala at 51). 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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"80df166e6591f2402ff6fcbb2ff35d51e345a0b3fb268402731218d42628ce62"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorGen.MacroAnnotationShapeError (cognitive 18): ErrorGen.MacroAnnotationShapeError has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Errors.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f95750518bd5c428ebf66815b4926faac57e21b56b927f2b2aea448ea106bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala:36-43 | plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala:58-65 \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 \u0060plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala:36\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d436c99f7701942e36bcdff2b755bbdd001dcc755ce06331086fcdc11efec2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala:45-50 | plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala:86-91 \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 \u0060plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala:45\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":"plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c25ce5cfea45559836dfe9e563aabeab9fcee9a210fa7c9dab42775008443d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: build.sbt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5540f118fef43cdba8fc9d4ca427e370b7e6da286e58a0bbb6e783c672f5ac1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: no immediate idea how to write this in a sane way \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":"plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"091bc32dca8722eea40c57e7cb615bacffc850c5adaf0723addf312b9623a21f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should be a better solution \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":"plugin/src/main/scala/org/scalamacros/paradise/reflect/StdAttachments.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e137323a89551cee021389b229481be8e09ed2bbb2e318c6019ff41aad53225"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: I challenge you to write this without a cast :) \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":"plugin/src/main/scala/org/scalamacros/paradise/reflect/ReplIntegration.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a53ce3fa98eb5212732dc57a153136691a4158610025d8f7ffb8a25ab0e21a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: inCurrentScope(m) check that\u0027s present in vanilla Namer is omitted here \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0781f8a002da924ce5c51526cf34638dd819ca059d3e3a378f7f9bd214816f0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO SI-4695 Pursue the approach in https://github.com/scala/scala/pull/2789 that avoids"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1580a42e73882c7ecad41e8981b9214271a9b41d2d0aff44403739e9406bee3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deduplicate \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"010c6a3960f14446595ac04f8ea6493724ac5b73883e54ea8a50d105fcd9f760"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we don\u0027t handle primary ctors that might get spuriously marked as maybe expandees because of primary paramss \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dd6e436bf6295e66504d1723ad789a39dc510a65be76a0c33c19e61190b346"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we also support annotations on modules expanding companion classes? \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"14194480f1c56d7bd78a527d830ed544d40af0c15384b51b8fc299817bb8954e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: in general, this first call to FSMEC usually only brings grief \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfea256e4bfe080a40e5ab268e9f43008e395c77335f3efa7323853c1a9ddb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is obviously ugly and needs to be fixed \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5916e10928b4f3fd7cf20720578f109b959a2474d9ebf822e48d3a94012c6c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // 4) TODO: (when called by Symbol.unsafeTypeParams) figure out what\u0027s the deal with them \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"9740e6e854aaa19034f0ba54fb1e06db8bd327b45ebafc39c1a6b5c82ef9161c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should I also pass \u0060sym\u0060 here? \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bfe663b4725216a7df0a9eefd3f33981677b6e68986c23f4a813b239261361"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unlinking distorts the order of symbols in scope \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"3820dabefac2940864c5803fcdbeb31c4f37a1abcc11c5430c50ec6825cf4063"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we can\u0027t reliably expand into imports, because they won\u0027t be accounted by definitions below us \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"300afcc18346ba8ce33413d96ff570de49a227e9eb32bdaedca38deccab1f99c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: be more precise in reproducing importSig and importedSymbol \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f1d7277015128c3e449957dab99772fb4d5842e9044233233796d805bd5a60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: sorry, it\u0027s 2am, and I can\u0027t figure this out \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd80524955e355fa7f35f5eb5c9bdb52e108145a137a589a9d2b09dea463a5e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix this in toolboxes, not hack around here \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9048e71d1a70b568e25db28250e2fb43ba74149edc8a36a3e76de3691e3e7a4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: repl hack. somehow imports that come from repl are doubled \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e1bdcc19fcc41810b5efa1e5acd1020f75daba192faae209fa6812c75b1ab0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: be more precise wrt typedSelect \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d188d71a13f2a37d8d8dc837ac20a027d2dfca7bec9e621fcd4c92cbc95a389"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: revisit the decision about @Inherited \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":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Compilers.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e0f53b2c07022d39972842dac8669ba33c64540575faf2941229e282909e33"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: I don\u0027t know why but setting replProps.colorOk to false doesn\u0027t help. \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":"tests/src/test/scala/annotations/run/Repl.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c423a89e800af51733833eb60129fcf8f7a1741e6b32e268ff328fe36f3169"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: doesn\u0027t work in sbt, though does work in the command line \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":"tests/src/test/scala/annotations/run/KasePlaceboObject.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96cb6fdd30d31f203578b0084322731d000cd5b321a42fbea4bea33d56982a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: doesn\u0027t work in sbt, though does work in the command line \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":"tests/src/test/scala/annotations/run/KaseObject.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4751a748fabb4be0d206de129e2ebf9e775bdeeef9084a797046f95a8e028efe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: doesn\u0027t work in sbt, though does work in the command line \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":"tests/src/test/scala/annotations/run/KaseIdentityObject.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b1a12e8991a897ff0a9e31db24e20b9bac8fc6294a6dca0b2c3b243cb0af4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // locally(Early.x) TODO sort out VerifyError in Early$.\u003Cinit\u003E \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":"tests/src/test/scala/annotations/run/companion-symbol-of/B.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d72626b095b18172b6bcb8c35a5f65d4e68003e2da4e0545022dfea0d1c361"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // DoubleOk         TODO sort out VerifyError in DoubleOk$.\u003Cinit\u003E \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":"tests/src/test/scala/annotations/run/companion-symbol-of/B.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c414fa6b27513220765afeb07d4f09ce13ca2f2cfeb9792da4c39a034deac2"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The README states \u0027This plugin is no longer actively developed, but we do continue to release a new version whenever a new Scala 2.12.x version comes out.\u0027 and links to an external macro guide, but it gives no description of what the plugin does or how to run it. Add a one-paragraph overview explaining what the Macro Paradise Plugin is (its purpose) and where to find usage examples."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbf18d06aa983c06246108610908ba99aae6784280b3aacd1a6655733d71be"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The release procedure describes \u0027Update the scalaVersion in the build\u0027 but omits installation steps such as adding the plugin to a sbt project or importing it. Add an install section covering how to add the plugin to a sbt project and import it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: The release procedure shows build steps but no usage examples, such as how to call macro annotations or what output one can expect. Add a short \u0027How to run the plugin\u0027 section with an example of importing and using the macro paradise."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Namers.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafe1a8ef8775b3c8209d2f29c0350ff09dd5b7678fe4bdacb62cad1950fe382"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 5 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: plugin/src/main/scala/org/scalamacros/paradise/typechecker/Expanders.scala, plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala, plugin/src/main/scala/org/scalamacros/paradise/reflect/StdAttachments.scala, build.sbt, plugin/src/main/scala/org/scalamacros/paradise/typechecker/Errors.scala (6 orphaned of 6 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 6 of the 17 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Expanders.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78178d1cc89fff1d2dd8c53779a5cfe67a699642e33c763607350a7970fe2029"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/reflect/TreeInfo.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c9ffe77f62c70161370d25a2dc1841e4f55467cc3a1956924ae27ac1fa8924"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/reflect/StdAttachments.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa0a814cde67bc48e650f1948b27ea31fb3bb7aa1d894e0c8dece2c85c13269"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.sbt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fe150d1aaa1ef1e1fcdd05b38b732ba878f7249495aafef2d41271c4c5f133"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/src/main/scala/org/scalamacros/paradise/typechecker/Errors.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"458d5c466a68f6f0d56dd29adf29291791195d9663eac9cd24e0612c9784b47b"}},{"ruleId":"M1","level":"warning","message":{"text":"Repository declared end-of-life: This repository declares its own end of life: \u0060README.md\u0060 line 3 reads \u201CThis plugin is no longer actively developed, but we do continue to release a new version whenever a new Scala 2.12.x version comes out.\u201D. That is a first-party statement of intent, not an inference \u2014 the Maturity and Knowledge lenses otherwise approximate the same fact from decayed commit history (D16 reports a dormant codebase, D34 orphaned files), and this row says the maintainer already told you. It does NOT change any score: an honest end-of-life notice is the README doing its job, and every dimension below still measures the code as it stands. Read the whole report as an assessment of software the author has stopped working on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e004c35cfb0f545005a1751b408088865c81b7248bb65240c7771e85dff66d9"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"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":"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":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 15 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}}}]}