{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"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":"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":"AddressListsParser.parse (cyclomatic 326): AddressListsParser.parse has cyclomatic complexity 326 (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/mail/parsers/address_lists_parser.rb"},"region":{"startLine":31958}}}],"partialFingerprints":{"codehealthFindingId/v1":"82279dabc7e823f0b6bc4c1408ab75083cf8dafe067fa9f1c5922bf29e54cb49"}},{"ruleId":"D1","level":"warning","message":{"text":"ReceivedParser.parse (cyclomatic 155): ReceivedParser.parse has cyclomatic complexity 155 (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/mail/parsers/received_parser.rb"},"region":{"startLine":7491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b4c58969fdea6d19f846d6cd04a1c831380a145acea66d21b41ef8da7a96f3"}},{"ruleId":"D1","level":"warning","message":{"text":"EnvelopeFromParser.parse (cyclomatic 75): EnvelopeFromParser.parse has cyclomatic complexity 75 (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/mail/parsers/envelope_from_parser.rb"},"region":{"startLine":3218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c4cf094841b45670adfc50b754f5be712dfff9e54e44b1b8fb6b061d5f99ee"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentTypeParser.parse (cyclomatic 64): ContentTypeParser.parse has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_type_parser.rb"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6a06911e5112933f80aec837a7cd2d306cdb1c8d4254cc76cba876c947e7f7"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageIdsParser.parse (cyclomatic 63): MessageIdsParser.parse has cyclomatic complexity 63 (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/mail/parsers/message_ids_parser.rb"},"region":{"startLine":4825}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8fc65c1e0043dd4b0464d1ab353a795ad39cb6f6c99d8819be786bf09f4ded"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentDispositionParser.parse (cyclomatic 61): ContentDispositionParser.parse has cyclomatic complexity 61 (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/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a06dab6d073831969c58214c4c18e4b1e3d9446d86a382521d3f73ad9aefd0"}},{"ruleId":"D1","level":"warning","message":{"text":"PhraseListsParser.parse (cyclomatic 41): PhraseListsParser.parse has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/phrase_lists_parser.rb"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a90126dc6fd916bef77d6c1287f3491406e0ab7f6418f8d330ff2c7f77cd30"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentLocationParser.parse (cyclomatic 40): ContentLocationParser.parse has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_location_parser.rb"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"153d7a063669d61de0b3e9aca677eeb84a3cb7542490e804ef2dc02d845e5982"}},{"ruleId":"D1","level":"warning","message":{"text":"MimeVersionParser.parse (cyclomatic 38): MimeVersionParser.parse has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/mime_version_parser.rb"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6408f98b0a1363f04bfbb8527b0afa0560aa8eab4daeb93de2bc26dc89b8d3"}},{"ruleId":"D1","level":"warning","message":{"text":"DateTimeParser.parse (cyclomatic 37): DateTimeParser.parse has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/date_time_parser.rb"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e1d91388b4dc8d22263372c89c55b7d1226038c6a933be5de89cfd5b0291c9"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentTransferEncodingParser.parse (cyclomatic 34): ContentTransferEncodingParser.parse has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_transfer_encoding_parser.rb"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68d93b5341d6f6dacba2bd925e4c848b21538616fde1abfa55e5a4135ecd642"}},{"ruleId":"D1","level":"warning","message":{"text":"IMAP.find (cyclomatic 23): IMAP.find has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/network/retriever_methods/imap.rb"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7834078880da85fd2cb27642f28c7fffdb7dd6d6e8c3a0ee42a8e630355f3d"}},{"ruleId":"D1","level":"warning","message":{"text":"UnstructuredField.fold (cyclomatic 16): UnstructuredField.fold has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/fields/unstructured_field.rb"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5f00864af8e416f942ad0c28f1d81a65018ff2ad18384b2bb12c7e37c933a1"}},{"ruleId":"D2","level":"warning","message":{"text":"AddressListsParser.parse (cognitive 997): AddressListsParser.parse has cognitive complexity 997 (threshold 15). Drivers by points: if/else 198 (913 pts), boolean chains 75, match/switch 2 (8 pts), loops 1 (nesting depth added 721). 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/mail/parsers/address_lists_parser.rb"},"region":{"startLine":31958}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc0950f9432e3bba56ea5402ea5c8609d3630a7853763343f71370eda45e619"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentDispositionParser.parse (cognitive 90): ContentDispositionParser.parse has cognitive complexity 90 (threshold 15). Drivers by points: if/else 24 (71 pts), boolean chains 10, match/switch 2 (8 pts), loops 1 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"4258380dae707e402ecb667be1af5b326b486d0f48aad4cd928c1a190527bb4b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentTypeParser.parse (cognitive 90): ContentTypeParser.parse has cognitive complexity 90 (threshold 15). Drivers by points: if/else 24 (71 pts), boolean chains 10, match/switch 2 (8 pts), loops 1 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_type_parser.rb"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"799ea68829a82be64638e641261a3b8e95cda11872dcf3fa061aafbd11fdc18c"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageIdsParser.parse (cognitive 78): MessageIdsParser.parse has cognitive complexity 78 (threshold 15). Drivers by points: if/else 23 (66 pts), match/switch 2 (8 pts), boolean chains 3, loops 1 (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into 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/mail/parsers/message_ids_parser.rb"},"region":{"startLine":4825}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a899d79d4be35e38eba9a8fc3f0b0e9124ea8912fa5e33bc47af494786e38ee"}},{"ruleId":"D2","level":"warning","message":{"text":"PhraseListsParser.parse (cognitive 68): PhraseListsParser.parse has cognitive complexity 68 (threshold 15). Drivers by points: if/else 21 (56 pts), match/switch 2 (8 pts), boolean chains 3, loops 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into 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/mail/parsers/phrase_lists_parser.rb"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dbd8ab04ab73ccb5c852e88a3d4fcfbe9b163c9a17069771c01c048a8f051a"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentLocationParser.parse (cognitive 48): ContentLocationParser.parse has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (36 pts), match/switch 2 (8 pts), boolean chains 3, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_location_parser.rb"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"019a06d70ee1f762548ed094e5604f92ca023d6cbf69505b6194481403e8bb06"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentTransferEncodingParser.parse (cognitive 48): ContentTransferEncodingParser.parse has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (36 pts), match/switch 2 (8 pts), boolean chains 3, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_transfer_encoding_parser.rb"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d99442172e2d01d6baa331e33bb737fb3e7a38cee4da1c05ad35b312e675ce"}},{"ruleId":"D2","level":"warning","message":{"text":"DateTimeParser.parse (cognitive 48): DateTimeParser.parse has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (36 pts), match/switch 2 (8 pts), boolean chains 3, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/date_time_parser.rb"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"84573d1e53f237a295a94c303832a373eafdd44d348083f649858c7993f89cd8"}},{"ruleId":"D2","level":"warning","message":{"text":"EnvelopeFromParser.parse (cognitive 48): EnvelopeFromParser.parse has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (36 pts), match/switch 2 (8 pts), boolean chains 3, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/envelope_from_parser.rb"},"region":{"startLine":3218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89987c6b3851d54d1259566bf27ae0ce03f902a11a493e59c21d8f1f2ba34fe"}},{"ruleId":"D2","level":"warning","message":{"text":"MimeVersionParser.parse (cognitive 48): MimeVersionParser.parse has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (36 pts), match/switch 2 (8 pts), boolean chains 3, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/mime_version_parser.rb"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"042d6d8d3492ffea340b8df6c4861e500f10bdf5ca30782c7f869498de320351"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceivedParser.parse (cognitive 48): ReceivedParser.parse has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (36 pts), match/switch 2 (8 pts), boolean chains 3, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/received_parser.rb"},"region":{"startLine":7491}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa764e65aef6495cd2bed4e3441429fc4504b05a73887e5b4adc4a5902474de"}},{"ruleId":"D2","level":"warning","message":{"text":"UnstructuredField.fold (cognitive 37): UnstructuredField.fold has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (32 pts), loops 2 (3 pts), boolean chains 2 (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/mail/fields/unstructured_field.rb"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f52600acea5c382ae97a20aefd7f1969e6ece1295bdfaf901d438e00fe5aaca"}},{"ruleId":"D2","level":"warning","message":{"text":"IMAP.find (cognitive 35): IMAP.find has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/network/retriever_methods/imap.rb"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"498f031112238730bec0c3c51d5fde7d01549a07d7e207f8f6303abd8e9a84c7"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachmentsList.[]= (cognitive 25): AttachmentsList.[]= has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/attachments_list.rb"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f88d73129d38d1ec42dc0f9df56f9090aaff39d52e5067a17e8a712c1f9603"}},{"ruleId":"D2","level":"warning","message":{"text":"POP3.find (cognitive 19): POP3.find has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/network/retriever_methods/pop3.rb"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b40d30ac682ff241cd07f32cabeac5406292d833aac2ca0277a1df392b4f9a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.reply (cognitive 18): Message.reply has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacb63c163a39721177d74f8385581f1296a9099223030fd66a4b03aaa9d00ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Chars.[]= (cognitive 18): Chars.[]= has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/multibyte/chars.rb"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc43fcecf475fc10006cec9e517d47c91b286d869274c0a9ba47fa3e3b7c9379"}},{"ruleId":"D2","level":"warning","message":{"text":"Body.encoded (cognitive 17): Body.encoded has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/body.rb"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8155c4127be522e2785207dfb92151cd38fbcd83f23bbd56ac3c0e7e2756a2a"}},{"ruleId":"D2","level":"warning","message":{"text":"Chars.slice (cognitive 16): Chars.slice has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/multibyte/chars.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2727bb5109ace2af4df7c016001e88f9c5aadd6a0b19cf67c220fafdbf46f784"}},{"ruleId":"D2","level":"warning","message":{"text":"SMTP.smtp_starttls (cognitive 16): SMTP.smtp_starttls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 2 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/network/delivery_methods/smtp.rb"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f033990ce24e6a1c34aa61109c96859bffe275f6698b41a3169216f60a64140e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Message: TooManyMethods \u2014 180 methods. The bar is 30 methods; this is 150 over it, 6.00\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/mail/message.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d6c70adc8e6e5aa7b74cba00f1c517076ed50f02d8a18484d260e40b7891e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mail/message.rb: FileTooLong \u2014 933 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 433 over it, 1.87\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/mail/message.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da96a90fb944a53837a28f45d5cdef9893ce90813b56393334fac25a0ea29479"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Utilities: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/utilities.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4a22e93c46029c41c5b47ba6c30ca99993382e4a831584d94b66a303175193"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HasSentEmailMatcher: 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/mail/matchers/has_sent_mail.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"30721fd8439f115b6510061c8d9314c034325c9354d795cdc95334ae9dbc960c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): lib/mail/parsers/address_lists_parser.rb:31959-33239 | lib/mail/parsers/content_disposition_parser.rb:564-898 | lib/mail/parsers/content_location_parser.rb:585-819 | lib/mail/parsers/content_transfer_encoding_parser.rb:336-519 | lib/mail/parsers/content_type_parser.rb:689-1045 | lib/mail/parsers/date_time_parser.rb:668-888 | lib/mail/parsers/envelope_from_parser.rb:3219-3672 | lib/mail/parsers/message_ids_parser.rb:4826-5158 | lib/mail/parsers/mime_version_parser.rb:300-510 | lib/mail/parsers/phrase_lists_parser.rb:680-881 | lib/mail/parsers/received_parser.rb:7492-8779 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/address_lists_parser.rb"},"region":{"startLine":31959}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c6f668b62e861477eeb6f80624bee1fd7fb3321d8c02d2f0e56ce9ca6054d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79\u201397 lines \u00D7 2): lib/mail/parsers/received_parser.rb:8349-8427 | lib/mail/parsers/received_parser.rb:8453-8549 \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/mail/parsers/received_parser.rb"},"region":{"startLine":8349}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f920abbf01eabd65e9518305218a29191a853d9a5b0a5d592ec79a5914963f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): lib/mail/parsers/received_parser.rb:8128-8185 | lib/mail/parsers/received_parser.rb:8246-8303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/mail/parsers/received_parser.rb:8245\u0060 calls \u0060chars\u0060 and \u0060lib/mail/parsers/received_parser.rb:8127\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/received_parser.rb"},"region":{"startLine":8128}}}],"partialFingerprints":{"codehealthFindingId/v1":"767a38607ca622d1a51409798c1c5bfb7fbb0e3f3c746b101617f22b046f864c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:739-794 | lib/mail/parsers/content_type_parser.rb:886-941 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_type_parser.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 404 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f99772f2feca722466474fbe61c0246f35b7a826553c60bd7c9f0cb444e6200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 11): lib/mail/parsers/address_lists_parser.rb:31974-32021 | lib/mail/parsers/content_disposition_parser.rb:573-620 | lib/mail/parsers/content_location_parser.rb:594-641 | lib/mail/parsers/content_transfer_encoding_parser.rb:345-392 | lib/mail/parsers/content_type_parser.rb:699-746 | lib/mail/parsers/date_time_parser.rb:678-725 | lib/mail/parsers/envelope_from_parser.rb:3228-3275 | lib/mail/parsers/message_ids_parser.rb:4835-4882 | lib/mail/parsers/mime_version_parser.rb:309-356 | lib/mail/parsers/phrase_lists_parser.rb:689-736 | lib/mail/parsers/received_parser.rb:7501-7548 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_location_parser.rb\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/address_lists_parser.rb"},"region":{"startLine":31974}}}],"partialFingerprints":{"codehealthFindingId/v1":"be059dd6e16e354f4b2463ca38948e977e8b65e626473663e63116aa8aeacfba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201348 lines \u00D7 2): lib/mail/parsers/envelope_from_parser.rb:3496-3543 | lib/mail/parsers/envelope_from_parser.rb:3618-3658 \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/mail/parsers/envelope_from_parser.rb"},"region":{"startLine":3496}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca9f67ffbccf0b14740692fdcac9e58c53ecdb5c28c8ef1ed6ca1130b8babeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): lib/mail/parsers/received_parser.rb:7656-7703 | lib/mail/parsers/received_parser.rb:7803-7850 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/mail/parsers/received_parser.rb:7655\u0060 calls \u0060chars\u0060 and \u0060lib/mail/parsers/received_parser.rb:7802\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/received_parser.rb"},"region":{"startLine":7656}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f7d31233327f493079206a227109b995c161531ae4b028f1e27cae4210eeaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 3): lib/mail/parsers/envelope_from_parser.rb:3285-3331 | lib/mail/parsers/message_ids_parser.rb:4893-4939 | lib/mail/parsers/received_parser.rb:7567-7613 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/envelope_from_parser.rb"},"region":{"startLine":3285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce746fdebb31cf81d7f2b0acb587a54a2808974271f57a9d4053530a6ab34fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 3): lib/mail/parsers/envelope_from_parser.rb:3343-3388 | lib/mail/parsers/message_ids_parser.rb:4974-5019 | lib/mail/parsers/received_parser.rb:7701-7746 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/mail/parsers/envelope_from_parser.rb:3342\u0060 calls \u0060chars\u0060 and \u0060lib/mail/parsers/message_ids_parser.rb:4973\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/envelope_from_parser.rb"},"region":{"startLine":3343}}}],"partialFingerprints":{"codehealthFindingId/v1":"32802a9021f871130f551ba92cec4f72901c7ac7da7bd794f5c57876953e322c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): lib/mail/parsers/content_location_parser.rb:698-743 | lib/mail/parsers/content_transfer_encoding_parser.rb:427-472 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_location_parser.rb\u0060 and \u0060lib/mail/parsers/content_transfer_encoding_parser.rb\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_location_parser.rb"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9754308706ac8c732bc69552424cad3032b352098be9cafd52516912b7a63dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): lib/mail/parsers/received_parser.rb:7914-7956 | lib/mail/parsers/received_parser.rb:7987-8029 \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/mail/parsers/received_parser.rb"},"region":{"startLine":7914}}}],"partialFingerprints":{"codehealthFindingId/v1":"3819ded6e1b5b915038b1817714cbd8289b832d763b7b231344fab9c1112ce7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): lib/mail/parsers/date_time_parser.rb:785-826 | lib/mail/parsers/message_ids_parser.rb:4997-5038 \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/mail/parsers/date_time_parser.rb"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c275d8691ac0e1262474774d14cb7a803be6d451e6feb3356c92bea0fd82bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): lib/mail/parsers/date_time_parser.rb:731-771 | lib/mail/parsers/phrase_lists_parser.rb:749-789 \u2014 before extracting anything, compare \u0060lib/mail/parsers/date_time_parser.rb\u0060 and \u0060lib/mail/parsers/phrase_lists_parser.rb\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 122 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/date_time_parser.rb"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0ba6412e3ba6f7314e686a841212743c66b0d37725ee770d9f4618ee3d3f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 3): lib/mail/parsers/content_disposition_parser.rb:755-793 | lib/mail/parsers/content_location_parser.rb:721-759 | lib/mail/parsers/content_type_parser.rb:902-940 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_location_parser.rb\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2db89118fe971d1adedddcfc99f04fc9560f5caac62c2167c1cf4326f079dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/mail/parsers/received_parser.rb:8655-8693 | lib/mail/parsers/received_parser.rb:8697-8735 \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/mail/parsers/received_parser.rb"},"region":{"startLine":8655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6ed14e86bb8acf392ce0826f523bd735a437a61b5ff4812d1bc80bb8c8378f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:651-686 | lib/mail/parsers/content_type_parser.rb:785-820 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_type_parser.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 404 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c61f8bfb3a73b6008056e5099bfb81d205080b891f1c474718218c23fe8b81d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4): lib/mail/parsers/envelope_from_parser.rb:3300-3333 | lib/mail/parsers/message_ids_parser.rb:4908-4941 | lib/mail/parsers/phrase_lists_parser.rb:743-776 | lib/mail/parsers/received_parser.rb:7582-7615 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/mail/parsers/phrase_lists_parser.rb:741\u0060 calls \u0060chars\u0060 and \u0060lib/mail/parsers/envelope_from_parser.rb:3299\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/envelope_from_parser.rb"},"region":{"startLine":3300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f73757eba54133e56f067c1a057a18c8a85c67a7294cdf93649270683515348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4): lib/mail/parsers/envelope_from_parser.rb:3353-3386 | lib/mail/parsers/message_ids_parser.rb:4984-5017 | lib/mail/parsers/message_ids_parser.rb:5049-5082 | lib/mail/parsers/received_parser.rb:7711-7744 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/mail/parsers/message_ids_parser.rb:5046\u0060 calls \u0060chars\u0060 and \u0060lib/mail/parsers/envelope_from_parser.rb:3352\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/envelope_from_parser.rb"},"region":{"startLine":3353}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcad7e187cc46618208cd43d3a3e64dfe95cf995d26634dcb981a4c033b2d84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 10): lib/mail/parsers/content_disposition_parser.rb:750-782 | lib/mail/parsers/content_location_parser.rb:716-748 | lib/mail/parsers/content_transfer_encoding_parser.rb:445-477 | lib/mail/parsers/content_type_parser.rb:897-929 | lib/mail/parsers/date_time_parser.rb:780-812 | lib/mail/parsers/envelope_from_parser.rb:3361-3393 | lib/mail/parsers/message_ids_parser.rb:4992-5024 | lib/mail/parsers/mime_version_parser.rb:412-444 | lib/mail/parsers/phrase_lists_parser.rb:797-829 | lib/mail/parsers/received_parser.rb:7719-7751 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_location_parser.rb\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/mail/parsers/date_time_parser.rb:779\u0060 calls \u0060chars\u0060 and \u0060lib/mail/parsers/content_disposition_parser.rb:749\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79f0f88c8e0b96b3c73626d486447025c110101ee72f1399f62e31315150766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/mail/parsers/content_location_parser.rb:655-685 | lib/mail/parsers/received_parser.rb:7588-7618 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_location_parser.rb\u0060 and \u0060lib/mail/parsers/received_parser.rb\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/mail/parsers/content_location_parser.rb:654\u0060 calls \u0060chars\u0060 and \u0060lib/mail/parsers/received_parser.rb:7587\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_location_parser.rb"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"460005a877b1a3c5c1457e64e4d87129c77d68ee6b496b580cdb71c18c3e0cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/mail/parsers/content_location_parser.rb:655-685 | lib/mail/parsers/date_time_parser.rb:731-761 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_location_parser.rb\u0060 and \u0060lib/mail/parsers/date_time_parser.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_location_parser.rb"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d07b3967a7367f7c45cfafe715700987854edc094a685fb15a0bd9e73932421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201331 lines \u00D7 2): lib/mail/parsers/envelope_from_parser.rb:3488-3518 | lib/mail/parsers/envelope_from_parser.rb:3590-3616 \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/mail/parsers/envelope_from_parser.rb"},"region":{"startLine":3488}}}],"partialFingerprints":{"codehealthFindingId/v1":"97126734377c5f8685a501a196293ea87b23da656b6447cb0daa1c68ba0e969c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:709-737 | lib/mail/parsers/content_type_parser.rb:856-884 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_type_parser.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 404 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"f898406b15d7726a0078730ead63b7c089814a50c58dbe78104737c0b0a069a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/mail/parsers/content_location_parser.rb:768-796 | lib/mail/parsers/mime_version_parser.rb:459-487 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_location_parser.rb\u0060 and \u0060lib/mail/parsers/mime_version_parser.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 138 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_location_parser.rb"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"de330fdd35aec0c5484b80b8bae15b9151d23d86b40415c03ec37cdd3ea029c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): lib/mail/parsers/content_location_parser.rb:655-682 | lib/mail/parsers/date_time_parser.rb:731-758 | lib/mail/parsers/mime_version_parser.rb:370-397 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_location_parser.rb\u0060 and \u0060lib/mail/parsers/date_time_parser.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_location_parser.rb"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c3ec7742a832a45ad31a6d225141e928b9994290231f72dcfda7f310c831ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:820-847 | lib/mail/parsers/content_type_parser.rb:967-994 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_type_parser.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 404 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40f3d2e1f57d4894421e530f709082c9b18a4d3967409b1beda3f5228f8646c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:681-707 | lib/mail/parsers/content_type_parser.rb:828-854 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_type_parser.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 404 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cce981a0052227d3ab0a343ef90f5363aeb9ee77c35a444e847a0130ef0c249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/mail/parsers/address_lists_parser.rb:32672-32695 | lib/mail/parsers/address_lists_parser.rb:33130-33153 \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/mail/parsers/address_lists_parser.rb"},"region":{"startLine":32672}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d318177bdf58645082143f672b9f30e97414d8a43c474fe0914e4d63f776a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:626-649 | lib/mail/parsers/content_type_parser.rb:760-783 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_type_parser.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 404 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"b864e4006b4821c519c690bb2856bd095c96123bf150c01b4cf8abb187e3640a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/mail/parsers/address_lists_parser.rb:32527-32549 | lib/mail/parsers/address_lists_parser.rb:33053-33075 \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/mail/parsers/address_lists_parser.rb"},"region":{"startLine":32527}}}],"partialFingerprints":{"codehealthFindingId/v1":"0157ab0d447b74be80d1e7ba23f782500ba4635fa5e470d959da996a37d4068b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:796-818 | lib/mail/parsers/content_type_parser.rb:943-965 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_type_parser.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 404 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"901565c0129bae24874731ce5dc30b4e8864822eec979a97725e22a1751040ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:872-894 | lib/mail/parsers/content_type_parser.rb:1019-1041 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_type_parser.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 404 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a17018e168478499fa8f0a441e1854fb61f94d5cba63b19916176ae68dea66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): lib/mail/parsers/content_disposition_parser.rb:739-759 | lib/mail/parsers/content_disposition_parser.rb:796-816 | lib/mail/parsers/content_type_parser.rb:886-906 | lib/mail/parsers/content_type_parser.rb:943-963 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_type_parser.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 404 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4ce2e68085601bd36539228579538fa485d99968efe112d5f1aa4ce1323aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/mail/parsers/address_lists_parser.rb:32120-32140 | lib/mail/parsers/address_lists_parser.rb:32465-32485 \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/mail/parsers/address_lists_parser.rb"},"region":{"startLine":32120}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5228adbb8867b289326e24d48e859984d76102fece3f6ce93a13954bc7b7a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/mail/parsers/address_lists_parser.rb:32239-32258 | lib/mail/parsers/address_lists_parser.rb:32493-32512 \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/mail/parsers/address_lists_parser.rb"},"region":{"startLine":32239}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e53ce576a9502edded5cc186289ff525891eac745837a1209f026dfa5c5a3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/mail/parsers/address_lists_parser.rb:32762-32781 | lib/mail/parsers/address_lists_parser.rb:33162-33181 \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/mail/parsers/address_lists_parser.rb"},"region":{"startLine":32762}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99064251222937c2d2d67eb441578add8e3e8d76b94461ab504c4fa2939bd1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:646-665 | lib/mail/parsers/content_disposition_parser.rb:849-868 \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/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5fab7af71288a4dfc9cbfbf699e497c8b7002fb4b8fe726f5c7d905a43a5df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/mail/parsers/content_type_parser.rb:780-799 | lib/mail/parsers/content_type_parser.rb:996-1015 \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/mail/parsers/content_type_parser.rb"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75e75af9028b9d73a1b197baf639501588a498d9871fd8f8a5b4e193b62142d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/mail/parsers/address_lists_parser.rb:32501-32518 | lib/mail/parsers/address_lists_parser.rb:33026-33044 \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/mail/parsers/address_lists_parser.rb"},"region":{"startLine":32501}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7680b11d3e9254fede1bfd5b69217e9f4e8efe51cde8ba5b337e5b67fdba027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/mail/parsers/address_lists_parser.rb:32571-32589 | lib/mail/parsers/address_lists_parser.rb:33084-33102 \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/mail/parsers/address_lists_parser.rb"},"region":{"startLine":32571}}}],"partialFingerprints":{"codehealthFindingId/v1":"04462ae6b81c9901e93ae6772d65c719ac6921b69c35f9eb7e4ae3622d73660c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 24): lib/mail/parsers/address_lists_parser.rb:32044-32061 | lib/mail/parsers/address_lists_parser.rb:32215-32232 | lib/mail/parsers/address_lists_parser.rb:32342-32359 | lib/mail/parsers/address_lists_parser.rb:32371-32388 | lib/mail/parsers/address_lists_parser.rb:32420-32437 | lib/mail/parsers/address_lists_parser.rb:32513-32530 | lib/mail/parsers/address_lists_parser.rb:32541-32558 | lib/mail/parsers/address_lists_parser.rb:32582-32599 | lib/mail/parsers/address_lists_parser.rb:32662-32679 | lib/mail/parsers/address_lists_parser.rb:32687-32704 | lib/mail/parsers/address_lists_parser.rb:32776-32793 | lib/mail/parsers/address_lists_parser.rb:32836-32853 | lib/mail/parsers/address_lists_parser.rb:32920-32937 | lib/mail/parsers/address_lists_parser.rb:32945-32962 | lib/mail/parsers/address_lists_parser.rb:32967-32984 | lib/mail/parsers/address_lists_parser.rb:32989-33006 | lib/mail/parsers/address_lists_parser.rb:33011-33028 | lib/mail/parsers/address_lists_parser.rb:33039-33056 | lib/mail/parsers/address_lists_parser.rb:33067-33084 | lib/mail/parsers/address_lists_parser.rb:33095-33112 | lib/mail/parsers/address_lists_parser.rb:33120-33137 | lib/mail/parsers/address_lists_parser.rb:33145-33162 | lib/mail/parsers/address_lists_parser.rb:33176-33193 | lib/mail/parsers/address_lists_parser.rb:33204-33221 \u2014 all 24 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/mail/parsers/address_lists_parser.rb:32340\u0060 calls \u0060chars\u0060 and \u0060lib/mail/parsers/address_lists_parser.rb:32043\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/address_lists_parser.rb"},"region":{"startLine":32044}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a60b9b76d06f3fc538aad0578e16cee26cce71c6576632e042e5ff1fcb6c969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:816-832 | lib/mail/parsers/content_disposition_parser.rb:868-884 \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/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebc286ce280e0d3f7f65db62e1ac6b42d2efcecde94f52c2ee1a6cda329a169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/mail/parsers/content_disposition_parser.rb:854-870 | lib/mail/parsers/content_type_parser.rb:1001-1017 \u2014 before extracting anything, compare \u0060lib/mail/parsers/content_disposition_parser.rb\u0060 and \u0060lib/mail/parsers/content_type_parser.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 404 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"554ffdd9222b0dacd11acab5352af774704b80d3b2ba5083502489341bb8ceee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/mail/parsers/content_type_parser.rb:963-979 | lib/mail/parsers/content_type_parser.rb:1015-1031 \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/mail/parsers/content_type_parser.rb"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"da935232a1214c764bc0047807397680458ee2113920ff8701193bac9dba6ec9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HasSentEmailMatcher (LCOM4 5): HasSentEmailMatcher\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/mail/matchers/has_sent_mail.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c01fef7956a0bdc872d5fe3507d92177a527fa351633ef1dc5f0f042c3ac87"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PartsList (LCOM4 5): PartsList\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/mail/parts_list.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb24661df397832157b86864b19480aef58078ceeb8f271ac927be9f42ec1767"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: spec/mail/encodings_spec.rb: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022fails randomly\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/mail/encodings_spec.rb"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd1dfba6c47c3ef81d7bc3a5069fe97cbacaae14c64364de86c760a0cb934dc"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating git dependency: activesupport: Gem \u0060activesupport\u0060 is declared in Gemfile from a git source (https://github.com/rails/rails) with no immutable pin \u2014 \u0060main\u0060 is a branch, not a commit. Two \u0060bundle install\u0060 runs of this commit can therefore install different code, and nothing in the repository records which revision a given build used. Pin it to a commit (\u0060ref: \u0022\u003Csha\u003E\u0022\u0060) or a release tag (\u0060tag: \u0022v1.2.3\u0022\u0060), or take the gem from rubygems.org if it publishes there."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b1c9848af881717ccb54ab62a4c2fcf78afbd0dc7a99dca28f04a6b42668f4f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: JRuby 1.7.0 has an encoding issue https://jira.codehaus.org/browse/JRUBY-6999"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/mail/encodings_spec.rb"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa71e1aaae13f81ae083472ad6f7e2770b84071f677aa37189ca4686080aa34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: JRuby 1.7.0 has an encoding issue https://jira.codehaus.org/browse/JRUBY-6999"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/mail/field_spec.rb"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baa28d7eded4f776c094d255600aa2385aa06f5ff87283675eaa59819b29c39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: JRuby 1.7.0 has an encoding issue https://jira.codehaus.org/browse/JRUBY-6999"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/mail/field_spec.rb"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a169de7e584a5e48d24880c51b54e74bfb7316cfd0c8e038c1e41ea2c6b93aca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: JRuby 1.7.0 has an encoding issue https://jira.codehaus.org/browse/JRUBY-6999"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/mail/field_spec.rb"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"92da990cd21af7776eb005ec2b62694cc167a1ac801e96d495468f0aad6d6cb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This spec should actually do something \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/mail/message_spec.rb"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd28b9d578eac6b0362099685a7a844596f8a7cfa845c9aec0cd1f6f244dd9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Validate that preamble and epilogue are valid for requested encoding \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/mail/body.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d11fe401281e6ecf907593f16385445f0f8a10bae113d05cf36796bf3fa1e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO could be more efficient \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/mail/message.rb"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"62478cdff467243c8042d66e8de52b1a7e77bb0baced1163f6ccbde7797cfbaf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add this as a test somewhere: \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/mail/utilities.rb"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b275c6f111dfc7bae8c3b34ee1775290e046994276a964eef9230f2bcfa3a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: check if there are cases where whitespace is not a separator \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/mail/fields/content_type_field.rb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a2f85b69e3f4791c2bf29bb27d382550ae63bbd57dde143de2976609c6ede7"}},{"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 (64858 LoC, 254 module-visible types across 10 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":"55a9feee9774121f2f799f78815f48406c361b20f27615a6b6c4aa576c312700"},"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":"d4250b560c8389a7c9a9eae2be1a5482b282c91debfa824b6f01bbf668d47ca8"},"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":"929889218fe2adba5577454da6e2fffb54a21f38de62c057ea511bf22abbc080"},"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":"ed19ea5c028399839218bab14b6e474559360f10cb47189c55c54be061d77bb4"},"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":"67c5d52f852b0efd6b21886a387d721945f2b014d8fb8fc46e9e9e978e4e1b01"},"taxa":[{"id":"CWE-94","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":"1daac42fa0f0e2a2f90a07a08bb9b8875b62971eedf5774c53e737a1c134abee"},"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":"2ca92e22564faed8ba691d216dcad70910452433d502b3c074c6b0adeb44c37c"},"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":"c29f24c712692726a16067adc0db519c796fe6d20dddbd25d0d1bcc32b00d789"},"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":"84c5fa87d2f8f561711ffbcd28b0b0fa9b18c003ea316b4e114d97a3d37ae6ac"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"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":"d8122f851416c113edad5018b4e0a81353dbbced89c57eb0e8f7b8b846552909"},"properties":{"dependency":{"package":"activesupport","version":"5.2.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/address_lists_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c87c9428602bbcf76f86404a1f09945679225f1029c8b3225311d92e02b2e8"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/received_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2608049c1cddb9849a73407b07ae551369c56d4619551e9bdb2607815dcc0224"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/message_ids_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a406b2353b0042d4bca024330177b10a98a430b3ca87be2e2bd339aa263475"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/envelope_from_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0596bdac56ebeefc68080477f5756c30d19764b7bdcab39e8add755a2886d0fc"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_type_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3010382e58a12f8b2f5b028abbd1c9b79a529ac6ecbf8f12a44788f81b4daf24"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f1faa48a160324bc0112eb377ede85640586526e572d6079e8416a3a55b72f"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/date_time_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d98d9ca1691005c2f2d34930deba7eb5816bbfe9e9f6b5ad1ec440b40ea56b"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/phrase_lists_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff7b60be80536feef3544e20f7a6970471f9a12ab588cbb7672b2d2ffdacc9c"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_location_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"574b816cdea667907217711473b14820bd465fce81fa1bc1d3c640c1bd849e6d"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 6 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: lib/mail/parsers/content_transfer_encoding_parser.rb, lib/mail/parsers/mime_version_parser.rb, lib/mail/network/retriever_methods/imap.rb, lib/mail/matchers/has_sent_mail.rb, lib/mail/fields/common_address_field.rb, lib/mail/fields.rb (15 orphaned of 34 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 34 of the 111 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_transfer_encoding_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65874192537a89953555a2d629448a1ed38fff5814015d519c269bcb0ba6e2f3"}},{"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/mail/parsers/mime_version_parser.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a4af019ba25ff704e3478f8be212ea6cbe812479287a7112a1fa05fd59d037"}},{"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/mail/network/retriever_methods/imap.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b682034f950b97b84b1116e89052e8caa6f9e91c2cda6019a0644e93c0d643a6"}},{"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/mail/matchers/has_sent_mail.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c779c1b6ad7ad39cd60b3601840b846346111e4e47bad969589148afcdaf60a"}},{"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/mail/fields/common_address_field.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"024dbf6f37f69701747adbc72cdd0bce34d6e364dc5e51ab3e4e26d37a912bad"}},{"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/mail/fields.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"785a9253f81bcaa95724d0d88a5ceb1d057adce9a5841cc7f3adf71604839098"}},{"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":"bee16a916192bc47803c755fa5c777c01a15fb56e69ce46b43bdf718adcb77fa"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/address_lists_parser.rb"},"region":{"startLine":33231}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd725320bdf823e768fe758893a55ba926cba632fb23fa8483f8f7f39440f602"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_disposition_parser.rb"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2f08636c3bf5504b39377d5d1aa08bcb07fd657db6447e4beb70af1bd46d97"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_location_parser.rb"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58de170232039ddc11c17a4b51ec5bf6a90a4f9d82f34d21161c2b883798b83"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_transfer_encoding_parser.rb"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e67d38d460c5de2c9828e257f6a63ff3d1e212738bf39e7cb7741353195149c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/content_type_parser.rb"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c69f221f24d2335ce493f23e21d703ee2adba850513be0bcb8faee011ee2c8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/date_time_parser.rb"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"8464e005966f7cc41af7faaf557d8720d21c338818c0a81f8eed5ac15b54c35e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/envelope_from_parser.rb"},"region":{"startLine":3664}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a5be16e7ae96d35cf3a57f738c134e0a4f08de0cca458620b5994b14f6cd97"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/message_ids_parser.rb"},"region":{"startLine":5150}}}],"partialFingerprints":{"codehealthFindingId/v1":"592676bceaae4bdc4ba4e5bd47096d6c58d109c8f064a9c23e2421b1fcf70c4a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/mime_version_parser.rb"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab06653d9ddd52db8f7e37a4962fdd7819d844e43d13008ddd1b5d6e27b5ec47"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/phrase_lists_parser.rb"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9280dbb44f37d36f9d9954743cc3a9ecfb32ffd6e1b35d62cf8c2a4e775516"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 (or an \u0060unless true\u0060) can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/parsers/received_parser.rb"},"region":{"startLine":8771}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cd37dc365c7ce2e9eb42f651fd4fdaf19e3e6f2d14d6742e9ec0b6e1d7a18d"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/mail/encodings_spec.rb"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff374451db3ba7958712726f0c3e02a4a18cb440f6492d4e3882734a4b19245f"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"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 2178 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 1 versioned entry, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"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":"spec/mail/encodings_spec.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c9cb7b1786f02fbe13217b74a872200489dc1f66ed5982935b810d036b34ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_slen \u003E 0 \u0026\u0026 _trans_keys[_keys] \u003C= _wide \u0026\u0026 _wide \u003C= _trans_keys[_keys \u002B 1]\u0060 appears character-identically in 11 files \u2014 lib/mail/parsers/address_lists_parser.rb, lib/mail/parsers/content_disposition_parser.rb, lib/mail/parsers/content_location_parser.rb, lib/mail/parsers/content_transfer_encoding_parser.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/mail/parsers/address_lists_parser.rb"},"region":{"startLine":32010}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b145751e359fd44336f0bf4212b9d21e2de14604f66527a8cdb577ec6d70dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060emails.size == 1 \u0026\u0026 options[:count] == 1\u0060 appears character-identically in 3 files \u2014 lib/mail/network/retriever_methods/imap.rb, lib/mail/network/retriever_methods/pop3.rb, lib/mail/network/retriever_methods/test_retriever.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/mail/network/retriever_methods/imap.rb"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ec2f40e4c59aea97f58136bc6976cf8a68ca317940a90d44301d22cbaf4137"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:delete_after_find] \u0026\u0026 new_message.is_marked_for_delete?\u0060 appears character-identically in 2 files \u2014 lib/mail/network/retriever_methods/imap.rb, lib/mail/network/retriever_methods/pop3.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/mail/network/retriever_methods/imap.rb"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9436e341c6d2d1d67a26950487f307008067fc9ba21bce123bf7f8a2e745f9e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/header.rb"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb27aaf980db685608e84f31b6e2720b09baaee89636eb77ee5a429c0d9dcaa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/header.rb"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b832779ef3d48634c0656f34e528e40d3c7b6daa67a5a0689133f9a162f7e18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"807cc259ad32b305c18ae865863ed8b84be018f4deb7619d878990ca93edc16b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91f9984d3410e36572310dd629651ffaa4e2a62afd9c4426e85fe7d1b0f60ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee96877b38c86eee139930dd64d5b8d9f08d2d19bec40c97e70ea2213d2925c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"019237e93af26f1bf0c6f45b36e8792e93b1955cdfcc775e734d53e3ee2af272"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"2269283d6de498c6f19f8c91ea1a44e1c9dadfe332a8a42cd1d4e6ad2173640c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33ec13548dab0f14ace1d7ddaa750b98f1a53908d7988d1eb311bbe99a10aac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8675110327218995eed971a50819854a5a7169e60610862384cd4f9f994271"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e5981a5dbd5310c382d981b3f0410a9900e4a75d313d8045a367f0d40f7cfc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97450c49b942e6654e3f01d2bd9c6091645ae2bcf52e59d07b57e48c53b2d04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mail/message.rb"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23fdccd3886eb1250a5320f03d94b16d1475fbdb2173b5282ca832582a77555"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue filename\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/mail/message.rb"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc7722ace24db5f6940156d69cbe39ea91ade19ce6e99bfb87fe8c9a28fcc0a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue vindex = - 1\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/mail/multibyte/unicode.rb"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d700a7d000f86b7067d9edf9d1afe8183ed67cfe78cc5521d28683b52e3768b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue tindex = - 1\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/mail/multibyte/unicode.rb"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"233db43d0bff3028f0f0c80de335bcbc2130ebc99132a83610ad6967f3a4dfea"}},{"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 109 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-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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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"}]}],"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":12,"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."]}]}