{"$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":"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"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":"Parser.Parse (cyclomatic 160): Parser.Parse has cyclomatic complexity 160 (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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe814f246e89ff034e714627446b38a052fefc8086b1e6ab1fba19b98efb0492"}},{"ruleId":"D1","level":"warning","message":{"text":"MPDParser.Parse (cyclomatic 93): MPDParser.Parse has cyclomatic complexity 93 (threshold 15). Of this number, 88 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. 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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"366376de250e2be0c66c95ba4844bed1bcecf8fa7cdfef579054d89e5f2154f1"}},{"ruleId":"D1","level":"warning","message":{"text":"Global.HttpDownloadFile (cyclomatic 52): Global.HttpDownloadFile has cyclomatic complexity 52 (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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3cc23f985a0729d5090b51728df923bc417c83accb54d4f5cb04fdfff8449d"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.DoWork (cyclomatic 48): Program.DoWork has cyclomatic complexity 48 (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":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9920e155956ce1731ea33ca68479ded6714df94221709e690a2268278358f5a"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadManager.IsComplete (cyclomatic 46): DownloadManager.IsComplete has cyclomatic complexity 46 (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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9927c6f9114d95d575f74db305511eb52055224a05276599ba2d246278029ea5"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadManager.DoDownload (cyclomatic 43): DownloadManager.DoDownload has cyclomatic complexity 43 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. 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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb716dc55fc7e81562c7c36353de60295bad8cf9e6bc774bd09e68fb69c70681"}},{"ruleId":"D1","level":"warning","message":{"text":"Global.TrySkipPngHeader (cyclomatic 39): Global.TrySkipPngHeader has cyclomatic complexity 39 (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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"2664cf792278a3385ee5c8203591e8a5385777f97bb162c468d41f37e96142e7"}},{"ruleId":"D1","level":"warning","message":{"text":"Downloader.Down (cyclomatic 30): Downloader.Down 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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4fcaadb62ef07b6b9880b487bfdfdb07a5ba6668511240482d588a805b4455"}},{"ruleId":"D1","level":"warning","message":{"text":"Global.GetVideoInfo (cyclomatic 29): Global.GetVideoInfo has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4739cfd75f6978c4de0bcd4e2c8a06494bb43f3a29f04b1fde9b0d2251b6f0d"}},{"ruleId":"D1","level":"warning","message":{"text":"FFmpeg.Merge (cyclomatic 27): FFmpeg.Merge has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/FFmpeg.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"381a1602900ee98fe6bd62c9a88dbf737db938a3c1877dfc4072975a07b55ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.Main (cyclomatic 27): Program.Main 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":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9753c6c45a9147460e1edf297312be15ea385ed185a193572f7a6991550cb68"}},{"ruleId":"D1","level":"warning","message":{"text":"MPDParser.GenerateM3u8 (cyclomatic 25): MPDParser.GenerateM3u8 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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"9212530b099ea3e09157386a2e69df40c484d3626fe381bfdb40c2539159a2db"}},{"ruleId":"D1","level":"warning","message":{"text":"Global.GetWebSource (cyclomatic 24): Global.GetWebSource has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"740d1dd88b5400b548bbacb9b9c1beed5819e92864709d789e8d4f1501c7ab59"}},{"ruleId":"D1","level":"warning","message":{"text":"Global.HttpDownloadFileToBytes (cyclomatic 17): Global.HttpDownloadFileToBytes 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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aacfc917713db0eae5186cfacb1ce300e819efd38beb79c29e1f8f3ad9d5df9"}},{"ruleId":"D1","level":"warning","message":{"text":"MPDParser.ExtractMultisegmentInfo (cyclomatic 17): MPDParser.ExtractMultisegmentInfo 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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aac86a4f597bdefa717dfcf293dc7b727b0e67f9c99fdeb463aefd68356aa72"}},{"ruleId":"D2","level":"warning","message":{"text":"MPDParser.Parse (cognitive 363): MPDParser.Parse has cognitive complexity 363 (threshold 15). Of this number, 359 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. 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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6474884c96b20ac1faf267ef81d30c47c254e0f6632e07edc0228af75d04ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.Parse (cognitive 276): Parser.Parse has cognitive complexity 276 (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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce35e035efb9e3e7b5dc62b905e6f921dc4f7b417afe1bf79bd85eeddd92844"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager.IsComplete (cognitive 168): DownloadManager.IsComplete has cognitive complexity 168 (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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"af243a23e38af3d3fe60ac1cb2d71c64fc0bb6bbc2dab1bc9a2a136d5465368e"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.DoWork (cognitive 74): Program.DoWork has cognitive complexity 74 (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":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d64a94ce4ea447805ac00a50d69adb01af5c94f786677e2dd5bd4a5acc37497"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager.DoDownload (cognitive 68): DownloadManager.DoDownload has cognitive complexity 68 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 18 belong to one function literal inside it that branches. 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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"097f1e49c2b2cc009ff0e57f9895e946323cb2a40d3e4aaf4bfd3942489ccd60"}},{"ruleId":"D2","level":"warning","message":{"text":"Downloader.Down (cognitive 54): Downloader.Down has cognitive complexity 54 (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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4b9a7f5b45b6e5218e09ffb78c1edd9af71a9a2d0bb03116bce98f4d314ae8"}},{"ruleId":"D2","level":"warning","message":{"text":"Global.HttpDownloadFile (cognitive 53): Global.HttpDownloadFile has cognitive complexity 53 (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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d27bbb3288943f0cfa2e48772595be743bdfd9e470845fb6c48169ce412a785"}},{"ruleId":"D2","level":"warning","message":{"text":"Global.GetWebSource (cognitive 44): Global.GetWebSource 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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e301dbcc8a308364ff678429cd7c53ac5c78d9389756fe60e95a1865db91d3"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.Main (cognitive 42): Program.Main has cognitive complexity 42 (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":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3333d0c42ccb578c6254c118223434b9542653be288a075c45d902d926ea693"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.ParseKey (cognitive 41): Parser.ParseKey has cognitive complexity 41 (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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"675dc3e99ec15624710758965fbdad416a735702ebb2603dcb8862772196d173"}},{"ruleId":"D2","level":"warning","message":{"text":"MPDParser.GenerateM3u8 (cognitive 39): MPDParser.GenerateM3u8 has cognitive complexity 39 (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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e2b38de5bba34dc0750f5d7c5d81814fd7c0517e9422ce8e7cef150cb888e1"}},{"ruleId":"D2","level":"warning","message":{"text":"MPDParser.ExtractMultisegmentInfo (cognitive 37): MPDParser.ExtractMultisegmentInfo 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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeca30ebf1974b7a5079a698051f8297c8d9a8f42acc566fbd6fa42c6e1461b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Global.GetVideoInfo (cognitive 35): Global.GetVideoInfo 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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"7233ced6f4f0a0594444bf6a5c637773e4a5ee18ad7484287b6fc5063a1f3f77"}},{"ruleId":"D2","level":"warning","message":{"text":"Global.HttpDownloadFileToBytes (cognitive 26): Global.HttpDownloadFileToBytes 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, 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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc87573cb6d403ada0a1cb4fe4f6c8df75e0f8fb0937197b406dd969c26cea2"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaCha20.WorkBytes (cognitive 20): ChaCha20.WorkBytes has cognitive complexity 20 (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":"N_m3u8DL-CLI/CSChaCha20.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"7840b6426646196f95b12068c0db53afab2d99ef656d54977d6656a30df4d435"}},{"ruleId":"D2","level":"warning","message":{"text":"Global.TrySkipPngHeader (cognitive 17): Global.TrySkipPngHeader has cognitive complexity 17 (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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae671d2110947754638c414bcfccdf26ef42ece7e5b95bf40c19baf761fc12b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Parser.Parse: MethodTooLong \u2014 Parse runs 436 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 336 over it, 4.36\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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ced8a924e6e1abf5e10c608108919da73ecd6edaeb3b5473f38a9fd6f393793"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MPDParser.Parse: MethodTooLong \u2014 Parse runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6be7170fa371356ceda0543c59c27f43a867ece3df4a9d66538dbafafdff15a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadManager.IsComplete: MethodTooLong \u2014 IsComplete runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c44dd2b577d6acedf1046c65b2f8b2fc8482e90e7969a2ad8c5df1650d6b5c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Program.DoWork: MethodTooLong \u2014 DoWork runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"829242302a22b4d236f698591a7561a21db2eb4ee79a4c67ccaa7340cd23a327"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadManager.DoDownload: MethodTooLong \u2014 DoDownload 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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b14efd2b0914defd3cabde3ef8fea726bf306febcee6c57503caa466d6de216"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Parser: ClassTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 167 over it, 1.42\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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3f46c71b2c127db20480a3524f1dee1ec1e2b751134b9568a44d8eb34c9543"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: N_m3u8DL-CLI/Global.cs: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 182 over it, 1.36\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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f223eb67c47d9b2363ba4d7af8aa7bce2c844f710409c517f3ad045b55a0b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MPDParser: ClassTooLong \u2014 472 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 72 over it, 1.18\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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab716d6ba16653e1a323769f37a2dfa5c391046f0c16a965c28412e9f1b1e2d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: N_m3u8DL-CLI/Parser.cs: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 89 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"127ab427c3626cfec4e8347ebfbb5bebe380cc01f9add60eb72701a577017c4c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Downloader.Down: MethodTooLong \u2014 Down runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"332254e95a74fa9af923f3ce172acff0a872158623fac4a4ed086df99b9c2b03"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Global: TooManyMethods \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"854baede58b81d689696f4326b1f0a72eb9b7d8adf000b1077301aafb24e5156"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DownloadManager: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 44 over it, 1.11\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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b130db1e46b4c0689963d2a98089fe9b6008f1b739ec2dc3d968f2b53aaf98a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): N_m3u8DL-CLI/LOGGER.cs:103-128 | N_m3u8DL-CLI/LOGGER.cs:131-153 \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":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"048dbae914e42031041b4c2db8c98f5fbc6f384304cfeb5f45052004fce8b68e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): N_m3u8DL-CLI/DownloadManager.cs:449-512 | N_m3u8DL-CLI/DownloadManager.cs:592-655 \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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ddf11f3caed1d47f605063c81fe58b77803003d55e3e302fa0ec487bba650d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): N_m3u8DL-CLI/Parser.cs:633-651 | N_m3u8DL-CLI/Parser.cs:670-688 \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 \u0060N_m3u8DL-CLI/Parser.cs:633\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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ab618ec2323a1713d0a3a6eecde59c5f3d1b8316c3c95f6edf1ca8e451cc90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): N_m3u8DL-CLI/Global.cs:546-564 | N_m3u8DL-CLI/Global.cs:567-585 \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 \u0060N_m3u8DL-CLI/Global.cs:546\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060N_m3u8DL-CLI/Global.cs:546\u0060 calls \u0060GZipStream\u0060 and \u0060N_m3u8DL-CLI/Global.cs:567\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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed04ea010fc86062ac1bd7cab6b4932857e42a64c6df722036e9677b1ba9239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): N_m3u8DL-CLI/DownloadManager.cs:187-204 | N_m3u8DL-CLI/DownloadManager.cs:271-288 \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, \u0060N_m3u8DL-CLI/DownloadManager.cs:186\u0060 calls \u0060Downloader\u0060 and \u0060N_m3u8DL-CLI/DownloadManager.cs:270\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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23a7a7fbe275c9725e84cde0cbbf120dde14fea69a5bd7eb7063e7aaa29ea5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): N_m3u8DL-CLI/Watcher.cs:55-68 | N_m3u8DL-CLI/Watcher.cs:75-88 | N_m3u8DL-CLI/Watcher.cs:95-108 \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 \u0060N_m3u8DL-CLI/Watcher.cs:55\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":"N_m3u8DL-CLI/Watcher.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68a62ceb6b4b9bd9145e2af6497adcfc4d8db89ea0fd43f969c8e9d51f72f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): N_m3u8DL-CLI/Decrypter.cs:20-31 | N_m3u8DL-CLI/Decrypter.cs:37-48 \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 \u0060N_m3u8DL-CLI/Decrypter.cs:20\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":"N_m3u8DL-CLI/Decrypter.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9afe3ed8ff2149ea9768a88f6a734a80358aeb7b2423c10ce1dfbd4696016f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): N_m3u8DL-CLI/DownloadManager.cs:424-435 | N_m3u8DL-CLI/DownloadManager.cs:570-581 \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 \u0060N_m3u8DL-CLI/DownloadManager.cs:424\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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3057e192beb210a80af18eef6986dde99ae93bfa8e279d8f4406743d4222a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): N_m3u8DL-CLI/IqJsonParser.cs:88-99 | N_m3u8DL-CLI/MPDParser.cs:654-665 \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 \u0060N_m3u8DL-CLI/IqJsonParser.cs:88\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, \u0060N_m3u8DL-CLI/IqJsonParser.cs:101\u0060 calls \u0060Combine\u0060, \u0060Copy\u0060, \u0060Uri\u0060 and \u0060N_m3u8DL-CLI/MPDParser.cs:667\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":"N_m3u8DL-CLI/IqJsonParser.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"187f4bb2ad944202a21e153119865a42ac7c23b16860d8fe9b9b684ccd2b9dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): N_m3u8DL-CLI/Global.cs:182-196 | N_m3u8DL-CLI/Global.cs:516-530 | N_m3u8DL-CLI/Global.cs:645-659 \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 \u0060N_m3u8DL-CLI/Global.cs:182\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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd63aa842eb620fde867f9dc3d333bb9341ba928b8727ac9902c313ea8669fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): N_m3u8DL-CLI/FFmpeg.cs:98-105 | N_m3u8DL-CLI/FFmpeg.cs:110-117 \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 \u0060N_m3u8DL-CLI/FFmpeg.cs:98\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":"N_m3u8DL-CLI/FFmpeg.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9cc6be1574bbf3fe0fcc1992a82887c4d9e8217540f2a6b760b92b9aaedef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): N_m3u8DL-CLI/Decode51CtoKey.cs:292-299 | N_m3u8DL-CLI/DecodeDdyun.cs:29-36 \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":"N_m3u8DL-CLI/Decode51CtoKey.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e883c2082debb9b30ddb1c47c6e6a65b55a3a09063d6280de61f994bb64e23ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): N_m3u8DL-CLI/IqJsonParser.cs:33-37 | N_m3u8DL-CLI/IqJsonParser.cs:62-66 \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":"N_m3u8DL-CLI/IqJsonParser.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea5ec7569dfcbe47a875d58cf4efc6f0b2963f486ff6f5ab18077b6fe270b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): N_m3u8DL-CLI/MPDParser.cs:704-710 | N_m3u8DL-CLI/MPDParser.cs:767-773 \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 \u0060N_m3u8DL-CLI/MPDParser.cs:704\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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d31a1ab2249bfb50e85cf0f074c9427c6bc152e2b14e89d22e5887e0c9951f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): N_m3u8DL-CLI/Global.cs:749-753 | N_m3u8DL-CLI/Global.cs:757-761 | N_m3u8DL-CLI/Global.cs:762-765 \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 \u0060N_m3u8DL-CLI/Global.cs:749\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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cf1a154165b1d03e3af63ae4413f1b5bf7ed3be2fb4a127025c480faa56811"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (xUnit, NUnit or MSTest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: N_m3u8DL-CLI/Parser.cs: N_m3u8DL-CLI/Parser.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 160 in Parser.Parse at line 74. 1 of those changes was a fix/bug commit, and the other 1 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 2023-03-05..2023-06-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272023-03-05 17:30:51 \u002B08:00\u0027 --until=\u00272023-06-03 17:30:51 \u002B08:00\u0027 --full-history --no-merges -- N_m3u8DL-CLI/Parser.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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"727aac88bb52817367042be3fe66dbe658094de208ee659915d213211f3554b5"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"32774f44846a54268547357c1316d20fd1453ed53a73d8e3179d2df7f91642e6"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64c1909400435e3b4d839e1abcd3574645bd1bc5b037d90830e0a8c66f235ad"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78e032ae108b9671a259caa3a263eac98cc53c2ccb57daeaa97441001897c94"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f368d4bbc5230c3be3e5357f25f0df6a1297d5b3d49700e3a4c6fa345c8b73da"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"479453c85579404a5e28898a2a39b6afc576d41c9294ec098448d136a5160ae5"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f273ecd148f32aa8a3c6fecf1afd3978ea5d7ea328d4a3a1bfb9aa23ca0b1c"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c620a55d8f1be7ea3708307c2ca91ac44e77b465fe1aeff0a48cbb247159b60c"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"276a704c8e1d73b00397ef214d13269b5d372bfcc5228c16c4819c9119acf34a"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"508fe85597607ad74e91898b706137551b24f5a2d19d33e5f0eb947770c353c0"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b450667e35ceb10c627291c716c269c259196d7c786841e15534784ff680b5"}},{"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":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"654d8d961a5269ca11775dee7682de7282d939c4f5dd23b6a70fd2c475832a7b"}},{"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":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b378a492e5ea3f17956c80624de75e7f9db153e0e72e596c62c331a469a91f42"}},{"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":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e98b2621e0be9ec5a990801960b2da5c346753c2c3aae3fc328f2af4d385bfc"}},{"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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"932e48cfbb3bb28eca8a91f5683fdb600671357ddb5792e8817008139bdb6fda"}},{"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":"N_m3u8DL-CLI/ProgressReporter.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5385e0c1b298ef959f4ca7638a9e151f2a98ae51688cb9403ae0c6d978f1b468"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"692bf41994f372cd79084cbb264d323d71766faa97ae393ef37e54306b1c8d73"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/HLSLiveDownloader.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cd4f67e147338f50c6ff86bd189bd8808b6de36c8090906f071cb35764f0af"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33f8af352e0e66950b90feab6cbdd7f134484402b03b8e4680b797d2684d88c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ea5919a4af9d7f18cebe3c9f0f95810bea207e752c184641ef9467e1b0c980"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3285fc794e6d951151668a971e99b45ea6612b553334b7cdf430a10d26ffee1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1893187f915af5042160393ade8872f97c36a8f4769116364d91ef7030f47c6"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060CombineURL\u0060 spells \u0060URL\u0060 where 18 names in the project spell it \u0060Url\u0060: 18 of 20 names in project N_m3u8DL-CLI spell the token \u0060Url\u0060 (18 of 20; unit: names in project N_m3u8DL-CLI containing \u0060Url\u0060). Peers: DecodeDdyun.GetVaildM3u8Url (N_m3u8DL-CLI/DecodeDdyun.cs:22); DownloadManager.externalAudioUrl (N_m3u8DL-CLI/DownloadManager.cs:22); DownloadManager.externalSubUrl (N_m3u8DL-CLI/DownloadManager.cs:24); Downloader.fileUrl (N_m3u8DL-CLI/Downloader.cs:20); Downloader.FileUrl (N_m3u8DL-CLI/Downloader.cs:34). Rename to \u0060CombineUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"963e1464620aedc8480dd4afdff079e1383a06bea14cf9b91f14c356194f35cc"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060CombineURL\u0060 spells \u0060URL\u0060 where 18 names in the project spell it \u0060Url\u0060: 18 of 20 names in project N_m3u8DL-CLI spell the token \u0060Url\u0060 (18 of 20; unit: names in project N_m3u8DL-CLI containing \u0060Url\u0060). Peers: DecodeDdyun.GetVaildM3u8Url (N_m3u8DL-CLI/DecodeDdyun.cs:22); DownloadManager.externalAudioUrl (N_m3u8DL-CLI/DownloadManager.cs:22); DownloadManager.externalSubUrl (N_m3u8DL-CLI/DownloadManager.cs:24); Downloader.fileUrl (N_m3u8DL-CLI/Downloader.cs:20); Downloader.FileUrl (N_m3u8DL-CLI/Downloader.cs:34). Rename to \u0060CombineUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"47198e1d83cbf40fa61b294ce3085e4ce220fab17cd832abab1b782893e82e0e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Change font family\u0022 repeats the code it sits on: 3 of its 3 words (change, font, family) are already in \u0060function changeFontFamily(configName, e)\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":"docs/gitbook/gitbook-plugin-fontsettings/fontsettings.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f000df166141439f510f98ba49e32be9ec5d3dd7d60093ea1c0f78d9c4eac714"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create buttons in toolbar\u0022 repeats the code it sits on: 3 of its 3 words (create, buttons, toolbar) are already in \u0060BUTTON_ID = gitbook.toolbar.createButton({\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":"docs/gitbook/gitbook-plugin-fontsettings/fontsettings.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66b61463fcbfe9f6a7a78a1239c4cba98cd3fc49dca6c71c7f147cea94af3d8"}},{"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":"790a9543b70547f757e1de4cbda1dd85897db699791bd5a8fba7e9d0cc1821f2"},"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":"dbfc581ab58aa3202615cbc8a2eb8e734843f07a93511e9a0740c8fc50daf989"},"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":"a0ad41e49d4de26a23b01342c5111ed6003663e9fb555ba850d42cf376a9f994"},"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":"ccbaf1d7ee981b941b56aea64b8fa4a85bd3186ec9cb1c22bf960e3357c6b8ff"},"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":"01dc49eebdd0dea104b54035826a369aabf81760f9ca3415a6b3d7de27b0cf76"},"taxa":[{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"067296a8e4558e2551c76c6f3dbce0657a4b2c0a98470798c3e08be8f7b14afb"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3473000995eb69b5aef69ac519bbf4a543189576272d0cb70e4fd8b24470128c"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce0e45894f59e841ca0393100e88176155a94d2ef5853683a259e1eb21527d04"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"57218d95d05bee447d696b790456ec63d4908215514685efcf597e56edf7537a"},"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":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3c20d795ffc7a0ebc965149d93518a2c8328d7f1e60fc256ba9fa0a0b42ed5"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"461254e20a10e2c985e772859b3cc9c2ba1dbc73c4b8bad1b6fe25499b58178a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37cac3ab0fedbb6d7540c5e403208fed792060a42e0a7b7667c489d67c029aa"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0220b30f499db239b2e3fea47441c8b8728d6754e7086f77d3eecb74163b6c"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/CSChaCha20.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a377fd2221ccf6492d7ae51e1652e76b3159ee41605ab19f36e7b804ddd1df"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ee94db94786edf648d7797b73365bb37622a4fdd02848486c532073382664f"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 11 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: N_m3u8DL-CLI/Decode51CtoKey.cs, N_m3u8DL-CLI/Downloader.cs, N_m3u8DL-CLI/FFmpeg.cs, N_m3u8DL-CLI/DecodeImooc.cs, N_m3u8DL-CLI/HLSLiveDownloader.cs, N_m3u8DL-CLI/LOGGER.cs, N_m3u8DL-CLI/IqJsonParser.cs, N_m3u8DL-CLI/Watcher.cs (and 3 more) (17 orphaned of 17 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 17 of the 23 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Decode51CtoKey.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ed33abcbca55de2be694bc4353dbdc7c63c2332b5fa5d327dca886de4fba41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c842cd253e0c93c19878a77e9832ea942e066e1d720997718130924871bbd4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/FFmpeg.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a512237284c674fef9a14674fa3de8a2a881c4a71e0460c1a8bff84da309659b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/DecodeImooc.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3945f69196895423b22daf8eacc520708939928bc501808f894e4e573561eb9c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/HLSLiveDownloader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4d819dfc7d369e2b34a32f1a022a1ba841296c949b656685a19bb1a984ed92"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5d61cfcf907b88823019773f57218efcaf76f9635167b28981d977e2cd3d44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/IqJsonParser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ec51fd5eec2b184a4265e7a371c072635ba247a1d10d5d13f5e7ec0bf6b7c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Watcher.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75077230bd46b03ed0e84d89c62fc63ca80ae69b5eb82539bb4188c0354eab0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/MyOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"166c9661c147f10cc56028089c654afea236799ffd5dfe3c7d9f7af9b699bb32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Decrypter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f55778f704ce612b41178b6d9a936da5de45bb6de11bec7c71646985cdbbac1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/DecodeCdeledu.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2267279673df92f910669966a6780fb00554144d969642eb8e57b01dfb0b32b6"}},{"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":"540fd476d9a115636766d3b9ab6efdc54a7c1ba35a0aab838919e126de3e7071"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: FFmpeg: \u0060FFmpeg\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 (OutPutPath, UseAACFilter; e.g. \u0060OutPutPath\u0060 at line 30). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/FFmpeg.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9f749c555e29015a1ea0f519c5e4436ed4bf3c89dd2a3398562adb1074067e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Global: \u0060Global\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 (noProxy, useProxyAddress, BYTEDOWN, VIDEO_TYPE, AUDIO_TYPE; e.g. \u0060noProxy\u0060 at line 31). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ed7141a89c54847956b5ce0236682b8ec2b7cdd175885b480c7dec0d9b7458"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: LOGGER: \u0060LOGGER\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 (LOGFILE; e.g. \u0060LOGFILE\u0060 at line 42). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6b1f3871c9efea96fbbbffb47ed1ea5761d7eb239a50673307b24c6adb6b9d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: DownloadManager: \u0060DownloadManager\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 (PartsCount, partsPadZero, cts, Count, DownloadedSize; e.g. \u0060PartsCount\u0060 at line 123). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"070a49d575c5b78f0db6443864b1071a1b1d849852543f7236a048f707c48d37"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: MPDParser: \u0060MPDParser\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 (MPD_URL; e.g. \u0060MPD_URL\u0060 at line 132). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17d510ce0225ca153ebde20fa25af42fda64ae5ff1eb0e9292d07fa6fd14e5f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Parser: \u0060Parser\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 (hasAd, RangeStart, RangeEnd; e.g. \u0060hasAd\u0060 at line 326). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"426877edd2fe8d259c484fbee2db0ccc8929afc838cfcedde598fc142a645994"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Watcher: \u0060Watcher\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 (totalDuration; e.g. \u0060totalDuration\u0060 at line 23). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Watcher.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb1800c91a92b314a76476e21da6f891f3b12ae48b773de2a14fafca179de7a"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd5b17d0d317fb166ed92d04e57d64e1571e942164c08b2838ba0c45b854f77"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d506e66deb3e39537a259e74bc564f0e8dc67074c3bdff50a405732c9d02b01"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ac8258a1b3c82ef93c9925576e290893c08b634a45aba7f7c70dfeb0a7ae67"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"086ee5344073ea327ca7c7314940a87f536e7d490564666707111afc901475b6"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"8081d021b66712c8dd368949e5296c5714e7e10e3d5781a38258f109e253c8f0"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a284aeb7899d1ccb9ff09a285fb0a04b5f63dc944267804d5977121ac6493dd"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab16b3947adeca971f92a48e592b873971b1cde80e762e96f1444cbb381462f1"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efe1b247d9ed1c62c6b2aac794147aec7f67894a39e4eb69082a6b02494202d"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"39feb993f7c3d37635c8d0f0990e954606268c336417dfc2ad382bb6b9bc8e15"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c93438bf30bda2eac8d318804fa48ad6d7c06df5f6bf6dc985b203fc7158cf"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae2f9b6fcabdcaf6917d6cec41e51daadb535937c34627be96a678e358ca28c"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc162871e367fc528456b0d8539c76d38dd642fdb298e5298c23c529748c82ac"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f8d0dd38b8d89e34048d984ce50ea9f2db2928e08367da4b0135836a74b5f2"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6389ee311b27ca351d3e8793122a378a0334615305f76d48eb121554850677fe"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c966dec332f7899942dc67b186d0bfc8ee9e744c6492455d6a67b9c3255e339c"}},{"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":"N_m3u8DL-CLI/Downloader.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"42214f659c0fdb6c2a9444298d99598dd02675ba9662e34d6ccc9dd95dc79d23"}},{"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":"N_m3u8DL-CLI/FFmpeg.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be8b59f798b2600c8c47bb9a91774fabdb5a2d5aabcac8a193ae08f94023391"}},{"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":"N_m3u8DL-CLI/FFmpeg.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bca51aaaa45732f4d62993f16a2dca817e7c2c43511677b894e09e09a0c0409"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a59990c22235ed3c413d82bff1db64fe15a5ea0f90506651f29fb249c0500b"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e222c0053cb9b747b20657142c1010e7f0bdb126907a9df2bc73a98e6ae646"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bfc1ab7a03e81d479c5e5d2eb6ac2391d15c3e1139a98b59e207f4386cd4cb"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc10cf73826fe384bd4ce4e9601cbff1d295702e67c37852e41b5dfd6afd0686"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a750e54454acbe6e0b1bfd6d14fffc4ee19f43c0021054c40c8ed32f226350"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac1028b33c173696b612f8544f495aa42d692981c12080ab33e81865f401f12"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a56808e5d8a04ac89c81e29b02654bded35d51373a5876e41e62a9b9d85593"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba016d1e3f9a380c7b5d807890a034935d516fc96ae28bd67ccb118804bf425f"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0c8bf99dc3ac63b3eb6a6ea4fdbcd237fbfbb0550636d3888f8367d595c165"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea50593760dc9fcba973b6b1852c19c50834a0afa4890467b6dca822cc73e1e"}},{"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":"N_m3u8DL-CLI/HLSLiveDownloader.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dacd5ae2d8c572a49398f41547f84cbe2567bdeb196e1c6466cec752fa283e"}},{"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":"N_m3u8DL-CLI/HLSLiveDownloader.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e82e35e043d1d849465534f3e7cdb929bdb89ac886c7094e8c177f45e374ec"}},{"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":"N_m3u8DL-CLI/HLSLiveDownloader.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc7a0dd3de29ac337c8dd9fc6aa4ed3dab3af7cf2561dd2b1432ef17d22ddab"}},{"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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"020cd72b8b374a55b2e471d50727b8e099f065fa2a5a55352e485dedf7ccd359"}},{"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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedfa6aee43abcb460e92e318b7ff9ae1db3f6134c2c461019d6d4ac34c8219d"}},{"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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54cbb708d6438706c97050caf1f6270d5f138c0ddc793ff886568995bd5aa94"}},{"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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a67b126885a640b79f6a561398059836c850c77e47113e19078d0c852a1d57"}},{"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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"24094fc28cf4726ef10e52dfc3b8f5456541f6baef49e8edbba9f280d1071abe"}},{"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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d6f3ff982854b6df44474912d13c40bfedbf90ae2c0ca342cfc3e7d2e2f2f8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a035c560f6aaa322495e9ce740124ee0f365bc36dcd80c7dfb8513ec9c0af9b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 12 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb667077adba33ffcb035d343961cd7bd41766d6ea733fdbc0400377b2667a80"}},{"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":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d8eaf1e483a6629cd7b2280afca33b6b0f8cf8576e272276ef25b2f71491d7"}},{"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":"N_m3u8DL-CLI/ProgressReporter.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4963e28db9de5ab3bd4671466ae9856c43a946da1ff4f59f11b5c18bb625aa3"}},{"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":"N_m3u8DL-CLI/Watcher.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdec0dda0b4b245882200d4e17294d5aab2726dd2bc93b245fd5e3b594c8b887"}},{"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":"N_m3u8DL-CLI/Watcher.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"94433c59e17e265a9be1b92684ef58c24ec3a4a2ded7e24a69ceae4658d22adf"}},{"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":"N_m3u8DL-CLI/Watcher.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d81d7e80bea1021ed9f5517c0d77e3d0f581ede0ba7d984a7e5f3971ba6dad2"}},{"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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060N_m3u8DL-CLI/packages.config\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/packages.config"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b463991e094fe0560abce5d945be30d345b538ed77957b4b08df23bade8431a4"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060ServerCertificateValidationCallback\u0060 is assigned \u0060ValidateServerCertificate\u0060, which 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":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb64153c81e13a5665591459fd455b4e5317246bfef961614c35eb8dfc86a75"}},{"ruleId":"S1","level":"warning","message":{"text":"Obsolete TLS/SSL protocol version enabled: \u0060SecurityProtocol\u0060 explicitly selects \u0060SecurityProtocolType.Ssl3\u0060, a protocol version that is broken (SSL 2.0/3.0) or withdrawn (TLS 1.0/1.1, RFC 8996). Offering an obsolete version does not merely permit it \u2014 it is what a downgrade attack negotiates, so the weakest version on the list is the one that decides the connection\u0027s strength. Stop pinning versions here: leave the protocol unset (\u0060SecurityProtocolType.SystemDefault\u0060, or simply do not assign it) so the connection uses the OS policy and picks up TLS 1.3 and future versions without a code change. Where a version must be named explicitly, name \u0060Tls12\u0060 and \u0060Tls13\u0060 only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"38535b46ac629312533ab4bda36f0582183cef735ed5a78abc2b53d610fa3633"}},{"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":"N_m3u8DL-CLI/Decode51CtoKey.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f798a3e0607eaaa1ed2d17c22c7bbc714e2a195975921e264f9e3a6ca6f6329"}},{"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":"N_m3u8DL-CLI/DecodeDdyun.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ceddee387d455d13ed74080a50f5a1020facff0b8a6cc292bbbd43e8a066f4"}},{"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(videoPath == \u0022\u0022 \u0026\u0026 audioPath != \u0022\u0022) || Global.VIDEO_TYPE == \u0022IGNORE\u0022\u0060 appears character-identically in 2 files \u2014 N_m3u8DL-CLI/IqJsonParser.cs, N_m3u8DL-CLI/MPDParser.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":"N_m3u8DL-CLI/IqJsonParser.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6228584912c4d788fb345e39ddc8a019f97fa210f58cef550c5b7bec6fffde0"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): \u0060RedirectStandardOutput\u0060 is set here, but \u0060StandardOutput\u0060 is not being read when \u0060StandardError\u0060 is read to the end \u2014 it is never read, read only later, or read only in part. The child blocks as soon as it fills the StandardOutput pipe (~4 KB, never more than 64 KB), so it never finishes and never exits, and the read or wait above never returns: a \u0060WaitForExit\u0060 timeout after a read does not help: the timeout bounds the WAIT, not the read that precedes it. Drain every redirected stream before blocking on the child \u2014 read one on a background thread (\u0060BeginOutputReadLine()\u0060 with its \u0060DataReceived\u0060 handler, or a \u0060Task\u0060 running \u0060ReadToEndAsync()\u0060 started before the other read and awaited after it) \u2014 or stop redirecting the stream you do not consume."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb9fe22b490e1b119934c47b185c27b2401f7261b8d5c4a125747892a2ead94"}},{"ruleId":"X16","level":"warning","message":{"text":"Truncation loop has no floor \u2014 the value can be consumed entirely: \u0060fileName\u0060 is shortened by one character per iteration here (line 337), and the loop\u0027s only exit is the length test on line 335 \u2014 where \u0060fileName.Length\u0060 appears as a TERM of a larger expression, never compared against a bound of its own. So nothing stops the loop at one character: it runs until the test\u0027s other terms come under the bound WITHOUT any help from \u0060fileName\u0060, which leaves \u0060fileName\u0060 as the empty string \u2014 and if they never do, the next iteration evaluates a negative length and throws \u0060ArgumentOutOfRangeException\u0060. Neither outcome announces itself, because truncating to nothing is not an error at the point it happens; it surfaces later, as a path that names no file, a key that matches nothing, or a record written blank. Give the loop a floor (\u0060\u0026\u0026 fileName.Length \u003E 1\u0060), or compute the length once and clamp it (\u0060fileName = fileName[..Math.Max(1, budget)]\u0060) \u2014 and decide explicitly what should happen when the budget cannot be met, rather than letting an empty value be the answer."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c5f5c57891f8118f19dd08b352611871f4ae4bea2bf960b9efdef58f9bdd0b"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060ChaCha20\u0060 declares a finalizer (line 522), 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":"N_m3u8DL-CLI/CSChaCha20.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"868d31acedfaa52084064fa372198bf434f013e27e5d80771330727b85ddd04d"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060Run\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the process working directory (changed at line 127, put back at line 144) and the \u0060FFREPORT\u0060 environment variable (set at line 130, cleared at line 143) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: the process then keeps the overwritten value for the rest of its life, and every later relative path, child-process launch or config read in ANY code resolves against it. That failure is silent and remote from its cause \u2014 the method that breaks is not the method that moved the directory. The window is also not private to this call while it is open: the working directory and the environment block are per-process, not per-thread, so a concurrent thread doing file I/O during it resolves against the wrong directory too. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060ProcessStartInfo.WorkingDirectory\u0060 and \u0060ProcessStartInfo.Environment\u0060 scope both to the CHILD \u2014 or build absolute paths. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/FFmpeg.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7a3fa3de020bc6a20e6c33d0d1f73e49bbebaa86ced52a372f002f65982024"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 0/1 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: WorkStreamsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/CSChaCha20.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d16d93dfaacb209b9948a797ac3fb852c6f660828135270678f82c3e5f5c706"}},{"ruleId":"X22","level":"warning","message":{"text":"Release of a primitive the \u0060try\u0060 may not have taken: \u0060LogWriteLock.EnterWriteLock()\u0060 runs INSIDE the \u0060try\u0060 whose \u0060finally\u0060 calls \u0060LogWriteLock.ExitWriteLock()\u0060 unconditionally, so when the acquire is cancelled, times out or a statement before it throws, the \u0060finally\u0060 gives back \u0060LogWriteLock\u0060 although this method never took it. On a semaphore that raises the count past its limit (or throws \u0060SemaphoreFullException\u0060) and admits a caller the exclusion was there to keep out; on a lock it throws from the \u0060finally\u0060 and hides the original exception. Take \u0060LogWriteLock\u0060 immediately BEFORE the \u0060try\u0060, so the \u0060finally\u0060 only runs once it is held."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d02c5904326caf3b337a5c4f1f20398bbf8929bc2d35a5fbf34be4913903979"}},{"ruleId":"X22","level":"warning","message":{"text":"Release of a primitive the \u0060try\u0060 may not have taken: \u0060LogWriteLock.EnterWriteLock()\u0060 runs INSIDE the \u0060try\u0060 whose \u0060finally\u0060 calls \u0060LogWriteLock.ExitWriteLock()\u0060 unconditionally, so when the acquire is cancelled, times out or a statement before it throws, the \u0060finally\u0060 gives back \u0060LogWriteLock\u0060 although this method never took it. On a semaphore that raises the count past its limit (or throws \u0060SemaphoreFullException\u0060) and admits a caller the exclusion was there to keep out; on a lock it throws from the \u0060finally\u0060 and hides the original exception. Take \u0060LogWriteLock\u0060 immediately BEFORE the \u0060try\u0060, so the \u0060finally\u0060 only runs once it is held."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"947c2d4b6862aebaecfd1d9f83ffbce6b39ea14a5fd5948e51d0fb9193929efb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbdfc74107504f4c8d2cf413eccb9ce0ae362a44e9fe9d712c2aea1ce39484b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa4ac46b28ff3c53d6bf6beccecbeb5d910543a473f11d95879b9c6aa5dd091"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90f6a6c3b277d997906d5b472c2b4446ba56267c2ee7053ebb32981eeec3495"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"9687d2ec49393b4d20ac438ab98017f4f0efcd7bed770452967fdbbfcbf99b1a"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"63508280cd3926110a82b5510c888016f80d3acfe3823576705512a919c315b1"}},{"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":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bd691d3e8a5b9564b417a925132f4700092172477c66620f6cdffa55049737"}},{"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":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"654e74d0b5b55b92d1edb05746df3d3b90e0937f7b230222211bee9f89ad38ec"}},{"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":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"795a0960bf963360fc9736b20d22c7852df2ecc96c93fd272f3d299aaa814fc8"}},{"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":"N_m3u8DL-CLI/LOGGER.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3424265fe210d3c94b67bd30ee5af4b7a429060d16c5d5ebe470e1848d66ca6f"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0052852492dc9e726c7bfce3e97b71712f33a39012a3bae016ff71f19a948d"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b8ae7e388d1a002608d1093c08a59a1848614de71f4a548c950a29c3f81fd7"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7aba29a0cfc00b5379533950e5c1a60418b5f0fa1346d2e5319f96d572338d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0b84375715d34b79dd143c89658fcf52b659b05a206e91cf1225290dc583da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f71ff1f5ad3f922935b1a63df34cfa5168dd833e41e7cf3d6fa2eadaffb95f"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e45cca3d304164659ff63b351659bbc622d70af337261f5f0783d9ceea3fef"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74f067748d97870a58520c8b4ced0689e13b347875ca16d410940fa51d90fc8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d7afec55d747f9ec085707989bceea5fdf8c7b29cdd082bc9124aaa3e2ccb5"}},{"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":"N_m3u8DL-CLI/DownloadManager.cs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"405c04752cdc72c49113ad461258e366f0b5d8e60a40869f4f4b5e0154cdd514"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"b091648b300e16effba3f3ba8a2cc2d46cf1d62c74b37eb5027dfd6debf77b1d"}},{"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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c8fce7ae2f43ceccd3c95dbf788156e69c35f92216805031c59bbfac54ddf4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"9deec7c6020d2a0b29527c9fc14b38d6f4938ad9df53eb9f274114d15e5ad3d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"N_m3u8DL-CLI/Parser.cs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b53901803524ae5adba3d39bb7e3e414d2eebed88abaf7da76bd87db001af4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"171ef8d84ac2654d14736be9ae6474a0b028c4ca86ee45b314903a7d2d27f469"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"N_m3u8DL-CLI/Program.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb9b4cd0c4963d7bca1845e2a2f7ad75d986a2127e3c154884d85e0447264c0"}},{"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":"N_m3u8DL-CLI/ProgressReporter.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf87736a067f3f82c146c8a216b302df622ae1b8af4cbb4dc11ba33df4a9c0f4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetTagAttribute\u0060 swallows every exception into \u0060return string.Empty;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"N_m3u8DL-CLI/Global.cs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b47e9d3d43b4b1e856d2029fa5972978f90a7ca0c5cd256bdcb52d7306ea46"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GenerateM3u8\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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c7ad76e43cf88db138475a3aff2a3fa2b2679c4c14b9e57f1db1767666bc53"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IntOrNull\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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8fe9d7e218bcb82a5c1284b2f088484a04ba881c5371ed56b1dedacc39da03"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060DoubleOrNull\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":"N_m3u8DL-CLI/MPDParser.cs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"a077113cdc2121a04ad90f15b46be51b742a2b982aa327ca00c77ecc0c3fd233"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-776","guid":"9228794e-eb37-cc55-9570-3bbc19789fef","name":"Improper Restriction of Recursive Entity References in DTDs (\u0027XML Entity Expansion\u0027)","shortDescription":{"text":"Improper Restriction of Recursive Entity References in DTDs (\u0027XML Entity Expansion\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/776.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-88","guid":"32dec161-013d-ac58-8599-1309e12e67f5","name":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/88.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"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"}]}],"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":11,"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."]}]}