{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Cryptographic Hygiene","shortDescription":{"text":"Cryptographic Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"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":"SaslMechanism.IsProhibited (cyclomatic 70): SaslMechanism.IsProhibited has cyclomatic complexity 70 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanism.cs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e30565b1d31e1d28e8b46311f96ac35d16a0d9b5b7d3356d27519ccb820aca"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.BuildQuery (cyclomatic 66): ImapFolder.BuildQuery has cyclomatic complexity 66 (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":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1eda40b45c23484e4a3a5ec703df393ea17e749a2eba1241151e2dfc053fa93"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapEngine.ParseResponseCode (cyclomatic 50): ImapEngine.ParseResponseCode has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ImapEngine.ParseResponseCodeAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fa121b15adb66ab279f77c44f9a988c2ac0ab45c6b9f32342fb0549b260200"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapEngine.ParseResponseCodeAsync (cyclomatic 50): ImapEngine.ParseResponseCodeAsync has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ImapEngine.ParseResponseCode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2335}}}],"partialFingerprints":{"codehealthFindingId/v1":"59515847268fe6974954ec3e599c1149c9f62d88823fe42657fe36d431077908"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.FormatSummaryItems (cyclomatic 45): ImapFolder.FormatSummaryItems has cyclomatic complexity 45 (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":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9f47612820735b00b312a40d2cd42a38eaec4389305c6e57f9d83b8cf5c134"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.ParseSummaryItems (cyclomatic 41): ImapFolder.ParseSummaryItems 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. This shape REPEATS in the file: one other method here (ImapFolder.ParseSummaryItemsAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"88279917be71a4c59ca8e16f038df4fce1f76b73626fbc37fcd51f1915089008"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.ParseSummaryItemsAsync (cyclomatic 41): ImapFolder.ParseSummaryItemsAsync 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. This shape REPEATS in the file: one other method here (ImapFolder.ParseSummaryItems) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"d125a74b9a84cf5c5734ed69e3b3f6a2b22ec5facfd9279d5cba778ef337dc54"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.FetchStream (cyclomatic 38): ImapFolder.FetchStream 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. This shape REPEATS in the file: one other method here (ImapFolder.FetchStreamAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"004a543d2609204a88346485ed1b551f8f7472fc3f5a8ef3cbc894c565980d18"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.FetchStreamAsync (cyclomatic 38): ImapFolder.FetchStreamAsync 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. This shape REPEATS in the file: one other method here (ImapFolder.FetchStream) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49fc37b7cce9b8469892c7e8d09f9a683d4571480e4b8f41f0b4135c9a5404d"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapEngine.ProcessUntaggedResponse (cyclomatic 33): ImapEngine.ProcessUntaggedResponse has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ImapEngine.ProcessUntaggedResponseAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2912}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fbf46a9b30fdcda00d9767f07aff7c3e47133a5accddb4894891890785b549"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapEngine.ProcessUntaggedResponseAsync (cyclomatic 33): ImapEngine.ProcessUntaggedResponseAsync has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ImapEngine.ProcessUntaggedResponse) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3070}}}],"partialFingerprints":{"codehealthFindingId/v1":"62084e3737bceab23f3002f1d99528e8b48156194d5ba6b3911cacca281ad3e6"}},{"ruleId":"D1","level":"warning","message":{"text":"BodyPart.TryParseBodyPart (cyclomatic 31): BodyPart.TryParseBodyPart has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd84357d9778002f7a6b42fb5a65e04e3fa2cbbd8a3c7dad8f5fe421ed09e6e"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationEntry.Parse (cyclomatic 30): AnnotationEntry.Parse has cyclomatic complexity 30 (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":"MailKit/AnnotationEntry.cs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fe3049493c8246d6785dba26e277dc1095809df13e9c19c19f4369f8f6b35e"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.ParseESearchResults (cyclomatic 28): ImapFolder.ParseESearchResults has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ImapFolder.ParseESearchResultsAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"373905cc1322ed8baee1eac8587b5cafd1197795c45203c80cf993f0546eb862"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.ParseESearchResultsAsync (cyclomatic 28): ImapFolder.ParseESearchResultsAsync has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ImapFolder.ParseESearchResults) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"e395928753dc4334204886a413114637572c9ef4ffa407f669f9ae5a23c552a3"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.QueueSearchCommand (cyclomatic 27): ImapFolder.QueueSearchCommand has cyclomatic complexity 27 (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":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d281707a7c88de74da1d9b4ce7dd277ec96ff1e45f3fc6fa6618167d023c1c9"}},{"ruleId":"D1","level":"warning","message":{"text":"Pop3AuthenticationSecretDetector.DetectUserPassSecrets (cyclomatic 27): Pop3AuthenticationSecretDetector.DetectUserPassSecrets has cyclomatic complexity 27 (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":"MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8dda458cdb93db41ca023c2d266e787afde7259f46d9dcc34a2ac74a1c5258"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapCommand.Step (cyclomatic 26): ImapCommand.Step has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ImapCommand.StepAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aef87fd7c5bce4e4b7ef3d8b4c341d88edb763c88bc54eb4002d35dfb6fdf2a"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapCommand.StepAsync (cyclomatic 26): ImapCommand.StepAsync has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ImapCommand.Step) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"022ea629e8847e1fcea6d7ea33efee93d994b7ece38f65a589586de4d2b5ec4a"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapUtils.ParseInternalDate (cyclomatic 26): ImapUtils.ParseInternalDate has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff48a88578af33a9672b361d44ec97805f97760ec2b939557027b6369853f07e"}},{"ruleId":"D1","level":"warning","message":{"text":"SmtpAuthenticationSecretDetector.DetectSecrets (cyclomatic 26): SmtpAuthenticationSecretDetector.DetectSecrets has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpAuthenticationSecretDetector.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a598655c1a416312eea9cb9270cd5b69017334da76af737c1ea5ed258c1da26"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageThreader.GetThreadableSubject (cyclomatic 25): MessageThreader.GetThreadableSubject has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MessageThreader.cs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"5790708977f5266110216acc315075c6608f397f2df6dd9b95d2581dd0f79d95"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.QueueSortCommand (cyclomatic 25): ImapFolder.QueueSortCommand has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"881572929f05817e4699934f20bf6d758caf43c2294bd5c87cc3a9114b922cc3"}},{"ruleId":"D1","level":"warning","message":{"text":"DigestChallenge.Parse (cyclomatic 25): DigestChallenge.Parse has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismDigestMd5.cs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0140c0bd269a06a2bbd04c58ae766e5d88e049dfef1c45d998359c2790143e8"}},{"ruleId":"D1","level":"warning","message":{"text":"Envelope.TryParse (cyclomatic 23): Envelope.TryParse has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Envelope.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead405e3f5f6b54963280adeece88a4592272c1be0fd259183416cc5a332e660"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapAuthenticationSecretDetector.DetectAuthSecrets (cyclomatic 23): ImapAuthenticationSecretDetector.DetectAuthSecrets 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":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a123c515ed5c633e8a7e9b0b57c8fa919e06ca0d247d9e0c48a1701b7c03b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapSearchQueryOptimizer.Reduce (cyclomatic 23): ImapSearchQueryOptimizer.Reduce 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":"MailKit/Net/Imap/ImapSearchQueryOptimizer.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec56f509fc533717abdda07df83a89ec46c37fc3e78bdad7c40406c75d3db28"}},{"ruleId":"D1","level":"warning","message":{"text":"Pop3AuthenticationSecretDetector.DetectAuthSecrets (cyclomatic 23): Pop3AuthenticationSecretDetector.DetectAuthSecrets 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":"MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4af19d6211de9bea01c54bacb1b759e923f9051bfa60a4cfc34d681de403fda"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationEntry.ValidatePath (cyclomatic 22): AnnotationEntry.ValidatePath has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/AnnotationEntry.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dd84b1bb0cecb28367f5c635398bfdc2bd52025733ce8338787b0eb75b411f"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapEngine.ProcessCapabilityToken (cyclomatic 22): ImapEngine.ProcessCapabilityToken has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"750623b28deca64e0c3051d39665ab441becea8cb01cae6a99f8280a083c7901"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapToken.Create (cyclomatic 22): ImapToken.Create has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapToken.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecec4e9c8ba38a5792d82bbf9ea4a75a397178aea5d6639b20d85cf9f01ed31"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapUtils.AddFolderAttribute (cyclomatic 22): ImapUtils.AddFolderAttribute has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c265d26a1d2635142ac1b0f421dc4dfdd93662068be6d246e28a79bf6f94cc10"}},{"ruleId":"D1","level":"warning","message":{"text":"SaslMechanismScramBase.Challenge (cyclomatic 22): SaslMechanismScramBase.Challenge has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismScramBase.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb02d39ce04bc8cc904680da09118801a887afaa3c5f9f86a23f905018b5fee"}},{"ruleId":"D1","level":"warning","message":{"text":"UniqueIdSet.TryParse (cyclomatic 22): UniqueIdSet.TryParse has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/UniqueIdSet.cs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13b1f295244e94e83a71f818e40d8ac3d2fe40af57138ae175e6cb8dd3e5544"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapEventGroup.Format (cyclomatic 21): ImapEventGroup.Format has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEventGroup.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6295f5482ecb71637b97a35ae2541c7a4378d1c5e451428c309c5bf56fc63a2e"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.ProcessResponseCodes (cyclomatic 21): ImapFolder.ProcessResponseCodes has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef70798db930e19784053da4aa0ba69d4a4b55d3ef59cda9fd387921af978fc"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.QueueCreateCommand (cyclomatic 21): ImapFolder.QueueCreateCommand has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7b70340a03df42a390b2bfea649be62e9b83b44dc788fed0ec3cc05718d6cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Pop3Engine.ParseCapaResponse (cyclomatic 21): Pop3Engine.ParseCapaResponse has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Engine.cs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bb4e0a808f84d788916307756514dbfe99a89778b0bfd28a19993d45dcb836"}},{"ruleId":"D1","level":"warning","message":{"text":"SslHandshakeException.Create (cyclomatic 21): SslHandshakeException.Create has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SslHandshakeException.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"730b68f54b241399f04ef98f0c727ad31753950a2a8555b1b46e85dc53482cb0"}},{"ruleId":"D1","level":"warning","message":{"text":"Envelope.TryParse (cyclomatic 20): Envelope.TryParse has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Envelope.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"69860a396a44fb7d47a6db060a0b55b4770b67c2e9268e10e336db96f079eb3d"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageThreader.GroupBySubject (cyclomatic 20): MessageThreader.GroupBySubject has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MessageThreader.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f1fc99f3da25dd34ba6e9686eb4adcd404af7dfabef51b05e7b88637397c0a"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapCommand.ImapCommand.ctor (cyclomatic 20): ImapCommand.ImapCommand.ctor has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a288dcc2d624390bed6fb201a9285b84d44201faeea5b5471aff32c2c8e543c"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapEngine.GetStatusQuery (cyclomatic 20): ImapEngine.GetStatusQuery has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":4122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84fd7f5e76119b12e481218c9c8a1b705a42e32df0bb261aad4c38a969af210"}},{"ruleId":"D1","level":"warning","message":{"text":"SmtpClient.Prepare (cyclomatic 20): SmtpClient.Prepare has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d3b8f1ca112c1d060cc1c4af6b9f63349fb6377496936d69809deb45d460ba"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageThreader.CreateIdTable (cyclomatic 19): MessageThreader.CreateIdTable has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MessageThreader.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a76342cc795dbba315afe1e1cd73668641cb301795d3269feaff89c21ef641"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapAuthenticationSecretDetector.SkipLoginToken (cyclomatic 19): ImapAuthenticationSecretDetector.SkipLoginToken has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"91560d78392497e79f2d804ac0ed88e8051fd0dfa721f4b6c9d3c745da66015e"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.CreateStoreCommands (cyclomatic 19): ImapFolder.CreateStoreCommands has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da9667201b8351ea9b137e4c268137e2244ef0ed6c30127b631ffa926ef2c8d"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.TryCreateStoreCommand (cyclomatic 19): ImapFolder.TryCreateStoreCommand has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaf2d52dbc568c1aa45be7af54da8c1497bfc7115b5d9a487208943c00320ec"}},{"ruleId":"D1","level":"warning","message":{"text":"Pop3AuthenticationSecretDetector.DetectSecrets (cyclomatic 18): Pop3AuthenticationSecretDetector.DetectSecrets has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fcb639a680c59baec2aed272a600ca421dac0bfefe60276393cbc3da7d8698"}},{"ruleId":"D1","level":"warning","message":{"text":"Pop3Stream.Read (cyclomatic 18): Pop3Stream.Read has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a920f92f1e97cfa8b0fad34178c63a3b6044aa181065bb3e07e5efe464c578be"}},{"ruleId":"D1","level":"warning","message":{"text":"SmtpStream.ReadResponse (cyclomatic 18): SmtpStream.ReadResponse has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78b38693c2763ddf851ca95261e48deb4ccbb55c194c4ae605f9cb9db0ecb74"}},{"ruleId":"D1","level":"warning","message":{"text":"BodyPart.TryParse (cyclomatic 17): BodyPart.TryParse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0e1b6cbe1f313de2625e57ac04d573f2c079637950f8d26aefa22f9008d231"}},{"ruleId":"D1","level":"warning","message":{"text":"BodyPart.TryParse (cyclomatic 17): BodyPart.TryParse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"c265e8439f1dfce413e1fa6b60ecd4591b15c547763d087ce6be13eb1f669dd0"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapAuthenticationSecretDetector.SkipLiteralToken (cyclomatic 17): ImapAuthenticationSecretDetector.SkipLiteralToken has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0949e22b90acc58ac49fd63c17bd94020a94fe1e106e390e6064d8dc119e17"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapClient.TryQueueEnableCommand (cyclomatic 17): ImapClient.TryQueueEnableCommand has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"521a5b9ce10e09f715ada51b079ee080111c67318b864cf9f6214c8227ae6478"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapEngine.DetectQuirksMode (cyclomatic 17): ImapEngine.DetectQuirksMode has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f484904128294c516cae446934e94766c05a75599bb44c48cd684c9ab0bf1d"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapFolder.BuildSortOrder (cyclomatic 17): ImapFolder.BuildSortOrder has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"9019f1d371d3ab88889407012416ae27f8750f95806ced0a6d7b6e866f045246"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapUtils.FormatIndexSet (cyclomatic 17): ImapUtils.FormatIndexSet has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d92e11a3296b2058d0babcab8d64917b5f69fd41ebe67e0649dd96f9ac2363"}},{"ruleId":"D1","level":"warning","message":{"text":"ImapAuthenticationSecretDetector.DetectSecrets (cyclomatic 16): ImapAuthenticationSecretDetector.DetectSecrets 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":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ce94b549a668171bebc8ff8291cb46451fbcc935a9872cbdde39748b8694ef"}},{"ruleId":"D1","level":"warning","message":{"text":"EnvelopeAddress.ToMailboxAddress (cyclomatic 16): EnvelopeAddress.ToMailboxAddress has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea81f85b84d8ced5001fa93596c56c85ca7f6a6d7b9ab7a617f4651fdcbee2c"}},{"ruleId":"D1","level":"warning","message":{"text":"Pop3AuthenticationSecretDetector.DetectApopSecrets (cyclomatic 16): Pop3AuthenticationSecretDetector.DetectApopSecrets 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":"MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02086458d1c86c90807846040294f996ae9d93a9c23105f1e491d15ae9e4dce"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindowViewModel.ConnectAsync (cyclomatic 16): MainWindowViewModel.ConnectAsync has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo/ImapClientDemo/MainWindowViewModel.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7dadcc551924b2b12beff592ab49a1b7a52f87680550573557ab22b451b05a"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.ParseSummaryItems (cognitive 105): ImapFolder.ParseSummaryItems has cognitive complexity 105 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (ImapFolder.ParseSummaryItemsAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"b635a56cca0964899755166f4ba66abc96215edf4cab1c1bb9d52284fab3b1c5"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.ParseSummaryItemsAsync (cognitive 105): ImapFolder.ParseSummaryItemsAsync has cognitive complexity 105 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (ImapFolder.ParseSummaryItems) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da74ddf80a6cd8957b7fda106340de6e5a469b14aa10ea83c17afa77cad8c29"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.FetchStream (cognitive 90): ImapFolder.FetchStream has cognitive complexity 90 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapFolder.FetchStreamAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"08969b36129c260913c152449e816d139a9002da68a512019f6bd36420c0f07d"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.FetchStreamAsync (cognitive 90): ImapFolder.FetchStreamAsync has cognitive complexity 90 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapFolder.FetchStream) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe8aad07e18cae091d1f031adb4fcc42fb511e519cb5a20844f4378354fbac2"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.FormatSummaryItems (cognitive 68): ImapFolder.FormatSummaryItems has cognitive complexity 68 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd2217645fa3f4fff0df93f87a33ba6f973da0d072b9f2b0160f94f6597ea0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.ProcessUntaggedResponse (cognitive 56): ImapEngine.ProcessUntaggedResponse has cognitive complexity 56 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (ImapEngine.ProcessUntaggedResponseAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2912}}}],"partialFingerprints":{"codehealthFindingId/v1":"9756e4cccba9835858c73417139bb28d6795d750e78faadf1556d2cd8028012b"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.ProcessUntaggedResponseAsync (cognitive 56): ImapEngine.ProcessUntaggedResponseAsync has cognitive complexity 56 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (ImapEngine.ProcessUntaggedResponse) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3070}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dc36af6d59261496c65f317a3f3057806963a106f36f8de37ad324fede856f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.ParseESearchResults (cognitive 56): ImapFolder.ParseESearchResults has cognitive complexity 56 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapFolder.ParseESearchResultsAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1856d3541b306b79cc42b9c7db0b3c067ab5a4319a1a960bcc8166bccf255ab3"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.ParseESearchResultsAsync (cognitive 56): ImapFolder.ParseESearchResultsAsync has cognitive complexity 56 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapFolder.ParseESearchResults) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b194a56e5b5f5ea641818e50878b0e9e726d5e835b1d5a657e032d6df976b27"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.ParseResponseCode (cognitive 54): ImapEngine.ParseResponseCode has cognitive complexity 54 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapEngine.ParseResponseCodeAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85db74feda3d8a26865899ad1c2efd93b4f701de3f1a89e260fe0e32c524a00"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.ParseResponseCodeAsync (cognitive 54): ImapEngine.ParseResponseCodeAsync has cognitive complexity 54 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapEngine.ParseResponseCode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2335}}}],"partialFingerprints":{"codehealthFindingId/v1":"489e9c39f6ea4e4dfd04c84ce18b352966392657b6966e5f5d335470511b8f2d"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationEntry.Parse (cognitive 52): AnnotationEntry.Parse has cognitive complexity 52 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/AnnotationEntry.cs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc7a342ab7ee16bb2d8d421989f118f800be080580d2aa666c69a837bdf27b3"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyPart.TryParseBodyPart (cognitive 50): BodyPart.TryParseBodyPart has cognitive complexity 50 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06691ef59380fcd82864d5922f51a84baf01f50bf0355ebd8422c2cef34787e"}},{"ruleId":"D2","level":"warning","message":{"text":"SslHandshakeException.Create (cognitive 49): SslHandshakeException.Create has cognitive complexity 49 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SslHandshakeException.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca0e766ac5e13d4e22f0867756ee6a8895cb7bf87a74af905bd149e302b3e9e"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyPart.TryParse (cognitive 45): BodyPart.TryParse has cognitive complexity 45 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d0cc7cc93d289783bb3b28314a03295d70741776d4ccfafd28dad739c74424"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapCommand.Step (cognitive 44): ImapCommand.Step has cognitive complexity 44 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapCommand.StepAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cb3c429334d9d7e74e663bfe74808b71299687bc88814d948d27be023b2fc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapCommand.StepAsync (cognitive 44): ImapCommand.StepAsync has cognitive complexity 44 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapCommand.Step) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"2773abd2dc83e55a2f825970958ae06b7d166c4d015ae1fd33b02e63b36d4705"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapToken.Create (cognitive 44): ImapToken.Create has cognitive complexity 44 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapToken.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3747f38c647780e8d6a640a49e663ac8cb86ae175a3666d6b7a6a29d9b37e6f"}},{"ruleId":"D2","level":"warning","message":{"text":"UniqueIdSet.TryParse (cognitive 44): UniqueIdSet.TryParse has cognitive complexity 44 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/UniqueIdSet.cs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ebbef0f3901a49891087a7124a3ca57eeb6e5ab798f6247eadb7b1a1c5cd37"}},{"ruleId":"D2","level":"warning","message":{"text":"Pop3AuthenticationSecretDetector.DetectUserPassSecrets (cognitive 43): Pop3AuthenticationSecretDetector.DetectUserPassSecrets has cognitive complexity 43 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"497d0a6c671daa06b4644956ec862242bddf2c73cc1ce2627a4996bd2d3b4083"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageThreader.GetThreadableSubject (cognitive 41): MessageThreader.GetThreadableSubject has cognitive complexity 41 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MessageThreader.cs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6d64c086330347be65484cdbc57592095ea1953448b3af15a1dd1009233f73"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.UpdateNamespaces (cognitive 41): ImapEngine.UpdateNamespaces has cognitive complexity 41 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapEngine.UpdateNamespacesAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b31adf76b7a4f7e5ce829a9163385e864b9c5044cc3e143022a6d2f1e47b37d"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.UpdateNamespacesAsync (cognitive 41): ImapEngine.UpdateNamespacesAsync has cognitive complexity 41 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapEngine.UpdateNamespaces) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd99cf8f0ba0bfbb58b3360fe5c9bea058e1ddd1ccd9dcbf8b59325fd336343d"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.QueueSearchCommand (cognitive 41): ImapFolder.QueueSearchCommand has cognitive complexity 41 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3746a823a1a5c8434bf82ddbe13a3e0de5dddfbd5d2cdb155f0869e7a5dfe3"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.QueueSortCommand (cognitive 41): ImapFolder.QueueSortCommand has cognitive complexity 41 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"915776e833a0ab4f42ee9a7559a5ebe39773d7af756fe9747dc5704de3d20c2e"}},{"ruleId":"D2","level":"warning","message":{"text":"SmtpAuthenticationSecretDetector.DetectSecrets (cognitive 38): SmtpAuthenticationSecretDetector.DetectSecrets has cognitive complexity 38 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpAuthenticationSecretDetector.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfc631c51c4815edcd83fecc1f754b4b8705d65bd7a2a804c0a93e2fd3b3a93"}},{"ruleId":"D2","level":"warning","message":{"text":"SmtpStream.ReadResponse (cognitive 38): SmtpStream.ReadResponse has cognitive complexity 38 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a039f0e22f0f5fbc8207d40419d4691d75693c49e8698a48b589339313d14e"}},{"ruleId":"D2","level":"warning","message":{"text":"SaslMechanismScramBase.Challenge (cognitive 37): SaslMechanismScramBase.Challenge has cognitive complexity 37 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismScramBase.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9379645caa19753fc380bd508aa4a2e9c3559292185191b4ca39c3a100956160"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapAuthenticationSecretDetector.DetectAuthSecrets (cognitive 36): ImapAuthenticationSecretDetector.DetectAuthSecrets has cognitive complexity 36 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2da31d95567a456f736b8acf85f2e1b9f93741dfe7867434d71eabe67773ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Pop3AuthenticationSecretDetector.DetectAuthSecrets (cognitive 36): Pop3AuthenticationSecretDetector.DetectAuthSecrets has cognitive complexity 36 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cf1b94f8d03d91f3652d6a81b07b58b342fcacc50fd75388820203d0e41169"}},{"ruleId":"D2","level":"warning","message":{"text":"DigestChallenge.Parse (cognitive 36): DigestChallenge.Parse has cognitive complexity 36 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismDigestMd5.cs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff4f1442e04303af3d13bf15dc78ff6e3adda3bbd5b05d970ea884d78c7f7a8"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageThreader.CreateIdTable (cognitive 35): MessageThreader.CreateIdTable has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MessageThreader.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"804acdf32c8ac26fa564d9f6122c4028c5a8c560838214dff426efb69b1d4472"}},{"ruleId":"D2","level":"warning","message":{"text":"SaslMechanism.IsProhibited (cognitive 34): SaslMechanism.IsProhibited has cognitive complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanism.cs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee5fc783c7ad22de42063b1e30f705edc606d1306c02c967ff060fe42433b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageSummary.TryGetMessageBody (cognitive 32): MessageSummary.TryGetMessageBody has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MessageSummary.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d44043705d04507ae4f463b28899b7bfb9469c22df9888223954e954f27bb70"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapAuthenticationSecretDetector.SkipLoginToken (cognitive 32): ImapAuthenticationSecretDetector.SkipLoginToken has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73f8afe349545417604e0694ab49a2f793afeb304178ff53e8c5083616dc71f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapCommand.ImapCommand.ctor (cognitive 32): ImapCommand.ImapCommand.ctor has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3013094318e075121f4d3f94f7e2f149628704600bd7b9dc1d43ca8a8695bf"}},{"ruleId":"D2","level":"warning","message":{"text":"SmtpClient.Prepare (cognitive 32): SmtpClient.Prepare has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"603383e48633895838e9794fb104c487ef463a328853eb701e9205c1ec63bb16"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.BuildQuery (cognitive 31): ImapFolder.BuildQuery has cognitive complexity 31 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4115c892299ea11c7a85d98d1149711f0f642f539f9de6be85673f9075d1773c"}},{"ruleId":"D2","level":"warning","message":{"text":"Pop3Stream.Read (cognitive 31): Pop3Stream.Read has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb37019bd6328ecdb19814444b6ab06ccae7f3edb6bb9c645e9562bddabd66a"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEventGroup.Format (cognitive 30): ImapEventGroup.Format has cognitive complexity 30 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEventGroup.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c73cbfacc2328f76d958df59416513ff0ca1bd0ea3afb63514fb583234594ce"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyPartCollection.IndexOf (cognitive 29): BodyPartCollection.IndexOf has cognitive complexity 29 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPartCollection.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e4ece0751983c5ebf086424a7ecbeab751d22e6fb4f46c7369be609499507d"}},{"ruleId":"D2","level":"warning","message":{"text":"Pop3Engine.ParseCapaResponse (cognitive 29): Pop3Engine.ParseCapaResponse has cognitive complexity 29 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Engine.cs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"981adab7baabe263daeedaa0f8484e6ef607b7bab19c410eebbd5cce3294c190"}},{"ruleId":"D2","level":"warning","message":{"text":"Envelope.TryParse (cognitive 28): Envelope.TryParse has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Envelope.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6f2b8899f4719c2de6b56081a4fb3a284ddf0fa975828167d014733c0c6c26"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapUtils.FormatIndexSet (cognitive 28): ImapUtils.FormatIndexSet has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f497e3374699bb99a6af097a3f454c4641d3d2db98bc4755da2506941dea34d5"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyPart.Encode (cognitive 26): BodyPart.Encode has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e82754902a620b054de788517b0c8bebd54d6433e5f0cf7abdbb9115f25fd6"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteArrayBuilder.Equals (cognitive 26): ByteArrayBuilder.Equals has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/ByteArrayBuilder.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c5ea21b49d32d6ac98dc3f6d8e8a5bca9997c97b4ef635c361c53bf50d751d"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.ProcessCapabilityToken (cognitive 26): ImapEngine.ProcessCapabilityToken has cognitive complexity 26 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cebb2dc009d174d00060f6835d100f01b675b71226d7dd38d3f7effff76b931"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.TryQueueGetSubfoldersCommand (cognitive 26): ImapFolder.TryQueueGetSubfoldersCommand has cognitive complexity 26 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b119648029243ca9a939c0f6cd850675723025410243aa738f3c5c03781d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"SmtpClient.AuthenticateAsync (cognitive 26): SmtpClient.AuthenticateAsync has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c0a4217ab6b381cf2b9e8df8c6d6d4e9f0f8956f3f91dd060795350a220bc3"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.GetStatusQuery (cognitive 25): ImapEngine.GetStatusQuery has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":4122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7735ac104e8e1c5affafb40ee68eaa0554e245fc29cc18a5e9f5f32cc753215b"}},{"ruleId":"D2","level":"warning","message":{"text":"UniqueIdSet.BinaryInsertAscending (cognitive 25): UniqueIdSet.BinaryInsertAscending has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UniqueIdSet.BinaryInsertDescending) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/UniqueIdSet.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b5e3d5ed601bba60dfb0b8879a87675896b7e858183483e96c9e81eaf14a65"}},{"ruleId":"D2","level":"warning","message":{"text":"UniqueIdSet.BinaryInsertDescending (cognitive 25): UniqueIdSet.BinaryInsertDescending has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UniqueIdSet.BinaryInsertAscending) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/UniqueIdSet.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"472d6823de1acf61445f7c4fa5df581b055c5b1cb5c2ac6c72b3f63154d40498"}},{"ruleId":"D2","level":"warning","message":{"text":"Envelope.TryParse (cognitive 24): Envelope.TryParse has cognitive complexity 24 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Envelope.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb526bd8c19e2f973e4a3c2a3f469d172c29e23dca9402951858b69410e64c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEncoding.Decode (cognitive 23): ImapEncoding.Decode has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEncoding.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f9cd70fef28631d51f657d86d07e84974e807826aa0670f2ad10f79194e80c"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.QueueGetFoldersCommand (cognitive 23): ImapEngine.QueueGetFoldersCommand has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":4172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8af470a5484869b634eecb15cd7c3f90c728df2aff30012eddd79505a6a877"}},{"ruleId":"D2","level":"warning","message":{"text":"SmtpClient.Authenticate (cognitive 23): SmtpClient.Authenticate has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"480b860e8a2c206b624903fefa7f28833adefb34dd22e0bd4014088afff01ae9"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtocolLogger.Log (cognitive 23): ProtocolLogger.Log has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/ProtocolLogger.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"162cb33882d54085a1799dfda94e0be242f74b7610e1afaec2cc10d0b93c3642"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationAttribute.ValidateName (cognitive 22): AnnotationAttribute.ValidateName has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/AnnotationAttribute.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d70a877a5ae1df02e85744c19ca650ae9bae678194275cb6520e4b5a79c33f4"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageThreader.GroupBySubject (cognitive 22): MessageThreader.GroupBySubject has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MessageThreader.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a8a9ee7bf77df25c02b98e7d71fd7809e6e8a702d6de335bb2f3a4edf06dac"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapClient.AuthenticateAsync (cognitive 22): ImapClient.AuthenticateAsync has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f27ea7e6eafecd570840564164c352f0418f95905655368317aa8c2ec17ad7e"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapAuthenticationSecretDetector.SkipLiteralToken (cognitive 22): ImapAuthenticationSecretDetector.SkipLiteralToken has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea0ccb315d16e2d20a7d7dcd9b32ce30689a4d4c94b8ccb315cc043d900fc32"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapClient.Authenticate (cognitive 22): ImapClient.Authenticate has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f34d26810f5877a9e43726f02abf26feec5cdc4fe32e8d6ba204a1de7bcb7d"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.ProcessResponseCodes (cognitive 22): ImapFolder.ProcessResponseCodes has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a794feb68b0b65e3c978bf5c742740e78bfa706c3520b9f796b188d04437d46"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.CreateStoreCommands (cognitive 22): ImapFolder.CreateStoreCommands has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee21ca3384b281e4d2a22403fd6f4c4c83e43f52c59ef2929f1390026cf6636c"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.TryCreateStoreCommand (cognitive 22): ImapFolder.TryCreateStoreCommand has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21f868421cda591773657aeb815fa1460682fdc99aae6ad4e38197a62130a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationEntry.ValidatePath (cognitive 21): AnnotationEntry.ValidatePath has cognitive complexity 21 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/AnnotationEntry.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f58d3a8cd2790cc0ed3e04e327281ec1636d8c196cd7a9f65e67954e6de7fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyPart.TryParse (cognitive 21): BodyPart.TryParse has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"8415de664d4f84c4fa9fdd5274ac8b1eb3dde5dfa48d13450290c7baa86d62e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapUtils.AddFolderAttribute (cognitive 21): ImapUtils.AddFolderAttribute has cognitive complexity 21 (threshold 15). 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":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb2d68cb3bef86c99ec9e7e36316fd1acfa89ab664c4653d3ec9b03e0a3f638"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapUtils.ParseBody (cognitive 21): ImapUtils.ParseBody has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapUtils.ParseBodyAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c423a6ccf67216f8f39f61d14b7538498f1b8b0e7f85083199e84c17288f232a"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapUtils.ParseBodyAsync (cognitive 21): ImapUtils.ParseBodyAsync has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapUtils.ParseBody) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":2191}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5b550c7f6d45b9aef5988715e1d5b1bd3c243984e1e8551e89e7520373f5fa"}},{"ruleId":"D2","level":"warning","message":{"text":"Pop3Client.AuthenticateAsync (cognitive 21): Pop3Client.AuthenticateAsync has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ac79bbc23597854e5b01d16173662c57dd327d11b663cb71d4179176ae6c21"}},{"ruleId":"D2","level":"warning","message":{"text":"Pop3AuthenticationSecretDetector.DetectApopSecrets (cognitive 21): Pop3AuthenticationSecretDetector.DetectApopSecrets has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ffab4dea3f567ce3e8c13bd815b5fe195af925224140e7114d2d27a6302125"}},{"ruleId":"D2","level":"warning","message":{"text":"Pop3Client.Authenticate (cognitive 21): Pop3Client.Authenticate has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"15afee2d7a97606cffeb657fe7d36ceb5bff4bb8c95a02a2e85d79964430a10d"}},{"ruleId":"D2","level":"warning","message":{"text":"SocketUtils.Connect (cognitive 21): SocketUtils.Connect has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/SocketUtils.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21bae546206e7a9fb419321f2f4ee6217c9813de59597d8746126bd29403424"}},{"ruleId":"D2","level":"warning","message":{"text":"SaslMechanismDigestMd5.Challenge (cognitive 21): SaslMechanismDigestMd5.Challenge has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismDigestMd5.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3da0d48afa4d09bc0606ce7bb7d17f28e59f20edc60e9a012cf35efb4df448"}},{"ruleId":"D2","level":"warning","message":{"text":"UniqueIdSet.BinarySearch (cognitive 21): UniqueIdSet.BinarySearch has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/UniqueIdSet.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15ba71778d9d69a3104fcd0c88e2471e4b7babae52d071f6169844d46f59ce6"}},{"ruleId":"D2","level":"warning","message":{"text":"Envelope.Encode (cognitive 20): Envelope.Encode has cognitive complexity 20 (threshold 15). 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":"MailKit/Envelope.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6f4efa1ebbf898013768cc51748fc516bd46aad7e1690e8181a9b059a403ec"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageSummary.EnumerateBodyParts (cognitive 20): MessageSummary.EnumerateBodyParts has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MessageSummary.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c80a3fa662ac69759d4428b1167288281b45fa439abdef6def0427cebc2927"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapUtils.ParseContentType (cognitive 20): ImapUtils.ParseContentType has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapUtils.ParseContentTypeAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7618185e1d4662af4bdeda4efca88359c03073dba3b6bcb619a5b5d0786cfcc"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapUtils.ParseContentTypeAsync (cognitive 20): ImapUtils.ParseContentTypeAsync has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapUtils.ParseContentType) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0c28df08cc5851fc4ed1fb32b1cdbb4c0e508f3a89313750c7d2322a8ce8f8"}},{"ruleId":"D2","level":"warning","message":{"text":"NtlmAuthenticateMessage.ComputeNtlmV2 (cognitive 20): NtlmAuthenticateMessage.ComputeNtlmV2 has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca411282262efd05bccc0041ee0f19bac4bae55ca24fabcb737f81128ae28315"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEncoding.Encode (cognitive 19): ImapEncoding.Encode has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEncoding.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9c1c868fefd14a1f17f3e0300ca5e1235092f172f7385fa204916c39df39d5"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.QueueCreateCommand (cognitive 19): ImapFolder.QueueCreateCommand has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede279d247a1d8e419a0a25de8d115aad946c21fc1133ee3b45395b5e576669d"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.CreateMultiAppendCommand (cognitive 19): ImapFolder.CreateMultiAppendCommand has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":4761}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a30848e0661ed2a33f9c69ec1d453ef3f3b7ecf98cb3111f1198455d8cd3e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapUtils.ParseInternalDate (cognitive 19): ImapUtils.ParseInternalDate has cognitive complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1641a6608021fa51b1ebc30db71e6714fe05eb5e3e3e432e9112888aa1537df"}},{"ruleId":"D2","level":"warning","message":{"text":"UniqueIdSet.EnumerateRanges (cognitive 19): UniqueIdSet.EnumerateRanges has cognitive complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/UniqueIdSet.cs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81fa89a39adcc1cfb442d6f18fffb88f9e66e3227f562e108f3cdc51c4222e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapClient.PostConnectAsync (cognitive 18): ImapClient.PostConnectAsync has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac54bd1a6c535f4c1fbb1a4183f683c73b14e0c7504ee943704a24b4ff171912"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapAuthenticationSecretDetector.DetectSecrets (cognitive 18): ImapAuthenticationSecretDetector.DetectSecrets has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a087146f75d8aeeb623c2fe984d4196db1951116f4a1e985ec5db2605ed6f2"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapClient.PostConnect (cognitive 18): ImapClient.PostConnect has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aebdfab167f4833144c5c77364afc3b8e049a2085dc197c9fa52bfd96c393d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.CreateStoreCommands (cognitive 18): ImapFolder.CreateStoreCommands has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapFolder.TryCreateStoreCommand) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f711ee3e3ea6b19310af9bf7e58fb88e572d9be5c0e5af7ecab495387f126fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.TryCreateStoreCommand (cognitive 18): ImapFolder.TryCreateStoreCommand has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapFolder.CreateStoreCommands) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"be36df40c92740531b943c3c03714faef8b8c90330189e2262ea5fc9c951a7e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapIdleSession.WaitForChanges (cognitive 18): ImapIdleSession.WaitForChanges has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapIdleSession.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a8dbd3f5327f0223b639ff3ac35640aab14dde494de838b77b0f2a323ad3c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapUtils.ParseFolderList (cognitive 18): ImapUtils.ParseFolderList has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapUtils.ParseFolderListAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"648550d53ca3865aed913a4feed3c413826ef0538be7789dcda1d69edea520ff"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapUtils.ParseFolderListAsync (cognitive 18): ImapUtils.ParseFolderListAsync has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ImapUtils.ParseFolderList) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0888b2590ad6ed8b393bcdd386aea6ea853cc1eca923df78bcfb1abbc705cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"Pop3AuthenticationSecretDetector.DetectSecrets (cognitive 18): Pop3AuthenticationSecretDetector.DetectSecrets has cognitive complexity 18 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"054cd102030bbff849cce20ef75892e04d6ad42ebc508d884a0cc896b2c09ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyPart.TryParse (cognitive 17): BodyPart.TryParse has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"991eec4103aabf3e83cbd8cf8ce5bd880027d18f341d5fc09779483e42991b1e"}},{"ruleId":"D2","level":"warning","message":{"text":"Envelope.TryParse (cognitive 17): Envelope.TryParse has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Envelope.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef4ecb90665d4c812813dc3b2a7ebcab1f23dbbcc343f3c7074aafb4385c14b"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapSearchQueryOptimizer.Reduce (cognitive 17): ImapSearchQueryOptimizer.Reduce has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapSearchQueryOptimizer.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c38c0504963ecd2f973f0033d75290ce7b4e69d2adf166b96b3f5b660adcb9"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapStream.TryReadQuotedString (cognitive 17): ImapStream.TryReadQuotedString has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapStream.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabe1983af312015d2c0e7afd9570ba24d4ef6e0b3de1eba728d4faa3beba214"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyPart.TryParse (cognitive 16): BodyPart.TryParse has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5feda73bbf3cb8a7e42d18cb7d6d5da79462eba84f514ce68119ef8a119dedd"}},{"ruleId":"D2","level":"warning","message":{"text":"Envelope.TryParse (cognitive 16): Envelope.TryParse has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Envelope.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"314c141a3449f460a5e9db6a04c3dc980c51d55c5b8e4390d55325f6ac0728af"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageThreader.PruneEmptyContainers (cognitive 16): MessageThreader.PruneEmptyContainers has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MessageThreader.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fd4a80b5e08993504c5262b553bbb050cc38e0e289210d19e9b7371a952012"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityNameTable.AddKeyword (cognitive 16): CapabilityNameTable.AddKeyword has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/CapabilityNameTable.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e082488776bdc1db2ebcfc08e780a014da89116305317e070618f73e3361e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapAuthenticationSecretDetector.DetectLoginSecrets (cognitive 16): ImapAuthenticationSecretDetector.DetectLoginSecrets has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b50936a919b97774c24818a23c5f06cf26d76abe6e8c98606a68259ef45c51a"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapClient.TryQueueEnableCommand (cognitive 16): ImapClient.TryQueueEnableCommand has cognitive complexity 16 (threshold 15). 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":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74018ef702780bb4ad43d9771c0faa3241e269b9bff3e7e82ea53909fb962bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapClient.TryQueueGetMetadataCommand (cognitive 16): ImapClient.TryQueueGetMetadataCommand has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":2517}}}],"partialFingerprints":{"codehealthFindingId/v1":"5353f6971b80ec334e57d55b9796b4b662f8f4869cfc85e31964668af2b73486"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.DetectQuirksMode (cognitive 16): ImapEngine.DetectQuirksMode has cognitive complexity 16 (threshold 15). 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":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba668e53828d56b3ed941717191c58c4ea209291c8b4c7c85bd058070dfc69c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapEngine.UpdateSimpleStatusValue (cognitive 16): ImapEngine.UpdateSimpleStatusValue has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f87d5be8634659775a4dfbc71ca32eb90efd8f25bdffb0a80f7d17c1dfef89"}},{"ruleId":"D2","level":"warning","message":{"text":"ImapFolder.BuildSortOrder (cognitive 16): ImapFolder.BuildSortOrder has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"b721d20e29f247106bbceb477a98ad414ea366b80ed2a1ed85d7284ecfc29ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"UniqueIdSet.Append (cognitive 16): UniqueIdSet.Append has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/UniqueIdSet.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bd6e28ec196cf4ddb3eb17b71de2e707bc71e48f1d7fb8111e7a9c630cb4dd"}},{"ruleId":"D2","level":"warning","message":{"text":"UniqueIdSet.Remove (cognitive 16): UniqueIdSet.Remove has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/UniqueIdSet.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c7e1488a229633259c51b2098e98d050e9f81348083f701d0b3976e6ee1603"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindowViewModel.ConnectAsync (cognitive 16): MainWindowViewModel.ConnectAsync has cognitive complexity 16 (threshold 15). 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":"samples/ImapClientDemo/ImapClientDemo/MainWindowViewModel.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"991dcee50e6f6bb805ea134f06b7a853f5457f76a6aa20f5dbaef79e4b11373b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImapFolder: TooManyMethods \u2014 5217 significant lines (blank, comment-only and punctuation-only lines excluded), 406 methods, declared across 5 files: Imap/ImapFolder.cs (205), Imap/ImapFolderFetch.cs (123), Imap/ImapFolderSearch.cs (55), Imap/ImapFolderFlags.cs (16), \u002B1 more file(s). The bar is 30 methods; this is 376 over it, 13.53\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":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d94cfc14bd83ec8876a431510f947a4c3b600d2c5913adbd59dbceaaaa09b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MailFolder: TooManyMethods \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), 210 methods. The bar is 30 methods; this is 180 over it, 7.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":"MailKit/MailFolder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"441a810b637b3d1ab71f76f5fdafc8ead2a129ef38d0c29239ab123a3d9485ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Imap/ImapEngine.cs: FileTooLong \u2014 2200 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1700 over it, 4.40\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":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd054946b027e9cf0ecf8631d38daa45cf5fc7ab7758ed8a4e328658593d794"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Imap/ImapFolder.cs: FileTooLong \u2014 2070 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1570 over it, 4.14\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":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c05c1f8d9178c69d9432a10abecbb6a58fe33f00bca3b291fe59f6e7e43b17"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImapEngine: TooManyMethods \u2014 2138 significant lines (blank, comment-only and punctuation-only lines excluded), 123 methods. The bar is 30 methods; this is 93 over it, 4.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":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21919dbf5d90398994c6eec8a8758af1576bc694087cead8b2988527a193f41a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Pop3Client: TooManyMethods \u2014 1104 significant lines (blank, comment-only and punctuation-only lines excluded), 122 methods, declared across 2 files: Pop3/Pop3Client.cs (82), Pop3/AsyncPop3Client.cs (40). The bar is 30 methods; this is 92 over it, 4.07\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":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bdf9d6612b671c3e76be42127900776013b6d47de47a6872ab6f899e938f5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Imap/ImapFolderFetch.cs: FileTooLong \u2014 2011 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1511 over it, 4.02\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":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a5fca289fb10ef527f7dbfde6bffd491ebb7a4ecf1572d29ea162d52fb04e1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SmtpClient: TooManyMethods \u2014 1396 significant lines (blank, comment-only and punctuation-only lines excluded), 99 methods, declared across 2 files: Smtp/SmtpClient.cs (74), Smtp/AsyncSmtpClient.cs (25). The bar is 30 methods; this is 69 over it, 3.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf077c3ea4e0bdea2244be8ad26e3d95336113e3a584c9ee409874c43f10fc04"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImapClient: TooManyMethods \u2014 1146 significant lines (blank, comment-only and punctuation-only lines excluded), 99 methods, declared across 2 files: Imap/ImapClient.cs (78), Imap/AsyncImapClient.cs (21). The bar is 30 methods; this is 69 over it, 3.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"079f781f07421e4e473c7f5e6c2a640361bb94f3a220ea41a12d2cabf60f2a15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Imap/ImapUtils.cs: FileTooLong \u2014 1617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1117 over it, 3.23\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":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b04dd3b58e48d892ab4d6d05e2dca2082eb793297a35f14b0a267fe064c2864"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImapUtils: TooManyMethods \u2014 1561 significant lines (blank, comment-only and punctuation-only lines excluded), 88 methods. The bar is 30 methods; this is 58 over it, 2.93\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15db28c87d1acb9b5911d4a96b41602cc9e8ceda2ccfd274ae9a2d8e6990e8db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImapFolder.BuildQuery: MethodTooLong \u2014 BuildQuery runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"904f71f8c4161c3f80e2a160893858731f1f223adf088f8e9a20ef4d295f4032"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Smtp/SmtpClient.cs: FileTooLong \u2014 1104 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 604 over it, 2.21\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":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed471198e6c90ac162a335b092e61eaa69ea5411984919ace294fa78edf1d5ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Pop3/Pop3Client.cs: FileTooLong \u2014 1033 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 533 over it, 2.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3602ba8a8249617f66e034306f2fff9cdb31193dd4899e01d0bb925ee8ffb86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImapEngine.ParseResponseCode: MethodTooLong \u2014 ParseResponseCode runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf93e15ede8250933cbd8312d740ba5e0abae58be64c7b7049695318a3a8e98f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImapEngine.ParseResponseCodeAsync: MethodTooLong \u2014 ParseResponseCodeAsync runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2335}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa5a52b0039d1b35b68c82d3be6c7a199dd47fc503e079594b54f6a93c549ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Imap/ImapFolderSearch.cs: FileTooLong \u2014 1001 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 501 over it, 2.00\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":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bd0f81ddae3a51333f02a720403ea554aec842754841c6f89da57f3037a4f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Imap/ImapClient.cs: FileTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 390 over it, 1.78\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":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13764ab9085cf8904399c95937ff48a3103caaabfaea9803e3dd28ee1b9ff54"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImapStream: TooManyMethods \u2014 490 significant lines (blank, comment-only and punctuation-only lines excluded), 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":"MailKit/Net/Imap/ImapStream.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"060ac0b3a4f2ec3d81960bf69340e57194b1c148af386f96bd1297589d5ec24a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImapFolder.ParseSummaryItems: MethodTooLong \u2014 ParseSummaryItems runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea50068322ffe12015038c138d28ac190db52e3c9b50a2e7aa51f86885c0964d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImapFolder.ParseSummaryItemsAsync: MethodTooLong \u2014 ParseSummaryItemsAsync runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b8ab516cd9ee1402e0eaf382b137a1b96d55cdb96ac81496078fdf9caa488c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SearchQuery: TooManyMethods \u2014 218 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"MailKit/Search/SearchQuery.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce1a150f9301de7843d8b2442db6d5a95a56c1a39e6a2cb1746eea894a20c1e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImapFolder.FetchStream: MethodTooLong \u2014 FetchStream runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e71edc71e46d520ec0258c0edf64f23f857e4f16e4db96ea2f61046a55d44bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImapFolder.FetchStreamAsync: MethodTooLong \u2014 FetchStreamAsync runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8407868863218652af300393b9b33994668b91f69142d0e2a0ceddb4e72318"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MailSpool: TooManyMethods \u2014 47 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"MailKit/MailSpool.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce11aad96a8ca952ad1a6819a824b433a1c09c8324c83bc7fcc6a98c5534044a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MailService: TooManyMethods \u2014 196 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"MailKit/MailService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed95c4d6ebecb7f878bd3a54c93b8b93d41afb419beeae4a4d3dc1632b8e91c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BodyPart: ClassTooLong \u2014 440 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 40 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":"MailKit/BodyPart.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe212b8138d674c2ab426889c99d82900a6a9aeca6f55fee541a5014438b59d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MailKit/MailFolder.cs: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MailFolder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b96badcb7bfd163d5cad243ae52e1a4bc9b05923b46255bc2bbfabba88ed8c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Pop3Engine: TooManyMethods \u2014 347 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"MailKit/Net/Pop3/Pop3Engine.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1778f1edb3b952b48c037dff63f612459aa685e8d462b6fbfb5ae110abb9eb85"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SmtpStream: TooManyMethods \u2014 329 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cb99126229488dfcface2ab969dbc570a99833e8fb1943e3cd3ac83937bf5b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImapCommand: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"572869b365cb22b1ac2769d910e884bceb63d5784c76656215be5aeaadc5775c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Imap/ImapStream.cs: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 over it, 1.01\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":"MailKit/Net/Imap/ImapStream.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4298bb5f408948bc26c7918b048baab3e8c5e49e48121189f1c0bc1d7943e792"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (146 shared lines): MailKit/Net/Imap/ImapFolderFetch.cs:2100-2340 | MailKit/Net/Imap/ImapFolderFetch.cs:2343-2583 \u2014 These two members are variants of one another: 146 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0df61095182b83384edccca99529bad0abe59e53eeed133cfa815861f54e248"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (75 shared lines): MailKit/Net/Imap/ImapFolderFetch.cs:300-541 | MailKit/Net/Imap/ImapFolderFetch.cs:544-785 \u2014 These two members are variants of one another: 75 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"369d08d258cefd1522c47f83b9e38df93e2a17e0718f22277d5fc8bb1d7cac92"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): MailKit/Net/Imap/ImapFolder.cs:4882-4928 | MailKit/Net/Imap/ImapFolder.cs:4982-5028 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":4882}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2038f63875d292e0462715f8ce3a5e75aa5398cce68ce6a42a0907b6d891a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): MailKit/Net/Imap/ImapFolder.cs:4318-4368 | MailKit/Net/Imap/ImapFolder.cs:4430-4480 | MailKit/Net/Imap/ImapFolder.cs:5671-5717 | MailKit/Net/Imap/ImapFolder.cs:5770-5816 | MailKit/Net/Imap/ImapFolder.cs:5884-5942 | MailKit/Net/Imap/ImapFolder.cs:6003-6061 | MailKit/Net/Imap/ImapFolderAnnotations.cs:140-163 | MailKit/Net/Imap/ImapFolderAnnotations.cs:217-240 | MailKit/Net/Imap/ImapFolderFlags.cs:188-211 | MailKit/Net/Imap/ImapFolderFlags.cs:260-283 | MailKit/Net/Imap/ImapFolderFlags.cs:617-640 | MailKit/Net/Imap/ImapFolderFlags.cs:689-712 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":4318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8188b7ed09736c8b21930f30fee574c815b601e2b377ecc44c49fffaad7ba6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): MailKit/Net/Imap/ImapFolderAnnotations.cs:336-353 | MailKit/Net/Imap/ImapFolderAnnotations.cs:407-424 | MailKit/Net/Imap/ImapFolderFlags.cs:392-409 | MailKit/Net/Imap/ImapFolderFlags.cs:458-475 | MailKit/Net/Imap/ImapFolderFlags.cs:821-838 | MailKit/Net/Imap/ImapFolderFlags.cs:887-904 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderAnnotations.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae39f0a2c623b86f626813f46b4f19a005c387ece258218d64d9d2764edd35d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): MailKit/Net/Imap/ImapFolderAnnotations.cs:40-76 | MailKit/Net/Imap/ImapFolderAnnotations.cs:243-283 | MailKit/Net/Imap/ImapFolderFlags.cs:286-343 | MailKit/Net/Imap/ImapFolderFlags.cs:518-568 | MailKit/Net/Imap/ImapFolderFlags.cs:715-772 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderAnnotations.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f01c73131eb61181446755f93a577dbaef71ebfaf3fb1ae16062943c38f48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): MailKit/Net/Imap/AsyncImapClient.cs:250-299 | MailKit/Net/Imap/AsyncImapClient.cs:354-465 | MailKit/Net/Imap/ImapClient.cs:1093-1145 | MailKit/Net/Imap/ImapClient.cs:1224-1338 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62c7e33c9658a84b056471a0b4b6f1bfd39cae295a06d9d21b669b016812b97"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): MailKit/Net/Imap/ImapFolder.cs:5161-5197 | MailKit/Net/Imap/ImapFolder.cs:5254-5290 | MailKit/Net/Imap/ImapFolder.cs:5414-5448 | MailKit/Net/Imap/ImapFolder.cs:5506-5540 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe679a9488eb2499774488c3342fa2d81952d0a2425234ee777108e666f6a05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): MailKit/Net/Imap/ImapFolder.cs:6145-6164 | MailKit/Net/Imap/ImapFolder.cs:6217-6236 | MailKit/Net/Imap/ImapFolder.cs:6313-6352 | MailKit/Net/Imap/ImapFolder.cs:6406-6445 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":6145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06c88b2fc59bfe306f47e14d5fdeef56e7551b9c427bfdbcfa9a930aa5acc7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): MailKit/Net/Imap/ImapUtils.cs:964-986 | MailKit/Net/Imap/ImapUtils.cs:989-1011 | MailKit/Net/Imap/ImapUtils.cs:2505-2527 | MailKit/Net/Imap/ImapUtils.cs:2530-2552 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1b8ede05d205e862de38dabddefd04d21799baa18401c8c293620731e7cd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): MailKit/Net/Pop3/Pop3Stream.cs:828-874 | MailKit/Net/Pop3/Pop3Stream.cs:945-988 | MailKit/Net/Smtp/SmtpStream.cs:833-879 | MailKit/Net/Smtp/SmtpStream.cs:950-993 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad0b4fa47066579f90c496e8b4d388b29b58b64734ff91b81411ea27917a886"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): MailKit/Net/Proxy/ProxyClient.cs:213-236 | MailKit/Net/Proxy/ProxyClient.cs:239-255 | MailKit/Net/Proxy/ProxyClient.cs:258-282 | MailKit/Net/Proxy/ProxyClient.cs:285-303 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/ProxyClient.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa21a0a4f2192486a3e02416e67c967d8417fad1a71da90fdaa813dc6c24b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): MailKit/Net/Smtp/AsyncSmtpClient.cs:208-271 | MailKit/Net/Smtp/AsyncSmtpClient.cs:329-420 | MailKit/Net/Smtp/SmtpClient.cs:1055-1118 | MailKit/Net/Smtp/SmtpClient.cs:1196-1284 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bf74a7ba899f42004ad00cff614f26591d201d8ae888accdfd4ee73afd1b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): MailKit/Net/Proxy/WebProxyClient.cs:161-176 | MailKit/Net/Proxy/WebProxyClient.cs:207-222 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/WebProxyClient.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cf9cd9d38462b86040e916a77327799ce5c996bae74418c91c975ab1dd402b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): MailKit/Net/SocketMetrics.cs:116-129 | MailKit/Net/SocketMetrics.cs:132-145 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/SocketMetrics.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"acabb7d4f5a3d5fc6f1dec6f64d2a9d9b3ef31df454dd8d010143909c762ba85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (102\u2013103 lines \u00D7 3): MailKit/StoreAnnotationsRequest.cs:67-168 | MailKit/StoreFlagsRequest.cs:141-243 | MailKit/StoreLabelsRequest.cs:106-208 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/StoreAnnotationsRequest.cs:67\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/StoreAnnotationsRequest.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b648dd823e9d42273ff0a8ea15f9276e500dc9e430c591ab0ccbc4e5ce6089d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): MailKit/CopyRequest.cs:66-144 | MailKit/MoveRequest.cs:66-144 \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":"MailKit/CopyRequest.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2f57b374c0e0d275d9b3652f932290527414b1139ee3a913563b543fdb51b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2): MailKit/ICopyRequest.cs:40-116 | MailKit/IMoveRequest.cs:40-116 \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":"MailKit/ICopyRequest.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64551e44cce2975620d3e8e479175db0d199ec928ff8eaaeb47ab1cf0930cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:2215-2272 | MailKit/Net/Imap/ImapFolderFetch.cs:2458-2515 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:2215\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2215}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc38a1081481b1428b34cd2ad7b79c50c37cfcfa9723fc26cf38f58f87240fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:2177-2230 | MailKit/Net/Imap/ImapEngine.cs:2527-2580 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:2177\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6d028f74df89e0205bca2b4dc5ec143d1a8afe24f8f7938a9cafa2772cb9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): MailKit/Net/Imap/ImapFolderSearch.cs:536-579 | MailKit/Net/Imap/ImapFolderSearch.cs:689-732 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderSearch.cs:536\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"515fa1a011da34d01fb97ebea8dfd584494c4f135385af53332179287ec3cd3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): MailKit/BodyPart.cs:368-412 | MailKit/Envelope.cs:396-440 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e534a3656a461ac2c42bc3ae6b52dd5be8514a5c56e5a22cf1155a11abad9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:2166-2210 | MailKit/Net/Imap/ImapFolderFetch.cs:2409-2453 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:2166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3226dd30a85facfa722e4cb24c3ca1d801ede2b905edc3805267706f7476951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): MailKit/Net/Pop3/Pop3Stream.cs:829-868 | MailKit/Net/Smtp/SmtpStream.cs:834-873 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/Pop3Stream.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpStream.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/Pop3Stream.cs:829\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"115c92a21903f5708d0c47d9fb263973561b59557817304f588a0839d117ca0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): MailKit/Net/Pop3/Pop3Stream.cs:946-982 | MailKit/Net/Smtp/SmtpStream.cs:951-987 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/Pop3Stream.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpStream.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/Pop3Stream.cs:946\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e214fbed2e1d28ec6aeff63c43f8f7f48870f41761eaf0a1ef2e6953bfbf6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): MailKit/Net/Imap/ImapFolder.cs:4522-4555 | MailKit/Net/Imap/ImapFolder.cs:5060-5093 | MailKit/Net/Imap/ImapFolder.cs:5303-5336 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:4522\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IAppendRequest\u0060 in one and \u0060IReplaceRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":4522}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b64f0cc65a64ca6471c4d1da9e73f1edbea67d195026a8e8d80dfb143f02c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): MailKit/Net/Pop3/Pop3Stream.cs:701-731 | MailKit/Net/Smtp/SmtpStream.cs:649-679 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/Pop3Stream.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpStream.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4615ac5a3b6a065b8fe7875a5cbb7db495748839ebec7e31801465a37d284f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): MailKit/Net/Smtp/AsyncSmtpClient.cs:330-358 | MailKit/Net/Smtp/SmtpClient.cs:1197-1225 \u2014 before extracting anything, compare \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs:330\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd0850bd1c9e3aadc189ee34f996d607d4585918c31f14a97fb811d4cc04b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201330 lines \u00D7 2): MailKit/Net/Smtp/SmtpClient.cs:1079-1108 | MailKit/Net/Smtp/SmtpClient.cs:1239-1265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Smtp/SmtpClient.cs:1079\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a3049550972b4447e42a0558a6d5bfa803925584b5c46f8fb2382d11189249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): MailKit/Net/Imap/ImapClient.cs:1732-1760 | MailKit/Net/Pop3/Pop3Client.cs:1417-1445 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapClient.cs:1732\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bf43fdbc3eec186934580e6dd0420291858a016600cae57a7e3581353c538a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:1948-1975 | MailKit/Net/Imap/ImapUtils.cs:2067-2094 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapUtils.cs:1948\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060engine\u0060 to \u0060bool HasChildren) ParseBodyPart (ImapEngine\u0060 in one and \u0060ImapEngine\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db7579fb06139ea72d8d2e018348fe34ce575bd3b00616a4471ce13b8c14508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:355-379 | MailKit/Net/Imap/ImapClient.cs:1225-1249 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Imap/ImapClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:355\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f8f18b62a8d3a2d0b40e43a8e9405218170342ad9167626c73002e4dac08a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:792-818 | MailKit/Net/Pop3/AsyncPop3Client.cs:604-630 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Pop3/AsyncPop3Client.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:792\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b58fa119b6694e58e5b87b9c42c9d80cac86f518cea823df56e738fdf40020c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:1678-1700 | MailKit/Net/Imap/ImapEngine.cs:1773-1795 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:1678\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c4f7e5053d6217f496fa7df22bf06b69bc299a5d31f4bba097241f563f6170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): MailKit/Net/Smtp/AsyncSmtpClient.cs:396-420 | MailKit/Net/Smtp/SmtpClient.cs:1260-1284 \u2014 before extracting anything, compare \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs:396\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced9c31053510bf20449dd2601f0d9832dd6a420c5fb7e96e8e0347b4f5ea9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): MailKit/UniqueIdSet.cs:300-324 | MailKit/UniqueIdSet.cs:357-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/UniqueIdSet.cs:300\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/UniqueIdSet.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1b594497816022f7f1dbec088d08977d8f8702ae936a1e692e9d469a8dc6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): MailKit/Net/Imap/ImapClient.cs:1342-1364 | MailKit/Net/Pop3/Pop3Client.cs:1040-1062 | MailKit/Net/Smtp/SmtpClient.cs:1288-1310 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapClient.cs:1342\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e15136a478dd1016c61a2bf9024a9a416ae1755b03a1e28e7ee623bd2927659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): MailKit/Net/Imap/ImapStream.cs:275-297 | MailKit/Net/Pop3/Pop3Stream.cs:273-295 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapStream.cs:275\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapStream.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98fcf6cfe9a3490dec28e68525ce2cda0f297a910cd12f8f74abc1e0a2614ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): MailKit/Net/SocketUtils.cs:115-138 | MailKit/Net/SocketUtils.cs:179-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/SocketUtils.cs:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/SocketUtils.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09be20dde731911b6af7545961cf3e6148abbd84db8639b9b35c8fae9d24e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): MailKit/Net/Imap/ImapClient.cs:255-276 | MailKit/Net/Pop3/Pop3Client.cs:255-276 | MailKit/Net/Smtp/SmtpClient.cs:622-643 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapClient.cs:255\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ec480ffb4e36e7af158ad85622f0b030f3503017b9bd2a7dd12711e053275b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:400-421 | MailKit/Net/Imap/ImapClient.cs:1273-1294 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Imap/ImapClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:400\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cc540471f7f3f8f501bedd065464028bf19644027036b6d65855350fff01b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:612-631 | MailKit/Net/Pop3/AsyncPop3Client.cs:424-443 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Pop3/AsyncPop3Client.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:612\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"b333f857ea2b35573aedf6833572631bc1f9f3572208befe388e7d52afc6c3d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): MailKit/Net/Imap/ImapClient.cs:1099-1120 | MailKit/Net/Imap/ImapClient.cs:1245-1267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060MailKit/Net/Imap/ImapClient.cs:1122\u0060 calls \u0060StartNetworkOperation\u0060 and \u0060MailKit/Net/Imap/ImapClient.cs:1269\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":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"183e023e861c32eba955f0acc1a246b8ae2c7c0c99b890736fb5458bc70f6b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): MailKit/Net/Imap/ImapClient.cs:1541-1560 | MailKit/Net/Pop3/Pop3Client.cs:1220-1239 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapClient.cs:1541\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77e46516e688ef4f2b899fd9844b4e1aef76259a99477241376a2faa8924683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:377-395 | MailKit/Net/Imap/ImapFolderFetch.cs:621-639 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:377\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9638d791e8e83f21ceb3bcaa1577b1cd8371e18c7090969af899301d3243caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:1759-1779 | MailKit/Net/Imap/ImapUtils.cs:1849-1869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapUtils.cs:1759\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"748951ee87409d6d63ae515f4f881576e81893aaa4c4f78442f4aee2f6dc1950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): MailKit/Net/Smtp/AsyncSmtpClient.cs:240-261 | MailKit/Net/Smtp/AsyncSmtpClient.cs:380-401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs:240\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b026b7861c27a0aa61e28d39741aa8c8123fbd300b83a2126ae473999c0bc81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): MailKit/Net/Imap/ImapCommand.cs:659-679 | MailKit/Net/Imap/ImapCommand.cs:801-821 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapCommand.cs:659\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd643171a4d77ad46d52b4b583bedfeb1a7becce41d5d05de4607b4fd307e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:5179-5197 | MailKit/Net/Imap/ImapFolder.cs:5430-5448 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:5179\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060MailKit/Net/Imap/ImapFolder.cs:5176\u0060 calls \u0060Contains\u0060, \u0060Expunge\u0060, \u0060ExpungeRequest\u0060 and \u0060MailKit/Net/Imap/ImapFolder.cs:5428\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":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bd0520bab4fdff0f5690dfd51ccab3476cbed7bae220cf12744d1b7f8c8d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:5272-5290 | MailKit/Net/Imap/ImapFolder.cs:5522-5540 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:5272\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060MailKit/Net/Imap/ImapFolder.cs:5269\u0060 calls \u0060Contains\u0060, \u0060ExpungeAsync\u0060, \u0060ExpungeRequest\u0060 and \u0060MailKit/Net/Imap/ImapFolder.cs:5520\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":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df6d981eb66249fc9d541763e9034b80a76d1c8c0397a6e0ae8ed841d477cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:3706-3725 | MailKit/Net/Imap/ImapFolderFetch.cs:4018-4037 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":3706}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a68ef03f2a1884b981a8b14045cb5566d86959bd537e18457ffef68c29ee2e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFlags.cs:191-211 | MailKit/Net/Imap/ImapFolderFlags.cs:620-640 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFlags.cs:191\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IStoreFlagsRequest\u0060 in one and \u0060IStoreLabelsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2f9c213b2328cabd0fd4a2e0c7276f6496bfdf5897b29fe36344aea5574b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFlags.cs:263-283 | MailKit/Net/Imap/ImapFolderFlags.cs:692-712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFlags.cs:263\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IStoreFlagsRequest\u0060 in one and \u0060IStoreLabelsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eae5a591ae239aa4d9069668364086729607a9e8f6d3ea89713ab33b3985dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:256-274 | MailKit/Net/Imap/AsyncImapClient.cs:375-394 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060MailKit/Net/Imap/AsyncImapClient.cs:276\u0060 calls \u0060StartNetworkOperation\u0060 and \u0060MailKit/Net/Imap/AsyncImapClient.cs:396\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":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fc5b8a94fc93ecb4c86c40d5f8ab534f25d7fe96095a9af9c22373a4e51eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:408-424 | MailKit/Net/Imap/AsyncImapClient.cs:441-460 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:408\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060MailKit/Net/Imap/AsyncImapClient.cs:462\u0060 calls \u0060SetError\u0060 and \u0060MailKit/Net/Imap/AsyncImapClient.cs:425\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":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ef3ae266753cc74f8e57953f9d31bacdda1dbc6d866b65709e3e0a42868175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:2964-2980 | MailKit/Net/Imap/ImapEngine.cs:3122-3138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:2964\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2964}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c03628d6609f4d21202e8120364123fffdc9c38f4c9d8dd2060fa41c3ece59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:1284-1302 | MailKit/Net/Imap/ImapFolderFetch.cs:1380-1398 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:1284\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"3117d0bf31c0a1495d50b7892303e93ca106f95371819641d8552bc1e793062c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): MailKit/Net/Pop3/Pop3Stream.cs:473-491 | MailKit/Net/Pop3/Pop3Stream.cs:577-595 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/Pop3Stream.cs:473\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"971740ce45a249fbaad948e88b062899b25667013701d4022d69f7a034f2398e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:2764-2779 | MailKit/Net/Imap/ImapEngine.cs:2828-2843 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:2764\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77c49d739e7e75e8f9a969c9cf728be663f81c9955884bcca9c3e7f8c2c70d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:2102-2118 | MailKit/Net/Imap/ImapFolderFetch.cs:2345-2361 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:2102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0fb32f3ab460aec735141c3b05da25e16305829aed6e4587f62dc7b986faac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:3789-3805 | MailKit/Net/Imap/ImapFolderFetch.cs:4088-4104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":3789}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d317bfa1c95f3ca9210f5aeacb516e773be762ae5221b2408dc5502e08eb9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:3860-3876 | MailKit/Net/Imap/ImapFolderFetch.cs:4156-4172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":3860}}}],"partialFingerprints":{"codehealthFindingId/v1":"55facdb4f6177a64de9a1ad34c6c7c577d0c13e7874b5c42b67b164a5e447166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:965-980 | MailKit/Net/Imap/ImapUtils.cs:2506-2521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"60696afa2089b17986a58d0410ffc9bd271f56e9ab543037afbdb66e6376f1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:990-1005 | MailKit/Net/Imap/ImapUtils.cs:2531-2546 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a02ca6b3754be47a365f8e03e68e608da0004a6ddcb8f8d47444ba373075f14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Pop3/AsyncPop3Client.cs:248-263 | MailKit/Net/Pop3/Pop3Client.cs:985-1000 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/AsyncPop3Client.cs\u0060 and \u0060MailKit/Net/Pop3/Pop3Client.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/AsyncPop3Client.cs:248\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"826311e8294bfd63d7424b13b3112887aa7f39402927b0609db13b712db535bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): MailKit/Net/Pop3/Pop3Engine.cs:462-479 | MailKit/Net/Pop3/Pop3Engine.cs:497-514 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/Pop3Engine.cs:462\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Engine.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd13bef1a7b610ec2848745ec569785fa1f5d3008aa115d3477b85ac5ce814d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:525-541 | MailKit/Net/Imap/ImapClient.cs:1458-1474 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Imap/ImapClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:525\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2df885ba9febd4e4d49f2f655c4688ad8808931d2c6d5fd45d10d9d3ccd64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:3790-3805 | MailKit/Net/Imap/ImapEngine.cs:3831-3846 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:3790\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060command\u0060 to \u0060out StringBuilder\u0060 in one and \u0060StringBuilder\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3790}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d95871dffca8b921f9f2f993ba5ed55e45bd768dd22257857743c0dd75ca1c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:410-424 | MailKit/Net/Imap/ImapFolderFetch.cs:654-668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:410\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bd8d04164b0fa2ea7a0eb89385420e36270def9d40c2919a07f24fdbae1106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:441-454 | MailKit/Net/Imap/ImapFolderFetch.cs:685-698 \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":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46bb462c6a881761fe4ee62bc8c2a2fb727bd15c61fcf71350e768afc224ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:2325-2340 | MailKit/Net/Imap/ImapFolderFetch.cs:2568-2583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:2325\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7d433f539fc80dea91344642047c7c50f45dfb2b1637fd6fc83395b7ead8d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): MailKit/Net/Smtp/AsyncSmtpClient.cs:738-754 | MailKit/Net/Smtp/SmtpClient.cs:1686-1702 \u2014 before extracting anything, compare \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs:738\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c85e59fa005fcc875e836e3abe04cc691691d3b517c0fea6e1c1013cbf507b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): MailKit/Net/Imap/ImapClient.cs:1281-1297 | MailKit/Net/Imap/ImapClient.cs:1314-1333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapClient.cs:1281\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060MailKit/Net/Imap/ImapClient.cs:1335\u0060 calls \u0060SetError\u0060 and \u0060MailKit/Net/Imap/ImapClient.cs:1298\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":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a6c98e7d94ad9f0d68e586c41c26d906ddea33fc0322cd1574feb37ee7fbb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:837-852 | MailKit/Net/Imap/ImapEngine.cs:898-913 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:837\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"7750ac8426bd5713b0d6849bf4dded5960e85584d37b0d3037eeea42e19ee0f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:3869-3883 | MailKit/Net/Imap/ImapEngine.cs:3928-3942 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:3869\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3869}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bf567513a7a6971decba431ddf7790808cefaf22becad40c6d64ab9cf3d95f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:4914-4928 | MailKit/Net/Imap/ImapFolder.cs:5014-5028 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:4914\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":4914}}}],"partialFingerprints":{"codehealthFindingId/v1":"294d7f5682949e2fdb6ca0925e498ea233ccb5b4f9e7691789b31a41f03d1184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:5691-5705 | MailKit/Net/Imap/ImapFolder.cs:5790-5804 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:5691\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5691}}}],"partialFingerprints":{"codehealthFindingId/v1":"05721c208e68780570b751d6349aa5dfcd09ce0d6452d4ec1e25a1268b6023f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:5885-5898 | MailKit/Net/Imap/ImapFolder.cs:6004-6017 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:5885\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5885}}}],"partialFingerprints":{"codehealthFindingId/v1":"0019d2f46e352d20d8df608c0e92f5d4ef246dadd51bd30ea196844c8239c010"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:5916-5930 | MailKit/Net/Imap/ImapFolder.cs:6035-6049 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:5916\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5916}}}],"partialFingerprints":{"codehealthFindingId/v1":"7557835e715c1428dfc992644a61199b6bc7abbeb3ba2a2a05576ee44e062547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFlags.cs:393-409 | MailKit/Net/Imap/ImapFolderFlags.cs:822-838 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IStoreFlagsRequest\u0060 in one and \u0060IStoreLabelsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5410fe8d580f11a51109d009df9dc55006d620aeee6309a5b3a7de6cca9d7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapStream.cs:981-996 | MailKit/Net/Pop3/Pop3Stream.cs:611-626 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapStream.cs:981\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapStream.cs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d001b242745b346a8b4b2e21f8ab426bb6eff50b7f693f131b7e724934c616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:971-986 | MailKit/Net/Imap/ImapUtils.cs:996-1011 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapUtils.cs:971\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2f4fbfeb2ddb7d053864102d714a70b1a4e7067afbf67bf2a5b0f9188478df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:2512-2527 | MailKit/Net/Imap/ImapUtils.cs:2537-2552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapUtils.cs:2512\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cc2f1192e6718edf68e81bbc1508b09932d8623a0c60052bb05eb476cca5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Pop3/AsyncPop3Client.cs:224-238 | MailKit/Net/Pop3/Pop3Client.cs:961-975 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/AsyncPop3Client.cs\u0060 and \u0060MailKit/Net/Pop3/Pop3Client.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/AsyncPop3Client.cs:224\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"355ab7e8c79b9ef910f68b6f12f0ace1a11df81f1f87a69da28e446e1acc0790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Smtp/AsyncSmtpClient.cs:256-271 | MailKit/Net/Smtp/SmtpClient.cs:1103-1118 \u2014 before extracting anything, compare \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs:256\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24b8dbfa3fbbfbcf1c3ad2348fe1fa4603cd4d38fd31f7c28ff5009c1b58fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/UniqueIdSet.cs:283-297 | MailKit/UniqueIdSet.cs:340-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/UniqueIdSet.cs:283\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/UniqueIdSet.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3753a9cdeba2971a975406043256d4fadba5e9f7a2fff1845bf1c7fdb7f53b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:783-797 | MailKit/Net/Imap/ImapClient.cs:1723-1737 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Imap/ImapClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:783\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"1666515befa23adfda2106a8591d9bc4cd98ed18770fb6758ccb9756ff606d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:799-813 | MailKit/Net/Imap/ImapClient.cs:1739-1753 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Imap/ImapClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:799\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"b152c9fe3bae6abd779364cf34e5fa77da786cadc6cec9b15f5f620e45d304ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapClient.cs:2533-2548 | MailKit/Net/Imap/ImapFolder.cs:3314-3329 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapClient.cs:2533\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"87543aa0112922c33a39eac95ffb35468acd10d66486e0b7194e2a165eef7f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:3887-3900 | MailKit/Net/Imap/ImapEngine.cs:3946-3959 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:3887\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3887}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e82d9df7fc453839d00c0d74cc4a5405918756c86fb9e7605a50d060eab5294"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:6314-6328 | MailKit/Net/Imap/ImapFolder.cs:6407-6421 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:6314\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":6314}}}],"partialFingerprints":{"codehealthFindingId/v1":"639a29816b7922005778845fd4ae724f6e4adda55e34a5983815137c4b8d30a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFlags.cs:460-475 | MailKit/Net/Imap/ImapFolderFlags.cs:889-904 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFlags.cs:460\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IStoreFlagsRequest\u0060 in one and \u0060IStoreLabelsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbf283f7e7154b36d99f53b7f8214669f44efef01f449bb3438541e2475fa5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:2154-2167 | MailKit/Net/Imap/ImapUtils.cs:2201-2214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapUtils.cs:2154\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71a949ba119059f40a421cea8c711bb6c04fde5df74c7b1d202995597f3e9a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Pop3/AsyncPop3Client.cs:595-609 | MailKit/Net/Pop3/Pop3Client.cs:1408-1422 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/AsyncPop3Client.cs\u0060 and \u0060MailKit/Net/Pop3/Pop3Client.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/AsyncPop3Client.cs:595\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9215b24b8c47c85c2489023b7056277e5aca7517aab904fba912af9ecf16d0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Pop3/AsyncPop3Client.cs:611-625 | MailKit/Net/Pop3/Pop3Client.cs:1424-1438 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/AsyncPop3Client.cs\u0060 and \u0060MailKit/Net/Pop3/Pop3Client.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/AsyncPop3Client.cs:611\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd4d5692a147c7c87d5acfbf0356d0f3dc51e6cef1891a501bd6b6d216d17eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Pop3/Pop3Stream.cs:1013-1027 | MailKit/Net/Smtp/SmtpStream.cs:1018-1032 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/Pop3Stream.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpStream.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/Pop3Stream.cs:1013\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"18534778bdb54aa8274d2e373b6967001d2a90171c1e69d077f6393d9cc00426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): MailKit/Security/Ntlm/NtlmChallengeMessage.cs:154-169 | MailKit/Security/Ntlm/NtlmChallengeMessage.cs:178-193 \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":"MailKit/Security/Ntlm/NtlmChallengeMessage.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fba55073aa675b4f964cb22ec1e5efaac77474925aa7d734854898f76cbe987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): MailKit/Security/SaslMechanismOAuth2.cs:138-152 | MailKit/Security/SaslMechanismOAuthBearer.cs:188-203 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Security/SaslMechanismOAuth2.cs:138\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismOAuth2.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0437eae61bbf97a68b236c8910ac5ba29cdc04351b695d0c4e8300fd493a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): MailKit/Net/Pop3/Pop3Stream.cs:835-849 | MailKit/Net/Pop3/Pop3Stream.cs:951-965 | MailKit/Net/Smtp/SmtpStream.cs:840-854 | MailKit/Net/Smtp/SmtpStream.cs:956-970 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/Pop3Stream.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpStream.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/Pop3Stream.cs:835\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060MailKit/Net/Pop3/Pop3Stream.cs:834\u0060 calls \u0060Get\u0060 and \u0060MailKit/Net/Pop3/Pop3Stream.cs:950\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":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46cb7b43667c99cdebc42cc43f13aed9eb7eeac640b662d20288a853b1230a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): MailKit/Net/Imap/ImapClient.cs:1552-1563 | MailKit/Net/Imap/ImapClient.cs:1732-1743 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapClient.cs:1552\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"43057f2b34dc8060fe983d02e42e3b67c5578f9b04a43f98954de3f51864331e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:2942-2955 | MailKit/Net/Imap/ImapEngine.cs:3100-3113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:2942\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2942}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1822424c65e7695e7d0079d459891d21885b7d3761cf6ffbef414456613168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:3554-3568 | MailKit/Net/Imap/ImapEngine.cs:4040-4053 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a75dd19c02143352a97bb3b7d96397ffb5d35d92292c22804a8415ca0d6bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:4350-4361 | MailKit/Net/Imap/ImapFolder.cs:4462-4473 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:4350\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":4350}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4918446414b72a33b801cf7e651c2ef05fa040a37475cf7027383712566b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:1325-1336 | MailKit/Net/Imap/ImapUtils.cs:1376-1387 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3757382373b319d501c54956a89b6e555003c61ac5e5b7c6d096b873b85c34be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): MailKit/Net/Pop3/Pop3Client.cs:1231-1242 | MailKit/Net/Pop3/Pop3Client.cs:1417-1428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/Pop3Client.cs:1231\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060MailKit/Net/Pop3/Pop3Client.cs:1227\u0060 calls \u0060ConnectNetwork\u0060 and \u0060MailKit/Net/Pop3/Pop3Client.cs:1416\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":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e476e456514efdc7a06ecfc01a96a922ac4615208b209847ca494f4f381025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): MailKit/Net/Pop3/Pop3Client.cs:2459-2472 | MailKit/Net/Pop3/Pop3Client.cs:2485-2498 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/Pop3Client.cs:2459\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b6d079e2ee7c2e3f95cb1f0b5debf77e7f58cbf485b398e30efec6fe0ec495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Proxy/HttpProxyClient.cs:192-206 | MailKit/Net/Proxy/HttpProxyClient.cs:256-270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Proxy/HttpProxyClient.cs:192\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/HttpProxyClient.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d751cb8f5e736ff75f2a9e906027f23ed256ad9b621cf9c6f42d6f7af090fa2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Net/Smtp/AsyncSmtpClient.cs:757-771 | MailKit/Net/Smtp/SmtpClient.cs:1705-1719 \u2014 before extracting anything, compare \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs:757\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"400c7deef597fa8331ea58e074830680d91066d7ca9e7f1b4b288c002ce0ef3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:361-375 | MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:408-422 \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":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1cc7eae23797a6f23b04ab26302475c3a0d55c16c147782046a17db3b20b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): MailKit/Net/Imap/AsyncImapClient.cs:810-820 | MailKit/Net/Pop3/AsyncPop3Client.cs:622-632 | MailKit/Net/Smtp/AsyncSmtpClient.cs:769-779 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Pop3/AsyncPop3Client.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:810\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"7256c277b39dff0a3b392c7c0659aa2ef71f3abb2f4028e5ca4b8a7a7262ca0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:5164-5173 | MailKit/Net/Imap/ImapFolder.cs:5417-5426 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:5164\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060MailKit/Net/Imap/ImapFolder.cs:5176\u0060 calls \u0060Contains\u0060, \u0060Expunge\u0060, \u0060ExpungeRequest\u0060 and \u0060MailKit/Net/Imap/ImapFolder.cs:5430\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":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7252713f8550fe324c528416f1a37f8dc6ca42028750697205a23880d0df8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:5257-5266 | MailKit/Net/Imap/ImapFolder.cs:5509-5518 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:5257\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060MailKit/Net/Imap/ImapFolder.cs:5269\u0060 calls \u0060Contains\u0060, \u0060ExpungeAsync\u0060, \u0060ExpungeRequest\u0060 and \u0060MailKit/Net/Imap/ImapFolder.cs:5522\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":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b45216a96c52ce1ce0c8ef04fe04ffa813acf43a280a69d4c44f8f0ed408b3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:6146-6158 | MailKit/Net/Imap/ImapFolder.cs:6218-6230 \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":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":6146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0053d0b7b3efe26c3c8f126d5fc7a5ffb8ffdfb390f8ecd2a9635b55f8aec87a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:6333-6346 | MailKit/Net/Imap/ImapFolder.cs:6426-6439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:6333\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":6333}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b7047de989521430bbe36d0a710665c1159fc92a4791ccbd9fe7edb44a6a19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:6630-6639 | MailKit/Net/Imap/ImapFolder.cs:6656-6665 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:6630\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":6630}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced7b1acd8a9352119aaf09c97b4707008ab1512bd259077cb7cfa5591401b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:318-329 | MailKit/Net/Imap/ImapFolderFetch.cs:562-573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:318\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f4987fb85faa9c1963a4efc0af2ce0908c9648b2c88612c09e1d6df87325cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:1592-1604 | MailKit/Net/Imap/ImapFolderFetch.cs:1815-1827 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:1592\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb4b19f1000c97fdb985b96ed6d7e151504635caf5804d649f6616d955c5ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:2130-2139 | MailKit/Net/Imap/ImapFolderFetch.cs:2373-2382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:2130\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6a9a949584fb08c65158856084ecb9b756b71128ade513cbac57aa397f6ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:1545-1556 | MailKit/Net/Imap/ImapUtils.cs:1576-1587 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapUtils.cs:1545\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ecd5fb8ac3881833fbcb9d56a9a787f13bbd630490792e972cfc131f4c156a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): MailKit/Net/Imap/AsyncImapClient.cs:623-631 | MailKit/Net/Imap/AsyncImapClient.cs:792-800 | MailKit/Net/Pop3/AsyncPop3Client.cs:435-443 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Pop3/AsyncPop3Client.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:623\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5400aa36c93ed4ce0eece362098e36061f80375bb32e32bfa83ee78a2f28861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): MailKit/Net/Imap/ImapClient.cs:1552-1560 | MailKit/Net/Imap/ImapClient.cs:1732-1740 | MailKit/Net/Pop3/Pop3Client.cs:1231-1239 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapClient.cs:1552\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"4691c32d3a5269f92b9bd66d11de8dc0b424e5497ae337ee0ac174e34f755962"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:4883-4894 | MailKit/Net/Imap/ImapFolder.cs:4983-4994 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:4883\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":4883}}}],"partialFingerprints":{"codehealthFindingId/v1":"042c5324cfa53fc1e9591d688e3cdd891c9a51a21704850f6cdaefb2e82cd65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderAnnotations.cs:265-274 | MailKit/Net/Imap/ImapFolderFlags.cs:752-761 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/ImapFolderAnnotations.cs\u0060 and \u0060MailKit/Net/Imap/ImapFolderFlags.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderAnnotations.cs:265\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IStoreAnnotationsRequest\u0060 in one and \u0060IStoreLabelsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderAnnotations.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df3b053b830256d6a93cd35a403dd7ad0d4ae2d77bac0e59452daff2dcfffc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:2749-2758 | MailKit/Net/Imap/ImapFolderFetch.cs:3143-3152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:2749\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2749}}}],"partialFingerprints":{"codehealthFindingId/v1":"368648a82b2b31438f4d01c21e5441dd43d85f3abd7a37479a8de80064fe18e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:2838-2847 | MailKit/Net/Imap/ImapFolderFetch.cs:3232-3241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:2838\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2838}}}],"partialFingerprints":{"codehealthFindingId/v1":"b561686f221883a6e48b537ad2253202f6355d53dff89ab4b7c7e490ff89f7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:2897-2906 | MailKit/Net/Imap/ImapFolderFetch.cs:3291-3300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:2897\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2897}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5f422b0f6b6b6456ea7b8f142188544e658082abdecef40850e1ade95d9095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:3537-3546 | MailKit/Net/Imap/ImapFolderFetch.cs:3673-3682 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:3537\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":3537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cadd10333bf42b6ca687eeaff737a7e150fab35bdf604a57ffd3eb5e114ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:2999-3008 | MailKit/Net/Imap/ImapUtils.cs:3046-3055 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapUtils.cs:2999\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":2999}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc5c46a03921ea25ca89f424d2e8d1467c33f5529dbb7be936ba72d21870b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Pop3/AsyncPop3Client.cs:437-446 | MailKit/Net/Pop3/AsyncPop3Client.cs:606-615 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/AsyncPop3Client.cs:437\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fd5ac31c027cbaf4c6dd5b010c80d0adb94515aa12649ee3a2c94fd93d714f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): MailKit/Net/Pop3/Pop3Stream.cs:1078-1090 | MailKit/Net/Smtp/SmtpStream.cs:1085-1096 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/Pop3Stream.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpStream.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Pop3/Pop3Stream.cs:1078\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f5d08c9b446f367f3f1d5fa8f63ea79b58462d9348896bca0a41ee1c35f0f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:434-444 | MailKit/Security/Ntlm/NtlmChallengeMessage.cs:196-206 | MailKit/Security/Ntlm/NtlmNegotiateMessage.cs:153-163 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:434\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ceeff3a19f650265798233fb67d6cf0d57964e48b3dd646c5078e2a1764396a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/BodyPart.cs:696-705 | MailKit/BodyPart.cs:708-717 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060MailKit/BodyPart.cs:707\u0060 calls \u0060TryParse\u0060 and \u0060MailKit/BodyPart.cs:719\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":"MailKit/BodyPart.cs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef34dd41553e4c5e7ffe406f9030261f2c878c3b90646c180403451230821721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:251-260 | MailKit/Net/Imap/ImapClient.cs:1094-1103 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Imap/ImapClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"262318adce0dd35e7520c6bfa0c073c5fd2d513a71d80c3a9fd929300761e270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:4900-4911 | MailKit/Net/Imap/ImapFolder.cs:5000-5011 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:4900\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":4900}}}],"partialFingerprints":{"codehealthFindingId/v1":"863e89d7c1a1ba1ae65205cf6c788e899dc6bda8c712b7416466e3dac55be465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:4376-4385 | MailKit/Net/Imap/ImapFolderFetch.cs:4541-4550 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:4376\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":4376}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2cb2b0d1911c4437e48b7af67c8cf83a04d6d4168decf4d1374e2125b76ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:4440-4449 | MailKit/Net/Imap/ImapFolderFetch.cs:4604-4613 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:4440\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":4440}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de17b8c37c1752b4e531b084a241a27184af25260442bb01c4524466e2fb7c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:4862-4871 | MailKit/Net/Imap/ImapFolderFetch.cs:5185-5194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:4862\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":4862}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a897394aeea8f36c3f592cf0e2a94eee41ed349edc7828f53b2ca3ef446374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:4932-4941 | MailKit/Net/Imap/ImapFolderFetch.cs:5254-5263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:4932\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":4932}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0c10f2cbf2ea5d0b55616accb6b16f506352b1232304b4dc1ef58c468a2689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFlags.cs:556-565 | MailKit/Net/Imap/ImapFolderFlags.cs:758-767 \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, \u0060MailKit/Net/Imap/ImapFolderFlags.cs:755\u0060 calls \u0060FormatIndexSet\u0060, \u0060Append\u0060 and \u0060MailKit/Net/Imap/ImapFolderFlags.cs:554\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":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78e663c6e89e2559c78828cd646cbbcdf1537871db3b3f17a31f853d1c55c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Proxy/Socks4Client.cs:226-235 | MailKit/Net/Proxy/Socks4Client.cs:309-318 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Proxy/Socks4Client.cs:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/Socks4Client.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9f2fd31fa8b96f17fe25384e21adcb74e19794db2c122ebc71513be93053d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Smtp/SmtpClient.cs:1510-1519 | MailKit/Net/Smtp/SmtpClient.cs:1699-1708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Smtp/SmtpClient.cs:1510\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf059e51c71516633222cb4b7b642f873d81463e347398b85b4fd50a5a69f413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): MailKit/Net/Imap/AsyncImapClient.cs:625-631 | MailKit/Net/Imap/AsyncImapClient.cs:794-800 | MailKit/Net/Pop3/AsyncPop3Client.cs:437-443 | MailKit/Net/Pop3/AsyncPop3Client.cs:606-612 | MailKit/Net/Smtp/AsyncSmtpClient.cs:579-585 | MailKit/Net/Smtp/AsyncSmtpClient.cs:751-757 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Pop3/AsyncPop3Client.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/AsyncImapClient.cs:625\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5129ef70e80b9a7c1dbd08e51a1baf385b8898da1ec53eb729f6132b84f3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): MailKit/Net/Imap/ImapClient.cs:1554-1560 | MailKit/Net/Imap/ImapClient.cs:1734-1740 | MailKit/Net/Pop3/Pop3Client.cs:1233-1239 | MailKit/Net/Pop3/Pop3Client.cs:1419-1425 | MailKit/Net/Smtp/SmtpClient.cs:1699-1705 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapClient.cs:1554\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"143c08ccc094084e38ffc4a0d86c9bea98f035f9c7085d9e590e248a9e2ef9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): MailKit/Net/Proxy/ProxyClient.cs:215-222 | MailKit/Net/Proxy/ProxyClient.cs:240-247 | MailKit/Net/Proxy/ProxyClient.cs:260-267 | MailKit/Net/Proxy/ProxyClient.cs:286-293 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Proxy/ProxyClient.cs:215\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/ProxyClient.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d239ec80d824a70306635ccbdb611f0fe2233b0f321340c7a7578b93b491fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:371-381 | MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:383-393 | MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:395-405 | MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:407-417 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1862d5a58fda37d1f86f622cc626304443cabdd8e7a6f976a6e0ae219c5b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:2274-2281 | MailKit/Net/Imap/ImapEngine.cs:2624-2631 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2274}}}],"partialFingerprints":{"codehealthFindingId/v1":"18256c06167de4375780ca3df7d836e2cc8b805770a5ad23e2d1503be83b768c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:3594-3603 | MailKit/Net/Imap/ImapEngine.cs:3618-3627 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:3594\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3594}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d495a8035f313edfde8c557079bd39b5666d4ddceac264db04a6754def5b77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:494-501 | MailKit/Net/Imap/ImapFolderFetch.cs:738-745 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:494\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"554bd8dbba75e50a6f188f8f4c2eeaeeca9fcf107c4a5159180eab2e40a45bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFlags.cs:326-336 | MailKit/Net/Imap/ImapFolderFlags.cs:755-765 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IStoreFlagsRequest\u0060 in one and \u0060IStoreLabelsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0bb3a163fc2bf8997f3153b025f60e5d7fe809a75a901d0078f36a498ecb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): MailKit/Net/Imap/ImapFolderSearch.cs:821-830 | MailKit/Net/Imap/ImapFolderSearch.cs:875-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderSearch.cs:821\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de93acb7196ab89eb3a073b6a627865337c7301256b4f8075f7b7aa4d73c1ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:1238-1246 | MailKit/Net/Imap/ImapUtils.cs:1302-1310 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c67e6451ba7d2c9aaa44e7e2647e542ba033e5f654d5d5f2a9badbd0dae5d09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:1640-1647 | MailKit/Net/Imap/ImapUtils.cs:2001-2008 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapUtils.cs:1640\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060body\u0060 to \u0060BodyPartMultipart\u0060 in one and \u0060BodyPartBasic\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef511b6f3d3f89acf71c92a5248c1dca9907503285f3caebc5c19144d04180e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:1703-1710 | MailKit/Net/Imap/ImapUtils.cs:2120-2127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapUtils.cs:1703\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060body\u0060 to \u0060BodyPartMultipart\u0060 in one and \u0060BodyPartBasic\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"7324cea2d88dd05cd67b3a9ba065e49e9271f1cb8844888ad0acbf796d143526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): MailKit/Net/Imap/ImapFolderAnnotations.cs:141-149 | MailKit/Net/Imap/ImapFolderAnnotations.cs:218-226 | MailKit/Net/Imap/ImapFolderFlags.cs:189-197 | MailKit/Net/Imap/ImapFolderFlags.cs:261-269 | MailKit/Net/Imap/ImapFolderFlags.cs:618-626 | MailKit/Net/Imap/ImapFolderFlags.cs:690-698 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/ImapFolderAnnotations.cs\u0060 and \u0060MailKit/Net/Imap/ImapFolderFlags.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderAnnotations.cs:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IStoreAnnotationsRequest\u0060 in one and \u0060IStoreFlagsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderAnnotations.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15236ac7e2b004e8948777e6cbdb56fcf03b5d7ab857f9faf13a20209d5ae3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): MailKit/Net/Imap/ImapFolder.cs:5164-5170 | MailKit/Net/Imap/ImapFolder.cs:5257-5263 | MailKit/Net/Imap/ImapFolder.cs:5417-5423 | MailKit/Net/Imap/ImapFolder.cs:5509-5515 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolder.cs:5164\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5164}}}],"partialFingerprints":{"codehealthFindingId/v1":"73de4b9fe187388e89f22fd08e0220ac355552b07c4643ad17a77afd4fbac323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): MailKit/Net/Imap/ImapFolderAnnotations.cs:266-275 | MailKit/Net/Imap/ImapFolderFlags.cs:325-333 | MailKit/Net/Imap/ImapFolderFlags.cs:753-762 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/ImapFolderAnnotations.cs\u0060 and \u0060MailKit/Net/Imap/ImapFolderFlags.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IStoreAnnotationsRequest\u0060 in one and \u0060IStoreFlagsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderAnnotations.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"89456f9ea28f5c5557d975810d31bf341ded522fc0c4af63aea063a57f454c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): MailKit/Net/Imap/ImapCommand.cs:554-562 | MailKit/Net/Imap/ImapCommand.cs:696-704 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapCommand.cs:554\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"819bd5eb67bc25d912d6d073e6a336fa26364a31c5367dbe9595fefbe71be08f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): MailKit/Net/Imap/ImapEngine.cs:2240-2245 | MailKit/Net/Imap/ImapEngine.cs:2590-2595 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapEngine.cs:2240\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"21473649efd47026f0d67d4d6fc97fd1f37e5f181bd1f1be5282dd5475669f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:5700-5706 | MailKit/Net/Imap/ImapFolder.cs:5925-5931 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060ICopyRequest\u0060 in one and \u0060IMoveRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5700}}}],"partialFingerprints":{"codehealthFindingId/v1":"133e57d05aa8f5bee743267ca96613ad0669542dee19d649b4a509c050296903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:5799-5805 | MailKit/Net/Imap/ImapFolder.cs:6044-6050 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060ICopyRequest\u0060 in one and \u0060IMoveRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":5799}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dd37057509fe8c3433ef12b04e50237f17f61c22073e806faccf52a99e8f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): MailKit/Net/Imap/ImapFolder.cs:6224-6231 | MailKit/Net/Imap/ImapFolder.cs:6433-6440 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060ICopyRequest\u0060 in one and \u0060IMoveRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":6224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb79744eeef52b6db155e8774072a99595cfe775c41f0903bce29830b886dae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): MailKit/Net/Imap/ImapFolderAnnotations.cs:63-67 | MailKit/Net/Imap/ImapFolderAnnotations.cs:271-275 \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, \u0060MailKit/Net/Imap/ImapFolderAnnotations.cs:268\u0060 calls \u0060FormatIndexSet\u0060, \u0060Append\u0060 and \u0060MailKit/Net/Imap/ImapFolderAnnotations.cs:61\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":"MailKit/Net/Imap/ImapFolderAnnotations.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8b3ac2dc2085320a4b9037ea25fa56992f15daed0eb90d1c58dafd23810daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): MailKit/Net/Imap/ImapFolderSearch.cs:1562-1569 | MailKit/Net/Imap/ImapFolderSearch.cs:1799-1806 \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":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f735a4db1229b10f086d13ed85285f20c72835e777c2e5b0e3cabf8a419c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): MailKit/Net/Imap/ImapUtils.cs:1612-1619 | MailKit/Net/Imap/ImapUtils.cs:1675-1682 \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":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"125892197ddb2f02acd40e3bc7a13a9a6392220b11f1e901f52a87e278592af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): MailKit/Security/Ntlm/MD4.cs:226-235 | MailKit/Security/Ntlm/MD4.cs:236-243 \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":"MailKit/Security/Ntlm/MD4.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"71926d3239121a9ed0a6e8722229457ddcc66a6527cf006c8ab6a729f2cc70d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): MailKit/Security/Ntlm/MD4.cs:244-253 | MailKit/Security/Ntlm/MD4.cs:254-261 \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":"MailKit/Security/Ntlm/MD4.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f4cf210983decc77e29336b1de47d604fa4c6f2f99cc36dcb3bddef282a67e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:1440-1446 | MailKit/Net/Imap/ImapFolderFetch.cs:1658-1664 \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":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f441147bba435b0dc656e0e67244062bff8761e5a275f4213bf9b87481979d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:3695-3702 | MailKit/Net/Imap/ImapFolderFetch.cs:4007-4014 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:3695\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060MailKit/Net/Imap/ImapFolderFetch.cs:4005\u0060 calls \u0060ToString\u0060 and \u0060MailKit/Net/Imap/ImapFolderFetch.cs:3692\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":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":3695}}}],"partialFingerprints":{"codehealthFindingId/v1":"158ade892b8a05147b88d9e89a5da999145391570c48dab3462a9175e4880537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): MailKit/Net/Imap/ImapFolderSearch.cs:795-801 | MailKit/Net/Imap/ImapFolderSearch.cs:849-855 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderSearch.cs:795\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"545994064ea9509a86fc5c1f0df49291f4cde3564d9d44412a9baca227156a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): MailKit/Security/Ntlm/MD4.cs:262-270 | MailKit/Security/Ntlm/MD4.cs:271-278 \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":"MailKit/Security/Ntlm/MD4.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"caff91f3be9a86af04b06f3689999ea450a4108f5e20d3a1e49e1196ff390a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:232-241 | MailKit/Security/Ntlm/NtlmNegotiateMessage.cs:108-116 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:232\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab022a3936020ed342bb2c75236b53cccc321126c2aae83cd73c756c4bc2fd72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): MailKit/Net/Imap/ImapFolder.cs:4468-4474 | MailKit/Net/Imap/ImapFolder.cs:5799-5805 | MailKit/Net/Imap/ImapFolder.cs:6044-6050 | MailKit/Net/Imap/ImapFolderAnnotations.cs:221-227 | MailKit/Net/Imap/ImapFolderFlags.cs:264-270 | MailKit/Net/Imap/ImapFolderFlags.cs:693-699 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/ImapFolderAnnotations.cs\u0060 and \u0060MailKit/Net/Imap/ImapFolderFlags.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IExpungeRequest\u0060 in one and \u0060ICopyRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":4468}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a4c5a5e1a21ce80ce6c089ddf146516d88d9914081b1117205830d5dfc680f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): MailKit/Net/Imap/ImapFolderAnnotations.cs:337-343 | MailKit/Net/Imap/ImapFolderAnnotations.cs:408-414 | MailKit/Net/Imap/ImapFolderFlags.cs:393-399 | MailKit/Net/Imap/ImapFolderFlags.cs:459-465 | MailKit/Net/Imap/ImapFolderFlags.cs:822-828 | MailKit/Net/Imap/ImapFolderFlags.cs:888-894 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/ImapFolderAnnotations.cs\u0060 and \u0060MailKit/Net/Imap/ImapFolderFlags.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IStoreAnnotationsRequest\u0060 in one and \u0060IStoreFlagsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderAnnotations.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83cd99cf22b3630777176eca0e3857bf0e97c7f9ca22ae836ee0f82c42f003b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): MailKit/Net/Imap/ImapFolderAnnotations.cs:63-67 | MailKit/Net/Imap/ImapFolderFlags.cs:556-560 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/ImapFolderAnnotations.cs\u0060 and \u0060MailKit/Net/Imap/ImapFolderFlags.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060IStoreAnnotationsRequest\u0060 in one and \u0060IStoreLabelsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderAnnotations.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d87e2d0c6b16b84192b9919be2612ce5c3da81399f1c92196eb1a972737a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:435-441 | MailKit/Net/Imap/ImapFolderFetch.cs:467-473 \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":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f2e248bbebd6bc304147a5984a45fbb3612100e785c4c6e7b4d6b1ddeff8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:679-685 | MailKit/Net/Imap/ImapFolderFetch.cs:711-717 \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":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcea5b5f0ef3a3f22d9ea9c69f49285bc2b3abf5d33f3f2a4c5a200ebc9c8bbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): MailKit/Net/Smtp/AsyncSmtpClient.cs:977-982 | MailKit/Net/Smtp/SmtpClient.cs:2443-2448 \u2014 before extracting anything, compare \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpClient.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Smtp/AsyncSmtpClient.cs:977\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac119e5a98a1464b1479cf95814f586672504eefda9284d9497cdbb0ea9a5e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): MailKit/Security/Ntlm/NtlmChallengeMessage.cs:111-117 | MailKit/Security/Ntlm/NtlmNegotiateMessage.cs:111-117 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Security/Ntlm/NtlmChallengeMessage.cs:111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmChallengeMessage.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b4dc6fc093d4536cfe23d55d976d11beef517f946b19bf617c53c6ded7fb1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:236-241 | MailKit/Security/Ntlm/NtlmChallengeMessage.cs:111-116 | MailKit/Security/Ntlm/NtlmNegotiateMessage.cs:111-116 \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":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f953b3de7e00986f3fd47e70e3ef78b5b0638f159f1f36d5028c373bd394e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): MailKit/Net/Imap/ImapFolderFetch.cs:336-342 | MailKit/Net/Imap/ImapFolderFetch.cs:580-586 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060MailKit/Net/Imap/ImapFolderFetch.cs:336\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9cd413abdf8131c2bc71fb9e423d6c20691885ef2308b34b488705b31ebd62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): MailKit/Net/Imap/ImapFolderSearch.cs:1551-1555 | MailKit/Net/Imap/ImapFolderSearch.cs:1758-1762 \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":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac0b5be71926053e39c272b570f8fed5c86df3bf5b41d71ef9acbfd35415804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): MailKit/Security/Ntlm/NtlmNegotiateMessage.cs:136-142 | MailKit/Security/Ntlm/NtlmNegotiateMessage.cs:143-149 \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":"MailKit/Security/Ntlm/NtlmNegotiateMessage.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c0569a718c0069bc8e1a20b06193fe108de9740b20570df2a3100c004f3643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:423-431 | MailKit/Security/Ntlm/NtlmChallengeMessage.cs:172-175 | MailKit/Security/Ntlm/NtlmNegotiateMessage.cs:131-136 \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, \u0060MailKit/Security/Ntlm/NtlmChallengeMessage.cs:168\u0060 calls \u0060BlockCopy\u0060 and \u0060MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs:423\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":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5989b932f6d4f499aad9fc255c757e509d90ccdd713abf742755d7620a052764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): MailKit/Net/Imap/AsyncImapClient.cs:712-716 | MailKit/Net/Pop3/AsyncPop3Client.cs:524-528 \u2014 before extracting anything, compare \u0060MailKit/Net/Imap/AsyncImapClient.cs\u0060 and \u0060MailKit/Net/Pop3/AsyncPop3Client.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"431b5bca04aee6aa1fc7d41e995a65b26b0677a53648752c765f26b110a9f422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): MailKit/Net/Imap/ImapClient.cs:619-626 | MailKit/Net/Pop3/Pop3Client.cs:360-367 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b628b39529df713833c88f23e7864c2dcffa0f747bdd9166522252cfd3efe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): MailKit/Net/Imap/ImapClient.cs:1656-1660 | MailKit/Net/Pop3/Pop3Client.cs:1338-1342 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe78a392a3e184b0a1a64146694b94b1398467c9cc8b249a90ca5a0e53f8ea96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): MailKit/Net/NetworkStream.cs:120-128 | MailKit/Net/Proxy/ProxyClient.cs:202-210 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/NetworkStream.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f8029125615caa72cdd591fff0b2c706bff81a8a2d1a5a3148905c7002407a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): MailKit/Net/Pop3/Pop3Stream.cs:1130-1138 | MailKit/Net/Smtp/SmtpStream.cs:1142-1150 \u2014 before extracting anything, compare \u0060MailKit/Net/Pop3/Pop3Stream.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpStream.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Stream.cs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a5fffa8f468d4dbedbfccc76ec86ccea6542a6a93f45d834cd37e8f74ea9da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): samples/ImapClientDemo.Android/ImapClientDemo.Android/FoldersActivity.cs:47-68 | samples/ImapClientDemo.Android/ImapClientDemo.Android/MessageListActivity.cs:48-71 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.Android/ImapClientDemo.Android/FoldersActivity.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86760a67f81ff57ac447008d1a56b1ea520d40b81d5d5c01fff8d0459a65d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): samples/ImapClientDemo.iOS/ImapClientDemo.iOS/FoldersViewController.cs:66-79 | samples/ImapClientDemo.Android/ImapClientDemo.Android/FoldersActivity.cs:84-95 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.iOS/ImapClientDemo.iOS/FoldersViewController.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"51caf7853193062e56f21987f8a80dabe3ae8d469a37ec9dc6188470a791b727"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MailService (LCOM4 7): MailService\u0027s methods fall into 7 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 7 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":"MailKit/MailService.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1911c0ac39ccff61bfeea72d56e46c712cf38386780bf5cc6f9e0994092f922b"}},{"ruleId":"D11","level":"warning","message":{"text":"Test reliability not measured \u2014 test suite did not build: Test reliability NOT MEASURED: this repository did not build in our analyzer environment (a C#/MSBuild compiler error), so no test ever ran and flakiness could not be exercised. It is excluded from the score rather than counted as a defect. We did not read WHERE the failing diagnostic is, so this does not claim the fault is in your test code \u2014 a repository written for an older SDK band can compile for you and not for us. Run \u0060dotnet build\u0060 on this commit: if it succeeds, the gap is ours and nothing here is a defect in your code."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"daf09aaa4e14533ca5ff2442790c6867a248b3a07dae410d48e7d6405d6fec30"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07d1e481cac266340f2f0cbdd10643917651e9cfea0b29012e42bfbd22dc4c7a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Imap/ImapEngine.cs: MailKit/Net/Imap/ImapEngine.cs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in ImapEngine.ParseResponseCode at line 1985. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Imap/ImapEngine.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ffd6b5a783c1499b7fa60e8c722f19a195629e7cf3999f615eb62de4bea538"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Smtp/SmtpClient.cs: MailKit/Net/Smtp/SmtpClient.cs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in SmtpClient.Prepare at line 2348. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Smtp/SmtpClient.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0be956449660f1f115cda8392e9189e9b795c49933232adc9bd9260708e47f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Imap/ImapFolderSearch.cs: MailKit/Net/Imap/ImapFolderSearch.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ImapFolder.ParseESearchResults at line 460. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Imap/ImapFolderSearch.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4ab148b784755d8ab06a42ceba07131bb49807519b15163b02ae7532edde52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Imap/ImapFolder.cs: MailKit/Net/Imap/ImapFolder.cs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ImapFolder.CreateAppendCommand at line 4500. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Imap/ImapFolder.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolder.cs"},"region":{"startLine":4500}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b810fc0a1dfadda6bb2b1a4bd301621baa91b2a08e215c686c9d6a4616dbef7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Imap/ImapCommand.cs: MailKit/Net/Imap/ImapCommand.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ImapCommand.Step at line 552. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Imap/ImapCommand.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40e7bed7f980d8bde597c3c96672ea059c119db9583a6b894da519829249731"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Imap/ImapClient.cs: MailKit/Net/Imap/ImapClient.cs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ImapClient.TryQueueEnableCommand at line 354. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Imap/ImapClient.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7332db3659b0615489273dd840eacc2c953393e9a2d7700433671fe98fa6f095"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Imap/ImapCommandException.cs: MailKit/Net/Imap/ImapCommandException.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ImapCommandException.ErrorType.get at line 265. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Imap/ImapCommandException.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommandException.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"efac5716c486ec866e8e74f57fc34db6822e95676431fab9de59a399e64e641b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/BodyPart.cs: MailKit/BodyPart.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in BodyPart.TryParseBodyPart at line 651. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/BodyPart.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e300836c9f52b52a78c2824b7a1d4777da647a1cae175ad0303f3470c129239"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Pop3/Pop3Client.cs: MailKit/Net/Pop3/Pop3Client.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Pop3Client.Authenticate at line 959. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Pop3/Pop3Client.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa82c20eab847e30f092c13b378bcc8aa0e4b65a32c202b2a9c01912b06ea9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Imap/AsyncImapClient.cs: MailKit/Net/Imap/AsyncImapClient.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ImapClient.AuthenticateAsync at line 353. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Imap/AsyncImapClient.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b5068baab7e6a8e2986ea06fb290238fd23bbbcb567dc77f5755149ad774ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Smtp/SmtpStream.cs: MailKit/Net/Smtp/SmtpStream.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SmtpStream.ReadResponse at line 494. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Smtp/SmtpStream.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea55d9051e0a4c4a4133cec3634ec1b186f1afae28968955a8be0975ea74b26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Imap/ImapResponseCode.cs: MailKit/Net/Imap/ImapResponseCode.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ImapResponseCode.Create at line 780. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Imap/ImapResponseCode.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"6832f1131a8d0d135e26e23c3ef0c7b1966df1d338b8705f04583a254747ba4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Imap/ImapFolderFlags.cs: MailKit/Net/Imap/ImapFolderFlags.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ImapFolder.CreateStoreCommands at line 517. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Imap/ImapFolderFlags.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFlags.cs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd9fcab5ebf183a53f1450fb5ac6b156afc470193afb706778bc17811711420"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: MailKit/Net/Pop3/AsyncPop3Client.cs: MailKit/Net/Pop3/AsyncPop3Client.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Pop3Client.AuthenticateAsync at line 222. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 10:17:01 -05:00\u0027 --until=\u00272026-11-10 10:17:01 -05:00\u0027 --full-history --no-merges -- MailKit/Net/Pop3/AsyncPop3Client.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a72626ce6f0dd5bb6c4c0c16ee3f0eada2cce22e4dc9123928d87259de9f29"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 17 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 17 warning codes (1701;1702;CA1068;CA1510;CA1512;CA1513;CA1835;CA2012;IDE0016;IDE0056;IDE0057;IDE0060;IDE0063;IDE0066;IDE0090;IDE0180;IDE0251) in one stroke \u2014 one team-wide decision, not 17 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MailKit.csproj"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ff747959718317b15b16d78dc66180ba0e170c4cdbbccee1f814d5af82e2cf"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 12 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 12 warning codes (1701;1702;CA1835;IDE0016;IDE0056;IDE0057;IDE0063;IDE0066;IDE0090;SYSLIB0011;NUnit2010;NUnit2045) in one stroke \u2014 one team-wide decision, not 12 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/UnitTests.csproj"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc28ec630b48549e3408e204baac489fb9a045d5a6988da8c9ca02986c19bb13"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/CompressedStream.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2dc56ee962d6e015128e1515d6862b01a83c282672b4c4d9aab4b3c91919f8"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/CompressedStream.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8f136cd785c46aaaaf1b51999fa01518695a059e991e39df14bd02200f0f57"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/CompressedStream.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05c2fe738cfa9c974aecb32c446f90f14ce7774ebc3f9296cc2a99ed3d165fd"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae51427ff3e98b268c05a73830d6fde88cc3bc013d30b2c6b806c7e3ea0af1b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cf3dce06b1ab25e5445c067a54dad53930823ae7b516da858f8ee93245799f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2a4c970bc1cab7cc65313158106a401f3dde462b0516c05cb828c351f08710"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8f68c37e1e3d431ba114e592aee7b0786b58d27a2461011afa0939b02c12a4"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf180b45cdc71628e49c96f43cd40f92d10210e6c16a3415a8d1d8e66f7f52b1"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"0867fef98cde73cf1176435edba86fa90c07f515778380945c80efd5f1f7912b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f73a138ce4d3b5f7f5c14e1e9c72b0534896c5aa20f5acc8dcbf852d30e53dc"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"472319fb426bc9e81ef0436ef98ddfcec623f641226b4a08727ec91054cd476c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d40a415982042708aa761580a6d5875a78a8a0cce4b63ff0fbf34152c09d4b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"c689631d31daf0d57e9226ef70464e97c2cdbda5d1d55b374d2c553bc7e64a45"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"e721108f64b395fbad5ef555c9556ddd90dde291577deb118168eb68359b8d93"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7551580d83ad9284e0dee297e13dc9d71258268c1cb22cea78c83e2f5aef958"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1303737024ca952b28520e16b3ef0ca32f147563532964aae4d35ec05f946b5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"788dbecea8f48131746440684a6e349606c524e839c06c234e5e0536ff98e907"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"b147905f03d2c6b543505da51d2b7e6e9e7ea26e4dec4ec5f049d31a1e7afd09"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad46cb876621d5e420d20127b25a02e8ecafca0260320966c7bb30f78ab2ffe0"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0e3b0098e09d5643ca651b987b6e0e5046e1a62b45e8d7ac778a46376a446e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9e7e6ac3d4557fecd4cd354b4095a847c3b1d53e66fe2a1a95a20bdf766961"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9bd0a97d4664da1e26a7c695ccc17d4cfbb3b6b6687f409f4ee1b8bbc7d23e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e81b7bc260c21172d16d1449477e326e371d19c91d14bc4312d622cf8847923"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"446a60a5b690db6277a8adea6a30239dcf555f9fca42d4f4b3999029e75e2aa3"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b477bffbf99a2ca2bda6a655034448aaa87a30f58222572a23ebcaf4e7cb301"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1756}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bcf179943507f27dfffee3789a36ea954d36ef8cb23787e0ba21f417c8d582"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanism.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff604ceb302539d29b4856a010d5f3b8da6bd89f2ddbf2bf4d32a34c4d35ede"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SslHandshakeException.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffe9b9b80d6f4a47640d387db7dc1d9a6a38344423d84fbc00e34de537f3202"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ENABLE_LAZY_PREVIEW_API \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/FetchRequest.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"670848d0599f5a8ee310558886a94d850bc279f65179f9164b8c00dcc2dc52f9"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ENABLE_LAZY_PREVIEW_API \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/IFetchRequest.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9959683455126b919d9b0430f6b0510103bcd7283307555d3c87224207c7372"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ENABLE_LAZY_PREVIEW_API \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"27726df4d8108d10294585c0bcda5a2ed9e30522bfcf90d3acdb0199071ede47"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ENABLE_LAZY_PREVIEW_API \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/PreviewOptions.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"742eca8121c804fb9105ef9186fc4f0c1c635e39b6a44269c2c950bb4b6a6fa3"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ENABLE_LAZY_PREVIEW_API \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Net/Imap/ImapFolderFetchTests.cs"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ca30873d858e0e7f44a70528a29cf5810e03ea417d8584fb5ab6bee63ef8da"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"685a62f03b399a6aab4c70cf78d80e8ff1b13d55a053ed6b8eb3deddfe94b9b3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e773d899269733041378e72c0f4482e5d01cb841a5ea7c46f61a68c22371066"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"245f7689f4ca5821004b7f0af999418c8903437a625966bff7803120711ad280"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/AppendRequestTests.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c6df41175a4033f8126032422304f706c15f55364a06a8867273547f3d9db5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/BodyPartTests.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84b1b4bef835f0b91e6c3d8f6c2f11c6f49edf793615d70c68c3da052bef65b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/ReplaceRequestTests.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"441fa5ae810d765ea3cb1dd76b9b84ecb6518bcd084c9044a37e3f25aeec626b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9d633626c41ef1f14e5bbd3543468c0ddc2cdd5761c81a505fed63cc5e790d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: All callers expect CRLF to be trimmed, but many also want all trailing whitespace trimmed. \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":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"32674423cd4c32079240baa221a394ab22c172a29b7daaa32231296036e7bac3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: All callers expect CRLF to be trimmed, but many also want all trailing whitespace trimmed. \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":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcd971ec12566f2351f1e824d3baf1553e0425b8027354a4d368257c419d718"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: All callers expect CRLF to be trimmed, but many also want all trailing whitespace trimmed. \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":"MailKit/Net/Pop3/Pop3Engine.cs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e50bf932df24f84bf6eacdaaf19e593f1d4db6230bd555701e574dce00b4b0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: All callers expect CRLF to be trimmed, but many also want all trailing whitespace trimmed. \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":"MailKit/Net/Pop3/Pop3Engine.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffcd5b2198fa5c1e950952c8a66554d2fef932f1f57d062ef3fc9a97762c377"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbadb19ea4ae9952b4dd85efd906ab3d24833c1efe1cf57c9c053afe31aa0e2d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6118a2c2475c735c9648bab2f21a4d4beca5d3a973bb751acd1be04831bdd0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmUtils.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace1b68b32c5388969958440c6d78b6392201ba87994c3d20d47132a11df62c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do something with the AnnotateResponseCode if it exists?? \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":"MailKit/Net/Imap/ImapFolderAnnotations.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf94644cffb20b05e951fa961a87d291e31767306193dd28740614855fea9213"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if false \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapIdleContext.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e225fbb01129323a1da6dd6713e5dab9388ca9136f7d1768c680730e1b6dafb1"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if false \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmUtils.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc3150ce0b92ac25596f6d8105b8b1a7be5492b3ca7959d1625a15f6aa3eaef"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if false \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmUtils.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d93e79ded67dfadbb71f318fdcbeacf497a8aa6d80d04d3786cb45b57e38f1e"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if false \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Security/Ntlm/NtlmTargetInfoTests.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0fafe98d436f8f3f4966b16dd6c5c0ce5cb36b638c953f277f835dffa185a5"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if false \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Security/SaslMechanismNtlmTests.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bd4d228d8391a60a2f1d27b61ee9231e84ca3fb7b1c343dbba279db126dc99"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d49e584b7c94ba5e2eeee23a666d739d721953deac2ec58ffba37527a7e130"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if false // Note: this code will never get called as we always use ReadResponse() instead. \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecf88295926065486a552770a4080490d9da34f902585a95b371225a87859d0"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if false // Note: this code will never get called as we always use ReadResponse() instead. \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"407152ce8a6d66afff7f0555951b5e13e54be567f2116d2223488d8ba004d9b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: throw if Unicode \u0026\u0026 Oem are both unset? \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":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26b908e77664c0834ba74211dfd148461c2b01e0089a49a158bd28a6d250135"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: assert more stuff \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":"UnitTests/BodyPartTests.cs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"8037531bff9eecb01ea266222167850db594f1e9ec43bf248617917f85da0d1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify CONTEXT=SEARCH \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":"UnitTests/Net/Imap/ImapClientTests.cs"},"region":{"startLine":4907}}}],"partialFingerprints":{"codehealthFindingId/v1":"885591d385f6aed4beac1d769a5b790a219db04b5cd22d921b9ea64218902211"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify CONTEXT=SEARCH \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":"UnitTests/Net/Imap/ImapClientTests.cs"},"region":{"startLine":5572}}}],"partialFingerprints":{"codehealthFindingId/v1":"5713bfeeb8650c90da45e92bd4b3d7bb357e60cbe71f0efef1ec4f7d9731ed2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test MessageNew w/ headers \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":"UnitTests/Net/Imap/ImapClientTests.cs"},"region":{"startLine":7190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d851499a400a1bd4fa8c15f2bb4120ba020201b4e3c13d9bccc57de5c74063e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Rename - TODO \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":"UnitTests/Net/Imap/ImapFolderTests.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3d19e0bc1789952499063435e632efea9e2b43c0f745bd4d998b181067c02a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: assert more stuff? \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":"UnitTests/Net/Imap/ImapUtilsTests.cs"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"6339c0077ad1f7f7947d832663938503134f69751c876d328e9c3a2841231fd8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: assert more stuff? \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":"UnitTests/Net/Imap/ImapUtilsTests.cs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3c33677b514deb139c2656e497fd892ac2dba708994548366ee2117d501c4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: assert that the message is byte-identical to what we expect \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":"UnitTests/Net/Pop3/Pop3ClientTests.cs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b041d8a2fd36536d1705faaddf82b6224827c320b6c056ab574f0ad32c490b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: assert that the message is byte-identical to what we expect \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":"UnitTests/Net/Pop3/Pop3ClientTests.cs"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"648de2bab570183ebf149b408f4249eed32e32644197dc553add0894f1a3d3ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: assert that the message is byte-identical to what we expect \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":"UnitTests/Net/Pop3/Pop3ClientTests.cs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c6bdba6ea11b59d157a76745a2dc6133539a931a3f6381d5fd108fcce8789b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: assert that the message is byte-identical to what we expect \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":"UnitTests/Net/Pop3/Pop3ClientTests.cs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b0d0f2e36d031d9bf67ebb694a4566189d3de57729e04f2d03f771b6bd332b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: assert that the message is byte-identical to what we expect \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":"UnitTests/Net/Pop3/Pop3ClientTests.cs"},"region":{"startLine":3388}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ac17fc5c3e60086ad2f6df1d2644532cbb5e98c80e8952bf3f5d5eeba52be5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: assert that the message is byte-identical to what we expect \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":"UnitTests/Net/Pop3/Pop3ClientTests.cs"},"region":{"startLine":3466}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d587b11ad87fc2a16eec8edf7616e5ab99a238c7150702a6e74ce0848293663"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private byte[] ExampleNtlmV2AuthenticateMessageOriginal \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Security/SaslMechanismNtlmTests.cs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4a13479e3d0a6b9add9c18391883af604d456011311f9ab195da6e6898baf7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Security/SaslMechanismTests.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ec61370d0858b81b51b2e0ff0ef261076e3548c392a8fa9ab877e39995363b"}},{"ruleId":"D18","level":"warning","message":{"text":"Solution references a project that does not exist: \u0060MailKit.sln\u0060 declares 1 project file(s) that are missing from the tree (\u0060submodules/MimeKit/MimeKit/MimeKit.csproj\u0060). A solution-level restore or build fails on a dangling reference, so anyone building the solution rather than an individual project is blocked. Delete the stale entry from the solution, or restore the missing project file."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit.sln"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"109af4776d8d5d69c50176428c54690a5048ff7d12245a0eaa4a544c63e933dd"}},{"ruleId":"D18","level":"warning","message":{"text":"Solution references 2 projects that do not exist: \u0060MailKit.Documentation.sln\u0060 declares 2 project file(s) that are missing from the tree (\u0060submodules/MimeKit/MimeKit.Cryptography/MimeKit.Cryptography.csproj\u0060, \u0060submodules/MimeKit/MimeKit/MimeKit.csproj\u0060). A solution-level restore or build fails on a dangling reference, so anyone building the solution rather than an individual project is blocked. Delete the stale entry from the solution, or restore the missing project file."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit.Documentation.sln"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d1ac4b0a579730b1b1704719a005097760f4217c6959e9f65d99ddfede5ad9"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. The recognised ADR directories in this tree were read \u2014 \u0060rfc\u0060 \u2014 and none of their files is a decision record (a README, index or template page does not count). What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ObjectID\u0060 spells \u0060ID\u0060 where 59 names in the project spell it \u0060Id\u0060: 59 of 60 names in project MailKit spell the token \u0060Id\u0060 (59 of 60; unit: names in project MailKit containing \u0060Id\u0060). Peers: BodyPartBasic.ContentId (MailKit/BodyPartBasic.cs:69); Envelope.MessageId (MailKit/Envelope.cs:163); Envelope.UnwrapMessageId (MailKit/Envelope.cs:361); IMessageSummary.EmailId (MailKit/IMessageSummary.cs:350); IMessageSummary.ThreadId (MailKit/IMessageSummary.cs:366). Rename to \u0060ObjectId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCapability.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"71973f90e666da5b5a327a15ea66b7f715636ec22340aec318b9003d0041f097"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated  \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Properties/AssemblyInfo.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f60023dc98b832f535d7d390a6d25b17dc70b0a6557f73a44ad2c9c6efbc20"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Properties/AssemblyInfo.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a9ddb78c4bc61757fb0b17a642f24388bfca45c512235611b65c09d4d91a4e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The following GUID is for the ID of the typelib if this project is exposed to COM\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Properties/AssemblyInfo.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"513b35043113e496c02e87434352d237068729b7048860f1796b06a0696be54f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set NtChallengeResponse to ConcatenationOf(NTProofStr, temp)\u0022 repeats the code it sits on: 7 of its 8 words (set, nt, challenge, response, concatenation, proof, temp) are already in \u0060ntChallengeResponse = ConcatenationOf (proof, temp);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmUtils.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"668904b8882307caf5090aed80022d63d08ec0e177e7532d3515bb8b2aa7ff26"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022disable LIST-EXTENDED\u0022 repeats the code it sits on: 3 of its 3 words (disable, list, extended) are already in \u0060client.Capabilities.Disable (ImapCapability.ListExtended);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Net/Imap/ImapClientTests.cs"},"region":{"startLine":6345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8f8f23aaf8e67887b1f6195727f67cb61efa57ae9e1bcb4345d6977f6cbf1e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022disable LIST-EXTENDED\u0022 repeats the code it sits on: 3 of its 3 words (disable, list, extended) are already in \u0060client.Capabilities.Disable (ImapCapability.ListExtended);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Net/Imap/ImapClientTests.cs"},"region":{"startLine":6544}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27685d4ffd9627935f8f5dcee14d900fba699fdce883826a24f93e887184ff3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 21 comments in this file only repeat the code they sit on (lines 408, 967, 1026, 1102, 1159, 1233, 1290, 1373, 1426, 1642, 1692, 1759, 1802, 1860, 1905, 1966, 2011, 2071, 2120, 2201, 2269), for example \u0022GetBodyPart\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Net/Imap/ImapFolderFetchTests.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"834281b8b79093e5dfaae3f40188bbfeb3444c3951e6f95cea3661ab237ec58a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Combine PARTIAL with COUNT, MIN and MAX.\u0022 repeats the code it sits on: 4 of its 5 words (partial, count, min, max) are already in \u0060matches = inbox.Search (SearchOptions.Count | SearchOptions.Min | SearchOptions.Max, SearchQuery.NotDeleted, new Partial \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Net/Imap/ImapFolderSearchTests.cs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dce2e3e26609095f29e507759159c2b61cdcc2a6f3201c0a6ff78e19507861"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Combine PARTIAL with COUNT, MIN and MAX.\u0022 repeats the code it sits on: 4 of its 5 words (partial, count, min, max) are already in \u0060matches = await inbox.SearchAsync (SearchOptions.Count | SearchOptions.Min | SearchOptions.Max, SearchQuery.NotDeleted,  \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Net/Imap/ImapFolderSearchTests.cs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26e0fb785f8c9c11552847dfd57a50cdf92f64d71fc98bff2803c102b5182a9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022MultiAppend Assert.Throws\u003CNotSupportedException\u003E (() =\u003E inbox.Append (international, messages)); Assert.ThrowsAsync\u003CNotSupportedException\u003E (() =\u003E inbox.AppendAs \u2026\u0022 repeats the code it sits on: 9 of its 11 words (append, assert, throws, not, supported, exception, inbox, international, messages) are already in \u0060Assert.Throws\u003CNotSupportedException\u003E (() =\u003E inbox.Append (international, messages, flags));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Net/Imap/ImapFolderTests.cs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c00fc371715969d2aaef0ab75aa45d86953b542fca097e4fcd68608728c7c3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GetAccessControlList\u0022 repeats the code it sits on: 4 of its 4 words (get, access, control, list) are already in \u0060Assert.Throws\u003CNotSupportedException\u003E (() =\u003E inbox.GetAccessControlList ());\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Net/Imap/ImapFolderTests.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ae8e84c764093e02f264999418334b6a9f17de39948fca7d0b4cdb3a4de19b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GetAccessRights\u0022 repeats the code it sits on: 3 of its 3 words (get, access, rights) are already in \u0060Assert.Throws\u003CNotSupportedException\u003E (() =\u003E inbox.GetAccessRights (\u0022name\u0022));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Net/Imap/ImapFolderTests.cs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d25640480451b5d9d78de8446435a3b03c6947936f3a9d6e084e5329b6d05b7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GetMyAccessRights\u0022 repeats the code it sits on: 3 of its 3 words (get, access, rights) are already in \u0060Assert.Throws\u003CNotSupportedException\u003E (() =\u003E inbox.GetMyAccessRights ());\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Net/Imap/ImapFolderTests.cs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6c737f16e777cbb5d2d522a3c7df1d5e5f346d39aff28e67ba38a536f8d0c0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022TransformFinalBlock\u0022 repeats the code it sits on: 3 of its 3 words (transform, final, block) are already in \u0060Assert.Throws\u003CArgumentNullException\u003E (() =\u003E rc4.TransformFinalBlock (null, 0, buffer.Length));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"UnitTests/Security/Ntlm/RC4Tests.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1950849a0b7814571dec7c69e1e45a350c2edf1b933a3b2a26f940701def90"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060MailKit(netstandard2.0)\u0060 overshoots its size bounds (114661 LoC, 234 public types across 7 namespaces). 1 of 7 project(s) overshoot their size bounds, lowering Project Cohesion to 7.1/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MailKit.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95f61c03beddfbb23b9d9e13cf5997bb83df6177ce80c5a9bb36dfdcbe50d79"}},{"ruleId":"D28","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":"1bfdc84fe829f7c4d827cdad03123cc4d4c786f2107c5b1734000ced8dc6e178"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"598fe45c1399b61e1700e76ae040c161d6607c9d69e278ade916f6ebd9b8f447"},"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":"d002836a6c8adb42673716e1e52e7eb318f70db28414372f43443b43c32668b2"},"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":"4b447e73feb63df4cbaea9e27ff6baedead96992d3778005a5976326bbe94dc4"},"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":"ddc49ef52c93f5d89390c80bf8f0444bb97743496eeea781d1b7fcf904a3ea48"},"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":"565cb0a25235d1502010c8d34a025c6ae5aeb826c7d5e305b97bb45399050c67"},"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":"fdd80ff4efa055538dc59aafc5e380459b7d05030fbc7ee936f19fa678b3e896"},"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":"69c4d493733d8988163c943594518efcf7624ae1f36d541a92300f549cae1c1e"},"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":"69752a20bd93205c562be8eb027aba11479bbb552f5b1885748f49b2635a24c7"},"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":"ce3e9240ab2f04ac758ffe84ab68ebc170702bb48693ce587ea5125a019f3c45"},"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":"9ab37f791f1eeb9c23cd307df53455981b6dbb0e1c6dc1987911a6a0e761ef19"},"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":"85596d040b50e8d06ccf83dadb684cc46fea9d38409df08516cf63f9eb339c7e"},"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":"df7febf5ae888fd78b95e1c69ca5d000133395f65ba298ab9c18f88cc4159d96"},"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":"5a07e9293012f8a5bb252348e5ebe834df52b7357d915daff9cba45fb4754c8d"},"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":"0e5e03fba904e79b7b1d4565350973aeb74376fa92f220e40cf985cc8ebb59eb"},"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":"ab432d20b80f328ca50ba6fab5c5cb787189edd00d8d99a1c16465dca6e4aa21"},"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":"6fa605ac6accc593a4d35562e3a99ed3602e26c9aad68ae4ac4ea329f0af5991"},"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":"5be03ab325ce0dd57044d4e411f1428508ecf7870bea56774afff406be2e7ce3"},"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":"6819b36024d45f5f0e1d43e74427f1e72c7d8dae5d09101e0f966a51bf6829ab"},"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":"cbb30598d62e391b76348931b13a8cb161e52001801d829ebf89009fddf04951"},"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":"64aee044c1f4dd4bb7a77441c8cfb2ad1960dbe2c5bbb6dcc4a3af1fa08e7b62"},"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":"fdc133beeee66a9f12363c597e9def89558e6d7da081a0ccfb4fe21c529a678e"},"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":"338407871e9c53d2625a5754ccc8f84f16e799149817c1d1e310aef9e6213485"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"90114bdfb46a14da7fdb84f499a586ebbb6ec4f6d60b31ffbb53eaa867f0e164"},"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":"779ada017121311af1dcbd594d845a667d64ff17257130a9c2304ac151f9b69e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff630563cf18d2bfdf0e4add1fe73117b84061a7bdc9937b413454264457179c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a171985860d653efe45358b81742b5062f66d3b4a0e922a639715aeb6cf1340e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce2077ec553aa3df63edfa969a7f586b894d3f0cca4e78d53d7239ad87bde48c"},"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":"ae59d5e9dd2c30e110a21be3f2f3e4339df91ffb4154cfcf5f17bedb858ec684"},"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":"856fc72aaad7770db266e7a42950b7c6b07362010cca9bd47969b508ff381be1"},"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":"8805e4595e46d70a4314a00885747ce91ba00f66f9bd7320fd1abaa5073796eb"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75369c09bb288495c1ec96550eb2aa9585bb73f2d0abcdd876376a94900b52cc"},"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":"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":"b972bd7324343c5fb2026155f7103a1bef6f549bbb3c4184e44bebebccb8414d"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc4bdae2066ee9afec0a68b28c829b0738e6c9a78f86c9a7ae32ccd8d080c7eb"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-390","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13e371e079e235336949ad5195a1d2a34804f7204784a7c7096c1414b347069b"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-390","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f476b3eca1ce5b7f0f3a78e23c777b21ad456d1c1568275746186e6ba08760b"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d63dde68c5f946b29441274613b2478baad7848b42265e3eb3184fc37773b13"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D32","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fcf2d4940e8dd8f5825d9daaa3a004fcf21838624b8f6b95857d8873c68cd6cf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: SmtpCommandException.cs \u2192 ImapProtocolException.cs, Pop3ProtocolException.cs, SmtpProtocolException.cs, ProtocolException.cs: \u0060MailKit/Net/Smtp/SmtpCommandException.cs\u0060 changes together with 4 other files \u2014 \u0060MailKit/Net/Imap/ImapProtocolException.cs\u0060, \u0060MailKit/Net/Pop3/Pop3ProtocolException.cs\u0060, \u0060MailKit/Net/Smtp/SmtpProtocolException.cs\u0060, \u0060MailKit/ProtocolException.cs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpCommandException.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb25f9e3992024809f00ca28cc94f0e1a8a2063f53e1abfe76b3fcb7202f1ecc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: Pop3CommandException.cs \u2192 Pop3ProtocolException.cs, SmtpProtocolException.cs, ProtocolException.cs: \u0060MailKit/Net/Pop3/Pop3CommandException.cs\u0060 changes together with 3 other files \u2014 \u0060MailKit/Net/Pop3/Pop3ProtocolException.cs\u0060, \u0060MailKit/Net/Smtp/SmtpProtocolException.cs\u0060, \u0060MailKit/ProtocolException.cs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3CommandException.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a969754a4563099f27040ad8e362e8b46c9a4c1b7d38ddc313c2c2cbe0e299"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ImapCommandException.cs \u2192 ImapProtocolException.cs, Pop3ProtocolException.cs, ProtocolException.cs: \u0060MailKit/Net/Imap/ImapCommandException.cs\u0060 changes together with 3 other files \u2014 \u0060MailKit/Net/Imap/ImapProtocolException.cs\u0060, \u0060MailKit/Net/Pop3/Pop3ProtocolException.cs\u0060, \u0060MailKit/ProtocolException.cs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommandException.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c09ecce9232e74de030f2753c1445961cb7b1b70b44d15163a3daf78aa9ac9f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: SaslException.cs \u2192 FolderNotFoundException.cs, ImapCommandException.cs, ImapProtocolException.cs, Pop3CommandException.cs, Pop3ProtocolException.cs, SmtpCommandException.cs, SmtpProtocolException.cs: \u0060MailKit/Security/SaslException.cs\u0060 changes together with 7 other files \u2014 \u0060MailKit/FolderNotFoundException.cs\u0060, \u0060MailKit/Net/Imap/ImapCommandException.cs\u0060, \u0060MailKit/Net/Imap/ImapProtocolException.cs\u0060, \u0060MailKit/Net/Pop3/Pop3CommandException.cs\u0060, \u0060MailKit/Net/Pop3/Pop3ProtocolException.cs\u0060, \u0060MailKit/Net/Smtp/SmtpCommandException.cs\u0060, \u0060MailKit/Net/Smtp/SmtpProtocolException.cs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 7 separate couplings, not 7 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 7."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslException.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b1353127350fe3c76407644702b1bf095b74e786b07133cf08091dcb3fd815"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HttpsProxyClient.cs \u2194 SmtpClient.cs: \u0060MailKit/Net/Proxy/HttpsProxyClient.cs\u0060 and \u0060MailKit/Net/Smtp/SmtpClient.cs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00602feaec3c\u0060 Update documentation for v5 and build docs from net10.0; \u006026fa25a5\u0060 Renamed MailKit.Net.SslStream to ExtendedSslStream; \u00607d2fe06c\u0060 Code quality improvements \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/HttpsProxyClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b0d02290b43c9539148c7ec34a5ee205f4b017ebe5bad677e1cdf0b38046c2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: CommandException.cs \u2192 ImapProtocolException.cs, Pop3ProtocolException.cs, SmtpProtocolException.cs, ProtocolException.cs: \u0060MailKit/CommandException.cs\u0060 changes together with 4 other files \u2014 \u0060MailKit/Net/Imap/ImapProtocolException.cs\u0060, \u0060MailKit/Net/Pop3/Pop3ProtocolException.cs\u0060, \u0060MailKit/Net/Smtp/SmtpProtocolException.cs\u0060, \u0060MailKit/ProtocolException.cs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/CommandException.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4c4ac846baa1586b4167945204f1115b533048dd28d6d8513f7ae4d66a9d46"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96ee2c466ca24e2487318581a3d8d0906a649779fb606ac45b466317a2a15502"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee02d0146eb195a82dd6f1a49122b6fb52fbc12fbf00d8a35bbbc7bb5812876f"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: HeaderSet: \u0060HeaderSet\u0060 keeps one instance of itself in the static \u0060All\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (exclude, hash; e.g. \u0060exclude\u0060 at line 153)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/HeaderSet.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"212f1573f24b6039db4889661bbbc7227d1eaacc503bd30a65371366de022aeb"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ProtocolLogger: \u0060ProtocolLogger\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (defaultClientPrefix, defaultServerPrefix; e.g. \u0060defaultClientPrefix\u0060 at line 130). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/ProtocolLogger.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24ffeb21b3cc6dff221e6d2cc0859cfeb2a7e2b663b1a87dc84378024413622"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Socket: \u0060Socket\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (Meter, Metrics; e.g. \u0060Meter\u0060 at line 82). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Telemetry.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"601d1dc54000ab17f2e62486a5fbfce386a695447091b3f9e18d3cb17b814ddd"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: SmtpClient: \u0060SmtpClient\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (Meter, Metrics; e.g. \u0060Meter\u0060 at line 168). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Telemetry.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f262f887c8545c4d915b3d0a56ee69687b2cda840252ec0177cd7492364074d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Pop3Client: \u0060Pop3Client\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (Meter, Metrics; e.g. \u0060Meter\u0060 at line 254). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Telemetry.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e47f125c6ddb5e28b1a96f185afc03ec876b5b7b9697b4350562fb2cd70e885"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ImapClient: \u0060ImapClient\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (Meter, Metrics; e.g. \u0060Meter\u0060 at line 340). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Telemetry.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f977ee2b6fde8c09afc8b651f43de63af5322cc9be9dda0236a1bc98816c0d3e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ProxyClient: \u0060ProxyClient\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (systemProxy; e.g. \u0060systemProxy\u0060 at line 65). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/ProxyClient.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"623a33d4665dc77cfc6a116c82e5c15b848372c9f7fb60e32893b766c459cfed"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces MailKit \u2194 MailKit.Net.Proxy \u2194 MailKit.Search depend on each other. The lightest dependency in the cycle is MailKit \u2192 MailKit.Net.Proxy (MailKit.IMailService \u2192 MailKit.Net.Proxy.IProxyClient, 2 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/IMailService.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"438f72c2c687a650b57b8776bafa2ca4570836dfa23a49c21faf87c513e8fbce"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMailFolder (235 members): \u0060IMailFolder\u0060 declares 235 members: \u0060SyncRoot\u0060, \u0060ParentFolder\u0060, \u0060Attributes\u0060, \u0060AnnotationAccess\u0060, \u0060AnnotationScopes\u0060, \u0060MaxAnnotationSize\u0060, \u0060PermanentFlags\u0060, \u0060PermanentKeywords\u0060, \u0060AcceptedFlags\u0060, \u0060AcceptedKeywords\u0060, \u0060DirectorySeparator\u0060, \u0060Access\u0060, \u0060IsNamespace\u0060, \u0060FullName\u0060, \u0060Name\u0060, \u0060Id\u0060, \u0060IsSubscribed\u0060, \u0060IsOpen\u0060, \u0060CanOpen\u0060, \u0060Exists\u0060, \u0060HighestModSeq\u0060, \u0060UidValidity\u0060, \u0060UidNext\u0060, \u0060AppendLimit\u0060, \u0060Size\u0060, \u0060DeletedCount\u0060, \u0060DeletedStorageSize\u0060, \u0060FirstUnread\u0060, \u0060Unread\u0060, \u0060Recent\u0060, \u0060Count\u0060, \u0060ThreadingAlgorithms\u0060, \u0060Supports\u0060, \u0060Open\u0060, \u0060OpenAsync\u0060, \u0060Open\u0060, \u0060OpenAsync\u0060, \u0060Close\u0060, \u0060CloseAsync\u0060, \u0060Create\u0060, and 195 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 235 declarations carry 129 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 129 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/IMailFolder.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"43256b3fba0a7b81b7b8a179be9904af68b9f113148e527568fe395492b33f43"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMailService (46 members): \u0060IMailService\u0060 declares 46 members: \u0060SyncRoot\u0060, \u0060SslProtocols\u0060, \u0060ClientCertificates\u0060, \u0060CheckCertificateRevocation\u0060, \u0060ServerCertificateValidationCallback\u0060, \u0060LocalEndPoint\u0060, \u0060ProxyClient\u0060, \u0060AuthenticationMechanisms\u0060, \u0060IsAuthenticated\u0060, \u0060IsConnected\u0060, \u0060IsSecure\u0060, \u0060IsEncrypted\u0060, \u0060IsSigned\u0060, \u0060SslProtocol\u0060, \u0060SslCipherAlgorithm\u0060, \u0060SslCipherStrength\u0060, \u0060SslHashAlgorithm\u0060, \u0060SslHashStrength\u0060, \u0060SslKeyExchangeAlgorithm\u0060, \u0060SslKeyExchangeStrength\u0060, \u0060Timeout\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Disconnect\u0060, and 6 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 46 declarations carry 32 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 32 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/IMailService.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d3df33ee7cc7b756632c1e9f33d064cc66ce55591c262fc3e7f7333b8cf201"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMailSpool (40 members): \u0060IMailSpool\u0060 declares 40 members: \u0060Count\u0060, \u0060SupportsUids\u0060, \u0060GetMessageCount\u0060, \u0060GetMessageCountAsync\u0060, \u0060GetMessageUid\u0060, \u0060GetMessageUidAsync\u0060, \u0060GetMessageUids\u0060, \u0060GetMessageUidsAsync\u0060, \u0060GetMessageSize\u0060, \u0060GetMessageSizeAsync\u0060, \u0060GetMessageSizes\u0060, \u0060GetMessageSizesAsync\u0060, \u0060GetMessageHeaders\u0060, \u0060GetMessageHeadersAsync\u0060, \u0060GetMessageHeaders\u0060, \u0060GetMessageHeadersAsync\u0060, \u0060GetMessageHeaders\u0060, \u0060GetMessageHeadersAsync\u0060, \u0060GetMessage\u0060, \u0060GetMessageAsync\u0060, \u0060GetMessages\u0060, \u0060GetMessagesAsync\u0060, \u0060GetMessages\u0060, \u0060GetMessagesAsync\u0060, \u0060GetStream\u0060, \u0060GetStreamAsync\u0060, \u0060GetStreams\u0060, \u0060GetStreamsAsync\u0060, \u0060GetStreams\u0060, \u0060GetStreamsAsync\u0060, \u0060DeleteMessage\u0060, \u0060DeleteMessageAsync\u0060, \u0060DeleteMessages\u0060, \u0060DeleteMessagesAsync\u0060, \u0060DeleteMessages\u0060, \u0060DeleteMessagesAsync\u0060, \u0060DeleteAllMessages\u0060, \u0060DeleteAllMessagesAsync\u0060, \u0060Reset\u0060, \u0060ResetAsync\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 40 declarations carry 30 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 30 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/IMailSpool.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5811d9456792ee57995a513e036d78c04ad87365018d4cd391016b84155cb0"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMailStore (25 members): \u0060IMailStore\u0060 declares 25 members: \u0060PersonalNamespaces\u0060, \u0060SharedNamespaces\u0060, \u0060OtherNamespaces\u0060, \u0060SupportsQuotas\u0060, \u0060ThreadingAlgorithms\u0060, \u0060Inbox\u0060, \u0060GetFolder\u0060, \u0060GetFolder\u0060, \u0060GetFolders\u0060, \u0060GetFoldersAsync\u0060, \u0060GetFolders\u0060, \u0060GetFoldersAsync\u0060, \u0060GetFolder\u0060, \u0060GetFolderAsync\u0060, \u0060GetMetadata\u0060, \u0060GetMetadataAsync\u0060, \u0060GetMetadata\u0060, \u0060GetMetadataAsync\u0060, \u0060GetMetadata\u0060, \u0060GetMetadataAsync\u0060, \u0060SetMetadata\u0060, \u0060SetMetadataAsync\u0060, \u0060Alert\u0060, \u0060FolderCreated\u0060, \u0060MetadataChanged\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 25 declarations carry 17 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 17 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/IMailStore.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b615192aa052033638c171cfc410d37d70845cc7123695d98928703c7a5923"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMessageSummary (27 members): \u0060IMessageSummary\u0060 declares 27 members: \u0060Fields\u0060, \u0060Body\u0060, \u0060TextBody\u0060, \u0060HtmlBody\u0060, \u0060BodyParts\u0060, \u0060Attachments\u0060, \u0060PreviewText\u0060, \u0060Envelope\u0060, \u0060NormalizedSubject\u0060, \u0060Date\u0060, \u0060IsReply\u0060, \u0060Flags\u0060, \u0060Keywords\u0060, \u0060Annotations\u0060, \u0060Headers\u0060, \u0060InternalDate\u0060, \u0060SaveDate\u0060, \u0060Size\u0060, \u0060ModSeq\u0060, \u0060References\u0060, \u0060EmailId\u0060, \u0060ThreadId\u0060, \u0060UniqueId\u0060, \u0060Index\u0060, \u0060GMailMessageId\u0060, \u0060GMailThreadId\u0060, \u0060GMailLabels\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/IMessageSummary.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21d3bf2096ec13edc76a358dcc6fc3e52cc17c37778661168d45b51830d4b7d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IImapClient (16 members): \u0060IImapClient\u0060 declares 16 members: \u0060Capabilities\u0060, \u0060AppendLimit\u0060, \u0060InternationalizationLevel\u0060, \u0060Rights\u0060, \u0060IsIdle\u0060, \u0060Enable\u0060, \u0060EnableAsync\u0060, \u0060Identify\u0060, \u0060IdentifyAsync\u0060, \u0060Idle\u0060, \u0060IdleAsync\u0060, \u0060CreateIdleSession\u0060, \u0060Notify\u0060, \u0060NotifyAsync\u0060, \u0060DisableNotify\u0060, \u0060DisableNotifyAsync\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/IImapClient.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d27f9bd67f3dab240a9a8c2b0cc06a3d27f6aa3da42928f9ecdb3d98c1fdbbf"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IImapFolder (18 members): \u0060IImapFolder\u0060 declares 18 members under just 10 distinct name(s): \u0060GetHeaders\u0060, \u0060GetHeadersAsync\u0060, \u0060GetHeaders\u0060, \u0060GetHeadersAsync\u0060, \u0060GetBodyPart\u0060, \u0060GetBodyPartAsync\u0060, \u0060GetBodyPart\u0060, \u0060GetBodyPartAsync\u0060, \u0060GetStreams\u0060, \u0060GetStreamsAsync\u0060, \u0060GetStreams\u0060, \u0060GetStreamsAsync\u0060, \u0060GetStreams\u0060, \u0060GetStreamsAsync\u0060, \u0060Search\u0060, \u0060SearchAsync\u0060, \u0060Sort\u0060, \u0060SortAsync\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. That is an OVERLOAD SET, not 18 separate responsibilities: a caller binds to 10 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 18 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/IImapFolder.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d07acdded53aea3141306054f518015e5e95198bfc291e6346229b6add2b67"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMailService (48 members): \u0060IMailService\u0060 declares 48 members: \u0060SyncRoot\u0060, \u0060SslProtocols\u0060, \u0060SslCipherSuitesPolicy\u0060, \u0060SslCipherSuite\u0060, \u0060ClientCertificates\u0060, \u0060CheckCertificateRevocation\u0060, \u0060ServerCertificateValidationCallback\u0060, \u0060LocalEndPoint\u0060, \u0060ProxyClient\u0060, \u0060AuthenticationMechanisms\u0060, \u0060IsAuthenticated\u0060, \u0060IsConnected\u0060, \u0060IsSecure\u0060, \u0060IsEncrypted\u0060, \u0060IsSigned\u0060, \u0060SslProtocol\u0060, \u0060SslCipherAlgorithm\u0060, \u0060SslCipherStrength\u0060, \u0060SslHashAlgorithm\u0060, \u0060SslHashStrength\u0060, \u0060SslKeyExchangeAlgorithm\u0060, \u0060SslKeyExchangeStrength\u0060, \u0060Timeout\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, and 8 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 48 declarations carry 34 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 34 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/IMailService.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"11da4e8402811654e61679e6a9516f26c70608b1d95af79553f33b15d644952a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IImapClient (18 members): \u0060IImapClient\u0060 declares 18 members: \u0060Capabilities\u0060, \u0060AppendLimit\u0060, \u0060InternationalizationLevel\u0060, \u0060Rights\u0060, \u0060IsIdle\u0060, \u0060Compress\u0060, \u0060CompressAsync\u0060, \u0060Enable\u0060, \u0060EnableAsync\u0060, \u0060Identify\u0060, \u0060IdentifyAsync\u0060, \u0060Idle\u0060, \u0060IdleAsync\u0060, \u0060CreateIdleSession\u0060, \u0060Notify\u0060, \u0060NotifyAsync\u0060, \u0060DisableNotify\u0060, \u0060DisableNotifyAsync\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/IImapClient.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d552b76a169e733598a1ce5965b8b4486ce8a6807ba00d29f3e5d679dac6b81"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMailService (42 members): \u0060IMailService\u0060 declares 42 members: \u0060SyncRoot\u0060, \u0060SslProtocols\u0060, \u0060SslCipherSuitesPolicy\u0060, \u0060SslCipherSuite\u0060, \u0060ClientCertificates\u0060, \u0060CheckCertificateRevocation\u0060, \u0060ServerCertificateValidationCallback\u0060, \u0060LocalEndPoint\u0060, \u0060ProxyClient\u0060, \u0060AuthenticationMechanisms\u0060, \u0060IsAuthenticated\u0060, \u0060IsConnected\u0060, \u0060IsSecure\u0060, \u0060IsEncrypted\u0060, \u0060IsSigned\u0060, \u0060SslProtocol\u0060, \u0060Timeout\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Connect\u0060, \u0060ConnectAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Authenticate\u0060, \u0060AuthenticateAsync\u0060, \u0060Disconnect\u0060, \u0060DisconnectAsync\u0060, \u0060NoOp\u0060, \u0060NoOpAsync\u0060, \u0060Connected\u0060, and 2 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 42 declarations carry 28 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 28 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/IMailService.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e78b1e247cda9292edc01ae336ecc24480dfd6837dffa711ed4b82f9b30803"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d934b5d95479c9f2d6bc5d909f86b2b2772d9c58fa1033542197946c6112db"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f4d7c86fb320d91b8d685b880f8c5212ed196e4d7baf4ea3a3888237dd29c2"}},{"ruleId":"IC1","level":"error","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Read\u0060 is a shipped member whose body only throws \u2014 and it is REACHED: MailKit/Net/Smtp/SmtpStream.cs:412 references it. This is not dead surface that can be deleted \u2014 anything taking that path throws at runtime. Implement the member, or remove the code that reaches it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa026c73e4faf6120eb38eeb3483f5fb5dea2cb7d2d69d92cda8253b568048a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead \u0060#if false\u0060 region: Code inside a \u0060#if false\u0060 block is permanently excluded from the build \u2014 disabled code that should be removed or restored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapIdleContext.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aad34604ba6e3d54109d9be1b516392d8da34fe44d86fc15289eeed87758ca"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060DefaultUpdate\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f781470f25758b5b321cf9ff930fbe89f339ee28aadc5be1137158796f5c73e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead \u0060#if false\u0060 region: Code inside a \u0060#if false\u0060 block is permanently excluded from the build \u2014 disabled code that should be removed or restored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0bb489e444724c7f2f840abeeb25174e2cf965e48ad69ecb3963a4cb3df1f6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ReadAsync\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22f6c5355159726ffb3c80eb53c2921cfec306b1477cb052e976b277f7b2f19"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead \u0060#if false\u0060 region: Code inside a \u0060#if false\u0060 block is permanently excluded from the build \u2014 disabled code that should be removed or restored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpStream.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a5abf7a4aa32b71c7a0cb162964daa98dbfcc9ec843174c387f33720ecac10"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead \u0060#if false\u0060 region: Code inside a \u0060#if false\u0060 block is permanently excluded from the build \u2014 disabled code that should be removed or restored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmUtils.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a23a92643d4299a5b37f1596c3a224af19f4ef0318e9b10538ba9bc88d374f0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead \u0060#if false\u0060 region: Code inside a \u0060#if false\u0060 block is permanently excluded from the build \u2014 disabled code that should be removed or restored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmUtils.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"225081790d85acbb89ae1ab0fe84c3ec88bf1f808471f3159fec66b64b8f8396"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ce0787c60bff3117308c9215fbb6a9d6ecc54fe6bfbe1615979eef68e26cc5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fac90f9ac84519d262dab47e897eae179df8700a4925aaacd41c3ac7a774ce"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cd610ddab69634150d00922ced61b9ed1451047f146ecef9fe19896a21bb2e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ac2afb51515b31966fad485fe59ed1f0cd033580ef57a4f690a238eee0a089"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f6f4237fcd6a0c3e7499b3357b862145741d6460f8f1ec00b2a4803f53b6fb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0826cc8a3c7c8c39046916df8171fe5838435de56b26b1c15ad314aa417547a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5405bc7897a9aca6152f4c67c517ae5be58732a708a5a401b38649e5a30896a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ffb1d7d240a0040f4619fb582e15b0bb14cb693f24007a51f723188b9862a2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24484746321e0deadb14f6c4677a4773acffa7e3a437c952e5fe69d03a7f25a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f25f0ddd183b6f074c6ff8a18085f2e9964f08e2db72ae8a1c814e05c01eb4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c2cc4d320d906849d0caf0abd9e27095cca44d8525bf1a01289dccd640fe9d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4f1da0edd65ca44ddc270d7a0105b516880b172078fd6a25e0df0bf4eba9d2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a249d92dac2d9a40dc52ad2d7174a13f13b4c0b5e0c916d76816b3ef48e2e5b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d0271bc977d6bef9de65f2be0799c32556eeec611fa3a32ce4e3a1fe69e622"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f1fb0dfc74760242b6f45ec055f48ba00c8017e3fd6de891cfe58582aadd5f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"47262c74994e3d75ab6ef1a01d611ab04b8d9e7452fe335a6ab1199e7f616372"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f92cdd43798bced61ccb3b94c5ba59ee35bebabb7487ebc7bf5ffa86e46bfaf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34ecad386118ba5facf8e1aa53a9201e138131cbebcfb5d3aba5a0b607b6ae3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c221b7a1dc559824e43600bed364784156203b3cbd2cf79f60cdd6d44dac49"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b051c588075c53a522a784ccec6a971eab206376b3130395b6d3de68dbec6176"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9119b1d0e1858c91fcc666fd1d091e43f744eb4d71019518bc2fbdf8be8ba300"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1054659452b1cf78084e7a2415ac43fd6fd99fe2da32dbc6a332df35c9ee72"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapCommand.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61796e6f14f005b73c1341affd484858caa8765f15b9bdf398c37fe6477fad9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6131e870ae046b03010222a57af2990a0dee7433c33f43ae777ecd6b69474c5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4ac11a9a83d7c3ba62da83bbeb88d805dc92738efa706c2773d9990ef9efcb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"848d6badf51cb7ccbdac74771238f9ce7f69411b6973235886c54ea4cc7f8a40"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7aca1dab3091b63535363c43e98b3d48f44dce1fcbfb1330a72cd5af878e63"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cd39ade886f3daec61f2bedefb1823f64b598887203831331df744966007f1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"30416ef006113981c91deb4ad37863129f32d97dfec30818df7ec60634b1d8d6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"774bd610db504d51dda0f745cb3e727d4eb4922634236854d969f61c91d4ec37"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":2661}}}],"partialFingerprints":{"codehealthFindingId/v1":"430973b9de9e88e6ba14905ca1b6a704c1d335ddb67e853968b0fde8fc7e2f02"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3024}}}],"partialFingerprints":{"codehealthFindingId/v1":"2987ccceee64763f3d833779b8959f57467eba6d826237f5c4dd1e776bc53f15"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3030}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa533984ea15dfb0860d9647dd34e47fbd79f88c3cd1992b83590ba78180403"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"caeb3b068b5c49eea928bc7dffe8198911ffffcca6c315b24fe21d8ecb227535"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3182}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f08bc7709a40957cd1eba35056727733bf78509a419064d3542b65150d478c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef899836c77e00a2d97894b924155094fa069d0daf2f5da1ff3e76c243264f67"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3191}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0cb7a28ba8227994ea3dcce650da5ca9b18e62980aa8ba5d69852847eecb5f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5219235e13f867fe7c9efdbf084457c798802f11e948c955405377390239995f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c77381b2ad67b7dc51f86a71890fd2553ff4b95f99af4dde7cc1aab2717920c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f377f9384840ea500f3d6d269bb8831e5e16bd8250123d2e5f7485ed4cc3ac"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderSearch.cs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa42d0498c355f0456e39d176896c6b8c4e74188c7529d8555162c7bff1f40f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41223b3efad88cfd7623e8fff1a5df9073c9e1ca01c8d8bd5913db1b88e5c24"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a93106f4de992ae385d2d5cbfd438f347f63ed17fbec47105b7a91d120da42f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d32fd7f421d1047d3c4d9c5307f4d47861b19725a0fba8f863ef429fd91cb0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"191d183feff84d33c1691557fb27174190da33cce11de8673ddf42c91bcb5a23"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f380ab55abae59379edd0a59e8621d2e7c3a20e040ada18cea350a7cb5de0c20"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"999831c79e05bb38ff0f57860d5a31cf721236c0f69fc5f272a650a9fda970b7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa129d441c55f9fe0a8deae82a2ee96486980b15f69e9c4ee45acaf37d71b0c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"84211c5fa63733b1e8da0e6126daac06b5ac282d10a2854de228334ff30d9671"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c9a5776fbf05ea7a96f847423649fa89a1e272af73081a1835ae74c42f0d3d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca7acfd2e9daf96f333a56f72783aa910ca286a8ab5d299e76319e1f6d6c88f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15cfa2fe5471fd767c7d0ab89b52c1b74c01ae4898b6dcf11acefe3c34965d8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"970eaba439a00cd57f6062f4e6b681de9fc7a7315557e110f70e85b4d82e0710"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a25f0ab00ec3e2b102cd4f508053b8d7b2091fabd9104298b95e0452b349baa"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapLiteral.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b87499b8bc4d6a0fd191032f7d16cdbfeb01a524e33d5f027f316a1f8c7cc5c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapToken.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"58866d029782b593920443076dcfba236ad45ca94b545987073ab2df263e59c1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b7d2d4917dcd9358d46c1a879c6e1dcec4ea94814d4b4630ca8d1718b780c8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"293d3f25ae15d904b3420d6aaf0c347986c18b403223bcac3e96d96946de9b7c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7802f87c121cc6bee32be4d320710bb757d91abaaad2f928a14366bc6fb95b4e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af4172d9639f373ef10925a50968d0060abefb1d45485fda5e1ea7abbac5553"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3554296a637d917a60e3646b0341b76d9ecc5eb1a5553ae6cb7591275c0fb5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"0022aeb65d379ee4fa3b6942894770c116566628607b229b03660a33573d348e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"67faf974c8209100068a2de36ac644642556681f2a0528899dd25682e98a2d93"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"212133b6cd24cd81b6690a76be4db1c99b6084ab6e0d3b0346932e14ce7cad5c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"616a2cb284b5f1743a62ac2924c5f897a9ef478038803492db9a844a83e61dc5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83480ecb7aab89604ef37dfb7ee669ef07158544ac4c238c915fa44bc60d8fa"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b669dc61d77558cad21f4856df28debc9e3c7ca4555bdc13b4dccede936d4b10"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f3be4b8927f10890a892fbe5abe9e2971edacd2ffc35702a6b8c820d1ee3a5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"65852ba122b0cc1370523415955f920e877d5c0bd300c309a61307e72e6e1cbf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2e0a2ebdacc9193c9258a5118508cbe84bc1e522448f677d8c44cfb88d838b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmAuthenticateMessage.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"680213b4d988290fc68728b3c16ef329f306e1e2454a24a055597d4b0553d925"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmChallengeMessage.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9e5444ba973101b8c3a2ed0da3b9596e32221c2afa49753b8cd4d9cabdac5a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmChallengeMessage.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85a538958d8ec6991ee68b851e0aa49414692a8f7e9df17a022f68ae850fee1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/NtlmChallengeMessage.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"138790248d24d182927623ca71f94ba075da0b4842ed9bcc3a9ea157e550aad7"}},{"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":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.CopyRequest\u0060 (MailKit/CopyRequest.cs:39) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/CopyRequest.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19752f0333672b9c06d58f59307a44e085cdd0a95b293cde55287fc10eb3d58"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.ExpungeRequest\u0060 (MailKit/ExpungeRequest.cs:38) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/ExpungeRequest.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e242019dbc5ad6d3c26eff3a71d8d7f22f5ae600b2f331ae9fa0bb84be6d77"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.MessageSummary\u0060 (MailKit/MessageSummary.cs:52) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MessageSummary.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37e741b0a81dededaf17becd5654e570b441bc6edb3670f625c243a81f9a845"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.MoveRequest\u0060 (MailKit/MoveRequest.cs:39) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MoveRequest.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c5e4f66b67c723cdae24a719fabd8a7a6957da492bd89672f6991d4eb7b138"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.CountChangedIdleEvent\u0060 (MailKit/Net/Imap/ImapIdleEvent.cs:83) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapIdleEvent.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c63da878136f4ad84ed61630797322168b48c864b8796f30de42ca7e04abec"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.MessageExpungedIdleEvent\u0060 (MailKit/Net/Imap/ImapIdleEvent.cs:146) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapIdleEvent.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"838cf7b9e8bcd35fd2e3f1b52ae506a88bba46ff81142265cb9e4d0bf40e8c00"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.MessagesVanishedIdleEvent\u0060 (MailKit/Net/Imap/ImapIdleEvent.cs:189) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapIdleEvent.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"92410d3cf783a3177d99422d13cc6bcb114c817bb5ec4f8143a58389e67eb2bc"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.MessageChangedIdleEvent\u0060 (MailKit/Net/Imap/ImapIdleEvent.cs:249) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapIdleEvent.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b60d078734b653dcab9d5509ce2a81befaeb1a5adf7a15fac375b156020dbb"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.FolderStatusChangedIdleEvent\u0060 (MailKit/Net/Imap/ImapIdleEvent.cs:293) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapIdleEvent.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a26a3051f2faa8b2e07ecaff0479f461f1523c88b507a49216a2ae2cf85a37"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.NewNameResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:814) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d574442e5bfce762a472dfe284d595f596e928f93696b22be6c23c4b3c96bfc"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.PermanentFlagsResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:871) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"322975198a927b308f1cf3582fa9c0fe27a6944d5b147a47bcfd36f4f3f1275f"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.UidNextResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:933) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"282f77b869305ff3b7cf1b8a85b14b9826ad15b72c35f28eb475a8b361e9d493"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.UnseenResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1019) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"f910aa2f1e1cda5353d672aaa413f14a95d2b58e76df6de7697943da308439ed"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.AppendUidResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1066) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"510a55447a827d7b5ce359c3fe3bd9f0c1076def29573b86de88835eb6631c16"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.CopyUidResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1110) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a6fe663ef751126106be55ab803e0ad2d7c4eaa9145831bae059a417b3e6a2"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.BadUrlResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1167) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d62e0e9c39cb6ebefe41d278f58abe58d3264519868e38ddbdd39629d7f781f"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.HighestModSeqResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1209) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b06f91904a988de4d9b487536ab9c85c18c354d61369cf806cf7a4f5a90427"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.ModifiedResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1251) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b20b6c312584e10b8766ad783061ae3ae259010fdd8b95a5e5cea0305da5f5"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.MaxConvertResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1296) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5250018faac2c4b4d6d2db41edeb2699715c194ed2385c22c636b20fd7e9ca1"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.NoUpdateResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1350) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"582c973eb0a66336189042752b35591017550c012a00445b2cbf3d3943da2c41"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.AnnotateResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1412) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd1adbbeeeeab4d5efefcdeb03b910380699f7d40495e0ff220152dd3b1cdde"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.AnnotationsResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1453) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1548c2b3e3ddc2b339313d2bc89dff8089cd8381ed638c6bccbf3700211bc866"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.MetadataResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1552) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b718c231d5355746272664f3a7d7e63a434bba8d87b6960bed9ae83f3282eb7"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.UndefinedFilterResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1612) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"8657bcf5825587d4df018df6b9281588cb3e750a12318383a5886a4f87a6fa5a"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060MailKit.Net.Imap.MailboxIdResponseCode\u0060 (MailKit/Net/Imap/ImapResponseCode.cs:1654) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060ImapClientDemo\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapResponseCode.cs"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c3e10d3fb09d21e3b4c03b50ec098e05f2de75b2c78c5017ba30cdff5e42ab"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch github-actions/gitsubmodule: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060github-actions\u0060, \u0060gitsubmodule\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5dd58e165562085899e093bd81cb24e6cf33f914f6890bdf2266a2e4166722"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 5 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) \u2014 these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2dedb76432d7d4f359386b5c37564c0f3de368182a77e31aa8af9ba73f9a4def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter ().GetResult ()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a75e29b8555e191d0bb83b7d00e4107b4b7aa4d6639b31652d284fe034de4e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter ().GetResult ()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3039}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7813476156a64010d964f1ac7345769237ed6f740c83b08bd47d5c7625cfa8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter ().GetResult ()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/ProxyClient.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffb353f2c26bb0d3c0d40610e229957da1f2feee138ac237b638cd32b6bd0eb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter ().GetResult ()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/ProxyClient.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c200526f715dab8e74808a1ce25f05797326c2d4b7ac8c3d46d3b9a78b55e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter ().GetResult ()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/SocketUtils.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5c0ce56e16c71c20a6578f59f266f40e0c6cd48144475b171738ee6a031720"}},{"ruleId":"S1","level":"error","message":{"text":"Password hashing without a KDF: \u0060md5.ComputeHash(\u2026)\u0060 puts the password \u0060password\u0060 through a fast general-purpose digest, so a stolen hash is guessed at billions of candidates a second whether or not it is salted \u2014 no key-derivation function (PBKDF2/scrypt/Argon2/bcrypt) stands between the password and the stored value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismCramMd5.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fee52cfc6850a9a1e8626cddc316ed03a77cd6b5a0e727feb2f3d6f915df7c"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060ServerCertificateValidationCallback\u0060 is assigned a callback that returns \u0060true\u0060 unconditionally, so every TLS peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Delete the override and let the platform validate. If a specific self-signed or internally-issued certificate genuinely has to be trusted, pin THAT one \u2014 compare the presented certificate\u0027s public key or thumbprint against the expected value and return \u0060false\u0060 for everything else \u2014 and scope it to the single handler that talks to that host rather than to the whole process. If the override exists only to get past a development certificate, gate it on a build configuration or an explicit opt-in setting so it cannot ship."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.iOS/ImapClientDemo.iOS/LoginViewController.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9f7d30e48e2dd5220b2d7314a2c0652795f8966b5fa8bb85ba3f9deea8fb99"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d89699aa75db928c4bd45b1fec7e6541229f29cf1a86ab7e686ae4c00537f7"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanism.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9478f63d0cf8e43c661be54ca5c14f278f99759b3d92a39e37f06ca9e3c67c2"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismCramMd5.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cd6b6b0bf44c8e9d2fbe233a09359989a0a214165d9a5e749dc9fa32275051"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismCramMd5.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c1c913a4ebdbae18d946990e4fbab98185b599cd5b3a05855566506c25e8b6"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismCramMd5.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36383593ba3769d6fe2f5c95f37012ba2b961f272ab26e853ab1e7e94d6a44c"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismDigestMd5.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"a533a2d2f5ec5dd66120d94ff32d9a71d5ae9cb9a7907dc076ab6449029b0c1b"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismDigestMd5.cs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"e050f91e77b16a1174012a06e3f53333c96528fdc08447f44a9b68f50601bb43"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismDigestMd5.cs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"617dec15af449dfd619bafe24a48038c386c69eb576eff19f26cbcfde8e5a863"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismDigestMd5.cs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a395b336ddd7fef844cd64e61d59ba84424eed027a13019342fa084bcf66ad"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismScramSha1.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c35dacfe7b56416d3fa2dcae4f9aa48892d2b3abdbde76f1c086447382952af"}},{"ruleId":"S1","level":"error","message":{"text":"Weak hash is the integrity check: A digest from \u0060ComputeHash\u0060 (MD5/SHA1) is compared against an expected value here, and a mismatch rejects the input \u2014 so a collision-broken hash IS the integrity check."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismDigestMd5.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"746e2d87b6bca434cbd04c64eec787403b8eb0890f3f0f51385974a99046dfb5"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"712766ba0961a3555f2549d46681b59331c17bdf616396169f9d433177f2f040"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":3039}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0d5472c4657942ddc9a9c6486af9ca8af81b12f78e1235cddf9e3ae504d5b2"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/ProxyClient.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce727751f4bc01020d66ef4a51547aeaab3172a3c8775353c56a33833e37503"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Proxy/ProxyClient.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"43767c8e55587739b26bf94c082631de12f380717baededee571451922065a9c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/SocketUtils.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"70baf7353907817bf3464c3681636e7ed3ced8a2348fa3f355d10e752c9704d6"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ViewDidLoad: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.iOS/ImapClientDemo.iOS/FoldersViewController.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"07565a370a91b07e064fa5ebab4a416df45df5133abaa1849a034bb933136353"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Login: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.iOS/ImapClientDemo.iOS/LoginViewController.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"068aa166110a13ca9e2fd288527cd07d82dbb8895c4a7c9ef1877070ac1ae7b0"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ViewDidLoad: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.iOS/ImapClientDemo.iOS/MessageListViewController.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e354d0d3aae0c14075fd51e5f54e4313acee187eba31c40299c01f7440f68b"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnCreate: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.Android/ImapClientDemo.Android/FoldersActivity.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8fe472a07e5f7869f697ef18297a18f597f22ba660d65475d2698595d5c2df"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: buttonLogin_Click: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.Android/ImapClientDemo.Android/LoginActivity.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4666255588fbb8f889fc99723821f906ac24e290ce7e6b6632281e3981412204"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnCreate: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.Android/ImapClientDemo.Android/MessageListActivity.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a875f380f28eb707ebe4810249a34f41ad5c9c0964a7b840d67e42d42f6a8141"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnConnect: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo/ImapClientDemo/MainWindow.xaml.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7831e5a5f678669a8ad2ffe27a8928580d675f65d9f705edc042be3ce07c3c4"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnDisconnect: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo/ImapClientDemo/MainWindow.xaml.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe6c9c3bb4763899a3f836a96484bffb2efd45adf94223c31f428e7b53e2afa"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnFolderSelected: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo/ImapClientDemo/MainWindow.xaml.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9124b3138d4b3f708d508775d510a3d3401b5db41c6cb80267e16c0d346f438f"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnMessageSelected: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo/ImapClientDemo/MainWindow.xaml.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca58d87c6d99239871ee3111342b9eee9cd9ceadbdabc08e14a6e24d418c8d73"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnRefresh: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo/ImapClientDemo/MainWindow.xaml.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"108a2cd7c1978ada6bd5531826a9a550e2fb3791a8ce80dfbb2d0226ed779970"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnNewer: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo/ImapClientDemo/MainWindow.xaml.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e9ee201235c80f175eae971e87d6c52873503ec0194ede08e9eb7ba4cc1d8e"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnOlder: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo/ImapClientDemo/MainWindow.xaml.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d5f763a582c00099d9916b31682491548689d9cd33d716ae2a46639f18f446"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnTick: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo/ImapClientDemo/MainWindow.xaml.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1c057e506b9963865c7726b9365e04206c87f29106536fa51498e15ab201e6"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnClosing: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo/ImapClientDemo/MainWindow.xaml.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"415314df14de79a21722566c30abe0e746bfead5569e12934176b1289bf51707"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!engine.Capabilities.Contains (Pop3Capability.UIDL) \u0026\u0026 (probed \u0026 ProbedCapabilities.UIDL) == 0\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Pop3/AsyncPop3Client.cs, MailKit/Net/Pop3/Pop3Client.cs. 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":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d219ae554ee388dfd38f207e52550e7925fbcc3278aeb179567e0e1d6e7ad01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IPAddress.TryParse (host, out var ip) \u0026\u0026 ip.AddressFamily == AddressFamily.InterNetworkV6\u0060 appears character-identically in 3 files \u2014 MailKit/Net/Imap/ImapClient.cs, MailKit/Net/Pop3/Pop3Client.cs, MailKit/Net/Smtp/SmtpClient.cs. 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":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67b2da9a1d016e0ec4ab152a23ceb7082c5b20eea75e4de0e602b7be250a8ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arrayIndex \u003C 0 || arrayIndex \u002B Count \u003E array.Length\u0060 appears character-identically in 2 files \u2014 MailKit/AccessRights.cs, MailKit/BodyPartCollection.cs. 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":"MailKit/AccessRights.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9594fde6fc25d58f9f2e6401d22168bfe1028a2d49c638b8afe2bbe06c04716a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arrayIndex \u003C 0 || arrayIndex \u003E (array.Length - Count)\u0060 appears character-identically in 2 files \u2014 MailKit/UniqueIdRange.cs, MailKit/UniqueIdSet.cs. 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":"MailKit/UniqueIdRange.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"413eeb6a8e64b3ca82f95fe8f061e737f5f0291c90f10f9f4adfca426b207aa3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bdat || Capabilities.Contains (SmtpCapability.Size) || state.Request.TransferProgress != null\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Smtp/AsyncSmtpClient.cs, MailKit/Net/Smtp/SmtpClient.cs. 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":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"41553bf1733a0b4a97e49f5f15bf1f39f2b0aef2e63e0469171e50e4ef61916a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060count \u003C 0 || count \u003E (buffer.Length - offset)\u0060 appears character-identically in 6 files \u2014 MailKit/CompressedStream.cs, MailKit/DuplexStream.cs, MailKit/Net/Imap/ImapStream.cs, MailKit/Net/Pop3/Pop3Stream.cs. 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":"MailKit/DuplexStream.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6f1f9e583483dc3878cbe443e6c5849f64ac369935b86fdb4021dfa4c8f4d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cred == null || !SaslMechanism.TryCreate (authmech, encoding, cred, out sasl)\u0060 appears character-identically in 6 files \u2014 MailKit/Net/Imap/AsyncImapClient.cs, MailKit/Net/Imap/ImapClient.cs, MailKit/Net/Pop3/AsyncPop3Client.cs, MailKit/Net/Pop3/Pop3Client.cs. 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":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fec367689d6618baa768276fba60ccb14f31f98415278a2ddcd1c64d077cf4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060engine.Capabilities.Contains (ImapCapability.SaslIR) \u0026\u0026 mechanism.SupportsInitialResponse\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Imap/AsyncImapClient.cs, MailKit/Net/Imap/ImapClient.cs. 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":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb72d7afa11574520a54cfb2f6c78bb4f0391b5c6d24ea902ed6b97a3ab3c7cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060engine.Capabilities.Contains (ImapCapability.SaslIR) \u0026\u0026 sasl.SupportsInitialResponse\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Imap/AsyncImapClient.cs, MailKit/Net/Imap/ImapClient.cs. 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":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"5013abfcf3054d4af54023b91897c23b529c1ea84bca81faffa85a800e4a318a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060engine.Capabilities.Contains (Pop3Capability.Apop) \u0026\u0026 (cred = credentials.GetCredential (saslUri, \u0022APOP\u0022)) != null\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Pop3/AsyncPop3Client.cs, MailKit/Net/Pop3/Pop3Client.cs. 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":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc55c197aef5be04e2fa833642febbfb981eed4d3b87045f5424613193747d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060engine.IsConnected \u0026\u0026 engine.Stream.CanTimeout\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Imap/ImapClient.cs, MailKit/Net/Pop3/Pop3Client.cs. 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":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c8d2adc56b2428791360b9a6050c58fc2e87092eb0f05a42c9261b3e273b99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060engine.IsSecure \u0026\u0026 (engine.Stream.Stream is SslStream sslStream)\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Imap/ImapClient.cs, MailKit/Net/Pop3/Pop3Client.cs. 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":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"3354e4de078df925122a830e063293918cfc9a12d61fe0e7e0ae77a185cf32e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060engine.IsSecure \u0026\u0026 (engine.Stream.Stream is SslStream sslStream) \u0026\u0026 sslStream.IsEncrypted\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Imap/ImapClient.cs, MailKit/Net/Pop3/Pop3Client.cs. 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":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a76ed82683a77c5993543278b7bbec27dd0fa015da413e3b8c1b54d8b1b410a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060engine.IsSecure \u0026\u0026 (engine.Stream.Stream is SslStream sslStream) \u0026\u0026 sslStream.IsSigned\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Imap/ImapClient.cs, MailKit/Net/Pop3/Pop3Client.cs. 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":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e9de1548c2aa1211c9de5dafd3d995ddc4a2e7766b3540eb75c7193d31af86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u002B 3 \u003C= text.Length \u0026\u0026 IsNIL (text, index)\u0060 appears character-identically in 2 files \u2014 MailKit/BodyPart.cs, MailKit/Envelope.cs. 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":"MailKit/BodyPart.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a9a95e06fff4c8414689b5375f47e0ca9f1072eeb9216c6a5b55ff90e188e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C endIndex \u0026\u0026 buffer[index] != (byte) \u0027 \u0027\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs, MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs. 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":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b752048fa9a219dd72546eb65bc25e92890c41521cdf05f5681e917dcd1fa33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C endIndex \u0026\u0026 buffer[index] != (byte) \u0027 \u0027 \u0026\u0026 buffer[index] != (byte) \u0027\\r\u0027\u0060 appears character-identically in 3 files \u2014 MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs, MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs, MailKit/Net/Smtp/SmtpAuthenticationSecretDetector.cs. 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":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2a799609844004e152ac64702210e26afdda45d9fe5fec0cf2882f5eb876ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C endIndex \u0026\u0026 buffer[index] != (byte) \u0027\\r\u0027\u0060 appears character-identically in 3 files \u2014 MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs, MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs, MailKit/Net/Smtp/SmtpAuthenticationSecretDetector.cs. 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":"MailKit/Net/Imap/ImapAuthenticationSecretDetector.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e9111b7d2596203d65054eb461d34a82883bf7bfd724ea4b6411afdafe2130"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C endIndex \u0026\u0026 commandIndex \u003C command.Length\u0060 appears character-identically in 2 files \u2014 MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs, MailKit/Net/Smtp/SmtpAuthenticationSecretDetector.cs. 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":"MailKit/Net/Pop3/Pop3AuthenticationSecretDetector.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ed1263cfdcd43373010540922c85041fe4debbced2b09956958f2d25440393"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C text.Length \u0026\u0026 char.IsWhiteSpace (text[index])\u0060 appears character-identically in 3 files \u2014 MailKit/Net/Imap/ImapUtils.cs, MailKit/Net/Pop3/Pop3Engine.cs, MailKit/Security/SaslMechanismDigestMd5.cs. 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":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"093e20d931fbb8af0e586a4ce15adc8d1c0f7c9edf450623b4bab11e014dc8b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C text.Length \u0026\u0026 text[index] == \u0027 \u0027\u0060 appears character-identically in 2 files \u2014 MailKit/BodyPart.cs, MailKit/Envelope.cs. 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":"MailKit/BodyPart.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed093c5910447f7aae16588a244490807d528efb354bb230085a3df0d6b27736"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C text.Length \u0026\u0026 text[index] \u003E= \u00270\u0027 \u0026\u0026 text[index] \u003C= \u00279\u0027\u0060 appears character-identically in 2 files \u2014 MailKit/BodyPart.cs, MailKit/Net/Imap/ImapUtils.cs. 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":"MailKit/BodyPart.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8c6925a6dc3e8d0aba6d8533aaea5d237574c73b0d5d94d5e088bbc58151f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003E= text.Length || text[index] != \u0027(\u0027\u0060 appears character-identically in 2 files \u2014 MailKit/BodyPart.cs, MailKit/Envelope.cs. 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":"MailKit/BodyPart.cs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8773418fdeb9f877c49128a3ff618d48033e9b2c3668079fb2850c364e9400"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003E= text.Length || text[index] != \u0027)\u0027\u0060 appears character-identically in 2 files \u2014 MailKit/BodyPart.cs, MailKit/Envelope.cs. 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":"MailKit/BodyPart.cs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d871ad5353fc777a327e2d7bcf00d991fbea9e99b2c6741ecaef28e10cc9c46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputCount \u003C 0 || inputOffset \u003E inputBuffer.Length - inputCount\u0060 appears character-identically in 2 files \u2014 MailKit/Security/Ntlm/MD4.cs, MailKit/Security/Ntlm/RC4.cs. 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":"MailKit/Security/Ntlm/MD4.cs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe2acad5eabe6b6576658441841861fb78759eb9d61610fcf39c72550eb2ecc"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060MailService\u0060 declares a finalizer (line 101), but nothing in the type is unmanaged: no \u0060IntPtr\u0060/\u0060UIntPtr\u0060 or pointer field, no \u0060SafeHandle\u0060, no \u0060HandleRef\u0060, no \u0060extern\u0060/\u0060DllImport\u0060 member and no \u0060Marshal\u0060/\u0060GCHandle\u0060/\u0060NativeMemory\u0060 use. A finalizer can only release what the garbage collector cannot, so on a purely-managed type it releases nothing and costs something: every instance is put on the finalizer queue, survives at least one extra collection, and is then finalized on a thread that is NOT the disposing one \u2014 where the managed objects it touches may already have been finalized themselves. Delete the finalizer (and the \u0060GC.SuppressFinalize\u0060 that exists to defuse it); if a handle is added later, wrap it in a \u0060SafeHandle\u0060, which brings its own correct finalization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MailService.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26bea03446d7b8e64140d88918ea35c2b11173b07702817b60f318f4c406a37"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposes a dependency it does not own: \u0060ProtocolLogger\u0060 is never created by \u0060MailService\u0060 \u2014 every assignment to it takes a constructor parameter \u2014 yet this type disposes it here (line 1697). Its declared type \u0060IProtocolLogger\u0060 is an interface, so the instance came from whoever chose and created it, and that owner decides when it ends. Disposing it from here reaches outside this object\u0027s lifetime: a dependency shared with the rest of the process is torn down when THIS instance goes away, and the real owner\u0027s later \u0060Dispose()\u0060 runs a second time on an object already disposed. Drop the call \u2014 a type disposes what it constructed, and only that. If this dependency genuinely is exclusive to this instance, construct it here (or take an owned factory) so the ownership is stated in the code rather than assumed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/MailService.cs"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a44920059dd53551be7b746314a8b7f9c6bb35e3976867774279dae3d8badcf"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060ImapClient\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060sslValidationInfo\u0060 itself (line 70), which makes that instance its own. But \u0060sslValidationInfo\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 2808) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060sslValidationInfo?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7c0e6e79937e813578a9d2e7c96e37f1b2572043e968a76a969931f85594a4"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060ImapEngine\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060builder\u0060 itself (line 162), which makes that instance its own. But \u0060builder\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 4475), \u0060Disconnect\u0060 (line 930) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060builder?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapEngine.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11aa7473df0e3d87da59b01cadb70d8d7ec1d1059c007ccacbe0d7000eab528"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060Pop3Client\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060sslValidationInfo\u0060 itself (line 77), which makes that instance its own. But \u0060sslValidationInfo\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 3392) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060sslValidationInfo?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9f65eecb71925efdb07b72524930de0432785ab864e09bdd460b1a84dfead4"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060SmtpClient\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060sslValidationInfo\u0060 itself (line 87), which makes that instance its own. But \u0060sslValidationInfo\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 2783), \u0060Disconnect\u0060 (line 1743), \u0060Disconnect\u0060 (line 1799) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060sslValidationInfo?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bba16552a111f18c3476d01d51a28c7530e9e512c3f67b8a61aeb97f476986"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060ProtocolLogger\u0060 declares a finalizer (line 104), but nothing in the type is unmanaged: no \u0060IntPtr\u0060/\u0060UIntPtr\u0060 or pointer field, no \u0060SafeHandle\u0060, no \u0060HandleRef\u0060, no \u0060extern\u0060/\u0060DllImport\u0060 member and no \u0060Marshal\u0060/\u0060GCHandle\u0060/\u0060NativeMemory\u0060 use. A finalizer can only release what the garbage collector cannot, so on a purely-managed type it releases nothing and costs something: every instance is put on the finalizer queue, survives at least one extra collection, and is then finalized on a thread that is NOT the disposing one \u2014 where the managed objects it touches may already have been finalized themselves. Delete the finalizer (and the \u0060GC.SuppressFinalize\u0060 that exists to defuse it); if a handle is added later, wrap it in a \u0060SafeHandle\u0060, which brings its own correct finalization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/ProtocolLogger.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1291ab86ae4597ee50c2d343c9301f7336b1a2238fa2adeb43b5529354d4c12f"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060MD4\u0060 declares a finalizer (line 71), but nothing in the type is unmanaged: no \u0060IntPtr\u0060/\u0060UIntPtr\u0060 or pointer field, no \u0060SafeHandle\u0060, no \u0060HandleRef\u0060, no \u0060extern\u0060/\u0060DllImport\u0060 member and no \u0060Marshal\u0060/\u0060GCHandle\u0060/\u0060NativeMemory\u0060 use. A finalizer can only release what the garbage collector cannot, so on a purely-managed type it releases nothing and costs something: every instance is put on the finalizer queue, survives at least one extra collection, and is then finalized on a thread that is NOT the disposing one \u2014 where the managed objects it touches may already have been finalized themselves. Delete the finalizer (and the \u0060GC.SuppressFinalize\u0060 that exists to defuse it); if a handle is added later, wrap it in a \u0060SafeHandle\u0060, which brings its own correct finalization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/MD4.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde8c41e41c2eb73d5d3af739371e6ad82c17633bf977a4e51f0ec4039ed4429"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060RC4\u0060 declares a finalizer (line 47), but nothing in the type is unmanaged: no \u0060IntPtr\u0060/\u0060UIntPtr\u0060 or pointer field, no \u0060SafeHandle\u0060, no \u0060HandleRef\u0060, no \u0060extern\u0060/\u0060DllImport\u0060 member and no \u0060Marshal\u0060/\u0060GCHandle\u0060/\u0060NativeMemory\u0060 use. A finalizer can only release what the garbage collector cannot, so on a purely-managed type it releases nothing and costs something: every instance is put on the finalizer queue, survives at least one extra collection, and is then finalized on a thread that is NOT the disposing one \u2014 where the managed objects it touches may already have been finalized themselves. Delete the finalizer (and the \u0060GC.SuppressFinalize\u0060 that exists to defuse it); if a handle is added later, wrap it in a \u0060SafeHandle\u0060, which brings its own correct finalization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/Ntlm/RC4.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6d254579bcb9c54b166fa43937ffee2fd42089ceba0910bee9532198684d5f"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field overwritten without releasing the previous instance: \u0060done\u0060 is a \u0060CancellationTokenSource\u0060 this type creates itself, and here (line 55) a new instance is written over it \u2014 but the overwrite runs once per loop iteration, so every iteration after the first replaces the previous one, and nothing earlier in \u0060WaitForNewMessagesAsync\u0060 disposes, closes, saves or hands on the instance being replaced. The assignment makes it unreachable while it still holds what it holds (a timer that keeps firing, a callback registered on a longer-lived token, a socket, a handle), and no later \u0060Dispose\u0060 can reach it: the type\u0027s own disposal releases only the CURRENT instance. The cost accumulates once per overwrite. Release the previous instance first (\u0060done?.Dispose();\u0060 before the assignment), or swap it out with \u0060Interlocked.Exchange\u0060 and dispose what comes back."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapIdle/ImapIdle/ManualIdleClient.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaa020aeaa850aa82a832e89beecf45dfcef4691b5df2e5b19c1fdb13370338"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 250/280 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: LoadChildFolders: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.iOS/ImapClientDemo.iOS/FoldersViewController.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5d5ff1586ffc97d225badcd70eb0418ca35a329610a8533a66e268703ef3b4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Login: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.iOS/ImapClientDemo.iOS/LoginViewController.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1aa8fe8d92ebfee7a1cf787ac50f98b31d0c20fc713533d6e5ff678c928013"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: LoadChildFolders: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.Android/ImapClientDemo.Android/FoldersActivity.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d7847da4b9fbc13407e9c0f989db06b1d1dee6599aca833fa495b36efd6781"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: buttonLogin_Click: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.Android/ImapClientDemo.Android/LoginActivity.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cc317c3cf9dc614b7b3f7f3057f1d17b2a43a002653245c0f033c54e1a27f9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Reload: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapClientDemo.Android/ImapClientDemo.Android/MessageListActivity.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e524dc81c352ee96e0608cb5ee52e0f13680af6d8e4a9b348184a3121991b2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ImapIdle/ImapIdle/IdleClientBase.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c446ab8bae1ab3593a0677b663465f2fd10d5c542f3d01dbe7785c6724389d"}},{"ruleId":"X2","level":"note","message":{"text":"Some async methods drop the CancellationToken they accept: 1 async method(s) await work their caller\u0027s cancellation cannot reach: a CancellationToken they hold (a parameter, or the one a framework-fixed signature carries) is never passed on, or the call is handed CancellationToken.None, default or an already-cancelled token. Forward the caller\u0027s token to that call."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f8177554a7c46f307acf08de5582ac728351c2d85898ccd976c050435dc4a114"}},{"ruleId":"X2","level":"warning","message":{"text":"Async call defeats the CancellationToken: WaitForChangesAsync: Holds a CancellationToken but hands \u0060CancellationToken.None\u0060 to the awaited call on this line, so the caller\u0027s cancellation never reaches that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapIdleSession.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4929504f70e526350173435e9e4e96f834999930e2359092ff5c822f61b173"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcba8c254bae85eae36abc65bcb52d6a0921669e18a669a971a50c3c241d9d7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"94623f9ce53eb76360ebb95c058571d467e8c147ab213cf0a0bda2f1e73b759f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/AsyncImapClient.cs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"b606ae9911a791edac85dc628ae1e5cb9a57998b26c463278c0b706505ec1350"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb089366ceb680cf78460938d75b651832eae34b43f21d344daaff0d754c60e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3f132e9eccbcf169827849b381f0320ad8eef315c10597da6abbe353ce87ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapClient.cs"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb24c21aab5728ef744a8cd664987c3b12acfa2468df8eac3ea6f67906132ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapFolderFetch.cs"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"320ae634375ab5a3fd06c8f9af3f09e7da053feb4117312c61ccb82c7b7ee7c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapIdleContext.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fb738719b98ca11e1787c662f6f7523718f7587d2e2d2f0b7135dbd1a6d16c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":2436}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0dfe3e2483b6ccc01a2c46fc24d9c52c98bf4bc71094d17a78f8b907f1bab4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"891a929e699fb31af3dcb4f8be67c0f35e9ece94a5128ceadb8177aafb41f821"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Imap/ImapUtils.cs"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b408692260d43cb6acfb42d930fcce535ba71ab9ff965f58680abd52471472e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/NetworkStream.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c13f3126d9820205e645800523774548c6c3753ff3dced2c01a1fa38bb2d1f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c18f1b82300e596b4cfc64310baae42815c37611dd480526d017210ffd9c5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2891ec8f143a924790ebf8ff8bbf9dc010d7d91c419a295ae4de063c6afd0bc1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3d49e7a68cfb3666ec82a413fc43ac080899800f7be4fb010498c23678a7fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd806705566cd1c1c88ed091f8c295545f592675bca2c3d9d1c9e71a0ca17c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/AsyncPop3Client.cs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc6e9831b6e635338c4d79ab700cd3518655bd09d7aeea1916182add14deaa2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c21ad68b57eb1b066e9bedc57181e580e48277c58438051896c67c01f841cdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd43b48c6425b0b287d216a60e4a410e63720158703ab1a51376e9f4bf14074"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"312d9925a28bc3745923467153393ec669b4516900c9d34c2376cd7a265602de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4568eef4dd949127ed885eec2b68c9920425d04b878d96c105dc1fb0a18f2523"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fabc50be301fd05afc46883594b9892670071b12a7cfa8b748760ad8670820"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6696b733e57d9316b6f555df3da6121dad7b937966d306687e519c0b75b5fec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a083dae62594da97aed15f43aeb2fd398bf931f2075344d3d82239e42d1c86"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d0a8747783497ec4c004a5e3b8602e9afb2fe657ebdd21f5bdfa99d9217aca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/AsyncSmtpClient.cs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cce3ca24619848ed9877de817c64ad7afd457464d04d5ec036dc89a74a3eff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fc9f436799bf294b923d834f6a03628f296f71062a7802ddc1db5569e1960d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96c5c30a551cddc3bca86cc13cc660f85ff8bdae73930c611c977bcee3618df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":1756}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7649f6e0d2ae0fec015a7ef02b467586071b9f82cbcc7f5deb787f66b8b3eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Smtp/SmtpClient.cs"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a2c7ebe9781c88317b9f1f49ad2ffab46dbbbbfeda830a05cd7ed8dfd0af99"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/SocketUtils.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b33d32be47ab70ed3bf88145101c4012f829d06187279b602a6bdd2c9e570c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanism.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7b6e0f2b26024eedb19bef1a431c7c841da00ebccdf5cee06efa1ac7ed44e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanism.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82caac2d5670e4335a0b305846485b5e514f54e988a72adb5932e81fbbffc5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SslHandshakeException.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b5f86f50983c438a5b81dc4b880133b0eea04022de87b913fdca9963a9f364"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (NotSupportedException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/TextEncodings.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e03d187b67ee4e4100f480cd8f9dea736548696eb08d4fd72a98c45f4e3170b"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 5/6 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions override nullable warnings: ~1.0 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 237 suppression(s) across the 244981 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ae9a4afaefbfeb512a0b9a87d1bd44cd285ab1e804e4b89c8cf80f255687dfd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryAddParameters\u0060 swallows \u0060ArgumentException\u0060 into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f53470b559a7ba5827a3b1921571ce4fb3bdebd49a04fa6e976001fa64a1aa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060TryParseMultipart\u0060 returns \u0060false\u0060 when \u0060TryParse (text, ref index, true, out var contentType)\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/BodyPart.cs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b80922a1c849e3c2d06a7c8c5697f8f03b05d7be9a6f907fc2a342b64463eb3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060ProcessStatResponse\u0060 returns \u0060Task.CompletedTask\u0060 when \u0060long.TryParse (tokens[1], NumberStyles.Integer, CultureInfo.InvariantCulture, ou\u2026\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f010f895e1e6c3c2b56a60563e471c6508d164a4a8f83cfe3fc5766f93459a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060ProcessListResponse\u0060 returns \u0060Task.CompletedTask\u0060 when \u0060long.TryParse (tokens[1], NumberStyles.None, CultureInfo.InvariantCulture, out l\u2026\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Net/Pop3/Pop3Client.cs"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fa133e898b783962aa0d8d868a91f5774bc20df69e23bdf8ed1a89e0ec19de"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CheckSupported\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MailKit/Security/SaslMechanismNegotiateBase.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bc56306dde0bbe4db364ca28de89e6d6bbcb84224d1a9585b2fbf1d436b339"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Main\u0060 swallows every exception into \u0060return -1;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AotCompatibility/Program.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b66af055ac79a6430485c6f5e4fed16fe9311bc6fe5cd7008b97f8677964f94"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-321","guid":"0ce564a5-a44c-3358-b3db-317712e6e019","name":"Use of Hard-coded Cryptographic Key","shortDescription":{"text":"Use of Hard-coded Cryptographic Key"},"helpUri":"https://cwe.mitre.org/data/definitions/321.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-390","guid":"7484c168-de95-2c52-afd2-197fb3efb184","name":"Detection of Error Condition Without Action","shortDescription":{"text":"Detection of Error Condition Without Action"},"helpUri":"https://cwe.mitre.org/data/definitions/390.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":44,"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."]}]}