{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"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":"HybridMarkdown.parse_list (cyclomatic 57): HybridMarkdown.parse_list has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 8 of the 30 methods over the threshold \u2014 including the worst \u2014 and 112 of the 265 points over it (42%), 3.3\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 34). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0f0588e474b07807a227897cfdbad84b06e7c892c626679c4c9e6d206d94cf"}},{"ruleId":"D1","level":"warning","message":{"text":"HybridMarkdown.parse_inline_destination (cyclomatic 43): HybridMarkdown.parse_inline_destination has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 8 of the 30 methods over the threshold \u2014 including the worst \u2014 and 112 of the 265 points over it (42%), 3.3\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 34). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9754680788369eca5751d3158e73d8113789241636d5fe78e0a1b91cd265b9"}},{"ruleId":"D1","level":"warning","message":{"text":"HybridMarkdown.parse_reference_definition (cyclomatic 32): HybridMarkdown.parse_reference_definition has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 8 of the 30 methods over the threshold \u2014 including the worst \u2014 and 112 of the 265 points over it (42%), 3.3\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 34). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed2cb068ff4f38701b1d14c314da6d828b35908d4a504a039885b706026878c"}},{"ruleId":"D1","level":"warning","message":{"text":"Base.tokval_list (cyclomatic 31): Base.tokval_list has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/handlers/ruby/legacy/base.rb"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61861d92b76dd7287a7fb57027adbce61a41225d87dc21b00904f1075f1fb55"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultFactory.extract_types_and_name_from_text_unstripped (cyclomatic 29): DefaultFactory.extract_types_and_name_from_text_unstripped has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/tags/default_factory.rb"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bba837b2e7ac2599c0e046fa50ed7c5d9582dea7b2f0b7e34f6d0a6a94bdb1"}},{"ruleId":"D1","level":"warning","message":{"text":"RubyLex.lex_int2 (cyclomatic 27): RubyLex.lex_int2 has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"833bd95c569452870a1fd916b0c54c8b388d26ac97b86ba05582bf363756168d"}},{"ruleId":"D1","level":"warning","message":{"text":"TextHelper.signature (cyclomatic 27): TextHelper.signature has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/text_helper.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a5b25e2adff55b7487672327fd6b7dfa81a377e2d2261fc1846a072393f86f"}},{"ruleId":"D1","level":"warning","message":{"text":"StatementList.process_token (cyclomatic 26): StatementList.process_token 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":"lib/yard/parser/ruby/legacy/statement_list.rb"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d307dadca97d0c1021ec0e2efe225cd96fb3c889fff128c45e052a4996e4c480"}},{"ruleId":"D1","level":"warning","message":{"text":"DocstringParser.parse_content (cyclomatic 25): DocstringParser.parse_content has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/docstring_parser.rb"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbc601c86a507b2dab4f9f378227fe65c5b6415f21525c211b322313e0a29a8"}},{"ruleId":"D1","level":"warning","message":{"text":"RubyLex.lex_init (cyclomatic 25): RubyLex.lex_init has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbf6750e6bc53123314503d33a4b58527663796f07311c15eda16591084208d"}},{"ruleId":"D1","level":"warning","message":{"text":"RubyLex.identify_identifier (cyclomatic 25): RubyLex.identify_identifier has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"5156f7a8ce60bd05532eb01424653b3140a2e93734b0ab18d4ca7363dbcb9374"}},{"ruleId":"D1","level":"warning","message":{"text":"StatementList.process_initial_comment (cyclomatic 25): StatementList.process_initial_comment has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/statement_list.rb"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c02a80391d308744efd46461cdb4324974086986ead8bc7854add3ab7ada1e"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlHelper.resolve_links (cyclomatic 24): HtmlHelper.resolve_links has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc76c6ce5afc716374c9e9c57166e2f1a065c63831ddba7d9912fd242571e49"}},{"ruleId":"D1","level":"warning","message":{"text":"createAutocomplete (cyclomatic 23): createAutocomplete has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 153, a function literal at line 71, fetchResults, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a016abf834a858b8f8895384af6bd8b0cf94ef0e215357cae9a4af6f19b388"}},{"ruleId":"D1","level":"warning","message":{"text":"StatementList.process_statement_end (cyclomatic 22): StatementList.process_statement_end has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/statement_list.rb"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a968407be544f7367f50d414dc78eb7f2a884a6bfbf7be43307ff9e246cf20"}},{"ruleId":"D1","level":"warning","message":{"text":"HybridMarkdown.format_emphasis (cyclomatic 22): HybridMarkdown.format_emphasis has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 8 of the 30 methods over the threshold \u2014 including the worst \u2014 and 112 of the 265 points over it (42%), 3.3\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 34). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e545edd9a8be4957415edf0b8a909a7d4baa09727b9451cec33877d4635c0fa"}},{"ruleId":"D1","level":"warning","message":{"text":"HybridMarkdown.scan_reference_constructs (cyclomatic 22): HybridMarkdown.scan_reference_constructs has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 8 of the 30 methods over the threshold \u2014 including the worst \u2014 and 112 of the 265 points over it (42%), 3.3\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 34). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d76d6ebe1b368ab0e5e46d77f738afda06a59a09eda44cfd5776d4aaf141adf"}},{"ruleId":"D1","level":"warning","message":{"text":"HybridMarkdown.parse_blockquote (cyclomatic 21): HybridMarkdown.parse_blockquote has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 8 of the 30 methods over the threshold \u2014 including the worst \u2014 and 112 of the 265 points over it (42%), 3.3\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 34). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfa1098d2780be807fd2363d3cc14dbb3319eb8dc20783ec8c366411d3bd66d"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlHelper.signature_types (cyclomatic 19): HtmlHelper.signature_types has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"da45ed99c040592ad45216a1fabac703728a1f0f3e8d3f7b54596fa3ea83c60b"}},{"ruleId":"D1","level":"warning","message":{"text":"HybridMarkdown.parse_reference_definition_block (cyclomatic 19): HybridMarkdown.parse_reference_definition_block has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 8 of the 30 methods over the threshold \u2014 including the worst \u2014 and 112 of the 265 points over it (42%), 3.3\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 34). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb25688947d6183946e676bc3388caaa940f733700f48b5b384b4d45831f999"}},{"ruleId":"D1","level":"warning","message":{"text":"app.generateTOC (cyclomatic 19): app.generateTOC has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 426). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"e871c81bcccd1592d6f90560eae452c8cbb83b9e4aa284a4c2a2da58c3e0f8f4"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentParser.parse_callseq (cyclomatic 18): CommentParser.parse_callseq has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: CommentParser.parse_types (cyclomatic 31) 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":"lib/yard/parser/c/comment_parser.rb"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ca3e236ba75d2e12df3178a73b93fe9d54e6f279fbb3c0281cd546572798ca"}},{"ruleId":"D1","level":"warning","message":{"text":"RegistryResolver.lookup_by_path (cyclomatic 18): RegistryResolver.lookup_by_path has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/registry_resolver.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e343f2d9b57da05e9448a07a8d3cc7467f23ab1062ec18a8bf0b6687d2565f51"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlHelper.signature (cyclomatic 18): HtmlHelper.signature has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"8643822fe2585842974e63cfc775291cdb4884ec83c94aa18cd5861c56d58f63"}},{"ruleId":"D1","level":"warning","message":{"text":"Diff.run (cyclomatic 17): Diff.run has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/cli/diff.rb"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c354428799112cb007a40528d6b3a7fa4cbb76b520e38724275636b0a12b1d"}},{"ruleId":"D1","level":"warning","message":{"text":"RubyLex.identify_number (cyclomatic 17): RubyLex.identify_number has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1604443267fb7f7261cf8d5345da89999bc542e41ca56249480be2eca87e11dd"}},{"ruleId":"D1","level":"warning","message":{"text":"Base.tokval (cyclomatic 16): Base.tokval has cyclomatic complexity 16 (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":"lib/yard/handlers/ruby/legacy/base.rb"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"805910579cf47bf37155752a5083d3c42eab5bfa1e44da8cf7ff3689bc34b8fb"}},{"ruleId":"D1","level":"warning","message":{"text":"CParser.consume_until (cyclomatic 16): CParser.consume_until has cyclomatic complexity 16 (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":"lib/yard/parser/c/c_parser.rb"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4f347bf1b6d04c9a24251b1c03cf48169f339d4af4c0f0c7ca8e0860bf6d18"}},{"ruleId":"D1","level":"warning","message":{"text":"RegistryResolver.lookup_path_inherited (cyclomatic 16): RegistryResolver.lookup_path_inherited has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/registry_resolver.rb"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d491d31ed0a3a9b6861ae4a0884faa5cc88678f0bb314db77da83ff640a8a2"}},{"ruleId":"D1","level":"warning","message":{"text":"HybridMarkdown.parse_blocks (cyclomatic 16): HybridMarkdown.parse_blocks has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 8 of the 30 methods over the threshold \u2014 including the worst \u2014 and 112 of the 265 points over it (42%), 3.3\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 34). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3183f14da8099cf26d389de2025fc46e871d8fb5146fe293af40f3fcbe01571e"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.parse_list (cognitive 91): HybridMarkdown.parse_list has cognitive complexity 91 (threshold 15). Drivers by points: if/else 28 (57 pts), boolean chains 25, ternaries 4 (6 pts), loops 2 (3 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent 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: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1e151d02675a3637507a0c9f93aabe1b5f2630a0bc97e4cf61645d59fb9355"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.parse_inline_destination (cognitive 74): HybridMarkdown.parse_inline_destination has cognitive complexity 74 (threshold 15). Drivers by points: if/else 23 (51 pts), boolean chains 14, loops 6 (9 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d53670ccd352e3e25e6933484543bf485448d768d5e57b48b3bd611a08868c"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.format_emphasis (cognitive 57): HybridMarkdown.format_emphasis has cognitive complexity 57 (threshold 15). Drivers by points: if/else 8 (22 pts), ternaries 3 (18 pts), boolean chains 9, loops 3 (8 pts) (nesting depth added 34). 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: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aa9ab0e7e5a754ddde7b98d7c8c9aaa2fa5fc3e679d76a52d95586b3ea22d6"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.parse_reference_definition (cognitive 53): HybridMarkdown.parse_reference_definition has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 12, loops 5 (10 pts), ternaries 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b1208c083e32ca016f6dcb3d67eaf3899f151ec8cc10b552004d250a251cb1"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.scan_reference_constructs (cognitive 52): HybridMarkdown.scan_reference_constructs has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (38 pts), ternaries 2 (7 pts), boolean chains 6, loops 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"3703b9df47fb1d30ab3b458481094c8a4b50e46269a72013ccbfab2f4fb5d976"}},{"ruleId":"D2","level":"warning","message":{"text":"Base.tokval_list (cognitive 51): Base.tokval_list has cognitive complexity 51 (threshold 15). Drivers by points: if/else 22 (42 pts), boolean chains 4, ternaries 3 (4 pts), match/switch 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/handlers/ruby/legacy/base.rb"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bf5a6e00e437dfd0b946fdfbf583945094d78b08b30cc998bdf5cb8bf2f781"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlHelper.resolve_links (cognitive 47): HtmlHelper.resolve_links has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 8 (27 pts), if/else 10 (14 pts), boolean chains 6 (nesting depth added 23). 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":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f805ba83a9431cae9e4331bd3a52958ba82f2130865d27e6ef872625c04469"}},{"ruleId":"D2","level":"warning","message":{"text":"RubyLex.identify_identifier (cognitive 46): RubyLex.identify_identifier has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (40 pts), boolean chains 4, loops 1, match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb631e89a7c6d4db4935adb72a5e1a5af06408899603643d810c3c58d4514986"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultFactory.extract_types_and_name_from_text_unstripped (cognitive 39): DefaultFactory.extract_types_and_name_from_text_unstripped has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 12, loops 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/tags/default_factory.rb"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07b3d4d385faf116b765ed29e995a528563ffc6aa82483b909965840aec218d"}},{"ruleId":"D2","level":"warning","message":{"text":"RubyLex.lex_init (cognitive 38): RubyLex.lex_init has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 7, loops 3 (4 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec93608fefcf20de89fdb608b1a78af2836600f6e7260aced725c29ffb52b35"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementList.process_token (cognitive 34): StatementList.process_token has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 4, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/statement_list.rb"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"148ede7072b6ade0c4bb7b58cd824ab824aa2bc5a0c33b3d0dff17e6f03730d4"}},{"ruleId":"D2","level":"warning","message":{"text":"TextHelper.signature (cognitive 33): TextHelper.signature has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 5 (9 pts), boolean chains 8 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/text_helper.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b1dc4033569b20e94e80d0c4fec4a9729491999858f9737c54ab93edbc4bc3"}},{"ruleId":"D2","level":"warning","message":{"text":"RubyLex.lex_int2 (cognitive 32): RubyLex.lex_int2 has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21, boolean chains 11. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"72261c79f0eb44b7826b17c99e7d8881fa19a2aeacc24a63d032094682fb76fe"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlHelper.signature (cognitive 32): HtmlHelper.signature has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 7 (14 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cade194c78825a6725d710ee6f73cfa7f1d0a7ed859ce54c7ea8f230eb6c8cc"}},{"ruleId":"D2","level":"warning","message":{"text":"DocstringParser.parse_content (cognitive 31): DocstringParser.parse_content has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 12, ternaries 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/docstring_parser.rb"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0642542e1d8b9cc2d7e545559169df0cbec65469808208adafae0ebc725077cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.match_io (cognitive 30): Node.match_io has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/irb/slex.rb"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8970c6895645ee422716e3a905617e0abbfad104dce885d718dc82630ea5de83"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.parse_blockquote (cognitive 30): HybridMarkdown.parse_blockquote has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 10, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e16ea171f0d7b3e6ecf995f350dbf0b9ede13bfe367a4faae8c77441b3fee90"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementList.process_initial_comment (cognitive 28): StatementList.process_initial_comment has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 10, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/statement_list.rb"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"75438e994df2663b24c8283ba0a7db21c187636200d0d1ffdac6b0e78694f8f3"}},{"ruleId":"D2","level":"warning","message":{"text":"String.shell_split (cognitive 27): String.shell_split has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 3 (5 pts) (nesting depth added 12). 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":"lib/yard/core_ext/string.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"773c440796d94024a94dcc90a2be8d5143aea4be9da89418655dc7454287c33e"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.parse_reference_definition_block (cognitive 27): HybridMarkdown.parse_reference_definition_block has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 4, boolean chains 2, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"1269e83deafdda41765744dd256e71a48cbfd3925b0ebaf37580d725876458d8"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.match (cognitive 26): Node.match has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/irb/slex.rb"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42eab13d565b4ca36e79d6f28b741f5d97230002d5586dd361cf16b33e258d6"}},{"ruleId":"D2","level":"warning","message":{"text":"RubyLex.identify_number (cognitive 26): RubyLex.identify_number has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"721fa7d39afc9b5233ec8f576ef77563bf8885ca215d8e441cff41ba817deaf2"}},{"ruleId":"D2","level":"warning","message":{"text":"createAutocomplete (cognitive 26): createAutocomplete has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 3, error handling 1, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 21 function items inside it that branch (a function literal at line 153, renderItems, a function literal at line 71, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fe0f1fdd8d7b11ca7d8da6e454db6b7f37d739b72950f751aa86458a5bbd6f"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentParser.parse_callseq (cognitive 25): CommentParser.parse_callseq has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, ternaries 1 (3 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/c/comment_parser.rb"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d39adcf5a65425948a9618561960e93a87f4d7e98984d4f35e04c7c3909275"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlHelper.signature_types (cognitive 25): HtmlHelper.signature_types has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 4 (9 pts), boolean chains 6 (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":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cf6f2168b20d41ed11426e1438f8d84a8b1c13211b7a0dd03e566500161538"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.parse_paragraph (cognitive 25): HybridMarkdown.parse_paragraph has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c2e913378453e970db5eba76a8815476c63a234f8146c8b731f5905f938ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"app.generateTOC (cognitive 25): app.generateTOC has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 7). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 426). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55a834e09f3254dec3e050584bd9a21165a787bc000d0d88c0f15f25e11a341"}},{"ruleId":"D2","level":"warning","message":{"text":"Docstring.to_raw (cognitive 24): Docstring.to_raw has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 2, match/switch 1 (nesting depth added 10). 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":"lib/yard/docstring.rb"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56e9d731ef00a83616d5284fef4b52d30dc384a0c9ef040eea368c9a2cc95cb"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.parse_labeled_list (cognitive 24): HybridMarkdown.parse_labeled_list has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8c6280a4b30bbe902a4db4d6cc9cbabed2096df9b58a082f9c88f530dc934a"}},{"ruleId":"D2","level":"warning","message":{"text":"RubyLex.identify_string (cognitive 23): RubyLex.identify_string has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9486f21db272e97dde7d74c6c1034a7bdd3cbb594862e96563319c77f633adf6"}},{"ruleId":"D2","level":"warning","message":{"text":"RubyLex.read_escape (cognitive 23): RubyLex.read_escape has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 3 (5 pts), boolean chains 1 (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":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7475baef76d2d4f549706dced368a0e64a62165e3b6bd43ebb88943450edbac1"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryResolver.lookup_by_path (cognitive 23): RegistryResolver.lookup_by_path has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/registry_resolver.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e2ca696fe76170c46520ae7f045d51886890da2bd7ec284187060adaafcc22"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.consume_columns (cognitive 23): HybridMarkdown.consume_columns has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5606e98c80a86edb63dd73c4d2ece43b426ec2a8939e68d49f02dc113c04b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseHelper.linkify (cognitive 22): BaseHelper.linkify has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 1 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/base_helper.rb"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e73fa2dd2b0901b2bd7c0f00a90c02f2eede8c88ccba4b685c0f9bb43730b71"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.replace_inline_constructs (cognitive 22): HybridMarkdown.replace_inline_constructs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 6, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a984941a08f6bd415c1405084f0073cd212312b6b29c0392b7764b8e22e3c032"}},{"ruleId":"D2","level":"warning","message":{"text":"Text.parse (cognitive 21): Text.parse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/i18n/text.rb"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e02150be344be39518cd51da71c59641d6e0c61d2776333cd91df32267ed9ea"}},{"ruleId":"D2","level":"warning","message":{"text":"RubyLex.identify_here_document (cognitive 21): RubyLex.identify_here_document has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 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":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"031b2b6adfc78fea51b0da1488272d26ff4d0bad29048682e5d7c5b68dcc9657"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementList.process_statement_end (cognitive 21): StatementList.process_statement_end has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 13, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/statement_list.rb"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"69067c6eec4fa7690c5b4cebfa3e7aeb96cafe468a42b53687862ce970d3ae11"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.parse_blocks (cognitive 21): HybridMarkdown.parse_blocks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (20 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"520c3fb757a877d96b891792ddda643920448a9b1cc1a3b6762c4e14479f8e26"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.parse_setext_heading (cognitive 21): HybridMarkdown.parse_setext_heading has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73f15e8fe6e2074e29c78c8e5d5c26ffc2e056eb65906a7cc6c21c6cd37ac5a"}},{"ruleId":"D2","level":"warning","message":{"text":"Diff.run (cognitive 20): Diff.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 3, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/cli/diff.rb"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12f966acd9525b0742ae4f107ba365751d0f8b9d30152385ab65af52b5a926e"}},{"ruleId":"D2","level":"warning","message":{"text":"MacroDirective.find_or_create (cognitive 20): MacroDirective.find_or_create has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (5 pts), boolean chains 4 (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":"lib/yard/tags/directives.rb"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8b79871c64d82ba866db4d8abc64c6cfd03789691b337d28b34b3eed799015"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtraFileObject.parse_contents (cognitive 19): ExtraFileObject.parse_contents has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 2 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/code_objects/extra_file_object.rb"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d570edb1f5b28bb5e8fd7c30e25c72955be89595f281b912af55aef21be7fa"}},{"ruleId":"D2","level":"warning","message":{"text":"partialSearch (cognitive 19): partialSearch has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (8 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/full_list.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6673a3a4b1aa2210cac15f51ecbaea5cbb4e3ff39bd86bbf91573f080162a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassConditionHandler.parse_condition (cognitive 18): ClassConditionHandler.parse_condition has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, error handling 1 (3 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/handlers/ruby/class_condition_handler.rb"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"899ab5c315b6216799d226bc1e9571ab928aec5c2273ee58007889c3c9efddc3"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.parse_list_marker (cognitive 18): HybridMarkdown.parse_list_marker has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"7366e03d3afd37fdcb30bc7d66e157a464e6fa13d5f0664dadd7ce37b0a040de"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryResolver.lookup_path_inherited (cognitive 17): RegistryResolver.lookup_path_inherited has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/registry_resolver.rb"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"73679ee489caa9fba2cac5f4dd1d662d71b8af9da5fbf221ccfb498ce60ecd71"}},{"ruleId":"D2","level":"warning","message":{"text":"app.generateTOC (cognitive 17): app.generateTOC has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 5). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 18). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/guide/fulldoc/html/js/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbe7dbbe97fd5252a932be46793585f21da1f7b1ed94134972d93ce76ca3ba9"}},{"ruleId":"D2","level":"warning","message":{"text":"HandlerMethods.find_method_body (cognitive 16): HandlerMethods.find_method_body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/handlers/c/handler_methods.rb"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79ae1b051462da4d940e94c71014d6281a1089855c75226c53bc0ef6bfbc57d"}},{"ruleId":"D2","level":"warning","message":{"text":"DecoratorHandlerMethods.process_decorator_parameter (cognitive 16): DecoratorHandlerMethods.process_decorator_parameter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/handlers/ruby/decorator_handler_methods.rb"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df9fceb13060afb1dc8adf6565bb5378dc78997d3db9ff27943374d4545b3fd"}},{"ruleId":"D2","level":"warning","message":{"text":"RbsParser.parse_namespace (cognitive 16): RbsParser.parse_namespace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (3 pts), match/switch 1 (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":"lib/yard/parser/rbs/rbs_parser.rb"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5a42d5067382f08c37afbb24705058df337fe6a049957deaffc4ac1375b1e5"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.create_subnode (cognitive 16): Node.create_subnode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/legacy/irb/slex.rb"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"663f952a671bf4771aa47265b08394f9b52c22eb76b07e501b053a9f61a0c147"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlHelper.link_object (cognitive 16): HtmlHelper.link_object has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, error handling 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"714d0a2fdc808f1b7ccee3d6dbf2840ecf6cd24d2eeb001bdd794091a20b4e7b"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridMarkdown.contains_nested_link? (cognitive 16): HybridMarkdown.contains_nested_link? has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/yard/templates/helpers/markup/hybrid_markdown.rb holds 15 of the 54 methods over the threshold \u2014 including the worst \u2014 and 329 of the 753 points over it (44%), 3.2\u00D7 the next-largest file (lib/yard/parser/ruby/legacy/ruby_lex.rb at 104). 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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"a088b339090ee95bc87e1b4613038adacb7d08d30f2a458100d2e751d84751bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HybridMarkdown: TooManyMethods \u2014 128 methods. The bar is 30 methods; this is 98 over it, 4.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d025367f6d124da9f05a6f762cddfdc0c49562f8046e09685eb0ea40862ef7de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: markup/hybrid_markdown.rb: FileTooLong \u2014 1773 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1273 over it, 3.55\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":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c9da1a5ceba3440829720d8b1cc3c5f46371fa9b199cd1414a253aaa2d839e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: legacy/ruby_lex.rb: FileTooLong \u2014 1089 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 589 over it, 2.18\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":"lib/yard/parser/ruby/legacy/ruby_lex.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d555f5232af588363baa16695c87429623e9672bf70d4c9ea2c00093e069f31"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HtmlHelper: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c686b4447ebe8d3d24c61647b770952798bccc2f562debf4247c8ed521aadb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ruby/ruby_parser.rb: FileTooLong \u2014 666 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 166 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/ruby_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6047468b6ee9665b97f8ad0eeae50bd1ada11304d2dc7f67dbc4736848a51b4b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Base: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/handlers/base.rb"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"47878cc516b625c706f0f8f5fe33628875a07eb4b72f8ff634a169e1cac236d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autocomplete.createAutocomplete: FunctionTooLong \u2014 createAutocomplete runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8672e9be752d5d0cf6cb74944471eb586bc1d12245c2d6b4a4c54bcd20ac136e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Base: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/code_objects/base.rb"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3586539bd9754237277d2d2b86f8b69a3bc33c14b73f583012d103bb581b21"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Registry: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/registry.rb"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3392a3a2ae510230adb5711500cc35d80e05f88c72c912e20b71854c2460d5ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RegistryStore: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/registry_store.rb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbd7896696e5ee8a17abf121aa73ef864aff63181c113cdb5dbdeb4f6ed69a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/app.js: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 34 over it, 1.07\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":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bd699caee4cdfbabd333b13b98d25b8751455f78d554417b77515524c927ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/yard/handlers/rbs/method_handler.rb:262-285 | lib/yard/handlers/rbs/method_handler.rb:290-313 \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":"lib/yard/handlers/rbs/method_handler.rb"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4e145d91b0fc0a49bfd156fa013e94398c042b5783d8c44bf177af2373136a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/yard/cli/stats.rb:208-222 | lib/yard/cli/yardoc.rb:597-611 \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":"lib/yard/cli/stats.rb"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"339f3800591b93b917df976fcaa34089eb8419287b266928304f614e1a34a7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/yard/templates/helpers/markup/hybrid_markdown.rb:1209-1221 | lib/yard/templates/helpers/markup/hybrid_markdown.rb:1258-1271 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/markup/hybrid_markdown.rb"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ceacacc0f7ff1885b546d2f6495feb8eedb5658c61c6cca183a92dcd879062"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/yard/rubygems/doc_manager.rb:29-37 | lib/yard/rubygems/hook.rb:120-128 \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 \u0060lib/yard/rubygems/doc_manager.rb:29\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/rubygems/doc_manager.rb"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"740a95211a66e63b3829ea7a9fde9602c52e665d728303bdaf756353680b7875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/yard/templates/helpers/html_helper.rb:512-520 | lib/yard/templates/helpers/text_helper.rb:64-72 \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":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"846a829f380643a79e089c5892e98e96479eeb3041c7a1168bf5e32d403eddcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/yard/templates/helpers/html_helper.rb:552-558 | lib/yard/templates/helpers/text_helper.rb:85-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3933464e1a23425d30df2f86c953ffc7aa2c48b95caa434e750c233b0c10df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/yard/handlers/ruby/class_handler.rb:74-79 | lib/yard/handlers/ruby/legacy/class_handler.rb:75-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/handlers/ruby/class_handler.rb"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"473fee482c522cb9f3ba39f84aacbb887557611943ec8d993a52f1677577e2c8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ParameterNode (LCOM4 6): ParameterNode\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":"lib/yard/parser/ruby/ast_node.rb"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b497ce6c9b0377a085127ed5f7e20e4b7e33a4d77a01fd79b491bf870bfc7d81"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SearchCommand (LCOM4 6): SearchCommand\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":"lib/yard/server/commands/search_command.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b77c56add64caa62d9098aad3b21538c5693e5953d44236135643d043a36025"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Stats (LCOM4 5): Stats\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/cli/stats.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c446e853534253e5e867c4637381b3d5a92417420bfdd247fbd91a4ca1222fd4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Base (LCOM4 5): Base\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/code_objects/base.rb"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"699bc12a6ace8b470ef3baac72c398a02b6856e2747c498c8bf41d0c1b4eca48"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TokenResolver (LCOM4 5): TokenResolver\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/parser/ruby/token_resolver.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf65cbf51bfd2a053b89dd5e04916b25a3f175d3c4b8d69237e839fbd39b2572"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Options (LCOM4 4): Options\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/options.rb"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"037491fcdf7b5d443a0801e72c5e053372aa3789fe84c739ad7771a3b6eaf929"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RegistryResolver (LCOM4 4): RegistryResolver\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/registry_resolver.rb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"88072b8949253d8a8320d90f375f2fb7277dc26ad9facc252a686c19148c7d7e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # HACK: why are --help and --version defined? \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/cli/yardopts_command.rb"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"635f2cea32c4843bde362d7669064f29d034c9be4530716311ab3abb15a701f5"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # XXX: raise UndocumentableError might be too noisy. \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":"lib/yard/handlers/c/handler_methods.rb"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f0485ba8d34d5d9c2caa1dfbfca7aea92e6f2c2849839c7a168431601eb686"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # HACK: warn \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/rubygems/backports/source_index.rb"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f4506443efcac0c7bef0ba20eaa5e0e33f7865d1efb46fed1594a1444c9cdf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO merge @gems and @prerelease_gems and provide a separate method \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":"lib/yard/rubygems/backports/source_index.rb"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"113945ddc70fa30de0d78cd94ea61d8450133f395a2198dd4e1c73f970095cb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: remove method \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":"lib/yard/rubygems/backports/source_index.rb"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b962148cc5449eff05d9a65c27a6dcc3ed5021657059a05cc6c28725dc709aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: why is this a hash while @gems is an array? Seems like \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":"lib/yard/rubygems/backports/source_index.rb"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc62d302381abd16c2a726a9a420c17dfd45d38c13e514cada4c249dafdf5b4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove support and warning for legacy arguments after 2008/11 \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":"lib/yard/rubygems/backports/source_index.rb"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c7cd886f7ca5a82c26aee803b11399070b8183aca91ef107d0892e9bb8ba82"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack to load a custom fulldoc template object that does \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/commands/library_command.rb"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b219a15920d89891c4215dad9560a2f7ce4e3f30585c549141609f50cb18b39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: cleanup this code. \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":"lib/yard/tags/types_explainer.rb"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5291d1e1c39604841b2daeb82bba2043d5acc8b785756047fffe8a9f6ed78c8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: refactor this code to not make use of the Handlers::Base class (tokval_list should be moved) \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":"lib/yard/tags/overload_tag.rb"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cf91606a0b582dffa7088bd10c863c683c94aa1217f016e09670a5e8a1e4e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # For reference, objects with TODO items can be enumerated \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":"lib/yard/tags/library.rb"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88dacdc2ee7fa5bb26e7f2a108a19768b9a9f7189cdf0096be82e5ee115e724"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: other libraries might be more complex \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":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"652bc3c7b6cf953332adaac15a038fbe8b7c140814495c58a80f37abb4dd6abc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # mocks.verify_partial_doubles = true # FIXME: Not yet working \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":"spec/spec_helper.rb"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c01ec8ecca12708a155d227dd11e52d01c4e6b4e100ef1f51e34f197a2e2033"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # config.order = :random # FIXME: Not yet working \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":"spec/spec_helper.rb"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84ef44f0eb2e537d22dd45de61ff417b15875a3d9cf6560da9e259522c080eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: no assertions 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":"spec/code_objects/extra_file_object_spec.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"025616b474c2abbb43080efd9bfa8299d3aafc0ae84f3e6e7893bcd6b4976c43"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: tokval_list destroys extra spaces surrounding the \u0027=\u0027 in \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":"spec/handlers/legacy_base_spec.rb"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2436b041dd896ec189aac9c87126b82a7f05a19b6a81c4e95b80f34d062054"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add more encoding tests \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":"spec/templates/helpers/html_helper_spec.rb"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0d7c8bf68854abcf8e793d47a8b28de157e042b928fc0e9b1aedd935b251ab"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack to fix RedCloth compat issues with MinGW compilation hosts \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/templates/markup_processor_integrations/redcloth_spec.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcbd0df8f7fe5d7fd0fc00603ca17ee4919922353a90b170643008aff3805de"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: The Getting Started guide describes documenting code with RDoc-style syntax but does not show any usage examples of the yard command or its alternatives. Add a short \u0027How to run it\u0027 section showing a one-line yard invocation and an example output."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/GettingStarted.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fb1f853a5dcabcf165d87b17b256f0189156214201b2375939aca9f7d88640"}},{"ruleId":"D22","level":"warning","message":{"text":"Ambiguous distinction between parsing sources. It is unclear if \u0060parse\u0060 handles file paths and \u0060parse_string\u0060 handles raw strings, or if they are redundant entry points for different input types. The naming convention does not clearly delineate the input domain (e.g., \u0060parse_files\u0060 vs \u0060parse_string\u0060 would be clearer).: Rename \u0060YARD.parse\u0060 to \u0060YARD.parse_files\u0060 or \u0060YARD.parse_sources\u0060 to explicitly indicate it operates on file paths or source objects, distinguishing it from \u0060parse_string\u0060. (signatures: YARD.parse(args) | YARD.parse_string(args))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b15604382a2de7d04abdf77b8294e7b7884ebbe8d24fca1172e2ea57aa7defea"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent naming for CLI command execution. Most CLI commands use \u0060run(args)\u0060, but \u0060YRI\u0060 (a CLI tool) also uses \u0060run(args)\u0060. However, \u0060YARD.CLI.Config\u0060 uses \u0060run(args)\u0060 while also having a \u0060description()\u0060 method. The primary inconsistency is that \u0060YARD.CLI.Config\u0060 appears to be a configuration object rather than a CLI command, yet it exposes \u0060run(args)\u0060 and \u0060description()\u0060, blurring the line between configuration data and executable commands. Additionally, \u0060YARD.CLI.CommandParser\u0060 uses \u0060run(args)\u0060 which suggests it executes the parsed commands, whereas \u0060YARD.CLI.Command\u0060 subclasses also use \u0060run(args)\u0060. This is consistent, but \u0060Config\u0060 being a \u0027Command\u0027 is semantically confusing.: Remove \u0060run(args)\u0060 from \u0060YARD.CLI.Config\u0060 if it is purely a configuration holder. If it is an executable command, rename it to \u0060YARD.CLI.ConfigCommand\u0060 or similar to align with the naming pattern of other CLI commands (e.g., \u0060Yardoc\u0060, \u0060Stats\u0060). Alternatively, rename \u0060run\u0060 to \u0060execute\u0060 or \u0060invoke\u0060 across all CLI commands to distinguish the action from the state. (signatures: YARD.CLI.Config.run(args) | YARD.CLI.Diff.run(args) | YARD.CLI.Display.run(args) | YARD.CLI.Gems.run(args) | YARD.CLI.Graph.run(args) | YARD.CLI.Help.run(args) | YARD.CLI.I18n.run(args) | YARD.CLI.List.run(args) | YARD.CLI.MarkupTypes.run(args) | YARD.CLI.Server.run(args) | YARD.CLI.Stats.run(args) | YARD.CLI.Yardoc.run(args) | YARD.CLI.CommandParser.run(args) | YARD.CLI.Command.run(args) | YRI.run(args))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aa29e453063a4b2fd56a48c76414ea69c1bd9aca4733e558c90873e3b58beb04"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent naming for docstring access. The getter is \u0060docstring(locale)\u0060 which takes an optional locale, while the setter is \u0060docstring=(comments)\u0060. This is standard Ruby, but \u0060Base.docstring\u0060 is also a property. The method signature \u0060docstring(locale)\u0060 implies it\u0027s a method, but it\u0027s listed as a Property in some contexts or Method in others. More importantly, \u0060Docstring\u0060 class has \u0060docstring\u0060 as a property, but \u0060Base\u0060 has it as a method/property hybrid. This is minor but worth noting for clarity.: Ensure \u0060Base.docstring\u0060 is consistently exposed as a method if it takes arguments, or a property if it doesn\u0027t. If it always takes an optional locale, it should be a method \u0060docstring(locale=nil)\u0060. (signatures: YARD.CodeObjects.Base.docstring(locale) | YARD.CodeObjects.Base.docstring=(comments))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3f1ac09f5ca4096645c9e4745e53ee03bf925d9a30e871937a833c84434c3188"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate intent across different layers. Both \u0060Base\u0060 (CodeObject) and \u0060Docstring\u0060 have \u0060has_tag?(name)\u0060. Since \u0060Base\u0060 likely delegates to its \u0060Docstring\u0060, having the method on both creates redundancy. Users might call \u0060object.has_tag?\u0060 or \u0060object.docstring.has_tag?\u0060 interchangeably.: Remove \u0060has_tag?\u0060 from \u0060Docstring\u0060 if it is only a delegate, or document clearly that \u0060Base.has_tag?\u0060 is the primary API and \u0060Docstring.has_tag?\u0060 is internal. Ideally, keep \u0060has_tag?\u0060 on \u0060Base\u0060 and remove it from \u0060Docstring\u0060 if it doesn\u0027t serve a distinct purpose. (signatures: YARD.CodeObjects.Base.has_tag?(name) | YARD.Docstring.has_tag?(name))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b6473ff704273b06525845b31856cb1054edc50eaeaefb5ffa470c96c07339cb"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate intent across different layers. Similar to \u0060has_tag?\u0060, both \u0060Base\u0060 and \u0060Docstring\u0060 expose \u0060tags(name)\u0060. This creates confusion about whether to query the code object or its docstring directly.: Remove \u0060tags(name)\u0060 from \u0060Docstring\u0060 if it is merely a pass-through to \u0060Base\u0060, or ensure the API surface clearly distinguishes between querying the object\u0027s tags and the raw docstring\u0027s tags. (signatures: YARD.CodeObjects.Base.tags(name) | YARD.Docstring.tags(name))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bede0aa71645a5473c6dd35ddb16519cbc4a12dfe6346874ef601c856ad1a061"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (29691 LoC, 588 module-visible types across 35 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8109dce38defa2356a4dadc0d0de54d2a3068d55e0fa05a6643a42adc1a4628c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9b79a42c1353f66f0a4d39600ecafc51a05b89031e98896312f2acc981a4331"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ce275884f8c92a96963d654c46c3732d1949b6c19257abb841f13c824a0a42c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb14839ddf7fb4eed9efa83bf5f11f81709474f7b4170ebdd406fcafe3030f9b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec13ed05375a454c4707ec5c5633de979b34fffb317fa1688b132611143c3f2c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55ecd0088f9ff512b27149d40e968093cd13f358f973e6f174ac12e81b71b46e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ece143e1a9330dab17386acad70b2061363181af57fec37d049b50ed298b16b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac99101fb74b83659a036f946a97757ed6d683a0473a6ce2dfdb97fe631263aa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e93bf71862d9f33c9ec126c3b3adc08bf2a16c66c4846a362370e3e162da3dc7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78c7575dc069c8c1e3aefa6eeb5c6190bf37349a9aafeb01f09910a6b97f243a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3096b6bdf898b9377831aeac7c17630885c997982eb4d5fb23ccbd62ad10def2"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7fcc9c4fd2a1a2d90b8d86bb28c9aa078e6c479a2e1ee1414022bc5bc2cfe25"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e353a93b40e7b947d4956cd6b7d1216a78bc66cb627efaa336c5fcd41a5c5aef"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7573696c7617026fe16fde62b4c3d666f9846a9cbab5bbbc29621c3cbeb85deb"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3095208a75e79ddd596c2af85fbf9958324bcd3b2aa400060b69866b1e8bbc09"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f089293e65c05751ee4daa02fdea67c7461847ff40dcba98df911dbe443d500"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b66f095b4889929475344a3f2bc2ee68bb8013fff0a19ec80ad87159f24ed08"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcdde072c427aa2de3d09bf5838d6c3354820e9e3cb6bbba447497a67abf4c93"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d5b51e449715764659c73f04b396ead7c084d543dd02a587f459e157d7ef21b"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0b1e8aace7e72b17123675c43b3c8fe15614dcbe2382c5535dd61cad83e6146"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca1b192f9c1acd99593dac238daf7d890c6dc9e1c0fda7c7f59cadbb4d5d0e44"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d097f223b2bf2d4f5ac302d17771843932f7e304800618c9f3039506d17de172"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ab7ecea88dcf5c1fc4b65c140ea79226641c7deb4c38c9d635d0a7684de6ed7"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdacda3cd13214a3d6f3e54ea1e3b7f7ede2745806fa2193c3c3cab00ca51901"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0c28056100e90d4ad5ef833c2c38f5bb6c8a8ccaa1530e419ccb5922a8d5255"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b02d54195cabd2284d94e2f43dc4fe203fe1d0cc45964791caf50a51d15c7ae"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8b1870d277b3f5d18ee3d8e4760c993a4d9b0301f157125c99c7c07213f54f7"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e16422c88fd9307f9375cad56ab5d9c3525e6bb0bb0d675304743e6ea78b06f3"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 4 of 99 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 99 of the 255 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: lib/yard/i18n/pot_generator.rb, lib/yard/i18n/text.rb, lib/yard/rubygems/hook.rb, lib/yard/cli/i18n.rb. 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":"lib/yard/i18n/pot_generator.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8052488c6202684dde30831947813c3b880a07e18b01da473d71762a59651232"}},{"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":"lib/yard/i18n/text.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e202b0ec7fc138ce6c8866bf0e033a364686eef021ab506a28ea5b5c784984"}},{"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":"lib/yard/rubygems/hook.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae93fd748122e7b8c518ba80e6704937eab0346f5b13452aea0bef91724132e"}},{"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":"lib/yard/cli/i18n.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbf749357a61c58ab0829535f8c56168528e1d70e94394dc02ab1d7f0df93aa"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"077545ca2940b80fb4b7043d38507c6b38a493a9f0d5c6d49f480084e5cb2c13"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/templates/doc_server/processing/html/processing.erb"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"137a4fa40953463632fb4b2a7606e253c234a5819c30f80205d4c1230bba923d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/templates/default/layout/html/breadcrumb.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bf338d15e53ab53c39a98cb29ffd404142ee6cb1250f5af05eea167da78467"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/layout/html/search.erb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc16c62b9df00c49e1943a2280616c397927d43e2856d28a89261726c938a81"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/templates/doc_server/library_list/html/library_list.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"60584c360e5d9a062dc6c3a51b57853228cfc11f1de5c1c25591c7e767f6d0f0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/templates/doc_server/library_list/html/library_list.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9de0c544815c8c700e3194f79b7c10a72af0828f5ad837c4258115189a38ed"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/templates/doc_server/processing/html/processing.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e61abacae41538a4dd3beaf27f65ca22e1c7d0a7d728a2401da7177ea968449"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/templates/doc_server/processing/html/processing.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d9c972aa73dd1ae87644a5f62641d6fe8c54f78b5abb8e783e7085d957ff94"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/full_list.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"37613a54f4cb2b315b3778b92d271052ff39011b36e7ea8a0bbdf672929e3083"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/layout/html/layout.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7301d39d1536df90f77bf3986569b92b321366bcadf6406dd3584864dc2c24bb"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/layout/html/layout.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de7c74509090f8d75ece39a0e7cda8149475863008b7f8e2701acef6cc9769d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/layout/html/layout.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48a431589d507f7ae4fd48e70240db89c472549b1dbaf1384a44a7fcf0541a1"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/layout/html/layout.erb"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"928709ba220063a477f48c0da95ed5e60202db44e21c315060d7b1c0a5358089"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/layout/html/objects.erb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9879853e558caa243f7e1e1ba31f4fb1999d6588454342941b14435aa68b840e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/method_details/html/source.erb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5d9cdc15f3ce3bf945ecb583fecb433405e9f5794cde7ad7f5c852c601b326"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/onefile/html/layout.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9619b30634506e10fdf5e7604de06dfad001589d3cab69635564f4e25a5c1496"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/guide/layout/html/layout.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"270c58da53ce091f5438281e6972e6a533a43d2cd7652893d55bd8ce203597b7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/guide/layout/html/layout.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"78298e4a5679831004ebafa86cf938433834ceb58fca15f298f1d2890265a4fb"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .summary_signature with \u0060cursor: pointer\u0060, so this \u003Cspan\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":"templates/default/module/html/item_summary.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6ef4954341d512e67a8f33499ac4281f893bf13c525b1ff78db9bbd926cf1f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#main\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":"templates/default/fulldoc/html/css/style.css"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"195c173f90fb50f4eda3f7e48c981c31b3bef57b970eeff197a2913e41c6a3d7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#main_progress::before\u0060 moves (\u0060transition: width 0.08s linear\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/css/style.css"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"061e3ba90232fddf101ddaf7a09670d8ab8dc589e7a43640810a5ed9e13e1ce5"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no automated accessibility check runs over the HTML your app renders. Assert the accessibility invariants over that HTML in the test suite you already have (parse the output and assert, or drive a browser), and gate that test in CI so a regression blocks the merge. What was searched, so you can tell an absence from a miss: the 72 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"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: docs/WhatsNew.md links to \u0060CHANGELOG.md\u0060, but \u0060docs/CHANGELOG.md\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":"docs/WhatsNew.md"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"312ba8c36c46bc401b4b7efc4eb77be745e5b5023657e33cac56f181301b76cc"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add brakeman for Rails apps, otherwise \u0060semgrep --config=auto\u0060 or CodeQL\u0027s ruby pack as a CI step. What was searched, so you can tell an absence from a miss: the 2170 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":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A Ruby benchmark-ips/Benchmark/rspec-benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/yri_cache.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0979f1cb15b865419af0aefb9ec97540b93b0e492f2edb17c3c6665def98ef"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/registry.rb"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3087d4faf4c4a6ce4c65d4d11b839802c6db5180572c7d04c87ca10c2109b998"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060level \u003C lastLevel \u0026\u0026 currentList.parentElement\u0060 appears character-identically in 2 files \u2014 templates/default/fulldoc/html/js/app.js, templates/guide/fulldoc/html/js/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f59021f9b973698da0e97ec65c33a322b5c918b0d608e7eee779e6642181bfe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060object.has_tag?(:yield) || object.has_tag?(:yieldparam)\u0060 appears character-identically in 2 files \u2014 lib/yard/templates/helpers/method_helper.rb, templates/guide/method/html/setup.rb. 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":"lib/yard/templates/helpers/method_helper.rb"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fd2ca1bd147e1722c75f34b3b619ac294de96b63b8f97e7dfed5ee2a094ef3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060object.tags(:return).size == 1 \u0026\u0026 object.tag(:return).types == [\u0027void\u0027]\u0060 appears character-identically in 2 files \u2014 templates/default/docstring/setup.rb, templates/default/tags/setup.rb. 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":"templates/default/docstring/setup.rb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f1d1fb034b851da758166822e35a793bb8f67032d045770f360f4a81facd25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060statement.type == :var_ref || statement.type == :vcall\u0060 appears character-identically in 2 files \u2014 lib/yard/handlers/ruby/attribute_handler.rb, lib/yard/handlers/ruby/base.rb. 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":"lib/yard/handlers/ruby/attribute_handler.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9008d79cf35d898f4fc55cf15865f29df20c568f879c53f8dfdaac042825cce8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060types == [\u0027void\u0027] \u0026\u0026 options.hide_void_return\u0060 appears character-identically in 2 files \u2014 lib/yard/templates/helpers/html_helper.rb, lib/yard/templates/helpers/text_helper.rb. 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":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29400ecead9502140e797fafa9b9ed30ad85f91a4fa5b624d6e9d271de74171"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060types.size == 2 \u0026\u0026 types.last =~ /^(Array)?\u003C#{Regexp.quote types.first}\u003E$/\u0060 appears character-identically in 2 files \u2014 lib/yard/templates/helpers/html_helper.rb, lib/yard/templates/helpers/text_helper.rb. 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":"lib/yard/templates/helpers/html_helper.rb"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1689ee5385905fc35f5bcaab904b502da8e48f03a184bbbdeb34b98bf5ebc75"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 79 is called with an argument built by \u0060libraries.keys\u0060 (line 79), whose cost grows with the collection it walks. Ruby evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060debug?\u0060 test, no debug flag, no block the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/adapter.rb"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50c7115bfd2723e17d0276102ac355ec40b4e9e705f46353f1233186277c9df"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060title\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the text of an element of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060title\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d227fd73120fe91f7a728defe15932582bc6ea20871bef3fe0bf246907a784a4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060strong.innerHTML\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"40006294b986b0f69a38ffd33ea420c04b96c359c5400795b661e2e557d8e932"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060link.outerHTML\u0060 is text this program did not author, and it is written into the text of an element through \u0060outerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18ccb65921f61bd12a5f3e178ec054798232f543f888ed74b148463cf54cbe3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060nextMain.innerHTML\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"146dab99feadb65693f6c895682075daaff9812d131510bc6e109fa50f3ff542"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.name.replace(matchRegexp,\u0022\u003Cstrong\u003E$\u0026\u003C/strong\u003E\u0022,)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/full_list.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b69c20abed55ad74ebec66aa6db8e8027522d4eaa95e74ea2ef93a2c01d37b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/yard/server/commands/library_command.rb"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4548e78b795534b44cad0486a718474bbdc4f96a22d10cdb1eeb2bc1de6e4ef1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/full_list.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c51523f0f00d1a7f95d6d796dba23fc4e4e946cb9d68159826c7c78247aeb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1cd288a59a9151fbfbdbe7a74d5eb9683269a41387de87173a20d3b27db80f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbba102cbfe3f91dc2424dec5a45185bb33a553e3f89e3752b45204ecea1b508"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/default/fulldoc/html/js/app.js"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"d559d17b179534ddf1483ab84b6c38bc8692d348b96b87358be123280299effb"}},{"ruleId":"X5","level":"note","message":{"text":"Ruby\u0027s type checker does not check nil everywhere: This repository commits no Sorbet configuration (\u0060sorbet/config\u0060) and no \u0060Steepfile\u0060, so nothing type-checks its 238 Ruby product file(s): a nilable value reaches a method call silently and raises \u0060NoMethodError: undefined method \u2026 for nil\u0060 the first time it is nil. A \u0060# typed:\u0060 sigil does nothing without a \u0060sorbet/config\u0060 beside the code; a Steep run configured only on a command line is not something this check can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32b27113b1bc22f400935e8620d19eae7fd3ef145cc36018609c445ea8cd4af1"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-116","guid":"c0134ca8-adc7-6959-bd17-5253a265d101","name":"Improper Encoding or Escaping of Output","shortDescription":{"text":"Improper Encoding or Escaping of Output"},"helpUri":"https://cwe.mitre.org/data/definitions/116.html"},{"id":"CWE-1265","guid":"9bfc5711-f2f2-6252-bd2e-ff21a1e98a6c","name":"CWE-1265","shortDescription":{"text":"CWE-1265"},"helpUri":"https://cwe.mitre.org/data/definitions/1265.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-561","guid":"522a7ba7-45e9-ab53-9088-45d86e04b53a","name":"CWE-561","shortDescription":{"text":"CWE-561"},"helpUri":"https://cwe.mitre.org/data/definitions/561.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":37,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}