{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"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":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SimpleDownloadManager.DownloadStreamAsync (cyclomatic 209): SimpleDownloadManager.DownloadStreamAsync has cyclomatic complexity 209 (threshold 15). Of this number, 202 points are the body\u0027s own statements and 7 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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a458433b9f082dad86ddd0ae7c2cc808b2a548e8cb18ab79f5f6b65d0a6a5f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleLiveRecordManager2.RecordStreamAsync (cyclomatic 150): SimpleLiveRecordManager2.RecordStreamAsync has cyclomatic complexity 150 (threshold 15). Of this number, 141 points are the body\u0027s own statements and 9 belong to 2 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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60860100b0bc2ad627932aa2cd33b8b69cc93f584c5c52815c7349eec2d135c"}},{"ruleId":"D1","level":"warning","message":{"text":"DASHExtractor2.ExtractStreamsAsync (cyclomatic 114): DASHExtractor2.ExtractStreamsAsync has cyclomatic complexity 114 (threshold 15). Of this number, 102 points are the body\u0027s own statements and 12 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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2400c85ab6a569155323d9f18cf986306f6b6a3a89ea9f08044bc7b98c04f2c3"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.DoWorkAsync (cyclomatic 111): Program.DoWorkAsync has cyclomatic complexity 111 (threshold 15). Of this number, 110 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"81269c48c00347610414e4d42d9a5e9790451215eef41f3547568f0b45713781"}},{"ruleId":"D1","level":"warning","message":{"text":"HLSExtractor.ParseListAsync (cyclomatic 72): HLSExtractor.ParseListAsync has cyclomatic complexity 72 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 3 belong to 2 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":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b376ed00e7effb1a23afc20763c152681d7b0d9efe3b27fbaa8211b2e9dbe6"}},{"ruleId":"D1","level":"warning","message":{"text":"FileToolUtil.ExecuteAsync (cyclomatic 65): FileToolUtil.ExecuteAsync has cyclomatic complexity 65 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 30 belong to 2 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":"src/N_m3u8DL-RE/Util/FileToolUtil.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"80999693cad1f32f524644795913ff5555da2a019db485a079cf5ebe313119f5"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeUtil.MuxInputsAsync (cyclomatic 60): MergeUtil.MuxInputsAsync has cyclomatic complexity 60 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5fe06d3361a54e9748e252926230a058a7a2acad93d641b3c9c649e4c6dc21"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageHeaderUtil.ProcessAsync (cyclomatic 54): ImageHeaderUtil.ProcessAsync has cyclomatic complexity 54 (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":"src/N_m3u8DL-RE/Util/ImageHeaderUtil.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fb3bde72ebafb72327a3a660b08efb850a7d0359e19b46bf8b53e4f28a932c"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleDownloadManager.StartDownloadAsync (cyclomatic 49): SimpleDownloadManager.StartDownloadAsync has cyclomatic complexity 49 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 28 belong to 8 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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87334a5bf14dd884ced1f409c32ad34f133338af36bf240522ec1fc92e1895e"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleLiveRecordManager2.PlayListProduceCoreAsync (cyclomatic 44): SimpleLiveRecordManager2.PlayListProduceCoreAsync has cyclomatic complexity 44 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 24 belong to 5 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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aafda17d2bb90e8d37fa28ef69065a313feace9bc7423f88cc29b19c1426f89"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingTrack.Read (cyclomatic 44): RecordingTrack.Read has cyclomatic complexity 44 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE/Util/RecordingTrack.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"18af8b2699b2081c9d98182cf8298e0a5495b77adafd5b2657dd4543607af45e"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleDownloadManager.DownloadPartsAsync (cyclomatic 43): SimpleDownloadManager.DownloadPartsAsync has cyclomatic complexity 43 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 2 belong to 2 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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e99bd43b512a12a22ebc8cfdfa22aefa00c28bf1322e43958b85228550736cc"}},{"ruleId":"D1","level":"warning","message":{"text":"MP4TtmlUtil.ExtractSub (cyclomatic 40): MP4TtmlUtil.ExtractSub has cyclomatic complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 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":"src/N_m3u8DL-RE.Parser/Mp4/MP4TtmlUtil.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3942f6d35c0c375daa299343bf9ea48c5c3dbfc465ef4e63c74b8827d1d492"}},{"ruleId":"D1","level":"warning","message":{"text":"TSInfoUtil.ReadServices (cyclomatic 39): TSInfoUtil.ReadServices has cyclomatic complexity 39 (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":"src/N_m3u8DL-RE/Util/TSInfoUtil.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"df08727cf2798a0d5ee070b0d5c2ccadc5f76d06078310515aab1e0731af247d"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleLiveRecordManager2.StartRecordCoreAsync (cyclomatic 38): SimpleLiveRecordManager2.StartRecordCoreAsync has cyclomatic complexity 38 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 18 belong to 6 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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d0e120c16c3352265a560416b67c3b68265d6d04eb46a3442016fe7da02c2c"}},{"ruleId":"D1","level":"warning","message":{"text":"MP4DecryptUtil.DecryptAsync (cyclomatic 38): MP4DecryptUtil.DecryptAsync has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"384538c223c09353370c1adbdaec81a06821e9f42518dbc831994ff1bde41544"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterUtil.DoFilterKeep (cyclomatic 37): FilterUtil.DoFilterKeep has cyclomatic complexity 37 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 10 belong to 10 function literals inside it that branch. 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":"src/N_m3u8DL-RE/Util/FilterUtil.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe916cb2e9532fe470881ae57e97cdc077f95565500e96ad591947f0f1a15b2b"}},{"ruleId":"D1","level":"warning","message":{"text":"VodStreamPlanner.Build (cyclomatic 35): VodStreamPlanner.Build has cyclomatic complexity 35 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 7 belong to 5 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":"src/N_m3u8DL-RE/Util/VodStreamPlanner.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfb884cb9745db1bca327e00d3bd1d6691d7a202faeafcf817959b0b5c5d512"}},{"ruleId":"D1","level":"warning","message":{"text":"HLSVariableSubstitution.Process (cyclomatic 32): HLSVariableSubstitution.Process has cyclomatic complexity 32 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 4 belong to 2 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":"src/N_m3u8DL-RE.Parser/Util/HLSVariableSubstitution.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abf2c72d672a94cf11bb48edb17c171c1318c23e248094a1047c2294cab1f00"}},{"ruleId":"D1","level":"warning","message":{"text":"DASHExtractor2.RefreshPlayListAsync (cyclomatic 30): DASHExtractor2.RefreshPlayListAsync has cyclomatic complexity 30 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 11 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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ab164a7250a4f6dec04c3fe7101ce98c8907cf09871826eaa91b064f0f7d83"}},{"ruleId":"D1","level":"warning","message":{"text":"MP4VttUtil.ExtractSub (cyclomatic 29): MP4VttUtil.ExtractSub has cyclomatic complexity 29 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 7 belong to 5 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":"src/N_m3u8DL-RE.Parser/Mp4/MP4VttUtil.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0524eb72b8c1b0e481b7865b418fd9d8081de5a49406fe47ff711840e1e94fe"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCommands.CreateFileCommand (cyclomatic 27): ToolCommands.CreateFileCommand has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 141). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/CommandLine/ToolCommands.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c5db20f9e11ffec8796f9738c39e40028fec7b7b7f9280ac31fa44b2d44f7d"}},{"ruleId":"D1","level":"warning","message":{"text":"MSSExtractor.ExtractStreamsAsync (cyclomatic 26): MSSExtractor.ExtractStreamsAsync has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/MSSExtractor.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2becdfe0876346b8a9abe08fa6fb77ec6564748cd6975b19816bc2924875d9ac"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultHLSContentProcessor.Process (cyclomatic 25): DefaultHLSContentProcessor.Process has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSContentProcessor.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"301f0cd79a97cca4b6b095bd85db9a5772fe5c31b518f157620ddfc9ea4ddf2c"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleDownloader.DownClipAsync (cyclomatic 24): SimpleDownloader.DownClipAsync has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to 2 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":"src/N_m3u8DL-RE/Downloader/SimpleDownloader.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bff35fbb582751c2073d12e8b72a1646042519491218d50eb3e36d120a9e58a"}},{"ruleId":"D1","level":"warning","message":{"text":"HLSExtractor.ParseMasterListAsync (cyclomatic 23): HLSExtractor.ParseMasterListAsync has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e0d84000860d77cc83caa27c91ba69bda55f58e4f2e6d4aef1461005de7403"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaProcessingColumn.Render (cyclomatic 22): MediaProcessingColumn.Render has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Column/MediaProcessingColumn.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef890a84b4aeeb8cb859f73ab94de509c3a1ce31864bec5dfc5a89745477d1d"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveSegmentDownloadQueue.AttemptAsync (cyclomatic 22): LiveSegmentDownloadQueue.AttemptAsync has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/LiveSegmentDownloadQueue.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fc35c599d66077e9403d383e2b4c5636307523a87c30e5f4ff92d0d5a1af3c"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveSegmentTracker.FindMatchingIndex (cyclomatic 22): LiveSegmentTracker.FindMatchingIndex has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 belong to 6 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":"src/N_m3u8DL-RE/DownloadManager/LiveSegmentTracker.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5337b8dd8a7be51bb0db67152eaa252aa55e9a1caf1918483dace3624b4b34"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeUtil.MergeByFFmpeg (cyclomatic 22): MergeUtil.MergeByFFmpeg has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2710be8db6340eab7935217f1f999e6935a329798a58e3442462c23de7133459"}},{"ruleId":"D1","level":"warning","message":{"text":"MP4MediaInfoUtil.ReadTiming (cyclomatic 22): MP4MediaInfoUtil.ReadTiming has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"06645ff47d99e695e8cd9c5c94733bdd62c8ff22fe263f0626c25cd80f6ef1b5"}},{"ruleId":"D1","level":"warning","message":{"text":"MP4MediaInfoUtil.ReadTrackInfo (cyclomatic 22): MP4MediaInfoUtil.ReadTrackInfo has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 165, 138, 149, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc19e59a6ed8defec3f022b95ff2860beb3bae447ee3ec3bbd2a7ac0c9f1073"}},{"ruleId":"D1","level":"warning","message":{"text":"HTTPUtil.GetEncodingFromBom (cyclomatic 21): HTTPUtil.GetEncodingFromBom has cyclomatic complexity 21 (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":"src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c40973f5f58014330577f0b60910c36fef8d965b87eb983296bac6481ea3d2"}},{"ruleId":"D1","level":"warning","message":{"text":"NetscapeCookieFile.Parse (cyclomatic 21): NetscapeCookieFile.Parse has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Util/NetscapeCookieFile.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1bf1d9d25344599c70c85be6e29f1d8880c05983a73e4d91e198c1ab1a4098"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandInvoker.ParseStreamFilter (cyclomatic 20): CommandInvoker.ParseStreamFilter has cyclomatic complexity 20 (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":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9c8f324fc0deba5fad1a70bc353394aa4ada4f106e8388f4ddbe8393e249f2"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterUtil.SyncStreams (cyclomatic 20): FilterUtil.SyncStreams has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. 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":"src/N_m3u8DL-RE/Util/FilterUtil.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0116d75991c02748eeec925b9c0620eb1364f3355cc9c65fc740ab5977d7528"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeUtil.MergeByFFmpegAsync (cyclomatic 20): MergeUtil.MergeByFFmpegAsync has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"582505ea3030482d47272962e4922a37fef943255ab5178a1628bc3e9bf36005"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingTrack.PrepareAsync (cyclomatic 20): RecordingTrack.PrepareAsync has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/RecordingTrack.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff3d609d8254ba5a04ef9a0a4fc21bf95fd47d11e38d6d66449fda6d892cadc"}},{"ruleId":"D1","level":"warning","message":{"text":"DASHExtractor2.ReadTrackMetadata (cyclomatic 20): DASHExtractor2.ReadTrackMetadata has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"3997d0a6478ae2cff5903c636d45567d28963a3fc2f691dae1c38036df34742f"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultHLSKeyProcessor.Process (cyclomatic 20): DefaultHLSKeyProcessor.Process has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSKeyProcessor.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e58b8dbaf4ec219d26dcae30d6fdcbf3619d8c95dc464d18850c299a0a1b2f"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigFile.Merge (cyclomatic 19): ConfigFile.Merge has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 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":"src/N_m3u8DL-RE/CommandLine/ConfigFile.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e960cb7bab68d389ef485ac8ec2422b7787532685e82627d4fad5600fcc8bb6"}},{"ruleId":"D1","level":"warning","message":{"text":"DoctorUtil.ProbeAsync (cyclomatic 19): DoctorUtil.ProbeAsync has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/DoctorUtil.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"089678c0e74f32b636caa637026b665f387fcab3899f209d7e35015e0fcff429"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaToolProgress.ReadFFmpeg (cyclomatic 19): MediaToolProgress.ReadFFmpeg has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MediaProcessingProgress.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eee4fdb097f5de48fa0bf0ab7155f8c48955b162414c332a0da22b62789f667"}},{"ruleId":"D1","level":"warning","message":{"text":"OtherUtil.FindAvailableOutputPath (cyclomatic 19): OtherUtil.FindAvailableOutputPath has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/OtherUtil.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e247a7b39a91b5adb800986840bea42a8907c0fb95e9d937d91165046738de6"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveCatchupWindow.Validate (cyclomatic 18): LiveCatchupWindow.Validate has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE/DownloadManager/LiveCatchupWindow.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c69ac0c79eebc67a4f26162be002d7be19ae5bb6bfff439180ec6b47afa2cf4"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamFilter.ToString (cyclomatic 18): StreamFilter.ToString has cyclomatic complexity 18 (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":"src/N_m3u8DL-RE/Entity/StreamFilter.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce432e4989b5341e5adc153d198e5e36fee96d619ae62056a0517b4479113ec8"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.CheckMediaTools (cyclomatic 18): Program.CheckMediaTools has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac15f403c54cbb6abcc0d3461890c4edaa94eb8fa002ca95d6854683f600c0d9"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadUtil.DownloadToFileCoreAsync (cyclomatic 18): DownloadUtil.DownloadToFileCoreAsync has cyclomatic complexity 18 (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":"src/N_m3u8DL-RE/Util/DownloadUtil.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4133f0517f150d6c5230ee9fc94a98b2663fb8c077ed30cef317d588bb5722"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterUtil.CleanAd (cyclomatic 18): FilterUtil.CleanAd has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/FilterUtil.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6a7895456b5f733a1cacba1273715e70a4b1d1f420921ce00c24c2b64d347d"}},{"ruleId":"D1","level":"warning","message":{"text":"MediainfoUtil.ReadInfoAsync (cyclomatic 18): MediainfoUtil.ReadInfoAsync has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MediainfoUtil.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56d110160274c1b671b66f926be9d8e3d7d4b0ef0d51cc4ff5be8bb7a452c0b"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeUtil.ConcatMediaParts (cyclomatic 18): MergeUtil.ConcatMediaParts has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5415bea1d0c3dffbc76c5b812701abd8b4501c2216b9cdc1cc8bd51981bf987"}},{"ruleId":"D1","level":"warning","message":{"text":"TSInfoUtil.DecodeText (cyclomatic 18): TSInfoUtil.DecodeText has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/TSInfoUtil.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9990e9b64742b30c6d02a30dbf004b63053e7f03407b13f4a804c93082258254"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkInterfaceBinding.Create (cyclomatic 17): NetworkInterfaceBinding.Create has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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":"src/N_m3u8DL-RE.Common/Util/NetworkInterfaceBinding.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b75f41dbf239d56956209a32386b9cc9842064b6630b396ec6c597e773f5078"}},{"ruleId":"D1","level":"warning","message":{"text":"IPTVExtractor.ExtractStreamsAsync (cyclomatic 17): IPTVExtractor.ExtractStreamsAsync 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":"src/N_m3u8DL-RE.Parser/Extractor/IPTVExtractor.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d2fe8ca2c970095e39c6f881412a49aba4fcfe5bba92df9261c3fb1e63e504"}},{"ruleId":"D1","level":"warning","message":{"text":"MP4Parser.ParseNext (cyclomatic 17): MP4Parser.ParseNext 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":"src/N_m3u8DL-RE.Parser/Mp4/MP4Parser.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebd349cf53809430a58d9f8f5234763c6c85ba8b0eaaf6ad1f25596c12d7403"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigFile.MergeUtility (cyclomatic 16): ConfigFile.MergeUtility has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE/CommandLine/ConfigFile.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f9c1b00eafbe27e0e3baa8a2ef26db9e2938204b95e76354c8c18ece949fe1"}},{"ruleId":"D1","level":"warning","message":{"text":"HTTPLiveRecordManager.RecordStreamAsync (cyclomatic 16): HTTPLiveRecordManager.RecordStreamAsync has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b372927bad8af462c8f72f4a65ea8a5b6f731670414bb4f81a3841b065f833"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatInputServer.RespondAsync (cyclomatic 16): ConcatInputServer.RespondAsync has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ConcatInputServer.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9481f246c18ec84df3fb802e68431f58fe6988b3b6ced358cee57651d9dbbd2"}},{"ruleId":"D1","level":"warning","message":{"text":"HTTPUtil.GetWebSourceResultAsync (cyclomatic 16): HTTPUtil.GetWebSourceResultAsync has cyclomatic complexity 16 (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":"src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c03b6edd8d8da74673258446d1438d394e67c69ebc8ab576925c5037a8b696"}},{"ruleId":"D1","level":"warning","message":{"text":"MSSMoovProcessor.GetSampleEntryBox (cyclomatic 16): MSSMoovProcessor.GetSampleEntryBox has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"793ae3e1ca6789f0fc76af2e26b4c8dd1f117f1ea8c3bcbc97aae0f937194004"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleLiveRecordManager2.RecordStreamAsync (cognitive 357): SimpleLiveRecordManager2.RecordStreamAsync has cognitive complexity 357 (threshold 15). Of this number, 344 points are the body\u0027s own statements and 13 belong to 2 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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"741ba70ed31ffd79c815a28a16acb1ecd009733d62a04893647423b1679f7fae"}},{"ruleId":"D2","level":"warning","message":{"text":"DASHExtractor2.ExtractStreamsAsync (cognitive 344): DASHExtractor2.ExtractStreamsAsync has cognitive complexity 344 (threshold 15). Of this number, 340 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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd5c11e4f02ef9943c2fb19c8b24863944440037511b2b148ccf54f3ac0749e"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleDownloadManager.DownloadStreamAsync (cognitive 301): SimpleDownloadManager.DownloadStreamAsync has cognitive complexity 301 (threshold 15). Of this number, 295 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b6632d5a3a551cb1ca4088d8f3b87849890ea1d592bc9ebed46ceec8846119"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeUtil.MuxInputsAsync (cognitive 131): MergeUtil.MuxInputsAsync has cognitive complexity 131 (threshold 15). Of this number, 130 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1760cd5e7a0e5c89fc6667569cecb41e0c3101faa1d1aa2b47c6c4524354ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.DoWorkAsync (cognitive 129): Program.DoWorkAsync has cognitive complexity 129 (threshold 15). Of this number, 128 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"afae29b99af2d545cc58dc76213115e6f1078b06ba34826fb0645463cc1b4286"}},{"ruleId":"D2","level":"warning","message":{"text":"HLSExtractor.ParseListAsync (cognitive 103): HLSExtractor.ParseListAsync has cognitive complexity 103 (threshold 15). Of this number, 100 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63318cc0723758a20fcc59a873825201c0b764f9bf00f1fb2ac4534760f4f54"}},{"ruleId":"D2","level":"warning","message":{"text":"FileToolUtil.ExecuteAsync (cognitive 98): FileToolUtil.ExecuteAsync has cognitive complexity 98 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 52 belong to 2 function literals inside it that branch. 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":"src/N_m3u8DL-RE/Util/FileToolUtil.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbb0e7f6fa126462e8b7b33ab3765279f70b5b6a793ebed415e7c066ca8a8f4"}},{"ruleId":"D2","level":"warning","message":{"text":"MP4TtmlUtil.ExtractSub (cognitive 98): MP4TtmlUtil.ExtractSub has cognitive complexity 98 (threshold 15). Of this number, 97 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE.Parser/Mp4/MP4TtmlUtil.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f45e488b3a809f9a21231bb0b638e4288b6ffc5f84e89ed7606746ade48cdf9"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleLiveRecordManager2.PlayListProduceCoreAsync (cognitive 78): SimpleLiveRecordManager2.PlayListProduceCoreAsync has cognitive complexity 78 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 40 belong to 5 function literals inside it that branch. 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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"482e46f41d83104c225d588617e91f075c960123956b45dee44744e33dc667c5"}},{"ruleId":"D2","level":"warning","message":{"text":"MP4VttUtil.ExtractSub (cognitive 72): MP4VttUtil.ExtractSub has cognitive complexity 72 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 11 belong to 5 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":"src/N_m3u8DL-RE.Parser/Mp4/MP4VttUtil.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefc8c0a4768268f701c1c4b66da3f0f2f8f54d791fa1b4b5e6cd8d8978e3da2"}},{"ruleId":"D2","level":"warning","message":{"text":"TSInfoUtil.ReadServices (cognitive 70): TSInfoUtil.ReadServices has cognitive complexity 70 (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":"src/N_m3u8DL-RE/Util/TSInfoUtil.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afdfd3be4ccc038079f788afe3042a3daff850848b2a3b0d30cb4237064aa68"}},{"ruleId":"D2","level":"warning","message":{"text":"MSSExtractor.ExtractStreamsAsync (cognitive 66): MSSExtractor.ExtractStreamsAsync has cognitive complexity 66 (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":"src/N_m3u8DL-RE.Parser/Extractor/MSSExtractor.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6798d386f51a2a2a99df94645348f119a8797bf6aac2a88925c8575e3e10a720"}},{"ruleId":"D2","level":"warning","message":{"text":"HLSVariableSubstitution.Process (cognitive 66): HLSVariableSubstitution.Process has cognitive complexity 66 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 5 belong to 2 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":"src/N_m3u8DL-RE.Parser/Util/HLSVariableSubstitution.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cde85e625c3badb914c2343f1ebefa8ac0c7e43f9b2c53c0c3c1151b3c0eed4"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleDownloadManager.StartDownloadAsync (cognitive 63): SimpleDownloadManager.StartDownloadAsync has cognitive complexity 63 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 42 belong to 8 function literals inside it that branch. 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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaad5c300685ac07fd47daa22308164cbf3a3ea2f69e5de38afab534f05faf0"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleDownloadManager.DownloadPartsAsync (cognitive 54): SimpleDownloadManager.DownloadPartsAsync has cognitive complexity 54 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c782895828f7c311ee90a4fb749687ae69ae5080603c8f553ce01867bd7fc115"}},{"ruleId":"D2","level":"warning","message":{"text":"HLSExtractor.ParseMasterListAsync (cognitive 54): HLSExtractor.ParseMasterListAsync has cognitive complexity 54 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"21155d289aaf39b7d8e9909c35f0861654e109b178e91d83ab3a6e38440403ea"}},{"ruleId":"D2","level":"warning","message":{"text":"VodStreamPlanner.Build (cognitive 53): VodStreamPlanner.Build has cognitive complexity 53 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 6 belong to 5 function literals inside it that branch. 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":"src/N_m3u8DL-RE/Util/VodStreamPlanner.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e60102e172ea1987d6f9b686eccc3e09337253c7da25a092ca4b9f41ab2e9c4"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleLiveRecordManager2.StartRecordCoreAsync (cognitive 52): SimpleLiveRecordManager2.StartRecordCoreAsync has cognitive complexity 52 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 27 belong to 6 function literals inside it that branch. 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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb22ee4b90952683fea03f0aefc6f3a484ec9b403e251a902027f0786a0afc60"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingTrack.Read (cognitive 52): RecordingTrack.Read has cognitive complexity 52 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE/Util/RecordingTrack.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd0f625e8892e00bbae3f8ea25a44e162a48357790d7a416df918b990abf6fc"}},{"ruleId":"D2","level":"warning","message":{"text":"MP4DecryptUtil.DecryptAsync (cognitive 49): MP4DecryptUtil.DecryptAsync has cognitive complexity 49 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c625ec48b6166b42579019eacb1291a661e1274333acab0fba3f74059dee3fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingTrack.PrepareAsync (cognitive 42): RecordingTrack.PrepareAsync has cognitive complexity 42 (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":"src/N_m3u8DL-RE/Util/RecordingTrack.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ce819dcb7086fbe87c6f09a6d7fc7c3c9e922d24514aedc53941ac37410690"}},{"ruleId":"D2","level":"warning","message":{"text":"IPTVExtractor.ExtractStreamsAsync (cognitive 37): IPTVExtractor.ExtractStreamsAsync 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":"src/N_m3u8DL-RE.Parser/Extractor/IPTVExtractor.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d73568902b6b7ce058214140f4f337b2e5f990b13f3f508ba2d98d8f9ed755b"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterUtil.DoFilterKeep (cognitive 36): FilterUtil.DoFilterKeep has cognitive complexity 36 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 10 belong to 10 function literals inside it that branch. 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":"src/N_m3u8DL-RE/Util/FilterUtil.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28add861ea1896b9ad7e55aa057bb6275252b650a74bb739fce4067877584b4"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterUtil.CleanAd (cognitive 35): FilterUtil.CleanAd 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":"src/N_m3u8DL-RE/Util/FilterUtil.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d7f7b83e6eeaa0d7ec8ce29341508d9b5b9d2a5eb617b53062ba0445adb333"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterUtil.SyncStreams (cognitive 34): FilterUtil.SyncStreams has cognitive complexity 34 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. 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":"src/N_m3u8DL-RE/Util/FilterUtil.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66783dd0432f7a5faffc42667c159e8de7fe9af48600fdddd6f9ab1ee048a70"}},{"ruleId":"D2","level":"warning","message":{"text":"MP4MediaInfoUtil.ReadTiming (cognitive 33): MP4MediaInfoUtil.ReadTiming has cognitive complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"547745acbeb57712a37516bee70fec953cbc227e0de76a57f1dd16a9cbd8a8cf"}},{"ruleId":"D2","level":"warning","message":{"text":"MSSMoovProcessor.GetSampleEntryBox (cognitive 33): MSSMoovProcessor.GetSampleEntryBox has cognitive complexity 33 (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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7fc64b05fbf525c994633f5faf2b99bb037e34d3fbdc409d0e85b1d591b3d5"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaProcessingColumn.Render (cognitive 32): MediaProcessingColumn.Render has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Column/MediaProcessingColumn.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7e96f6974c1f514d06e96cac6f4b8f8b5899672b7f753ceef2469e8e6d2099"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleDownloader.DownClipAsync (cognitive 32): SimpleDownloader.DownClipAsync has cognitive complexity 32 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. 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":"src/N_m3u8DL-RE/Downloader/SimpleDownloader.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"56665bb4822d392fd24d263502195d8633e2cd17193eba99418c9d130434b803"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageHeaderUtil.ProcessAsync (cognitive 32): ImageHeaderUtil.ProcessAsync has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ImageHeaderUtil.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac13a9a53101ffdaf29876155ddeece6560076ae5626321271b29e33f5ce6b2"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeUtil.MergeByFFmpeg (cognitive 32): MergeUtil.MergeByFFmpeg has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"898316dbba61ad379ce460a50294fb3ba7ec23ce781724f5d2fc66af01d181ec"}},{"ruleId":"D2","level":"warning","message":{"text":"VodStreamPlanner.AlignPeriods (cognitive 32): VodStreamPlanner.AlignPeriods has cognitive complexity 32 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. 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":"src/N_m3u8DL-RE/Util/VodStreamPlanner.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcae23e16f71f6ba34e19867adde2f888ae60fde8364de56db34def352922ef"}},{"ruleId":"D2","level":"warning","message":{"text":"NetscapeCookieFile.Parse (cognitive 32): NetscapeCookieFile.Parse has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Util/NetscapeCookieFile.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf1566be0e22213e4f93a0fdc9e97dec4be5f32172fb54a6fd306ab47309d22"}},{"ruleId":"D2","level":"warning","message":{"text":"DASHExtractor2.RefreshPlayListAsync (cognitive 32): DASHExtractor2.RefreshPlayListAsync has cognitive complexity 32 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. 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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbcbf558d7817c6f4b954e1490ef1b3d39156622598e059a9a267afcb09f0f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.CheckMediaTools (cognitive 30): Program.CheckMediaTools has cognitive complexity 30 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39227929c1f23f229475a69aac19b0c2e8c24bcbbc7b320c59f80762d8022db"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveSegmentDownloadQueue.AttemptAsync (cognitive 29): LiveSegmentDownloadQueue.AttemptAsync has cognitive complexity 29 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/LiveSegmentDownloadQueue.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c12b7a1b168373dd95eaa345d7c158890aebc2f6aa9a2b2e9b883e0e183c1e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigFile.Merge (cognitive 28): ConfigFile.Merge has cognitive complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"src/N_m3u8DL-RE/CommandLine/ConfigFile.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca643ba004bbfc62a3953dced087205d6c4b8bc6dbcb5ca400d95db252a5afc0"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCommands.CreateFileCommand (cognitive 27): ToolCommands.CreateFileCommand has cognitive complexity 27 (threshold 15). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 141). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/CommandLine/ToolCommands.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63f4a164bf21d10c0ffbe0641c4d21a125a3a232253a8576b1d0316072cda47"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveSegmentTracker.FindMatchingIndex (cognitive 27): LiveSegmentTracker.FindMatchingIndex has cognitive complexity 27 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 6 belong to 6 function literals inside it that branch. 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":"src/N_m3u8DL-RE/DownloadManager/LiveSegmentTracker.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"639675e1c5ff7d884551e25fbcbb45fcc3aa6a8853388716fc1cf8b5436747db"}},{"ruleId":"D2","level":"warning","message":{"text":"OtherUtil.FindAvailableOutputPath (cognitive 27): OtherUtil.FindAvailableOutputPath has cognitive complexity 27 (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":"src/N_m3u8DL-RE/Util/OtherUtil.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3df2f5f4f53605cb992c07663021835ef390a357959899564295d7f05c72392"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigFile.MergeUtility (cognitive 26): ConfigFile.MergeUtility has cognitive complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE/CommandLine/ConfigFile.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dca2b6294db8da5250ec24e571c24626df74a88e20c591b6216aa84a312b26"}},{"ruleId":"D2","level":"warning","message":{"text":"HLSExtractor.FetchPlayListAsync (cognitive 26): HLSExtractor.FetchPlayListAsync has cognitive complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"9888252a5ea6e6781429e269ac094728a2c254150a609464f552f8d008e18e9d"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultHLSKeyProcessor.Process (cognitive 26): DefaultHLSKeyProcessor.Process has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSKeyProcessor.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fbe719a414ef4f25e2de54df7bd903764c29b151cc38402d44f046b95e66de"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryDownloadManager.DownloadSequentialAsync (cognitive 25): BinaryDownloadManager.DownloadSequentialAsync has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/BinaryDownloadManager.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"196310f6d7b4c47edc8e1f9205ff936c1fa9e20013a79a37476402e44ed90898"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkInterfaceBinding.Bind (cognitive 25): NetworkInterfaceBinding.Bind has cognitive complexity 25 (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":"src/N_m3u8DL-RE.Common/Util/NetworkInterfaceBinding.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77ccc34139bb6788b29d890a5f86916c97c5bdbd4fc58234eecc4eb6528f5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"FileToolUtil.CompareNatural (cognitive 24): FileToolUtil.CompareNatural has cognitive complexity 24 (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":"src/N_m3u8DL-RE/Util/FileToolUtil.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4795687f54927ce32171840137f927f1ce910f168a5164b35bc4cfde4c542cf3"}},{"ruleId":"D2","level":"warning","message":{"text":"VodStreamPlanner.AlignHlsTimeline (cognitive 24): VodStreamPlanner.AlignHlsTimeline has cognitive complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. 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":"src/N_m3u8DL-RE/Util/VodStreamPlanner.Hls.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3ef776eca81c172a2ed224475e41742f2de843a8f50d9e0ca169a7dd8e52d8"}},{"ruleId":"D2","level":"warning","message":{"text":"MP4MediaInfoUtil.ReadFragment (cognitive 24): MP4MediaInfoUtil.ReadFragment has cognitive complexity 24 (threshold 15). None of this is in the body itself: all 24 points belong to 3 function literals inside it that branch (lines 404, 412, 419). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8f6b2d2daa4c7041d60d7dbd5ef7382e7c44a37db4e105a854cbd2e56d403f"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeUtil.MergeByFFmpegAsync (cognitive 23): MergeUtil.MergeByFFmpegAsync has cognitive complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc8e31b7c83068f5fdd692af4772ef1c0963335b1634151a40a7f762bf7fbe5"}},{"ruleId":"D2","level":"warning","message":{"text":"MP4MediaInfoUtil.ReadSamples (cognitive 23): MP4MediaInfoUtil.ReadSamples has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6123b9772897f708c82f802ee118942448e95eac50a74f1fadf30f383506d7b1"}},{"ruleId":"D2","level":"warning","message":{"text":"MP4Parser.ParseNext (cognitive 23): MP4Parser.ParseNext has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MP4Parser.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11830036c257e8af71ed8c57e9ea1ff8833c57626c9712a6e353f2018206d5d"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultHLSContentProcessor.Process (cognitive 23): DefaultHLSContentProcessor.Process has cognitive complexity 23 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSContentProcessor.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a35753506d8b0a9712e9c9c5c3d25dbe0d89b39c6a95ea44552003a544f674"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadUtil.DownloadToFileCoreAsync (cognitive 22): DownloadUtil.DownloadToFileCoreAsync has cognitive complexity 22 (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":"src/N_m3u8DL-RE/Util/DownloadUtil.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6929b022be465c681f56b99c24b3e6066699293e7414b159886eb0449a2ee25e"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterUtil.SelectStreams (cognitive 22): FilterUtil.SelectStreams has cognitive complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 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":"src/N_m3u8DL-RE/Util/FilterUtil.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d4edd581a104bf211ad226c6ac23dfe55af172dc1e81e32dfccb1778c1cc51"}},{"ruleId":"D2","level":"warning","message":{"text":"MuxSubtitleTimeline.CreateAsync (cognitive 22): MuxSubtitleTimeline.CreateAsync has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MuxSubtitleTimeline.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f7a94a4ab928eb665b04f2ec5d86f33b03b1eaf520c0cd8b19ca530aad39a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolInputResolver.Expand (cognitive 22): ToolInputResolver.Expand has cognitive complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE/Util/ToolInputResolver.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"51dbdd01e6512b937ff61a288b130eb3fa2586859e11106d79da22b07d65ff87"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandInvoker.ParseStreamFilter (cognitive 21): CommandInvoker.ParseStreamFilter has cognitive complexity 21 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b20675d9133afb754c8a4b80b1f66e9d9038eece994d1493930bda4efc397"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryDownloadManager.FetchBlockAsync (cognitive 21): BinaryDownloadManager.FetchBlockAsync has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/BinaryDownloadManager.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a22294abda09b0872d2dfeba329f4bcd0911a5cbc9bd861c785e1a2dfd260e"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPLiveRecordManager.RecordStreamAsync (cognitive 21): HTTPLiveRecordManager.RecordStreamAsync has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6273377914a70fc0a4c2f62e5e25a2db4a4b3923cef88bb78d76ad45022e004a"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveCatchupWindow.Validate (cognitive 21): LiveCatchupWindow.Validate has cognitive complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs 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":"src/N_m3u8DL-RE/DownloadManager/LiveCatchupWindow.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9992a2d002095c0843fcb6e13f23897d64afac47985a25ad0e8dbbeca70da8"}},{"ruleId":"D2","level":"warning","message":{"text":"MediainfoUtil.ReadInfoAsync (cognitive 21): MediainfoUtil.ReadInfoAsync has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MediainfoUtil.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ec18a99594dfcb5347161fca11eff032aa8b8b06bbc137fd126ce3ce26280d"}},{"ruleId":"D2","level":"warning","message":{"text":"WebVttSub.Parse (cognitive 21): WebVttSub.Parse has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Entity/WebVttSub.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56753626a776e37755b16ce021671026c4032234cf28141b9c8db335316cb8f"}},{"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":"src/N_m3u8DL-RE/Crypto/CSChaCha20.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e25495c70ea24bdebbef2e620b29297f89d161b6fadd711ff6ec92bd8397b1"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaToolProgress.ReadFFmpeg (cognitive 20): MediaToolProgress.ReadFFmpeg has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MediaProcessingProgress.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6e4c0e67a4672e73bd86ec775bcb6c11d56d4e4cc78ea1615ea933adf7ea97"}},{"ruleId":"D2","level":"warning","message":{"text":"ComplexParamParser.GetValue (cognitive 18): ComplexParamParser.GetValue has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/CommandLine/ComplexParamParser.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0bc0f389a66805300d8a0777674cc015e28fc018a235f6bfd0f737cd59405b"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterUtil.ApplyCustomRange (cognitive 18): FilterUtil.ApplyCustomRange has cognitive complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"src/N_m3u8DL-RE/Util/FilterUtil.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"750affb12ca0c42f4411627bca63398afa59fe2efaffe1699c6f16d5e249bdfc"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeUtil.ConcatMediaParts (cognitive 18): MergeUtil.ConcatMediaParts has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5821395efc1b8b7b874b4457b4bf7aeee37b63e18e2d63ccc46344efd6ae065e"}},{"ruleId":"D2","level":"warning","message":{"text":"SectionBuffer.Append (cognitive 18): SectionBuffer.Append has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/TSInfoUtil.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd3c08fbc180ebcca06679c4ff6bd2fb4da4c7eab9d9c8070b844981c646509"}},{"ruleId":"D2","level":"warning","message":{"text":"DASHExtractor2.ReadTrackMetadata (cognitive 18): DASHExtractor2.ReadTrackMetadata has cognitive complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b90dcb80d5b26e3075161903f628cb354e2d9896083f30858ddd0c3ea8fce4"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCommands.AddTo (cognitive 17): ToolCommands.AddTo has cognitive complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 38, 53, 66, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/CommandLine/ToolCommands.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"264e752260248ebd686dc83d0f05e0124bac641ba6232b89641cb2cc05d4d36c"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveCatchupWindow.TimedSegments (cognitive 17): LiveCatchupWindow.TimedSegments has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/LiveCatchupWindow.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78fe82b0cffb0bdd75b8c8e23d17e8f674d7fb9dfc99ad00833dafe34f116a0"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamFilter.ToString (cognitive 17): StreamFilter.ToString 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":"src/N_m3u8DL-RE/Entity/StreamFilter.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f888aec2700f24defaaa00b6a05e8844a76d794a7390b17df06cc32fc17a6ec3"}},{"ruleId":"D2","level":"warning","message":{"text":"MuxSubtitleTimeline.Repair (cognitive 17): MuxSubtitleTimeline.Repair has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MuxSubtitleTimeline.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed70b2ce8ae178f255df42a8bace6866dc672188e5af13602ba42186af0ea31c"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkInterfaceBinding.Create (cognitive 17): NetworkInterfaceBinding.Create has cognitive complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"src/N_m3u8DL-RE.Common/Util/NetworkInterfaceBinding.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a70bd3286429f112c9243d899343023c0ee27ead0e7c4111963730d859a696"}},{"ruleId":"D2","level":"warning","message":{"text":"MP4MediaInfoUtil.ReadTrackInfo (cognitive 17): MP4MediaInfoUtil.ReadTrackInfo has cognitive complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 165, 129, 138, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"66952a3db707977bad224af647c75fa5a42d98560c7293a04bd5c03605f6e216"}},{"ruleId":"D2","level":"warning","message":{"text":"MP4MediaInfoUtil.ReadTrack (cognitive 17): MP4MediaInfoUtil.ReadTrack has cognitive complexity 17 (threshold 15). None of this is in the body itself: all 17 points belong to 5 function literals inside it that branch (lines 335, 318, 286, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13804d202cd985cac4d8370bc42213ab559a6500be49e2827faaafcc85655c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatInputServer.RespondAsync (cognitive 16): ConcatInputServer.RespondAsync has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ConcatInputServer.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e75d5201f7276c1aa9577c6561fa63b8d9bd6ccf25189df93fbbf4cd85eef33"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatInputServer.TryGetRange (cognitive 16): ConcatInputServer.TryGetRange has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ConcatInputServer.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c42cbe32cb2885481273a8bec348a2a7d4fadfa266a660dde6f755cf2a05a9"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeUtil.RunMediaToolAsync (cognitive 16): MergeUtil.RunMediaToolAsync has cognitive complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 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":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fd2aed46f9b892203afb57f39eaa1328e8c4c850f10b2e3005501acca21966"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamSpec.ToString (cognitive 16): StreamSpec.ToString has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Entity/StreamSpec.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b106d98250cd4e1770ac60f34c7d0e7d224fe4f98ab4628f90116849a2cb31a9"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPUtil.DoGetAsync (cognitive 16): HTTPUtil.DoGetAsync has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e135174113d67fefcc3367b4eaf1e3d41801b37b86591481d8ddabf6e99f54c2"}},{"ruleId":"D2","level":"warning","message":{"text":"DASHExtractor2.ResolvePeriodTimings (cognitive 16): DASHExtractor2.ResolvePeriodTimings has cognitive complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item 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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"5423900efb29218123e959bdbc99ca040a15c216d35220d88c7f234aba553ffe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SimpleDownloadManager.DownloadStreamAsync: MethodTooLong \u2014 DownloadStreamAsync runs 439 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 339 over it, 4.39\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e714c60f3e1d6a7ce342a558d3c51dc2bbf33ebc0b3f0a944bc035ae48d0771e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StaticText: ClassTooLong \u2014 1570 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 1170 over it, 3.93\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Resource/StaticText.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85122d27dbbd3820eed2011fa27b0184a66a5266dd579ddecf107d4eb55ffb32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SimpleLiveRecordManager2.RecordStreamAsync: MethodTooLong \u2014 RecordStreamAsync runs 368 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 268 over it, 3.68\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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"402bae9b7c786487d04b55472ba5489762442899b3bd70075e3b58a984e6d747"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DASHExtractor2.ExtractStreamsAsync: MethodTooLong \u2014 ExtractStreamsAsync runs 352 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 252 over it, 3.52\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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1c865c7d742169f9aa32527474b17d4e01f6ae9917c2ec97d5d9d0abd9ccfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Resource/StaticText.cs: FileTooLong \u2014 1571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1071 over it, 3.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Resource/StaticText.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6d92bb7d1ef7af806ec2f3c6691d1cb14ead6d0c938285190a180ab483b745"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Program.DoWorkAsync: MethodTooLong \u2014 DoWorkAsync runs 276 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 176 over it, 2.76\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":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa1e4527382813ba49ce93826d7f46ad4e3b6d1fe860fdda665579d4f57aa0a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SimpleDownloadManager: ClassTooLong \u2014 805 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods, declared across 2 files: DownloadManager/SimpleDownloadManager.cs (9), DownloadManager/SimpleDownloadManager.Parts.cs (4). The bar is 400 significant lines; this is 405 over it, 2.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fef982a879d3de83e38de8fa3179fd63b0e0fce030b686d3120e94197870354"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SimpleLiveRecordManager2: ClassTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 390 over it, 1.98\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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f9f16bd3398fd3d589b39798e887276585dbedcf51bf5cc51a0db94832af11"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HLSExtractor.ParseListAsync: MethodTooLong \u2014 ParseListAsync runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9865e218d655cde0d8e31b2bea2b8d168ee20551fad5e2ebcbd5e00d635074ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DownloadManager/SimpleLiveRecordManager2.cs: FileTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 314 over it, 1.63\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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b87521f1da9276d04a98c222c9cb1be399fc17414763d8cbb21e54ccb351e7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SimpleLiveRecordManager2.StartRecordCoreAsync: MethodTooLong \u2014 StartRecordCoreAsync runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e00d7f054153d3a13644e2ad005ab529b68304ad5596a18e5f2a6fd942bb02"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MSSExtractor.ExtractStreamsAsync: MethodTooLong \u2014 ExtractStreamsAsync runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"src/N_m3u8DL-RE.Parser/Extractor/MSSExtractor.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e68ef80650ae5aa66e0ac2bf2d9f0d8983f55765a0f1f3fd946b6942de3c80e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileToolUtil.ExecuteAsync: MethodTooLong \u2014 ExecuteAsync runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.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":"src/N_m3u8DL-RE/Util/FileToolUtil.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7ec9d9bf104205d377a46f83846532d28435fb863366806b9fbcec49090c21"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MSSMoovProcessor: ClassTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 135 over it, 1.34\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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"277fc6fe5727b423bafe1563432d8e76fc0e08835440d13d48ba46817f1b188c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DownloadManager/SimpleDownloadManager.cs: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 157 over it, 1.31\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ab2066cd76edecd0aa7cd5bba33bb97b5b9c0642e9d2a975a2ffc6e1842eb3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SimpleDownloadManager.StartDownloadAsync: MethodTooLong \u2014 StartDownloadAsync runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f5cde2c93692ad7bf0764ac95913253e4eb3c4f3a23d7ac875361fe0e28976"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DASHExtractor2: ClassTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 115 over it, 1.29\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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05546233019dae5132c19394cff3621f090e60d0e342f7e629528e314bcd1b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SimpleDownloadManager.DownloadPartsAsync: MethodTooLong \u2014 DownloadPartsAsync runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a74d5abe83977d0f5a2284ac4981d4f59ace61eee6292416b57b9d7d8d578a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CommandLine/CommandInvoker.cs: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 102 over it, 1.20\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":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fef5916ec12a252869ea61a73d88fc255fb35c073001bb69b92ca3afd402d21"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommandInvoker: TooManyMethods \u2014 586 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":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e16e22edc43522df2ce31875a792f5afdeb59f8b200ddd5b3202cfd4c2a43a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Mp4/MSSMoovProcessor.cs: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 41 over it, 1.08\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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd08d461fb0632e046eb82ba0fb047cb7efbfbcb02ed9fd2d625721445171ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Extractor/DASHExtractor2.cs: FileTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 27 over it, 1.05\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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d696f5f2dd2d9a95040969a4d91fbf57ba19dc3b4002fbd64c23fdcc4cac6e0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MP4TtmlUtil.ExtractSub: MethodTooLong \u2014 ExtractSub runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"src/N_m3u8DL-RE.Parser/Mp4/MP4TtmlUtil.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a054d8736b67dbc745f3ce376c3ac029694427faff5b423936f4b6de43df79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MergeUtil.MuxInputsAsync: MethodTooLong \u2014 MuxInputsAsync runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7413e95d203b0b7254a8062d7ff5effae236e783833d1a1b924ef52e95899d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:75-107 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:211-244 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"007a0cb7d4b142a1e1d188ea48bc988cdf882c99fa10933c06e9d392591b28fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/N_m3u8DL-RE/CommandLine/ConfigFile.cs:223-245 | src/N_m3u8DL-RE/CommandLine/ConfigFile.cs:248-265 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"src/N_m3u8DL-RE/CommandLine/ConfigFile.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"258bfd0febd92ef85874a9591b005e65113cd144eaef794105571c51ac1dd48f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:816-839 | src/N_m3u8DL-RE.Parser/Extractor/MSSExtractor.cs:311-332 \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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"2881acf284d8edb96723bcc32409638f303728d539daf35c16c38fd0ff4fec44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/N_m3u8DL-RE/Util/ConcatInputStream.cs:86-100 | src/N_m3u8DL-RE/Util/ConcatInputStream.cs:103-118 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"src/N_m3u8DL-RE/Util/ConcatInputStream.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2564bff4aa272bd76efb4800fae0922635d868fcf3b872bf72400d0bf135794"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/N_m3u8DL-RE.Parser/Mp4/MP4TtmlUtil.cs:43-60 | src/N_m3u8DL-RE.Parser/Mp4/MP4VttUtil.cs:28-53 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"src/N_m3u8DL-RE.Parser/Mp4/MP4TtmlUtil.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c139bc010c21b662814009a2bec3ece8865353a132deb7f55f065a64c379f9c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs:738-749 | src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs:752-764 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac5e5c3f7c065af3e194c581554c3d39ec9871dc2de398086fe82a65c3c6531"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/N_m3u8DL-RE/Util/LargeSingleFileSplitUtil.cs:50-69 | src/N_m3u8DL-RE/Util/LargeSingleFileSplitUtil.cs:72-83 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/LargeSingleFileSplitUtil.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8a1a80103737533754f89014a2edc5d7bfa4b8eabf58c136e146b538157e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/N_m3u8DL-RE/Crypto/CSChaCha20.cs:367-381 | src/N_m3u8DL-RE/Crypto/CSChaCha20.cs:384-400 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"src/N_m3u8DL-RE/Crypto/CSChaCha20.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"158716e77fbe6aa71f270c6edf2b9d314c1fadd8769ccdf52ed4073dcf6e4e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/N_m3u8DL-RE.Parser/Mp4/BinaryWriter2.cs:48-58 | src/N_m3u8DL-RE.Parser/Mp4/BinaryWriter2.cs:61-71 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"src/N_m3u8DL-RE.Parser/Mp4/BinaryWriter2.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d27dda993fa923a1c1e5e586dd796a29b9a28067f76a7f7503cb2f63065e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/N_m3u8DL-RE.Common/Entity/WebVttSub.cs:203-208 | src/N_m3u8DL-RE/Util/MuxSubtitleTimeline.cs:193-194 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"src/N_m3u8DL-RE.Common/Entity/WebVttSub.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b830a0bc9f369011753b37b5b0b6ffdfb92d997443863b206c135ae35c40fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/N_m3u8DL-RE/Util/HlsSubtitleTimeline.cs:53-55 | src/N_m3u8DL-RE/Util/MuxSubtitleTimeline.cs:190-191 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"src/N_m3u8DL-RE/Util/HlsSubtitleTimeline.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"23641f637949a7a5a920cc269c982200d4497e83df64a23e68a5040cc444b95a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:37-40 | src/N_m3u8DL-RE.Parser/Extractor/MSSExtractor.cs:40-43 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef093609396e3fabe6c1ffe79d04e388ae1da63b69f33ad2a8c8f1eef4347b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:665-689 | src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:718-743 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:665\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf1f400562a84f87ffb4548b8bb6ced86f52e8b3b7d06719d822cd39ff4da98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:1073-1093 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:1345-1365 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:1073\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f1732e94efe11958522b6260a3e21a1190df89fae8fcebc9e7afeb538f6fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:1045-1062 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:1312-1329 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:1045\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, \u0060src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:1330\u0060 calls \u0060CleanupRecording\u0060 and \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:1063\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4d72a7cc066c2417afa7f793d9ca55079dde5882b077ad3e26caaaa09d681f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:732-750 | src/N_m3u8DL-RE.Parser/Extractor/MSSExtractor.cs:360-378 \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 \u0060src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:732\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57fbc71c32046802dc211028a17440f27824e5a2daae65d6b4c899cc2ab1d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:385-398 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:484-497 \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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"76349d8bc5e12ff9c916a49c30f4c8b5f1cb1a0f3e9e1495dd3de182e3c39018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs:273-288 | src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:915-936 \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":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca472ffc71a2e4f44bdd8e5d69172e8509e5e7f3e218a263ba9977356e84bdeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:828-839 | src/N_m3u8DL-RE.Parser/Extractor/MSSExtractor.cs:321-332 \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 \u0060src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:828\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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"04567ae049585d6fffffd93358bc8700602c47dc9248002d491c12059574f22e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:591-604 | src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:634-647 | src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:683-696 | src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:737-750 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:679\u0060 calls \u0060TryWriteImagePngsAsync\u0060, \u0060GetEnvironmentVariable\u0060 and \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:633\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"d050f19ba733d19a0eefcd07bdd8ab0944c1051cd711ff30a86805c07aed4ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201315 lines \u00D7 3): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.cs:25-27 | src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:205-219 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:293-307 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b02045abdb0cf41c69bfd372ff5b6eb69286020e72ba31e95e6103c9f0132c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/N_m3u8DL-RE/Util/VodStreamPlanner.Hls.cs:25-39 | src/N_m3u8DL-RE/Util/VodStreamPlanner.cs:196-210 \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 \u0060src/N_m3u8DL-RE/Util/VodStreamPlanner.Hls.cs:25\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":"src/N_m3u8DL-RE/Util/VodStreamPlanner.Hls.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33555ceb03532ae49da151559bd77dc3e715cdba9c2ea6bdef1a79332e718d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:363-375 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:460-472 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:363\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, \u0060src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:473\u0060 calls \u0060Add\u0060, \u0060TrackFile\u0060 and \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:376\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a22d4cd6fa365685a0bf4635bda7959d1ec7be64718e1349a56930c0a7c86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:1098-1108 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:1368-1378 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:1098\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, \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:1095\u0060 calls \u0060SafeDeleteDir\u0060 and \u0060src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:1365\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a241cf36195ce0e24b66be14aade30e5f29c0f4f60c9b647da17158c4ab493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:519-529 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:566-576 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ae0ace0514d237b8c4e06c09809e8e0b64612fa0dc4043522098c99db7245f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs:89-97 | src/N_m3u8DL-RE/Util/DownloadUtil.cs:123-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs:89\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":"src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dad9317127f794c8b54fefc0656201c20cdde9c2580ca34e502aa3a30c2041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/N_m3u8DL-RE/Util/ImageHeaderUtil.cs:40-51 | src/N_m3u8DL-RE/Util/ImageHeaderUtil.cs:66-77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ImageHeaderUtil.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a03dba5a21885c65f4d0c956f8eafeeb40a1b4407d866baaef61d87067dd16b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:279-290 | src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:306-317 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebadd36c6f7e2b327e058cfea73fc93818801b311a3105827c0fd11be114815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:408-417 | src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:450-459 \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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc43d2269a31996892855121eac623516b9651c8480d6e639e8a66de17c191f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:668-678 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:712-722 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:668\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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30a6e93be54a55325181235477c1b6598e34031b5cbcbf90d8516d76a28d8c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:612-620 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:631-639 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:612\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"30af7d49df292d75d8c584d3d36239c360a54b28a5c36a25a6054760fc63c939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:1063-1072 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:1331-1340 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:1063\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"89af89155ab7e386dadae9046d96f09c25cb08f6b8acc0d1094b0e9d1460e7b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:387-396 | src/N_m3u8DL-RE.Parser/Extractor/MSSExtractor.cs:149-159 \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 \u0060src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:387\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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9863c85069e9ce7bf47e1f27680661b2ca9e7197e22014f95e5a90bbff56c556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:627-633 | src/N_m3u8DL-RE.Parser/Extractor/MSSExtractor.cs:244-250 \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 \u0060src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:627\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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74a3be9f18337a065bd8f66bf6064e7e6f0cbb12d8fb0f379b08893600811d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 3): src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:622-625 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:682-691 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:726-735 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:682\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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab4584e885a900ef049290276d272ed0183eab766c28f7388bc2952cb9862f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:316-322 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:402-408 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:316\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"288045578a975e9a26f12665cd3f9b9a2bf899d68ef7b0e9422e489ff5d7ee41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:766-771 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:775-780 \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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"088936c78f589559d51dab9dfe82ee378c31e0a06b30231107acf8e30d643c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:408-413 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:472-477 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:408\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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03c3daf89a8dacb1fbb22897d0b3dae3887febeb93824f42a9692120d77e8de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/N_m3u8DL-RE/Util/LargeSingleFileSplitUtil.cs:54-59 | src/N_m3u8DL-RE/Util/LargeSingleFileSplitUtil.cs:74-79 \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":"src/N_m3u8DL-RE/Util/LargeSingleFileSplitUtil.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1818278b4eff4c68917bab290cd8c049742390e2dc9a0b80eb5337b3fee5618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:580-586 | src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:667-673 | src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:720-726 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:580\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"85503cbacc861a3a7eb31dad472999203a8f26d5623525487b766892b61ce65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:376-381 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:475-480 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:473\u0060 calls \u0060Add\u0060, \u0060TrackFile\u0060 and \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:375\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba5a1b3af793046de58bceed11060ea47a6fc3d90c3d35976a5bcae2124ddd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:434-439 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:1005-1010 \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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef40beafd24941e0bdf9075cd725379def7f0105175f28d205b7a05f06e304e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:447-451 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:563-567 \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 \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:447\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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c3e393b266587dcd1389fe7151eb9319d969dbac1d548aa205661f41b02e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs:391-396 | src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs:431-436 \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":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"74895804e5859ebd26657ec8dd80994a6997e7ffa2c10d3e9ff1faadd9527ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:319-323 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:517-521 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:564-568 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:319\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"994130c038d9e6b872427d206d2918dccb70d5258c49bb17581a9b71d61b4b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/N_m3u8DL-RE/Program.cs:326-330 | src/N_m3u8DL-RE/Program.cs:345-349 \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 \u0060src/N_m3u8DL-RE/Program.cs:326\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":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"518643b9fc66527e3963e2bc7170ee526a05c1302a9560b7840eae5746a69d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs:521-525 | src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs:539-543 \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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"603e466403f3ffb45ed135379dfd0b7c181f6d909089e58f649980d691c68bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs:64-72 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:156-164 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6031d5bd428275934469d7e0711ea03699bc47217aade2b40c6f4c882bd86652"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:849-858 | src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs:72-81 | src/N_m3u8DL-RE.Parser/Extractor/MSSExtractor.cs:336-345 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"196c8735a875dcda76c903753c50bae4d2f645aaf0c409e7bfde56efaff600b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:449-453 | src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs:555-559 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc45594e7ac04c46e01ef5c3d18e1d2606bcb73b0048ddc3a5d0a255fb76592f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs: src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 209 in SimpleDownloadManager.DownloadStreamAsync at line 142. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca677fe71c64fb449f9c582e0344c6b6318e60a77d41534029a2804ae6346709"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs: src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 150 in SimpleLiveRecordManager2.RecordStreamAsync at line 250. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"879b8d1d66cb479db847f45f41188a9be6cb07f18a6ad4725038dd8276a2565b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Program.cs: src/N_m3u8DL-RE/Program.cs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 111 in Program.DoWorkAsync at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Program.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":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b99a916cb02794637750191f9de168f4c4a633f37967cd5e70abd728b938ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs: src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 114 in DASHExtractor2.ExtractStreamsAsync at line 63. 2 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3712b55e4c732479c655dbdb3dca6f7c8e455816fd7c096cec1b3909cab21f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Util/MergeUtil.cs: src/N_m3u8DL-RE/Util/MergeUtil.cs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in MergeUtil.MuxInputsAsync at line 416. 1 of those changes was a fix/bug commit, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Util/MergeUtil.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":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e928f2b1dee127a4be79d2cb0b944f9a2484f7d1d7b260a3b2428d38198c021c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs: src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in HLSExtractor.ParseListAsync at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.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":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd769481826da92a3a456c95285788f14f8474c1032fdf8442c084309b24650"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Util/FileToolUtil.cs: src/N_m3u8DL-RE/Util/FileToolUtil.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in FileToolUtil.ExecuteAsync at line 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Util/FileToolUtil.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":"src/N_m3u8DL-RE/Util/FileToolUtil.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe3cd1a43b7c046d7b56d53974cd6ebd6417cb81419d007ad2e10a3f3931bd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Util/FilterUtil.cs: src/N_m3u8DL-RE/Util/FilterUtil.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in FilterUtil.DoFilterKeep at line 13. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Util/FilterUtil.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":"src/N_m3u8DL-RE/Util/FilterUtil.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ce6a82edebdf25672f0f74a6e130d18cd2dc93af90c99c852d954fd13f0d6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.cs: src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in SimpleDownloadManager.DownloadPartsAsync at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9377bde9fda889ee7fb1059700c88dccedead66409f1fd8f818e7dcb3e6c2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs: src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CommandInvoker.InvokeArgs at line 891. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/CommandLine/CommandInvoker.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":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0f84f9162bb9e549fe7dfe69812baf6ad7204598fbc565e5653c5202b4a05a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Util/RecordingTrack.cs: src/N_m3u8DL-RE/Util/RecordingTrack.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in RecordingTrack.Read at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Util/RecordingTrack.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":"src/N_m3u8DL-RE/Util/RecordingTrack.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e881d44d1f5c8585f8b9648649becfbc198e9b54870af13a8afae1557902ee5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs: src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in MP4DecryptUtil.DecryptAsync at line 13. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Util/MP4DecryptUtil.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":"src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fc2e77ba4bdfbd113509a24b84598eba9457040b6823818e3c192f1dcef759"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Util/OtherUtil.cs: src/N_m3u8DL-RE/Util/OtherUtil.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in OtherUtil.FindAvailableOutputPath at line 293. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Util/OtherUtil.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":"src/N_m3u8DL-RE/Util/OtherUtil.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9815f6778da3475c512c972bc400bb84e32210fceab3cd13b1e5cab402adb2ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs: src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in HTTPLiveRecordManager.RecordStreamAsync at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.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":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21ca153be7e942a9a65dee115c9680dd7c96c1007fbf552c2e6c56abb96ce92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.cs: src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in MP4MediaInfoUtil.ReadTiming at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.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":"src/N_m3u8DL-RE.Parser/Mp4/MP4MediaInfoUtil.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c41a9a96e195cc2762d2326d8511a1a114a773c2ba2dc8a3e8d0ec560758e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/CommandLine/ToolCommands.cs: src/N_m3u8DL-RE/CommandLine/ToolCommands.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ToolCommands.CreateFileCommand at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/CommandLine/ToolCommands.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":"src/N_m3u8DL-RE/CommandLine/ToolCommands.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dd942e98793a0c45d04b6a9e972c19fed67f6cd561328e6a96d19a794a42d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs: src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in HTTPUtil.GetWebSourceResultAsync at line 175. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE.Common/Util/HTTPUtil.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":"src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54886734cb9052a29fc1d1a4ed875a092ab5c5cf4740ed898dd1bf0c7c36eed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Downloader/SimpleDownloader.cs: src/N_m3u8DL-RE/Downloader/SimpleDownloader.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in SimpleDownloader.DownClipAsync at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Downloader/SimpleDownloader.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":"src/N_m3u8DL-RE/Downloader/SimpleDownloader.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b45925a47064de1be051d237aefd48a1f9b20f0ea4a58d2b6adfea6299e8a06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Util/MediainfoUtil.cs: src/N_m3u8DL-RE/Util/MediainfoUtil.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in MediainfoUtil.ReadInfoAsync at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Util/MediainfoUtil.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":"src/N_m3u8DL-RE/Util/MediainfoUtil.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7428bf62520813670ffbd4475ccf95a197f84cdaedeb5e71361ec9b1aedd02a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSKeyProcessor.cs: src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSKeyProcessor.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DefaultHLSKeyProcessor.Process at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSKeyProcessor.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":"src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSKeyProcessor.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3406a0e058a89832de7a4e0c5066b40b76304958c095c1de97f25de1d9bcd26e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Util/VodStreamPlanner.cs: src/N_m3u8DL-RE/Util/VodStreamPlanner.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in VodStreamPlanner.Build at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Util/VodStreamPlanner.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":"src/N_m3u8DL-RE/Util/VodStreamPlanner.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3664b2ebebd5490f7c661d6dc1cfe70fe4b8df0a9a179da38cba28ac55e3c25a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/DownloadManager/LiveSegmentTracker.cs: src/N_m3u8DL-RE/DownloadManager/LiveSegmentTracker.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in LiveSegmentTracker.FindMatchingIndex at line 52. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/DownloadManager/LiveSegmentTracker.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":"src/N_m3u8DL-RE/DownloadManager/LiveSegmentTracker.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f9a75987cd857069eea8f9bbcbdf4cdbf0040cc544f7ab628a3570cba03f74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/CommandLine/ConfigFile.cs: src/N_m3u8DL-RE/CommandLine/ConfigFile.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ConfigFile.Merge at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/CommandLine/ConfigFile.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":"src/N_m3u8DL-RE/CommandLine/ConfigFile.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfd07b516f32e03f099cb3e3738f93e3c4768972d3a1eae782d5fbafabf1b51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Util/DownloadUtil.cs: src/N_m3u8DL-RE/Util/DownloadUtil.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in DownloadUtil.DownloadToFileCoreAsync at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Util/DownloadUtil.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":"src/N_m3u8DL-RE/Util/DownloadUtil.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bce803073dbcad5398b9fe1b628bb6d1e5adff86a49c2c5b6e1720096b31bdf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/N_m3u8DL-RE/Util/MuxSubtitleTimeline.cs: src/N_m3u8DL-RE/Util/MuxSubtitleTimeline.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in MuxSubtitleTimeline.CreateAsync at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 18:55:05 \u002B08:00\u0027 --until=\u00272026-11-04 18:55:05 \u002B08:00\u0027 --full-history --no-merges -- src/N_m3u8DL-RE/Util/MuxSubtitleTimeline.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":"src/N_m3u8DL-RE/Util/MuxSubtitleTimeline.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc96927d5c9824414db6e755b169d34f3ac2273ae1619ca22b047e0db8d61a92"}},{"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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0c3847b3441e5ef4672551b9087b9a371e9be95b3d5c179059b8806503dd40"}},{"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":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b7cefe6017286e5566d55b6546e37f2495a886cbbe881cb662f5efaa88e498"}},{"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":"src/N_m3u8DL-RE/DownloadManager/BinaryDownloadManager.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c47d9fdc9f54596951afd93861126f172109edcdf87c4c20666fdcb2a9a5ef5"}},{"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":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6487004c0e6d63f738a02d80c0e5db83e4ba3e3eae1fbcd2cd628deae098be76"}},{"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":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9c532555e4f1682b1fb6f38e4d73db128ce74835d7f382e71695eebe5df03a"}},{"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":"src/N_m3u8DL-RE/Util/ConcatInputServer.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bc89ccda91b42077ad3400af01c90a3dcfed11859d6a14ed9c783dae03ed78"}},{"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":"src/N_m3u8DL-RE/Util/CultureUtil.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"24270d48d118dcc1864ebd3d6ce4b77f64f92c4ce740872f72bfc3937435de88"}},{"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":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40861acc6139cdceb99bf717bec20575d68ed123bb8dcb71291d79544d77f22"}},{"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":"src/N_m3u8DL-RE/Util/ProcessUtil.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b52f19cb1592b32d33f2bdab9183a00104f492f0bffc228c88be354b84cc0f4"}},{"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":"src/N_m3u8DL-RE/Util/TSInfoUtil.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba946de4823f28ef43297ae5a80db6160e7c6f8e55c1415c47ce05b7bf50b2c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private byte[] SYSTEM_ID_PLAYREADY \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MP4InitUtil.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4718e5bebf6a94d802c94bf009d42da6380b87c488365d9b300b40e620fbc8e9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 16 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72eaccd713634bfd6369c702d7033742e0b6999a6f2bf132c80ffb3fad28c00"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] UseShakaPackager"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/CommandLine/MyOption.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef9e9d2b8985bad69f4273396c1c111d0001f4b28190188823e96d53d4bcbe8"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IDownloader Downloader \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a320d31d3a88597029fe3cc92ac57696775f46555a11bd420f66a4c1b7ae80e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private List\u003COutputFile\u003E OutputFiles \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb0b42df5b71775e8b0ea0006c9c6c2a0bf2b8e0e20cfe64429ce73d8509d78"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private DateTime? PublishDateTime \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"629cabc8b574b2a596356fe843bd5d6f9018fa8249e736e43198773e5a8ddfa1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f803caee55c1e59fd570c1ec44badac8d39c6c63ef47607ed2f9b5b18b467e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"740c74543dd80cfefdefc5b2d26ee44b7a86cdb421e049eae43de10c5929586f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"de95117399dfded613027857bf44e97f6fc2fd570fd5692d75c10a161fdfb8c9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22553d85f9b21dca308f71975f28dbb45d3aa1d393f1e90ad53c85593577200"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle the case that shaka packager actually decrypted (key ID == ZeroKid) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f45d2761cebe8b8665fc6af9bbd4e6546574d77464c4f241ebde630182dd668"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetWebSourceAsync: Method GetWebSourceAsync \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including N_m3u8DL-RE.Common, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb7e09c388732164a93b0dfdf7d09b9177e611c7f3279e155193b43d0a3ea82"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GenMoof: Method GenMoof \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including N_m3u8DL-RE.Parser, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf5a52911d6e29b438aff66dcdc47090aa62587f2a15ccee1923a71b69c324a"}},{"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":"\u0060RefreshUrlFromMaster\u0060 returns an awaitable but lacks the \u0060Async\u0060 suffix its 13 peers carry: 13 of the 14 awaitable methods of project N_m3u8DL-RE.Parser are named with an affix the repository binds to awaitables (13 of 14; unit: awaitable methods of project N_m3u8DL-RE.Parser). Peers: DASHExtractor2.ProcessUrlAsync (src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:815); HLSExtractor.ParseMasterListAsync (src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs:83); HLSExtractor.ParseListAsync (src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs:227); HLSExtractor.LoadM3u8FromUrlAsync (src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs:586); IExtractor.ExtractStreamsAsync (src/N_m3u8DL-RE.Parser/Extractor/IExtractor.cs:13). Rename to \u0060RefreshUrlFromMasterAsync\u0060. [rule N4b]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d110d5b82a2b8549b80020ea026061eb96afca5097b0b7da491318a7616e03"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060CombineURL\u0060 spells \u0060URL\u0060 where 39 names in the project spell it \u0060Url\u0060: 39 of 40 names in project N_m3u8DL-RE.Parser spell the token \u0060Url\u0060 (39 of 40; unit: names in project N_m3u8DL-RE.Parser containing \u0060Url\u0060). Peers: ParserConfig.OriginalUrl (src/N_m3u8DL-RE.Parser/Config/ParserConfig.cs:12); ParserConfig.BaseUrl (src/N_m3u8DL-RE.Parser/Config/ParserConfig.cs:14); ParserConfig.AppendUrlParams (src/N_m3u8DL-RE.Parser/Config/ParserConfig.cs:70); BinaryExtractor.PreProcessUrl (src/N_m3u8DL-RE.Parser/Extractor/BinaryExtractor.cs:16); DASHExtractor2.MpdUrl (src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs:22). Rename to \u0060CombineUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Util/ParserUtil.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d5d0ebe3879bad03fc44b22600f110d9fa32d409f3be3bf1f8864f2dd3e7b"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060InvokeArgs\u0060 returns an awaitable but lacks the \u0060Async\u0060 suffix its 93 peers carry: 93 of the 94 awaitable methods of project N_m3u8DL-RE are named with an affix the repository binds to awaitables (93 of 94; unit: awaitable methods of project N_m3u8DL-RE). Peers: ChaCha20.EncryptStreamAsync (src/N_m3u8DL-RE/Crypto/CSChaCha20.cs:215); ChaCha20.DecryptStreamAsync (src/N_m3u8DL-RE/Crypto/CSChaCha20.cs:307); ChaCha20.WorkStreamsAsync (src/N_m3u8DL-RE/Crypto/CSChaCha20.cs:383); BinaryDownloadManager.DownloadAsync (src/N_m3u8DL-RE/DownloadManager/BinaryDownloadManager.cs:36); BinaryDownloadManager.DownloadAsync (src/N_m3u8DL-RE/DownloadManager/BinaryDownloadManager.cs:50). Rename to \u0060InvokeArgsAsync\u0060. [rule N4b]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ccbf274f742bcca258cf27ee1dc15481b10ef2336f9c87163c607efea08a9b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Read the payload size.\u0022 repeats the code it sits on: 3 of its 3 words (read, payload, size) are already in \u0060var payloadSize = (int)reader.ReadUInt32();\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":"src/N_m3u8DL-RE.Parser/Mp4/MP4VttUtil.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0af006c50d2a6f8a4930c666017fb563d4f99eb7e926829180855539eaef96"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022general_profile_space \u002B general_tier_flag \u002B general_profile_idc\u0022 repeats the code it sits on: 6 of its 6 words (general, profile, space, tier, flag, idc) are already in \u0060writer.WriteByte((byte)((generalProfileSpace \u003C\u003C 6) \u002B (generalTierFlag == 1 ? 0x20 : 0) | generalProfileIdc)); // general \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b0167c38bab61df11a127fc59d8502d52471fd536dabf3f6a6b35b258c7082"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022general_profile_compatibility_flags\u0022 repeats the code it sits on: 4 of its 4 words (general, profile, compatibility, flags) are already in \u0060writer.WriteUInt(generalProfileCompatibilityFlags); // general_profile_compatibility_flags\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a5c0d371455b807bb709f7b96dde60440a72837f70ddef01ea3ccad9408829"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c28ea4df68158399673df93cb91a753740a81ca73a202aca1684f5f952759bff"},"properties":{"commitSha":"b604b72c617c5d1403cce2d20d668b9f3d01ee77"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a82a45e18fdb8162295bd08ddd77f4abbec656dc570f7dcb43aed18b936a05d"},"properties":{"commitSha":"aade5a5d7c835db8dc7b671307c1c094de7630ae"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"85c9c28b6a4ac336cc0ba0b0b966c155dfc0eb49094a0376b65775c940628bdb"},"taxa":[{"id":"CWE-78","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":"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":"3b2a4c61328ea19de5c465be69f379280e1c4e8c8156d48da42a4ebb4d481bd8"},"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":"99ee2749e520bd774cdef12c87a5ce9ae7e6c8a525b4db2aa254840caa422457"},"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":"e1daca71444300e61238e341bda86b81a36b38aefd704637be58ca23a7dd7e48"},"taxa":[{"id":"CWE-78","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":"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":"0252994c9b3eec66c358528d7a5c25db38f40de9f8623904b62dfe861f5e4886"},"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":"5af1a52ff550849a13b9e894bddece729121ccd27583ae50202e2b27974454cd"},"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":"fcfa813b006c0b29d6b4e6c01a804586b180569918d10f431b33ea9a1f815ee6"},"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":"48e6cceddb5a74c77b96ee8c9fe258ae9c1896b62b4c477231ac244708887e86"},"taxa":[{"id":"CWE-78","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":"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":"ee5f63a8be2cf711411388e6d4ab5b7090be1e278d2230b8ea04ec43f5d2e822"},"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":"e9f758fb4a63b03d76ef6e27a4afb0adbff46ef8f3706b1ed6f707da0ce29854"},"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":"5c6e1ad35e81115b23bc0b72220fe1e6db83ce8b18790954328f1711829c5dc4"},"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":"6f9037cb5aafb4740bad9965aa5843b41d925ff4d3b54c156e329a356331cf55"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89da50d7dd6a382737d18bb1dfad469b30c989cabd7a6dab2987b81c19412bc7"},"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":"689846b46c384fe3f65459c23e98b3cb25b6b562c9af66cad0260669722b5051"},"taxa":[{"id":"CWE-78","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":"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":"a7152f72787d8262b4b2d5c8f0eef3842c46612cde75da701628c824890f397b"},"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":"53fff6c9ca5e0ce332d61f6847500e66976f4f5e39da92599e27f524364fc982"},"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":"603a7ea2823b14badd2ee1f19d357d2bcddd0a8d880c4b717256e41b8e3268f4"},"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":"3803b6a728b847793f4a85a73a2253fe8ed913b8e42643f3f1cab182c2926dba"},"taxa":[{"id":"CWE-78","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":"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":"244d7be19eb939dbbd681abe64107a3031175ea2e999838da28eb8efc5924d8c"},"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":"9e3f14eb309d520e5f14ee4e83845b992798028c2daa72874303b75e8e84bc84"},"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":"a25d9e9ad15863876a9220b92f16e38c73d9234c6c4f791da5f685935b5bae0c"},"taxa":[{"id":"CWE-78","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":"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":"e42a40de915be30891ccb054cb1a558f9fa22f41b4e571ac89c9b6a3f412a02a"},"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":"28e1950ee18a38a203e9bbd53fd4deefc311236e587dc2f33f76d9734570c7e4"},"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":"7b0e63732390e41e5584fe6c0e24a50ebc3fa984dcf8dcc99f4911da2713cfd0"},"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":"6ccf33b05c3345cb5d45b7c1edd0a4d6f716ce926db03c6f28b16e3bb686234e"},"taxa":[{"id":"CWE-78","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":"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":"62aff6af6d0634585682f96242adf5a562216aaf8770673fe0fc34277513a24b"},"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":"b7172211605189dfb942f71e3aff0ca685d0dd3c2bd5948d785fbb63a07ed210"},"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":"650af87852de1d629dc3e348e08bac79b54ebb340f31c98f3fac4ab4c0238d72"},"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":"c2464c7daf62b7b80a78e14dc16f7ad8463eb9de702ec572de65e475fc543d4b"},"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":"032fd5d04cb89b06988eda95e765f2b19d7d3a4e32164077e760fbf4ce1f062b"},"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":"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":"c2431202cc0625e8ff05719dc43763e43a73ee234316aa9485ba7fe8603438e5"},"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":"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":"81dd97d7be1de0b76784d5c5cc386c22d7bcf35bf2cbb7dd94644058526c6d2a"},"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":"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":"2236155eaa706a50c89dfd274d58e59f9017fa4b7b270c3da2ca96e9e75cf5a6"},"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":"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":"acdf87cfbeec978b928a5fc4ebc291e16ef3a71f112cb523a3585032666de3ff"},"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":"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":"e4ea547cffb5c6f560c18bf801a417521393a66b14eec8bb97bb7a7f36201dd1"},"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":"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":"5c1d94d813df608567e59c25a3c1726599097975e8ecb219ecc548cd32b4400a"},"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":"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":"b21b165ae56f9dbf92e3f6f014cfca136ae9dec53711cfe0b54d1a66fcfacbce"},"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":"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":"21d5b01bccf6d84facddefa5380dc66eb1b3c8fa8965910a5794b2385cfc5929"},"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":"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":"ddef430035e4351eeebf27399011c4aa380173c13198c67e836c828861234460"},"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":"9c97c03d9b1bd4c35c8a9aa71bdabe87044268e4ae53ad0d365b5e658efa9403"},"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":"9ebf9162b495076a53b20563f1c0463ddf1a64f5d7dc6f1d6d883fcf078aade5"},"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":"3a6a08eb13eb10c7ae287aca51bb8277f656eaa4e42cbd4b3bbfbdba6ae6532f"},"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":"db8084760d56ae72b334f475724e5a40e9ffcf87c64e00cb9ba16ba030fd312f"},"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":"1309540fb6a6902e261ff061ffe10de42520cd2b9665cfde553df70fbf675029"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"c5929e453af82f1b57447a7f9365bf16bc52cb090c09b595a562e98cec4b6eb3"},"properties":{"dependency":{"package":"Microsoft.DotNet.ILCompiler","version":"10.0.11","advisory":"[GHSA redacted]","reachability":{"kind":"production","file":"src/N_m3u8DL-RE/N_m3u8DL-RE.csproj"}}}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: ResString.cs \u2194 MyOption.cs: \u0060src/N_m3u8DL-RE.Common/Resource/ResString.cs\u0060 (context N_m3u8DL-RE.Common) and \u0060src/N_m3u8DL-RE/CommandLine/MyOption.cs\u0060 (context N_m3u8DL-RE) sit in DIFFERENT parts of the tree yet change together 81% of the time (34 of the 42 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 34 shared commits counted here, the most recent 3 are \u0060ecf23f42\u0060 \u9ED8\u8BA4\u4F7F\u7528 HTTP/1.1 \u5E76\u652F\u6301\u9009\u62E9 HTTP \u534F\u8BAE\u7248\u672C (#1011); \u00602f64dcbb\u0060 \u4F7F\u7528\u672C\u673A\u865A\u62DF\u8F93\u5165\u89E3\u51B3 FFmpeg \u5408\u5E76\u5206\u7247\u65F6\u7684\u53E5\u67C4\u8017\u5C3D (#983); \u0060141321e8\u0060 \u652F\u6301 Netscape Cookie \u6587\u4EF6\u53CA\u54CD\u5E94 Cookie \u66F4\u65B0 (#972) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Resource/ResString.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabf4ca4894dee78f61b911e4591530dee51eca3c0ea67ebb3c85cf37a10fd82"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: StaticText.cs \u2194 MyOption.cs: \u0060src/N_m3u8DL-RE.Common/Resource/StaticText.cs\u0060 (context N_m3u8DL-RE.Common) and \u0060src/N_m3u8DL-RE/CommandLine/MyOption.cs\u0060 (context N_m3u8DL-RE) sit in DIFFERENT parts of the tree yet change together 81% of the time (34 of the 42 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 34 shared commits counted here, the most recent 3 are \u0060ecf23f42\u0060 \u9ED8\u8BA4\u4F7F\u7528 HTTP/1.1 \u5E76\u652F\u6301\u9009\u62E9 HTTP \u534F\u8BAE\u7248\u672C (#1011); \u00602f64dcbb\u0060 \u4F7F\u7528\u672C\u673A\u865A\u62DF\u8F93\u5165\u89E3\u51B3 FFmpeg \u5408\u5E76\u5206\u7247\u65F6\u7684\u53E5\u67C4\u8017\u5C3D (#983); \u0060141321e8\u0060 \u652F\u6301 Netscape Cookie \u6587\u4EF6\u53CA\u54CD\u5E94 Cookie \u66F4\u65B0 (#972) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Resource/StaticText.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"425086ff126fe0741a9aa2aec15f2c7708059848d67dd4f5c6a715f0e6ac3f1f"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: HTTPUtil.cs \u2194 CommandInvoker.cs: \u0060src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs\u0060 (context N_m3u8DL-RE.Common) and \u0060src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs\u0060 (context N_m3u8DL-RE) sit in DIFFERENT parts of the tree yet change together 50% of the time (10 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060ecf23f42\u0060 \u9ED8\u8BA4\u4F7F\u7528 HTTP/1.1 \u5E76\u652F\u6301\u9009\u62E9 HTTP \u534F\u8BAE\u7248\u672C (#1011); \u0060141321e8\u0060 \u652F\u6301 Netscape Cookie \u6587\u4EF6\u53CA\u54CD\u5E94 Cookie \u66F4\u65B0 (#972); \u00604b0276d4\u0060 \u652F\u6301\u901A\u8FC7 --interface \u6307\u5B9A\u7F51\u7EDC\u63A5\u53E3\u6216\u672C\u673A IP (#970) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f36a515c2fae94ae21e1f69029205909ab3d0f0c13752ed999d026bb8a687d4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HTTPLiveRecordManager.cs \u2194 SimpleLiveRecordManager2.cs: \u0060src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs\u0060 and \u0060src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060d07cf222\u0060 \u4F18\u5316\u7EC8\u7AEF\u914D\u8272\u4EE5\u517C\u987E\u6DF1\u6D45\u80CC\u666F (#998); \u0060e9254c6e\u0060 \u4FEE\u590D\u76F4\u64AD\u5F55\u5236\u65F6\u957F\u7EDF\u8BA1\u548C\u5B57\u5E55\u504F\u79FB\u7CBE\u5EA6 (#975); \u00603518c87c\u0060 \u76F4\u64AD\u5F55\u5236\u65F6\u663E\u793A\u5DF2\u5F55\u5236\u6587\u4EF6\u5927\u5C0F (#960) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f87059b2dadf6d6ff01c164e24d225a09b378dde7aa11f971e9d9fafd810834"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05c58f2d561a93e896028f5780a2406c13f53f667b7ace9558cd8784691a730b"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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: CommandInvoker: \u0060CommandInvoker\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 (Descriptions; e.g. \u0060Descriptions\u0060 at line 780). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"db76aaa1b750cd8e52087d2d46d32ba0686357a3410dad7cd9e135c2dd24b28d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: CustomAnsiConsole: \u0060CustomAnsiConsole\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 (Console; e.g. \u0060Console\u0060 at line 92). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Log/CustomAnsiConsole.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21abef39fba830b6ee6cb626f40f85bc1501f2d07c7706fb074a229ee0eda31"}},{"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 (LogFilePath; e.g. \u0060LogFilePath\u0060 at line 47). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Log/Logger.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdc3185118cea694ceeb2883bdec1a0d616227b5ee3d3f629350cbcfb91eced"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces N_m3u8DL_RE.Parser.Config \u2194 N_m3u8DL_RE.Parser.Processor depend on each other. The lightest dependency in the cycle is N_m3u8DL_RE.Parser.Config \u2192 N_m3u8DL_RE.Parser.Processor (N_m3u8DL_RE.Parser.Config.ParserConfig \u2192 N_m3u8DL_RE.Parser.Processor.ContentProcessor, 3 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Config/ParserConfig.cs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03fb6ff67884f21a5f2b904b4f5fd7f8a2af50787fc82aae74b430f5dd6134c"}},{"ruleId":"AX5","level":"warning","message":{"text":"Appears unstructured (no recognised architecture): ~23.1k production LoC (363 types) across 3 project(s) / 30 namespace(s) with no recognised architectural style or layering \u2014 at this size, deliberate module boundaries would help. No DDD/clean/vertical-slice/CQRS/transaction-script organisation was detected \u2014 code is likely organised ad hoc, which makes change and onboarding harder as it grows."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cf38333cec692da9187608fc8d12d547460b1d3964d6b4da78c9c51e859dd969"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: No [Authorize]/policies and no imperative guard methods (throw-on-violation) were found \u2014 endpoints may be unprotected."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3c8f4a0d95788697a7fc1ead96135db317ec608163fb67cdcef02d14083148f1"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/LiveTSExtractor.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab27395ab6f691ba510a99175c0cc240aae378ca45adbe314dc6588237a7f666"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/LiveTSExtractor.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4739dc1ed6e8c734f147013be0db502458d4ecd4ee551645f5dd6baaee29f882"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/LiveTSExtractor.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"49499680f00c86a3eaacaf427caa70befedbf5d7905468276a0662bdd7fbaf42"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/LiveTSExtractor.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff1eb0c149a8a7b06a871b2f4ca6756cac4e5afa647c54b70462a26cc03eba8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 2 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Log/CustomAnsiConsole.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"23529af84ef59bea67317b4240ca2fe5323e8cdc36280ee018169cf8413284f5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Skeleton type \u2014 most members are unfinished: \u0060LiveTSExtractor\u0060 has 4 unfinished members out of 7 declared members (methods, properties, indexers and events, whether or not each carries a body) \u2014 a scaffolded type that was never implemented."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/LiveTSExtractor.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d7e9590a51bd163a41adc70cbc1d5bbae1cb3c004809cf266290a7bc92c268"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060FetchPlayListAsync\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/LiveTSExtractor.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef0ba32ed11ebff4c3746095f4f7e9fa784774d573dcb653e8238114d99879b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060PreProcessContent\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/LiveTSExtractor.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"902608294f25ade4628db67cb8179fe9f2296f71bbb17ce0c41023f552081198"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060PreProcessUrl\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/LiveTSExtractor.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff28a94e6ebfcc4fdbf4d866795518448d8265de6af0066abddffd8ac2a4bc6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060RefreshPlayListAsync\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/LiveTSExtractor.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4877ad601de71dc452611190d7d9ff559a35d489526d19e9b6e334badc720e81"}},{"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":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5aaea9410a2525c4d81523ac9b1ce954f808d64d7ffe86f23847a1d8ff3141"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MP4InitUtil.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"767e52e2bf896a4edbd11782b0e853ec512dcff50ea5e665b850bb3df1d32bab"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MP4Parser.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d91a2f95c08761b9f7f2cb1ec4851e4dbaf0de670bc962ec001c24672b0453"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MP4TtmlUtil.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13469fe6dadb003a17fa126dbeaaeb890fdcc1c50913c60e161eb5326cb5200"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MP4TtmlUtil.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd2a32447b301dac9ced386b4da72d0245f9a857dd14dd607fc7e1164a7c2aa"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MP4VttUtil.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f5a1b6622229177d61de04739779e0636d65a7f61da8e3e2f106a7d3743d0c"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1959e3f7523c566de471582b2273b556e38824724a2d4324ff46aca5c9a909e"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"398de38a1c9c9b8db3cbd24807095095916b020352558796fdc3a147308c7d7f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 16 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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab36cf23a57352c7de081869b02c28f2e9c8d2e98dceec4cfc3c1d63c1e3723"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48d2b3273e1376a60bb854e459d270133a6d03302337b27a2eaf753a2d2aa94"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f7496d48a63dea53227e517e701d4c7c937df4c021be9e2996a44a14019ffa"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"41166a7756c1b67431abd54e758d1753cac42975e247ad4eab2be0db02ba8cc7"}},{"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":"src/N_m3u8DL-RE.Parser/Mp4/MSSMoovProcessor.cs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9f1c61822d4a41214763acde0a1e4d5bb953e0c5ee047624f9cbad15dcccde"}},{"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":"src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSContentProcessor.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"589c8ca589c2fddd06ff7cef9461c57ef5d75a3fe7681157503dda5c1133b53d"}},{"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":"src/N_m3u8DL-RE.Parser/StreamExtractor.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50508213c8b7e9b5d2573ed61a56069b2ab7730d1a92c89baa6d7ede6d46ac4"}},{"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":"src/N_m3u8DL-RE.Parser/StreamExtractor.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebb221bf9b58f5ffee7d35ac547220a64e7aa647df3c0e5e90da134a492f1ff"}},{"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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"619cd6e78f3adafcab0cb1ce4187d2bff8139063dd6d77c7a7874ec9ff0cffa0"}},{"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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"8386bd9c140a1c31795f0fcb1a004d86321077fbc60a6f6b219c80f36bd57e36"}},{"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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4455780cd50b640b261b59dfb685b47699c11e8060eeb65c40e86c20876d76f"}},{"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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e96043b96860fbcda7ca894cee48afdd4c10cc16e0f9596668654ac0dd026b"}},{"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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7d4b550796af103070ea0724cb764698c24f3a8531581a5c31eb4f59a4f923"}},{"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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b80dae12960275b7e4cb4dc5f2c30b2c4cf4463bc93c8d303985b6269a009b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 6 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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5193c734a9fd9484541a9a6dbf3d16174d15cd39dedbcec019af1dc262b10ec"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 6 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":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1352e4e9376473f0442b555fb8d8e09018fa57bd232a0ac4138fddd9ab7d05c6"}},{"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":"src/N_m3u8DL-RE/Downloader/SimpleDownloader.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"df494b93dd3457347b2de443b041c7558a9ecc44c76a65fb74efb15d0f552b56"}},{"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":"src/N_m3u8DL-RE/Util/PipeUtil.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba83fab87401082c8eb699def943fed95da6f02241903c3c035266870997d71f"}},{"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":"src/N_m3u8DL-RE/Util/PipeUtil.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7050cedafdb16ba8ddb9727dbe1b992002175ba845fe201d2175193f721d3b"}},{"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":"P12","level":"note","message":{"text":"Sleep-based test synchronization: 11 Task.Delay/Thread.Sleep call(s) in test code synchronize with background work by sleeping \u2014 a known flakiness precursor on slow runners. Prefer polling with a deadline or completion signals."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6a03a2c4f0cdb020131eedb5050e85716d2d15c3e6c049458617ddd83166de9e"}},{"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: \u0060src/N_m3u8DL-RE.Common/N_m3u8DL-RE.Common.csproj\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":"src/N_m3u8DL-RE.Common/N_m3u8DL-RE.Common.csproj"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b110ebf2eb3ff46dca0ad8465e6c0aa76b6f8d12657cbe35354e76ce0b382d4"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 12 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) \u2014 these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2dedb76432d7d4f359386b5c37564c0f3de368182a77e31aa8af9ba73f9a4def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ConcatInputServer.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff382e869d276d3709b7ddc6e6380dad2d7ef3c9e8f53b2eef3a97847abc9325"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MediaProcessingProgress.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71ad564b57b78e7a699975568948c9fe72089b419ea9f76aa7fc7c22ec08aa7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f30cd1660c526157a6b1daa907ec041e7e407fd3d6384c4b8d1274a45376088"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c126b97cca699e1062e499ed487a7ffe3600b935a25a3bb177760502cd9a7efb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93222d31ef9f6964237b0598e0bc19dd03c59728a16dec26fb5c9bc9be9bb5b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faf8f2e814f84469eb9dd71cb235f672a8c608d5f82d6945a606a9494b84159"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84c4c5a776270e0f21e660316c54dac3948fe01d8227d3cb4165a25ece91ce5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97bd56abed1ebba0e31d434e18b7af02cab1f64eb1d4cd99f5efe1c572a715a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4011adac5079b74a47b684e081b489c899520a2056125cd3652c60d86fa200"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37a66c8fc7256d50d2b488e0b53561404259d4dde44fd256b65aa7c18a5d8bc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSKeyProcessor.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc971c5f818ab65e0ff842419a88d2bffb2e32eb7e925364edbebd2f76ea73f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSKeyProcessor.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56434d0d36d629108dd301f2ce5b3280985d9f2a90d8c1ce227fc82ec792d1c"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060RemoteCertificateValidationCallback\u0060 is assigned a callback that returns \u0060true\u0060 unconditionally, so every TLS peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Delete the override and let the platform validate. If a specific self-signed or internally-issued certificate genuinely has to be trusted, pin THAT one \u2014 compare the presented certificate\u0027s public key or thumbprint against the expected value and return \u0060false\u0060 for everything else \u2014 and scope it to the single handler that talks to that host rather than to the whole process. If the override exists only to get past a development certificate, gate it on a build configuration or an explicit opt-in setting so it cannot ship."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"057914a07416410a4e994765002d4a5798f4b8978a66697dbf25d29ddde71750"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. (\u22122.0 on this card.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: No UseHttpsRedirection/UseHsts and no reverse-proxy signal \u2014 transport security is unverified at the app layer. (\u22122.0 on this card.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060Thread.Sleep\u0060 inside an \u0060async\u0060 method: \u0060Thread.Sleep\u0060 parks the thread for the whole delay: no other work runs on it, and under load the pool must grow to make up for it. \u0060await Task.Delay(\u2026)\u0060 suspends only this method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8c82c27284777c66d9f9277baa7d87b02cadc3691f06f1b3c80901c7431059"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060File.ReadAllBytes\u0060 inside an \u0060async\u0060 method: \u0060File.ReadAllBytes\u0060 blocks the thread on I/O while \u0060File.ReadAllBytesAsync\u0060 exists to wait without one \u2014 inside a method that is already \u0060async\u0060, await the twin."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Downloader/SimpleDownloader.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"236dbdea8aecb07d6ced7c39b2bfcfbe45df207eb419af493cb4605bb773d6b4"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060File.ReadAllBytes\u0060 inside an \u0060async\u0060 method: \u0060File.ReadAllBytes\u0060 blocks the thread on I/O while \u0060File.ReadAllBytesAsync\u0060 exists to wait without one \u2014 inside a method that is already \u0060async\u0060, await the twin."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24b8a7daabf0beb64f0a3dc1810f03d9087d60a3a680d9f0ec622fc128f33c7"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060File.ReadAllText\u0060 inside an \u0060async\u0060 method: \u0060File.ReadAllText\u0060 blocks the thread on I/O while \u0060File.ReadAllTextAsync\u0060 exists to wait without one \u2014 inside a method that is already \u0060async\u0060, await the twin."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5053d28940c40c0ae4647b5469db8a0cbed5d26d698ca008738ead0d8345dc5"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060File.ReadAllBytes\u0060 inside an \u0060async\u0060 method: \u0060File.ReadAllBytes\u0060 blocks the thread on I/O while \u0060File.ReadAllBytesAsync\u0060 exists to wait without one \u2014 inside a method that is already \u0060async\u0060, await the twin."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a5f2d89454516f79b2c953718fe8a24a234eb6bf6c1fed3faf23488c419332"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060File.ReadAllBytes\u0060 inside an \u0060async\u0060 method: \u0060File.ReadAllBytes\u0060 blocks the thread on I/O while \u0060File.ReadAllBytesAsync\u0060 exists to wait without one \u2014 inside a method that is already \u0060async\u0060, await the twin."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0a3d3cd509c337887cb4c885a4e2a25ef7df1feb39936f5ebf9d6f61a4ec84"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060File.ReadAllBytes\u0060 inside an \u0060async\u0060 method: \u0060File.ReadAllBytes\u0060 blocks the thread on I/O while \u0060File.ReadAllBytesAsync\u0060 exists to wait without one \u2014 inside a method that is already \u0060async\u0060, await the twin."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0494932ac6cae95c07eba54fa446e61f98721064f8ce29d73342322bb3a4d3f"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060File.ReadAllBytes\u0060 inside an \u0060async\u0060 method: \u0060File.ReadAllBytes\u0060 blocks the thread on I/O while \u0060File.ReadAllBytesAsync\u0060 exists to wait without one \u2014 inside a method that is already \u0060async\u0060, await the twin."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4b491cc5a5deafcad176f688c624d3887b5ea7f367e742062e67f62213288b"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060PipeUtil.CreatePipe\u0060 inside an \u0060async\u0060 method: \u0060PipeUtil.CreatePipe\u0060 is a synchronous helper that blocks (\u0060Thread.Sleep\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9456d3f134179598138e7dc4732f80416644c6daa3071ec03cc0bff4b141a3e"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 wastes a thread and, if the task needs a context this one is holding, deadlocks. \u0060Dispose()\u0060 returns void by contract, so it cannot simply \u0060await\u0060: signal the work to stop first (cancel its token, set its stop flag) so the wait is short, give the wait a TIMEOUT so a hung task cannot hang shutdown, and \u2014 where callers can use it \u2014 add an awaitable teardown (\u0060DisposeAsync\u0060/\u0060StopAsync\u0060) beside the synchronous one and let \u0060Dispose()\u0060 remain the bounded fallback."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ConcatInputServer.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c11df2ab30a60948437ec14dba4b8c7a743886f93ced6d10203e5878822954"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 wastes a thread and, if the task needs a context this one is holding, deadlocks. \u0060Dispose()\u0060 returns void by contract, so it cannot simply \u0060await\u0060: signal the work to stop first (cancel its token, set its stop flag) so the wait is short, give the wait a TIMEOUT so a hung task cannot hang shutdown, and \u2014 where callers can use it \u2014 add an awaitable teardown (\u0060DisposeAsync\u0060/\u0060StopAsync\u0060) beside the synchronous one and let \u0060Dispose()\u0060 remain the bounded fallback."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MediaProcessingProgress.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3df68db415fd4ff8ee17193e594ca059540a1b2337478fd625b54942f0d14f8"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49a411600ae59d5320e9492a6f2272c21f7e2b6ea885ca4a1c9d625514a6fcf"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ba039307f8f695c9771bcce68a4b81b1c029c1825689dac975a4716ef85688"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38725c67cda8c1d2e62c984b60c7b1cf38733e3e2ef3b0bfeebb2d93e50f82a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8298992dd2c66dd9ba8f21d6fbf63df6db46db266c5b70285d2563fc491e60f4"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"58347cc6ae85c2e0c4b55cb3e99b07e272a58a5b89ccc29ab54e0e9a198cae30"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"88166815ed7c01ce4f43fe31e5809af19a61a6baaa1db2c6da32cf212ce01dd7"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05bf510394503059fe141f0e90495a33749417b304a533b9421e972197e0105"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f99b1a42d22ae93d4c4377d8b623443bd52746e44919c07a39e16dafe480f1c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Processor/HLS/DefaultHLSKeyProcessor.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc6ab12fe3735e3ab8da7c14628e4278a6c2b0fc864d75da6eebd38d04000ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!DownloaderConfig.MyOptions.BinaryMerge \u0026\u0026 legacyDolbyVision\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cee061bef8b0bc9f01b58914c1376bcab3b468478e33566b22294ad093ecc58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!DownloaderConfig.MyOptions.BinaryMerge \u0026\u0026 streamSpec.MediaType != MediaType.SUBTITLES\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"228e6c0240df5d05e761ff0f710fd61abe62c71a28eab2f5e3a03674ab551070"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(mediaInit.IsEncrypted || !string.IsNullOrEmpty(currentKID)) \u0026\u0026 DownloaderConfig.MyOptions.MP4RealTimeDecryption \u0026\u0026 !string.IsNullOrEmpty(cu\u2026\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8a6ccfd670a733358b0acd2f9bc5a105680d1c15e1e66dffaea5fb85811311"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DownloaderConfig.MyOptions.AutoSubtitleFix \u0026\u0026 streamSpec is { MediaType: Common.Enum.MediaType.SUBTITLES, Extension: not null } \u0026\u0026 streamSpe\u2026\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e170ab40db6bffceeed2598bae7735105364ab8dccee8200f978a390f12051"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DownloaderConfig.MyOptions.AutoSubtitleFix \u0026\u0026 streamSpec is { MediaType: Common.Enum.MediaType.SUBTITLES, Extension: not null } \u0026\u0026 streamSpe\u2026\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbd9bc05e28d2c521cf2ac3e8731accfec603dfde86c0416a32cdb7e523572a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DownloaderConfig.MyOptions.AutoSubtitleFix \u0026\u0026 streamSpec is { MediaType: Common.Enum.MediaType.SUBTITLES, Extension: not null } \u0026\u0026 streamSpe\u2026\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f155ea5b6087b538b8c96f4aa0b5ada9f81105aebe345eb3f993bb247e9b7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DownloaderConfig.MyOptions.AutoSubtitleFix \u0026\u0026 streamSpec.MediaType == Common.Enum.MediaType.SUBTITLES \u0026\u0026 streamSpec.Codecs != \u0022stpp\u0022 \u0026\u0026 stre\u2026\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"37066abda39c4b43abdb7dae77cab1826df8165a97b5032cbfecd9517c964a39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DownloaderConfig.MyOptions.MuxAfterDone \u0026\u0026 legacyDolbyVision \u0026\u0026 DownloaderConfig.MyOptions.MuxOptions?.UseMkvmerge != true\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a430f9bff72c377c400a1db56ddb2bee70a051454fc56b4cb11d64cf51d14a1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060OperatingSystem.IsWindows() || OperatingSystem.IsMacOS()\u0060 appears character-identically in 5 files \u2014 src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs, src/N_m3u8DL-RE/Util/FileToolUtil.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":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e0032d2a70b7515c26a7c05c074fc6a6cebbb544c1803856aa205e7b9c1802"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060decryptEngine == DecryptEngine.MP4DECRYPT \u0026\u0026 DownloaderConfig.MyOptions.Keys is { Length: \u003E 0 }\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ece70bf7e1e5cb4332a08aeac9af84b4b58ffa6c98b42782c8e8724ab834a9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060double.IsFinite(segment.Duration) \u0026\u0026 segment.Duration \u003E 0\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/LiveSegmentNotFoundPolicy.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/LiveSegmentNotFoundPolicy.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbcdcaf5816e9cf8c3c075521379b070e8e4a11a2a599556e6da42fcfae792a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exitCode == 0 || DownloaderConfig.MyOptions.MuxOptions.UseMkvmerge \u0026\u0026 exitCode == 1\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"890466f60952a2e73da1d7778c3fe85dd4616c411699794ed28430cb5c54d217"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060intervals.Count \u003E 0 \u0026\u0026 span.Start \u003C= intervals[^1].End \u002B 0.001\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/Util/VodStreamPlanner.Hls.cs, src/N_m3u8DL-RE/Util/VodStreamPlanner.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":"src/N_m3u8DL-RE/Util/VodStreamPlanner.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83cdedc69ac0a5c4a109d4eedeb0b5d9e92928b5b0a8253b44b82e2d7c500c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mediainfos.Any(m =\u003E m.DolbyVison) \u0026\u0026 !await BinaryToolUtil.FFmpegSupportsDolbyVisionAsync(DownloaderConfig.MyOptions.FFmpegBinaryPath)\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"61efa050eebf0de4bdcb98e154b37a3872f9fcc69dc6c87fbbe47120e4a42722"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seg.IsEncrypted \u0026\u0026 DownloaderConfig.MyOptions.MP4RealTimeDecryption \u0026\u0026 !string.IsNullOrEmpty(currentKID)\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1623947646449771a97a94df7e00e98d9f77c37df6accb725ec40db8661695b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seg.IsEncrypted \u0026\u0026 DownloaderConfig.MyOptions.MP4RealTimeDecryption \u0026\u0026 result is { Success: true } \u0026\u0026 !string.IsNullOrEmpty(currentKID)\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"daba663fedfd4d11bae8d2a4df60f54d09514e8471dcf6e275f08e013b569af2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060span.Start \u003E= i.Start \u0026\u0026 span.End \u003C= i.End\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/Util/VodStreamPlanner.Hls.cs, src/N_m3u8DL-RE/Util/VodStreamPlanner.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":"src/N_m3u8DL-RE/Util/VodStreamPlanner.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"276c6890ae83bc1edd4ba5a8018b4b8c417f605ad46bf396f9446e67355786ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060success \u0026\u0026 DownloaderConfig.MyOptions.MuxAfterDone \u0026\u0026 OutputFiles.Count \u003E 0\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs, src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.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":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d706fd513a91f95a9c4b1f50396d63213768eab7a3acdaf5d918dd3c28c00a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task.IsFinished || task.StopTime != null || !task.IsStarted\u0060 appears character-identically in 2 files \u2014 src/N_m3u8DL-RE/Column/BinaryDownloadSpeedColumn.cs, src/N_m3u8DL-RE/Column/DownloadSpeedColumn.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":"src/N_m3u8DL-RE/Column/BinaryDownloadSpeedColumn.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1618d1469347c176267579094218dfdc37ef1f32b35ba8d8c325b0ec3fe1731"}},{"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 the code waits for the child to exit \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":"src/N_m3u8DL-RE/Util/PipeUtil.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a734928c1ac81cb0f8afba1b42ab9f6ebff6b61045d5d8a62fb1549ea8f97eb"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060dcpt\u0060 is a \u0060Aes\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 26). Every use of it in \u0060AES128Decrypt\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var dcpt = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Crypto/AESUtil.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3454b48d68858affd3b9626bec03315bd5bd548dc152421358212817240db1d0"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060cTransform\u0060 is a \u0060ICryptoTransform\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 34). Every use of it in \u0060AES128Decrypt\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var cTransform = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Crypto/AESUtil.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"572266f2ace257dbef1e2a0eabc86c4f90e569eb9d973fe86ea7188dab7437cf"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060forDecrypting\u0060 is a \u0060ChaCha20\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 25). Every use of it in \u0060DecryptPer1024Bytes\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var forDecrypting = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Crypto/ChaCha20Util.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b43ad0e36c5dc2e1487f80795c6c8e3fcc52cf74b578eb7e65eb700f13767e"}},{"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":"src/N_m3u8DL-RE/Crypto/CSChaCha20.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb0c584330326e9a91e205cbc9be65b017a7a02ba7c36d185527dbf42e26c66"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created into a field and never released: \u0060CancellationTokenSource\u0060 (line 59) holds a \u0060CancellationTokenSource\u0060 that \u0060SimpleLiveRecordManager2\u0060 creates itself with \u0060new\u0060, and nothing in \u0060SimpleLiveRecordManager2\u0060 ever releases it: the type is not \u0060IDisposable\u0060, declares no \u0060Dispose\u0060, and every other mention of \u0060CancellationTokenSource\u0060 only reads through it. And \u0060SimpleLiveRecordManager2\u0060 is not a process-lifetime owner: \u0060new SimpleLiveRecordManager2(downloadConfig, selectedStreams, extractor)\u0060 (Program.cs line 545) creates one per call and drops it when the call returns, so each call strands one unreleased \u0060CancellationTokenSource\u0060 (a timer that keeps firing, a handle, a socket) until finalization. Implement \u0060IDisposable\u0060, release \u0060CancellationTokenSource\u0060 there and dispose the owner at that call site \u2014 or keep one owner for the process instead of one per call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fff253f68d56e1d6107080f05ef594448d79b424d40fa8a1d0dfcadf362e3b"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created into a field and never released: \u0060DownloadCancellationTokenSource\u0060 (line 60) holds a \u0060CancellationTokenSource\u0060 that \u0060SimpleLiveRecordManager2\u0060 creates itself with \u0060new\u0060, and nothing in \u0060SimpleLiveRecordManager2\u0060 ever releases it: the type is not \u0060IDisposable\u0060, declares no \u0060Dispose\u0060, and every other mention of \u0060DownloadCancellationTokenSource\u0060 only reads through it. And \u0060SimpleLiveRecordManager2\u0060 is not a process-lifetime owner: \u0060new SimpleLiveRecordManager2(downloadConfig, selectedStreams, extractor)\u0060 (Program.cs line 545) creates one per call and drops it when the call returns, so each call strands one unreleased \u0060CancellationTokenSource\u0060 (a timer that keeps firing, a handle, a socket) until finalization. Implement \u0060IDisposable\u0060, release \u0060DownloadCancellationTokenSource\u0060 there and dispose the owner at that call site \u2014 or keep one owner for the process instead of one per call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0890e5d238f9da802ae801dfada66d115c376bbaee204cbb94bbe9f6af1a1034"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060stream\u0060 is a \u0060FileStream\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 91). Every use of it in \u0060Read\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var stream = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ConcatInputStream.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c268f97ec654355db1b26f330ed38fcb23f36313c594342d40acbadeb182d1b6"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060stream\u0060 is a \u0060FileStream\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 109). Every use of it in \u0060ReadAsync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var stream = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ConcatInputStream.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6992cc41bc84c13a5408d436fd2b530afd1c01767f0f4a3accde6ed8eba6220a"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060reader\u0060 is a \u0060BinaryReader2\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 116). Every use of it in \u0060ExtractSub\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var reader = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Mp4/MP4VttUtil.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4167a36e4ff7244c270390f6bea68c172d303fb3178ab9a039f34508b2393694"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 47/114 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: InvokeArgs: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ab1ae863cc743799a7f3ecf06e0cee6986d087c07f1e33f45de07f34d7e6d9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: EncryptStreamAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Crypto/CSChaCha20.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e742d7d72840270880652dc94621cd829b7a4267c1e3e0847c85b33088f86b3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DecryptStreamAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Crypto/CSChaCha20.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6683a5933b20de1ee3c14ceb63cf12863b62ed13e713e9c439c5c89b33ca3f51"}},{"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":"src/N_m3u8DL-RE/Crypto/CSChaCha20.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59a51e2ad7b9431b41d1933f9c821fc7c508be0b9d99089a318a88fb7409b6c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/BinaryDownloadRunner.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5382f244f4fa2adad9e9fe353e990ad83a21122d3767996f854010b69ec321b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DownloadWithLogAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/BinaryDownloadRunner.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea7f74af78e876f06b6c7ecf76d5aa69482acc6b0ecd02f14c9558b2d9e121a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DownloadWithProgressAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/BinaryDownloadRunner.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3828977991200442bb4f94e3c11ff25fad77f4882e740cfe98db2b619bfd3d95"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ReadInfoAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b303d4615d43e364c3630c1d09f9fbe33cbac829e7f453500d653e287423fb8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TimeCounterAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e3a400653c74f3ee02b07386d82e4cb0bcd528aa7086c514410fe0f551b270"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TryRecordStreamAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9ee22b9d266861a5a0fdee3daae9c2f36f9cfca438ffd6214635febe50589d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StartRecordAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2536d891663a60c902dcb46afa1a1f86ceb91d973b73d2f363b435f0a43ca6f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SearchKeyAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56d5c34246d2cf845803f3bb9ea4f444f5de35d7110c2e8c2fa4e37970873e6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ReadInitInfoAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfff445c15766287784d1d450f6a732583befa38c8b9e0b56252b6fcf3acb265"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DownloadStreamAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c44a1bc60317e9106c82cb16423ee04e4b47e902b4ec1686d990273ae485f2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StartDownloadAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f5d6be4ae925cd5d9b07cc0845ccc37d6a485cebacde762e8ddbb399240e0b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: DownloadTrackAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"9820f2845611b0fad67d6c4b4fb3f0748c2d2db532b44cd249eb1280f8372672"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: DownloadBatchAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"23419d50bb82f9010c9d784e69846977dbe6bfd1ef9fa693b33428de8cbc3557"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: DownloadMediaAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a622a7d581150ca7a2376e376806ef7a552884af660dd76644c65aa9dff96f7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DownloadPartsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e7ece8f84bcae72c445ae0a591e930af11a35d849dac4b95c9e5094efe13dd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: MergeSubtitlesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.Parts.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee553e4a8cce3e43e4955866ec23f1b93744b72195bc7dea9933707bd13cb4a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SearchKeyAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e4747fb4306a07510f8a46eb0cae59da05017f956587878b7b6e5cf1929935"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PlayListProduceAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"a601adff662ef70a90f7069cf668de2c5b73d8d17e80a13f9d765b764198dab8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StartRecordCoreAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"405abee7105dd33f94cde32b131619c912bf0c33beb1e278cde1b8d33ed7efd5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DoWorkAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0960717b7224781c1e06763ae6ad68956baf72a4e2bd4aea501e8577591f445"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WriteRawFilesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1ff8c790b54d6317e1ed79d3196ec1458b672ec5d364e69b1f98319dea478d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CheckUpdateAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"2502abe61543e3a9fb76a2caac27e567eb701f1afd8638a10e728d913a04443d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get302Async: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b7ba3f3e5b759159545934c78f87001d2f1a358a7646043b227332d2422b49"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CopyFileAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/DownloadUtil.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e67a093bd42cc99e7da5ade5029cad111291e44209bc42a6e95c18fa51ad6d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ProcessAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ImageHeaderUtil.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"36285046a63c4ca02681b978695f779dd924b965ea4b20dcb808ce6e2941038f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SplitUrlAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/LargeSingleFileSplitUtil.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8047339e684f3a06fbc1033c56db9e3aab57840cdc48c3c63f1f5b0798333623"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CanSplitAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/LargeSingleFileSplitUtil.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba3de80bbb78a205218c5f24833cd86ff1cbe7e201adb1ac6a22160d6f25f45"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetFileSizeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/LargeSingleFileSplitUtil.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb502c8643a41ffda7a1c444a07ce11db5d82c4d26b05b93f1bbd45e0e223fc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MediaProcessingProgress.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94dbb66973d7a9b0f946f80fd867a7f5f4bf51f96b37cfc6dbfc2130466b73a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DecryptAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d31f6f40fd6d848f3a021a6f597e1ccc928f976a2c23519dccefbe60b5150c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunCommandAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d8cef6cf8e186f3a794f0e06cfd5ff14295339a28dfe6c68107fc6574bcfbb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SearchKeyFromFileAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a55d2e43879109e2eeecc8d9e89232756c8aa4ba6219c3a3e9f0e8b469af6a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DeGzipFileAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/OtherUtil.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8e27355096bf2c428256095d3efb319d693f85ed0a8cfdae20836d4a6b5bd2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StartPipeMuxAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/PipeUtil.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ee9e095d921773326589085dab3daebe30d8190051b7f4a9f81400ab28510f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunCommandAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ProcessUtil.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a60aedfbdde86abc355009e514752c1694ed825d55330066d8839285068d5c0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ReadLinesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ProcessUtil.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f435e30c18e22f0491a38654f06a1621ead378804e32aefd1959d82fd034eb42"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ReadAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/ProcessUtil.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba799e4e19974974e9d3b7524c0c185482c6094372a7e9c628d7333f52b69a6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TryWriteImagePngsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/SubtitleUtil.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd7169c3d7de2fc2f9c288f29b5dca5da46a141b4a23de503ebf89ac8c45068"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ReadInitAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/VodInitInfoCache.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f457d029a56d2260f2ce776f77d8f4295af741d961e868ba4a514cb180aa593"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: InspectGroupsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/VodPartSelector.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b1b304afd8fb251148fe67a801fe9bfc84629faba04abc8cf001ca1086e10b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ListAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/VodPartSelector.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2588f7dd3b7de7d5f38bd6ab2e59e4035d1082722a69d1a2b5acd88d1f48fac4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SelectAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/VodPartSelector.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8eecc0bb2fa18a713f97736f4bf2ac6062f9aacf1abacf5daf057af1c42fd5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetWebSourceAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6be04aa8dd0d7d9ef6701663e4555366c99483a8a7f39bae60ba1786c44837a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetPostResponseAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Util/HTTPUtil.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbacd3ab1bc010d19a30bff52fe92572a619f22bd94cd7b0fea030dcca644ec4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WebRequestRetryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Common/Util/RetryUtil.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17f824446b8cba957506941e4f223f0eb868b111c5da6c7112513f764cf82ac"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExtractStreamsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e91f524293dd308888414d73044482e78792e60653665c2f880a2d0dea01aa4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: LoadSourceFromUrlAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/StreamExtractor.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cfb310b7931f219dab8b616bd9caada433ff964a08d33a4196a745e45e0e0b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExtractStreamsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/StreamExtractor.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5bffe3dd052df81569787de6c046348bf2454b12e8e8fdd9aa77149a618a91"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FetchPlayListAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE.Parser/StreamExtractor.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f628650f0099672d2c37a912785eccdc2f62b155c10181a24091ec9842f2d18"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060Debug\u0060 at line 614 is called with an argument built by \u0060string.Join(\u0022 \u0022, arguments.Select(argument =\u003E $\u0022\\\u0022{argument}\\\u0022\u0022))\u0060 (line 614), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because Debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e3810f942be5385208ec636ceb9f5c2488e5ae0a009682bdd5e20db4f51585"}},{"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":"src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01c2a910d282e0a46040ad3ab8915d050d848038c8df6c349497ab380aa28b4"}},{"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":"src/N_m3u8DL-RE/DownloadManager/BinaryDownloadManager.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f939b53b6cd5eb8ed8e32fd48b16240fb70d9708c90834021a1ae9ecc812fe9"}},{"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":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9899eb7b87bc5b88de31b176ac0d8f58dfc9c124162ebf9062a1afda11b7af6c"}},{"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":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"024f62af2313cf1f8c5ad6bb82251c5c64fdff27a326ff6055bd38dc78feb1b8"}},{"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":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf8681b71526b08e7205ed70cc46ac9c1b79239bfc80eee4ed06c64ea008ef6"}},{"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":"src/N_m3u8DL-RE/Util/ConcatInputServer.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baa583b99242a779b40fd5ab19c40130e9a1f26d76e8272bfa5996776676eae"}},{"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":"src/N_m3u8DL-RE/Util/CultureUtil.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9037908913f5cfd0164ad2fd330dae8588788e65a62ece73862dc0f1338e2c8c"}},{"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":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"1475625e7822a2f0145723e8ce2f890bed1b9b8909512a403460b7f175f30d2b"}},{"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":"src/N_m3u8DL-RE/Util/ProcessUtil.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93335b18660e7350bd5942f4c4e43db05c3c90836c1cabd61b2442af5c394d7"}},{"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":"src/N_m3u8DL-RE/Util/TSInfoUtil.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff61a63954984dd3daf581ce5e4d6e2e86d895dd08323fcc51f6edc56dce8f93"}},{"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":"src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc338661c3659b88627972ad50ce20921e4944bdf1bfb9ef8cd053bfea658e5f"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions override nullable warnings: ~1.7 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 251 suppression(s) across the 149017 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ae9a4afaefbfeb512a0b9a87d1bd44cd285ab1e804e4b89c8cf80f255687dfd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060SupportsRangesAsync\u0060 swallows \u0060Exception\u0060 into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/DownloadManager/BinaryDownloadManager.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbda7463bce3e77f6b9009c4d2f49ff41d5cdf8414eb14b10eac502f10eb646"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060GetOrder\u0060 falls back to \u00600\u0060 when \u0060int.TryParse(str, out var order)\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Program.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db82f969a450a3a757816a47269e9c6499e3b241aee7ca1ffa59322e738fdba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ProbeDolbyVisionAsync\u0060 swallows \u0060Exception\u0060 into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/BinaryToolUtil.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"876f41bd96b3091a9920f7c330c8242776da9247d6a89efafb9b9cf7fb23ead5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CanSkipPartsNormalization\u0060 swallows \u0060Exception\u0060 into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/MergeUtil.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d6477d41681b734cf1fb7f1f3536a3fcba78fee0366dc02170f1919275078e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060DecodeText\u0060 swallows \u0060ArgumentException\u0060 into \u0060return \u0022\u0022;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/TSInfoUtil.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e55c1a3d83b736048f92b970701d64ce351c8935bb68ae1d586d680010685c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060ResolutionArea\u0060 falls back to \u00600\u0060 when \u0060values.Length == 2 \u0026\u0026 int.TryParse(values[0], out var width) \u0026\u0026 int.TryParse(val\u2026\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/VodPartSelector.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a58f36784c686ad5d8fe30ee9e61d1f012a9a66cbbe154ed3097d9c67291281"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060Pixels\u0060 falls back to \u00600\u0060 when \u0060values is { Length: 2 } \u0026\u0026 long.TryParse(values[0], out var width) \u0026\u0026 long.TryPa\u2026\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/N_m3u8DL-RE/Util/VodStreamPlanner.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"86da0b3e7bc178e7b2884015c46a7eb11a845009f06568ceb9e7294ce11ef262"}}],"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-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.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-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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":57,"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."]}]}