{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"MidiConverter.ConvertMidi (cyclomatic 54): MidiConverter.ConvertMidi has cyclomatic complexity 54 (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":"samples/MidiFileConverter/MidiConverter.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"36274e86068e3b8783bf523b6ff389d2374e699f5f232d5f9c63e63326298fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"WdlResampler.ResampleOut (cyclomatic 51): WdlResampler.ResampleOut has cyclomatic complexity 51 (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/NAudio.Core/Dsp/WdlResampler.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e370c7ae9b62396708468d504f397ca879bdc30d4d81100788ec71d7ecdbfae"}},{"ruleId":"D1","level":"warning","message":{"text":"Vst3Plugin.Initialise (cyclomatic 35): Vst3Plugin.Initialise has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong 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/NAudio.Vst3/Vst3Plugin.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2256a41939159088a04575531b92f9ba9991f0296f5ebb76deee74774cdfaa1"}},{"ruleId":"D1","level":"warning","message":{"text":"AsioDuplexPassthroughTest.Run (cyclomatic 31): AsioDuplexPassthroughTest.Run has cyclomatic complexity 31 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 5 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":"samples/NAudioConsoleTest/Asio/Tests/AsioDuplexPassthroughTest.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e46d02082aa23d0bbba34a18508d537d53b3de9a9f97cbc9915f69df570fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"DahdsrEnvelope.Advance (cyclomatic 31): DahdsrEnvelope.Advance has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Dsp/DahdsrEnvelope.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cf53a7fb3062e67897659399f2bf25e0315db5240ed877b44970b4400b2112"}},{"ruleId":"D1","level":"warning","message":{"text":"AsioLegacyDuplexPassthroughTest.Run (cyclomatic 30): AsioLegacyDuplexPassthroughTest.Run has cyclomatic complexity 30 (threshold 15). Of this number, 28 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":"samples/NAudioConsoleTest/Asio/Tests/AsioLegacyDuplexPassthroughTest.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6d8bcd21e967faf545523251923898dac222abbb12e054fb7349835330cd9d"}},{"ruleId":"D1","level":"warning","message":{"text":"AsioSampleConvertor.SelectSampleConvertor (cyclomatic 28): AsioSampleConvertor.SelectSampleConvertor has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Asio/AsioSampleConvertor.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f93d3e0f4ec13c132053a8e5bd8fa48440fc762dfeb3d3523e69e0c2548feb"}},{"ruleId":"D1","level":"warning","message":{"text":"WasapiPlayFileTest.Run (cyclomatic 27): WasapiPlayFileTest.Run has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiPlayFileTest.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b6cb488a1762c448f052877b755a258b0b112953c8a9aea778dc1bcf0a3a8d"}},{"ruleId":"D1","level":"warning","message":{"text":"Vst3Plugin.DisposeCore (cyclomatic 26): Vst3Plugin.DisposeCore has cyclomatic complexity 26 (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/NAudio.Vst3/Vst3Plugin.cs"},"region":{"startLine":2153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2b7301dd6d7bbefc6389abace093f0d912b49a7d14efc248d4676671e17364"}},{"ruleId":"D1","level":"warning","message":{"text":"AsioValidateSamplePositionTest.Run (cyclomatic 25): AsioValidateSamplePositionTest.Run has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Asio/Tests/AsioValidateSamplePositionTest.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac6a099e4540b4ea6907767c696257730f8eb919a8ae7efae590bba33e069ce"}},{"ruleId":"D1","level":"warning","message":{"text":"MidiFile.MidiFile.ctor (cyclomatic 25): MidiFile.MidiFile.ctor has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Midi/Midi/MidiFile.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebf452d206e0a571fed91fbdc81c535673dabe995be16244f0deba3040aaf0f"}},{"ruleId":"D1","level":"warning","message":{"text":"SamplerVoice.RenderSpan (cyclomatic 25): SamplerVoice.RenderSpan has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Sampler/SamplerVoice.cs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e590d20002610385c8fbc754447d61e8b043e13b0fae028a8d4398483484e8a"}},{"ruleId":"D1","level":"warning","message":{"text":"Vst3LiveSynthTest.Run (cyclomatic 24): Vst3LiveSynthTest.Run has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 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":"samples/NAudioConsoleTest/Vst3/Tests/Vst3LiveSynthTest.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"228fe97348c44e1fe2a1519dde997adf9e1646e231179c1c485221aa7fb78edd"}},{"ruleId":"D1","level":"warning","message":{"text":"SfzMappedRegion.Map (cyclomatic 24): SfzMappedRegion.Map has cyclomatic complexity 24 (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/NAudio.Core/FileFormats/Sfz/SfzMappedRegion.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5774d4e5e2560c259f00686f8d1c3ad6f9a6e1809220f1b0582b63916e46d94"}},{"ruleId":"D1","level":"warning","message":{"text":"AsioLegacyDuplexPassthroughTest.NativePassthroughChannel (cyclomatic 23): AsioLegacyDuplexPassthroughTest.NativePassthroughChannel 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":"samples/NAudioConsoleTest/Asio/Tests/AsioLegacyDuplexPassthroughTest.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c489b6adea1f4c55d4ad2c39c7a841735f537db977c482ad2b0a9e25435c86"}},{"ruleId":"D1","level":"warning","message":{"text":"Vst3ListPluginsTest.Run (cyclomatic 23): Vst3ListPluginsTest.Run 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":"samples/NAudioConsoleTest/Vst3/Tests/Vst3ListPluginsTest.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7a707ccdfa25a6cd2fdd7c8faf3122cbd3280a91e98fa7b3f1995d39aa4610"}},{"ruleId":"D1","level":"warning","message":{"text":"WasapiVolumeCallbackStressTest.Run (cyclomatic 23): WasapiVolumeCallbackStressTest.Run 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":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiVolumeCallbackStressTest.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d12a1f7248c36d8a63447f3559968a65966a8fc16a69c835894fdf2a2a6d578"}},{"ruleId":"D1","level":"warning","message":{"text":"Vst3Plugin.Process (cyclomatic 23): Vst3Plugin.Process has cyclomatic complexity 23 (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/NAudio.Vst3/Vst3Plugin.cs"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1713e22f047f919ef74038a04410099899a2c18a55ae5f5720cd341b17c43d5b"}},{"ruleId":"D1","level":"warning","message":{"text":"AsioRecordToWavTest.Run (cyclomatic 22): AsioRecordToWavTest.Run has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong 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":"samples/NAudioConsoleTest/Asio/Tests/AsioRecordToWavTest.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f654f38cf191b1d078e96d631d0361622fa3b13d05a21f5d25686595503f0b9"}},{"ruleId":"D1","level":"warning","message":{"text":"G722Codec.Decode (cyclomatic 22): G722Codec.Decode 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/NAudio.Core/Codecs/G722Codec.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4db5cdd27159d8d55c83b28def464ee0e45003a5e5b495b47828d3699ef21af"}},{"ruleId":"D1","level":"warning","message":{"text":"G722Codec.Encode (cyclomatic 22): G722Codec.Encode 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/NAudio.Core/Codecs/G722Codec.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1efda9052097526ca986142c70a8e0f7b9ef13e05fea7d2226cc04cc82c1c4"}},{"ruleId":"D1","level":"warning","message":{"text":"WasapiPlayer.GetSupportedExclusiveFormat (cyclomatic 22): WasapiPlayer.GetSupportedExclusiveFormat has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/WasapiPlayer.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2f83bd707ff68c3b8e7925675b33ac446a9cfb81b12f4105b7491aa25925b6"}},{"ruleId":"D1","level":"warning","message":{"text":"AsioShowChannelLevelsTest.Run (cyclomatic 20): AsioShowChannelLevelsTest.Run has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 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":"samples/NAudioConsoleTest/Asio/Tests/AsioShowChannelLevelsTest.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d658f0131bbfc1cd82c91d2374a64698917eee716af2361dafbe372cd0dcaee"}},{"ruleId":"D1","level":"warning","message":{"text":"WasapiRecordToWavFileTest.Run (cyclomatic 20): WasapiRecordToWavFileTest.Run 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiRecordToWavFileTest.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf8294b048942ecbf1eb824023bc317c90cdd4edb7804e09f2c882055cfdec4"}},{"ruleId":"D1","level":"warning","message":{"text":"DahdsrEnvelope.Process (cyclomatic 20): DahdsrEnvelope.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/NAudio.Core/Dsp/DahdsrEnvelope.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d34874997f3b8da61abb40efc050a931b17194dc608df9e4edd8819370d6d0"}},{"ruleId":"D1","level":"warning","message":{"text":"WasapiProcessLoopbackTest.Run (cyclomatic 19): WasapiProcessLoopbackTest.Run has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong 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":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiProcessLoopbackTest.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b191ac7e90b9e7ea2ffa50274ee1ff5bd5fc456b693c3c50505668a07a96d9"}},{"ruleId":"D1","level":"warning","message":{"text":"WasapiRecorderViewModel.PeakOf (cyclomatic 19): WasapiRecorderViewModel.PeakOf 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":"samples/NAudioWpfDemo/WasapiRecorderDemo/WasapiRecorderViewModel.cs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71c4ead8efd7b5c2473f40488340fd5305ca3d92a9739e3011a9ade222d3442"}},{"ruleId":"D1","level":"warning","message":{"text":"WdlResampler.ResamplePrepare (cyclomatic 19): WdlResampler.ResamplePrepare has cyclomatic complexity 19 (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/NAudio.Core/Dsp/WdlResampler.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8538f310d5f906b4438776a24fb38e90f3fff48eece454f4f93fef43973dc9e"}},{"ruleId":"D1","level":"warning","message":{"text":"Mp3Frame.IsValidHeader (cyclomatic 19): Mp3Frame.IsValidHeader 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/NAudio.Core/FileFormats/Mp3/Mp3Frame.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3a04372462fa12c62dca1d1a7746df03d19e21284cb058e3732b607d2de228"}},{"ruleId":"D1","level":"warning","message":{"text":"WasapiRecordAndPlaybackTest.Run (cyclomatic 18): WasapiRecordAndPlaybackTest.Run 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":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiRecordAndPlaybackTest.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d751c689ffb8f259329c5bb68bf18088f779919fff84ec5ff47d83e18f0c2efc"}},{"ruleId":"D1","level":"warning","message":{"text":"Vst3RealtimeAudioEngine.OnBuffer (cyclomatic 18): Vst3RealtimeAudioEngine.OnBuffer 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":"samples/NAudioWpfDemo/Vst3RealtimeEffectDemo/Vst3RealtimeAudioEngine.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb08dda5cd0a9f904465674eb2f0c38ba2dc3d5f45c13dbcda6885e02651126"}},{"ruleId":"D1","level":"warning","message":{"text":"WaveFileChunkReader.ReadWaveHeader (cyclomatic 18): WaveFileChunkReader.ReadWaveHeader 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/NAudio.Core/Wave/WaveStreams/WaveFileChunkReader.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"694a7a5a10ba46e689089f24415e1c97b6c83cec73959fa61ff01b4ee9e3beeb"}},{"ruleId":"D1","level":"warning","message":{"text":"SamplerEngine.NoteOn (cyclomatic 18): SamplerEngine.NoteOn 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/NAudio.Sampler/SamplerEngine.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe9def9a6832216987be56acc9ca845dc9f409fb95f4d0cca05b75ef0effbc8"}},{"ruleId":"D1","level":"warning","message":{"text":"WasapiOut.PlayThread (cyclomatic 18): WasapiOut.PlayThread 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/NAudio.Wasapi/WasapiOut.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"97273b5caea701aba4f513a7d2b73d036784813ea386737fbdb8314d642de4ca"}},{"ruleId":"D1","level":"warning","message":{"text":"LimiterEffect.ProcessBlock (cyclomatic 17): LimiterEffect.ProcessBlock 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/NAudio.Core/Effects/LimiterEffect.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"12be7579eb3654df7ff2710409e8b4a1b5820c17708a61518977f3fabd1c3331"}},{"ruleId":"D1","level":"warning","message":{"text":"XingHeader.LoadXingHeader (cyclomatic 17): XingHeader.LoadXingHeader has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/FileFormats/Mp3/XingHeader.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc154100fda162d4e656119b9ff46612503eb0ba41433c742d41e2b678fee00e"}},{"ruleId":"D1","level":"warning","message":{"text":"OffsetSampleProvider.Read (cyclomatic 17): OffsetSampleProvider.Read 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/NAudio.Core/Wave/SampleProviders/OffsetSampleProvider.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"68382c3b0652a96a6e9c2a5bdc402ce7751c600e8fcd479d81f2ea25ad200957"}},{"ruleId":"D1","level":"warning","message":{"text":"WasapiPlayer.PlayThread (cyclomatic 17): WasapiPlayer.PlayThread 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/NAudio.Wasapi/WasapiPlayer.cs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c20ce68e60028e6f42386dfc369437a9d49e3d1738fbe34935b5249f564331"}},{"ruleId":"D1","level":"warning","message":{"text":"SoundFilePlayFileTest.Run (cyclomatic 16): SoundFilePlayFileTest.Run 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":"samples/NAudioConsoleTest/SoundFile/Tests/SoundFilePlayFileTest.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"075ae8aa68728f266879e738a236024d36b5daca06a2b3a07dd9f642ec87b768"}},{"ruleId":"D1","level":"warning","message":{"text":"WinMmPlayFileTest.Run (cyclomatic 16): WinMmPlayFileTest.Run 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":"samples/NAudioConsoleTest/WinMM/Tests/WinMmPlayFileTest.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"10055b4414bbe7ac201d62e15d84ae3d09c0bf5515cd0c0c9136b8787ac3a104"}},{"ruleId":"D1","level":"warning","message":{"text":"G722Codec.Block4 (cyclomatic 16): G722Codec.Block4 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/NAudio.Core/Codecs/G722Codec.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae81c53983630438145edcee458aa222e44b3172d4432d11f1a9ef2ac0be906"}},{"ruleId":"D1","level":"warning","message":{"text":"InterpolatingSampleReader.ReadContiguous (cyclomatic 16): InterpolatingSampleReader.ReadContiguous has cyclomatic complexity 16 (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/NAudio.Core/Dsp/InterpolatingSampleReader.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd47e197290353dfa129d93dedbb5c0e1ed4b7feba80b28da4722ee145847478"}},{"ruleId":"D1","level":"warning","message":{"text":"SmbPitchShifter.PitchShift (cyclomatic 16): SmbPitchShifter.PitchShift has cyclomatic complexity 16 (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/NAudio.Core/Dsp/SmbPitchShifter.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd4f16f6d8ad293252f0b71e0dbd99ea3f8f016f68fea7dc0fd5e3f5a9197bd"}},{"ruleId":"D1","level":"warning","message":{"text":"CueList.CueList.ctor (cyclomatic 16): CueList.CueList.ctor 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/NAudio.Core/Wave/WaveStreams/CueList.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"67613e91c3f7df6d04d9a277f8060617d321d1fa388f77d1272fc7f103a2783d"}},{"ruleId":"D1","level":"warning","message":{"text":"SfzRegionProjector.Project (cyclomatic 16): SfzRegionProjector.Project 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/NAudio.Sampler/SfzRegionProjector.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cbc8bafca7f205996d0c82a6c168833150dc7c04f50ba34faafc52df3a3a16"}},{"ruleId":"D2","level":"warning","message":{"text":"WdlResampler.ResampleOut (cognitive 128): WdlResampler.ResampleOut has cognitive complexity 128 (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/NAudio.Core/Dsp/WdlResampler.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4679d70dcbf92ecc26b9b3d904d47e0aa0c0fb414200e77ade30e16227a7fdb7"}},{"ruleId":"D2","level":"warning","message":{"text":"MidiConverter.ConvertMidi (cognitive 113): MidiConverter.ConvertMidi has cognitive complexity 113 (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":"samples/MidiFileConverter/MidiConverter.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2497bc9992d53b33c39091dfbfc441428cb611ce9bf0782bf317a94599047a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"DahdsrEnvelope.Advance (cognitive 95): DahdsrEnvelope.Advance has cognitive complexity 95 (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/NAudio.Core/Dsp/DahdsrEnvelope.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd24c8e0e61f7e637eaeb105d47c3af20c111b5f932d3c01979e23d66a0983e3"}},{"ruleId":"D2","level":"warning","message":{"text":"MidiFile.MidiFile.ctor (cognitive 61): MidiFile.MidiFile.ctor has cognitive complexity 61 (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/NAudio.Midi/Midi/MidiFile.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf25b6422560398230f201674581255ad6067a8b6bcdbdbdea7e87a363b42a95"}},{"ruleId":"D2","level":"warning","message":{"text":"SamplerVoice.RenderSpan (cognitive 60): SamplerVoice.RenderSpan has cognitive complexity 60 (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/NAudio.Sampler/SamplerVoice.cs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"350a1ae168df13af67b1449c2efd7008d991be4d41033bd6f9f23ec16a89aae7"}},{"ruleId":"D2","level":"warning","message":{"text":"G722Codec.Encode (cognitive 55): G722Codec.Encode has cognitive complexity 55 (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/NAudio.Core/Codecs/G722Codec.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f618f3d6e8305bbd02c27c6a4843c47d137ff8fcb018bcd230f9529df045ae2a"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioDuplexPassthroughTest.Run (cognitive 49): AsioDuplexPassthroughTest.Run has cognitive complexity 49 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 11 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":"samples/NAudioConsoleTest/Asio/Tests/AsioDuplexPassthroughTest.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc0336e7380417dfcff3116c9ec78093bb2eb8e49229896cfe3929e9baf2ec6"}},{"ruleId":"D2","level":"warning","message":{"text":"Vst3ListPluginsTest.Run (cognitive 48): Vst3ListPluginsTest.Run has cognitive complexity 48 (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":"samples/NAudioConsoleTest/Vst3/Tests/Vst3ListPluginsTest.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d684d09264eb897dcb362c577386a8875884a865225a20a95969e66399d14a"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioSampleConvertor.SelectSampleConvertor (cognitive 48): AsioSampleConvertor.SelectSampleConvertor has cognitive complexity 48 (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/NAudio.Asio/AsioSampleConvertor.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4492e29c791431958d818e48353b304e29fd1b824536189b9a5d3f6be39a20b0"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioLegacyDuplexPassthroughTest.NativePassthroughChannel (cognitive 45): AsioLegacyDuplexPassthroughTest.NativePassthroughChannel has cognitive complexity 45 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Asio/Tests/AsioLegacyDuplexPassthroughTest.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8f52e74d14002c3b8320b4d5a748a2384b6e34aa0915b93328f75aca9e15fa"}},{"ruleId":"D2","level":"warning","message":{"text":"G722Codec.Decode (cognitive 45): G722Codec.Decode has cognitive complexity 45 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Codecs/G722Codec.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07675f446cfa5c2d4a688ee31de588bf53fea0685fc3794f31211a8cb7c5ca7"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbPitchShifter.PitchShift (cognitive 43): SmbPitchShifter.PitchShift has cognitive complexity 43 (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/NAudio.Core/Dsp/SmbPitchShifter.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f82421bcea9c0809666988d1c8ee92fe44d352f1f1c41534c83d43c22da9e12"}},{"ruleId":"D2","level":"warning","message":{"text":"LimiterEffect.ProcessBlock (cognitive 43): LimiterEffect.ProcessBlock has cognitive complexity 43 (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/NAudio.Core/Effects/LimiterEffect.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f4c53629195b22629b3d52ef23e5e6310197e44fd13a2317a407da8ae493c2"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioLegacyDuplexPassthroughTest.Run (cognitive 42): AsioLegacyDuplexPassthroughTest.Run has cognitive complexity 42 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 3 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":"samples/NAudioConsoleTest/Asio/Tests/AsioLegacyDuplexPassthroughTest.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9b1c6ff959429225f46a4ac73292b93943d12c45531095f0797f1e847f38ed"}},{"ruleId":"D2","level":"warning","message":{"text":"DahdsrEnvelope.Process (cognitive 42): DahdsrEnvelope.Process 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/NAudio.Core/Dsp/DahdsrEnvelope.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ada026fbd7950ff80fedc44408268c2613ce2bec2f3ff5353a459adb0e3cf3d"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectSoundOut.PlaybackThreadFunc (cognitive 42): DirectSoundOut.PlaybackThreadFunc 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/NAudio.Dmo/DirectSound/DirectSoundOut.cs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c88c59d8958d0f99f5bdb930c73ff12b8f8bee8bfc4ee98071e098676df420"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveFileChunkReader.ReadWaveHeader (cognitive 39): WaveFileChunkReader.ReadWaveHeader has cognitive complexity 39 (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/NAudio.Core/Wave/WaveStreams/WaveFileChunkReader.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae05db8138f30b3d1f4584b73f0d421023a60c14ad169657319df19e01901fc1"}},{"ruleId":"D2","level":"warning","message":{"text":"Vst3Plugin.Initialise (cognitive 37): Vst3Plugin.Initialise has cognitive complexity 37 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 3 belong 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Vst3/Vst3Plugin.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"576441762c767bc7e984c11ecb52942aa7a058f0a8eeb133ffba36516053db9b"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiPlayFileTest.Run (cognitive 36): WasapiPlayFileTest.Run has cognitive complexity 36 (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":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiPlayFileTest.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1be9ee0e807529dc8834244b2c64d3739535f182c6fa4a674a546843118151c"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiOut.PlayThread (cognitive 36): WasapiOut.PlayThread has cognitive complexity 36 (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/NAudio.Wasapi/WasapiOut.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9085e92575dafef0c5611baf15a443b9db95ce370fde62e09aaca2593ff40e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"Mp3Frame.IsValidHeader (cognitive 35): Mp3Frame.IsValidHeader 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/NAudio.Core/FileFormats/Mp3/Mp3Frame.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d650d3d85d9671e4b0dd7ba4f911bac0a0aee22848c9e2bb877b98b7162a42"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioValidateSamplePositionTest.Run (cognitive 33): AsioValidateSamplePositionTest.Run 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":"samples/NAudioConsoleTest/Asio/Tests/AsioValidateSamplePositionTest.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee0901495875ab9f4d38ff121748bf181b5fda6c05a485d51c6c9836beb0bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiVolumeCallbackStressTest.Run (cognitive 32): WasapiVolumeCallbackStressTest.Run 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":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiVolumeCallbackStressTest.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf991463b903f5e96dc8588f97044e77a07542a82d315d07cd13c258e48f8bfe"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiRecorderViewModel.PeakOf (cognitive 32): WasapiRecorderViewModel.PeakOf 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":"samples/NAudioWpfDemo/WasapiRecorderDemo/WasapiRecorderViewModel.cs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"15722b50fc809d1f60b13a202194575d25d6084d6f9861c5649f2f589de406cc"}},{"ruleId":"D2","level":"warning","message":{"text":"Vst3Plugin.DisposeCore (cognitive 32): Vst3Plugin.DisposeCore has cognitive complexity 32 (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/NAudio.Vst3/Vst3Plugin.cs"},"region":{"startLine":2153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e951391df5d2a8775353a68960e63f76b166700f9ae693a4e8f9be4d0f396128"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioShowChannelLevelsTest.Run (cognitive 31): AsioShowChannelLevelsTest.Run has cognitive complexity 31 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 5 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":"samples/NAudioConsoleTest/Asio/Tests/AsioShowChannelLevelsTest.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfb183009f8ccbd1b9e3f68001ee84ded704d9944a20d4cc97c47b7a351a00e"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiPlayer.GetSupportedExclusiveFormat (cognitive 31): WasapiPlayer.GetSupportedExclusiveFormat has cognitive complexity 31 (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/NAudio.Wasapi/WasapiPlayer.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"62eced39ea6d7a4340d0c113f782362eb2211ecd080a30bbbc32bd3d8b82ff94"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiPlayer.PlayThread (cognitive 31): WasapiPlayer.PlayThread has cognitive complexity 31 (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/NAudio.Wasapi/WasapiPlayer.cs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"61296883c8f965f50733454d24aec21b57f4e94b91fcb00577bd07ea518abcc0"}},{"ruleId":"D2","level":"warning","message":{"text":"Vst3Plugin.Process (cognitive 30): Vst3Plugin.Process has cognitive complexity 30 (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/NAudio.Vst3/Vst3Plugin.cs"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5427324e0cb8ae97a15b17aadd226fc993061c2862b93a0ea58bae11bfa901c"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchRunner.RenderMarkdown (cognitive 28): BatchRunner.RenderMarkdown has cognitive complexity 28 (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":"samples/NAudioConsoleTest/Shared/Testing/BatchRunner.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2705b430f6e4fbdce8992adda350def68e118a5e2030c74d93d1adc1806ab79"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiExclusiveDetailedScanTest.Run (cognitive 28): WasapiExclusiveDetailedScanTest.Run has cognitive complexity 28 (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":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiExclusiveDetailedScanTest.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"451e449c6079f9cec2acd4283456e6481010294b830e51606082a3e59d3f7496"}},{"ruleId":"D2","level":"warning","message":{"text":"Vst3RealtimeAudioEngine.OnBuffer (cognitive 28): Vst3RealtimeAudioEngine.OnBuffer has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/Vst3RealtimeEffectDemo/Vst3RealtimeAudioEngine.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb8a71fc41d1faba173f70e747e2193c74b3c2743f380dfb7d4b87e9c9310e7"}},{"ruleId":"D2","level":"warning","message":{"text":"OffsetSampleProvider.Read (cognitive 28): OffsetSampleProvider.Read has cognitive complexity 28 (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/NAudio.Core/Wave/SampleProviders/OffsetSampleProvider.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"272f4a7c66bebcc500ecb072481632f3b848567fb7c1f473a9927cac7d7dd2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"SamplerEngine.NoteOn (cognitive 28): SamplerEngine.NoteOn has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Sampler/SamplerEngine.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"495d8f6f0eebc73e631b7ce26f39a28274cab6be915bdb7c0647dadee27b9bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioRecordToWavTest.Run (cognitive 26): AsioRecordToWavTest.Run has cognitive complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 belong 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":"samples/NAudioConsoleTest/Asio/Tests/AsioRecordToWavTest.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3661f88c44b797da866efddee7d1517a2a0a027e187f9e673269a56ec75f4692"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundFilePlayFileTest.Run (cognitive 26): SoundFilePlayFileTest.Run has cognitive complexity 26 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/SoundFile/Tests/SoundFilePlayFileTest.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e59b72abf43375378d29cf105938ef28fe73c6cec48111d7297a073d37ab764"}},{"ruleId":"D2","level":"warning","message":{"text":"WinMmPlayFileTest.Run (cognitive 26): WinMmPlayFileTest.Run has cognitive complexity 26 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/WinMM/Tests/WinMmPlayFileTest.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abc6f4d6f238a6aa36ca745f68f1f55687d903b80fadbf13567110c16a65380"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioAudioAvailableEventArgs.GetAsInterleavedSamples (cognitive 26): AsioAudioAvailableEventArgs.GetAsInterleavedSamples has cognitive complexity 26 (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/NAudio.Asio/AsioAudioAvailableEventArgs.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4967499e7227c0eadb94a0a3ef8ef305ad72d444f88b42921dbb2224e365b34d"}},{"ruleId":"D2","level":"warning","message":{"text":"SfzMappedRegion.Map (cognitive 26): SfzMappedRegion.Map has cognitive complexity 26 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/FileFormats/Sfz/SfzMappedRegion.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ffa458f9f2813f2b2d424c5cbbe5c8c4893f8342c5ea7438f9068ba2f6344e"}},{"ruleId":"D2","level":"warning","message":{"text":"DiagnosticsRenderer.ToMarkdown (cognitive 25): DiagnosticsRenderer.ToMarkdown 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":"samples/NAudioConsoleTest/Shared/Testing/DiagnosticsRenderer.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67ad5f669921e088e91f61a285c90fba3951533c0537f1c6df2f58c7c8727bc"}},{"ruleId":"D2","level":"warning","message":{"text":"Vst3LiveSynthTest.Run (cognitive 25): Vst3LiveSynthTest.Run has cognitive complexity 25 (threshold 15). Of this number, 24 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":"samples/NAudioConsoleTest/Vst3/Tests/Vst3LiveSynthTest.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"246b684fd8b85f955f938131ebd004fa7570bb586253d57456a774e0a850dfd6"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveformControl.Redraw (cognitive 25): WaveformControl.Redraw 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":"samples/NAudioWpfDemo/SampleEditorDemo/WaveformControl.xaml.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c26ba5510be722f4ea29fea72f155140a938a176aa08d32ee15e985baadeca"}},{"ruleId":"D2","level":"warning","message":{"text":"MultibandCompressorEffect.ProcessBlock (cognitive 25): MultibandCompressorEffect.ProcessBlock has cognitive complexity 25 (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/NAudio.Core/Effects/MultibandCompressorEffect.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4567a039dbb5d6225de67187653454e6789cdcecf404c9153dd7f67349326894"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioFileFormatFinder.FindFormat (cognitive 25): AudioFileFormatFinder.FindFormat 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/NAudio.Wasapi/MediaFoundation/FileFormatDiscovery/AudioFileFormatFinder.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cb5ce19f5fef20c8bffd0968b89a153d12109e8dbf270e580b94f605c4cf92"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiRecordToWavFileTest.Run (cognitive 24): WasapiRecordToWavFileTest.Run has cognitive complexity 24 (threshold 15). Of this number, 23 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":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiRecordToWavFileTest.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e40824aad65a27ac3246c71fda1325ac89451df491066acf3d1a52dae8eac63"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiOut.Init (cognitive 24): WasapiOut.Init has cognitive complexity 24 (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/NAudio.Wasapi/WasapiOut.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4acce7e942521c4ce67528b7f87d2914bdf9fe710d1cf64e2540163f0773156"}},{"ruleId":"D2","level":"warning","message":{"text":"RealtimeAudioEngine.OnBuffer (cognitive 23): RealtimeAudioEngine.OnBuffer 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":"samples/NAudioWpfDemo/RealtimeEffectsDemo/RealtimeAudioEngine.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33d0e63702b31ec79753c6a0e59a61f7027db8ec4a399651ed2012b10fe5c84"}},{"ruleId":"D2","level":"warning","message":{"text":"AlsaOut.PlaybackLoop (cognitive 23): AlsaOut.PlaybackLoop has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Alsa/AlsaOut.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9b59a253832c3ecf3a9212fd93eda31e380f7aac216e648a17b42797253f4d"}},{"ruleId":"D2","level":"warning","message":{"text":"CompressorEffect.ProcessBlock (cognitive 23): CompressorEffect.ProcessBlock has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Effects/CompressorEffect.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7a6a185a8d84612498616c97c80dd25d1d5714da88ba3ae63910cf01000cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"AiffFileReader.ReadAiffHeader (cognitive 23): AiffFileReader.ReadAiffHeader has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Wave/WaveStreams/AiffFileReader.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dfafda5a13ece10a7a0beb37e1378b622cb6c163dfead481ee8f4a7140377b"}},{"ruleId":"D2","level":"warning","message":{"text":"Mp3FileReaderBase.Read (cognitive 23): Mp3FileReaderBase.Read 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/NAudio.Core/Wave/WaveStreams/Mp3FileReaderBase.cs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff29fafe83d5bee13094d8e16c816495d23dd1778ecbb255917414d529e51003"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveIn.DoRecording (cognitive 23): WaveIn.DoRecording has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.WinMM/WaveIn.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cf2adc7248577fea2495e0359ca8648e8bd894f7b3de44497447941877e386"}},{"ruleId":"D2","level":"warning","message":{"text":"FdnReverbEffect.ProcessBlock (cognitive 22): FdnReverbEffect.ProcessBlock 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/NAudio.Core/Effects/FdnReverbEffect.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"804a7cd67789fc375c3875a3d1057879843d34e14a9ab257d03a3c32204992bd"}},{"ruleId":"D2","level":"warning","message":{"text":"GateEffect.ProcessBlock (cognitive 22): GateEffect.ProcessBlock 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/NAudio.Core/Effects/GateEffect.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf812da622e4230e1429066a42fdf06bafbf662914622799aac94ff83200101"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveFileWriter.WriteSamples (cognitive 22): WaveFileWriter.WriteSamples has cognitive complexity 22 (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/NAudio.Core/Wave/WaveOutputs/WaveFileWriter.cs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dbe3cf4d4a236dd33c8bce657c58b0695b6561113161552102dc359358364a"}},{"ruleId":"D2","level":"warning","message":{"text":"CueList.CueList.ctor (cognitive 22): CueList.CueList.ctor has cognitive complexity 22 (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/NAudio.Core/Wave/WaveStreams/CueList.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3977666613934e4ee545acb569231b663fdc7f0755802e51b6fb385d85a3488b"}},{"ruleId":"D2","level":"warning","message":{"text":"InfoListInterpreter.Interpret (cognitive 22): InfoListInterpreter.Interpret 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/NAudio.Core/Wave/WaveStreams/InfoMetadata.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc3a9cfb1aae730bacd823fa9d55d3fce3a4dc94d30feb375a390bb1ba8cc9a"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiProcessLoopbackTest.Run (cognitive 21): WasapiProcessLoopbackTest.Run has cognitive complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong 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":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiProcessLoopbackTest.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe842f1ad5be4cb5d7465edec59e39b402e4a7a9eeb55fc30574cd83055af8b1"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingPanel.OnDevicesChanged (cognitive 21): RecordingPanel.OnDevicesChanged has cognitive complexity 21 (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":"samples/NAudioDemo/RecordingDemo/RecordingPanel.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"88454c21f7855e478770669335cc974ec6b6329973fab4b001c78bd74dc9a610"}},{"ruleId":"D2","level":"warning","message":{"text":"BitCrusherEffect.ProcessBlock (cognitive 21): BitCrusherEffect.ProcessBlock has cognitive complexity 21 (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/NAudio.Core/Effects/BitCrusherEffect.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c11913508e130203629ebd0708e3e951ff62598126b02490d0ae886344823a2"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiplexingSampleProvider.Read (cognitive 21): MultiplexingSampleProvider.Read has cognitive complexity 21 (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/NAudio.Core/Wave/SampleProviders/MultiplexingSampleProvider.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1777446ca9dc8c974a75e24de41ca67b93415c603c50b69f744dc8ce84813eef"}},{"ruleId":"D2","level":"warning","message":{"text":"SignalGenerator.Read (cognitive 21): SignalGenerator.Read 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/NAudio.Core/Wave/SampleProviders/SignalGenerator.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"081e640106ff69bc0944c114eca05f131595d18db57bfc41c24dbcd423b95a11"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiplexingWaveProvider.Read (cognitive 21): MultiplexingWaveProvider.Read has cognitive complexity 21 (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/NAudio.Core/Wave/WaveProviders/MultiplexingWaveProvider.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6adcb2b8ee2d12313419c55336d56330882b0869e92bc742f592e5bd6123ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioShowCapabilitiesTest.Run (cognitive 20): AsioShowCapabilitiesTest.Run 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":"samples/NAudioConsoleTest/Asio/Tests/AsioShowCapabilitiesTest.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff4182ccad7ad59ff99bbd4b43c0d134f85e8f3bd855164411732c056b1869c"}},{"ruleId":"D2","level":"warning","message":{"text":"MidiInPanel.PopulateDeviceListsAsync (cognitive 20): MidiInPanel.PopulateDeviceListsAsync 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":"samples/NAudioDemo/MidiInDemo/MidiInPanel.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"420f2abc20b86ec3b66f18af5251d7a82bc257111043ee74e0d8bcad2aaa6f57"}},{"ruleId":"D2","level":"warning","message":{"text":"MidiEventCollection.PrepareForExport (cognitive 20): MidiEventCollection.PrepareForExport has cognitive complexity 20 (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/NAudio.Midi/Midi/MidiEventCollection.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b9429f4e75c3c39891731eb9fce38ce8a68b963d8017ad20d2728d176e191e"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaFoundationReader.ReadNextDecoderBuffer (cognitive 20): MediaFoundationReader.ReadNextDecoderBuffer 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/NAudio.Wasapi/MediaFoundationReader.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccf49e667cea09cd3566c45cb6d5ed2075520535f1c32f821410e09f2b2c3aa"}},{"ruleId":"D2","level":"warning","message":{"text":"CliDispatcher.Describe (cognitive 19): CliDispatcher.Describe has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Shared/Testing/CliDispatcher.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6f1bae3049b1a208667cb8b66933c1725006c0ba7b79f523902035afb8309b"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiRecordAndPlaybackTest.Run (cognitive 19): WasapiRecordAndPlaybackTest.Run has cognitive complexity 19 (threshold 15). Of this number, 18 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":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiRecordAndPlaybackTest.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"29787a2787441aa6fda37665c3f67eb023880947c27dc1274de4a49a7fe2a57b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvolutionReverbDemoViewModel.LoadAndPrepareIr (cognitive 19): ConvolutionReverbDemoViewModel.LoadAndPrepareIr has cognitive complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/ConvolutionReverbDemo/ConvolutionReverbDemoViewModel.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"601c437748e314e5ced5945f5ea4899b5d06820b571130d577cc0f42acebcf64"}},{"ruleId":"D2","level":"warning","message":{"text":"WdlResampler.SetMode (cognitive 19): WdlResampler.SetMode has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Dsp/WdlResampler.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"08edbc74f7087382fb39fe5a34e12a3b3922e477d4d9a15557d78e1068d30da5"}},{"ruleId":"D2","level":"warning","message":{"text":"WdlResampler.BuildLowPass (cognitive 19): WdlResampler.BuildLowPass has cognitive complexity 19 (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/NAudio.Core/Dsp/WdlResampler.cs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcc85f2136e9de263d05421067bab71abb98b20e9a9a21e3277f65c71181b20"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiplexingWaveProvider.MultiplexingWaveProvider.ctor (cognitive 19): MultiplexingWaveProvider.MultiplexingWaveProvider.ctor has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Wave/WaveProviders/MultiplexingWaveProvider.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c7309bf2491ebd51157814bacb4dc48720ac5d6bc9d8054960e3ddea7f7dc0"}},{"ruleId":"D2","level":"warning","message":{"text":"Vst3Plugin.BuildUnitModel (cognitive 19): Vst3Plugin.BuildUnitModel has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Vst3/Vst3Plugin.cs"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdcf710aca0f7db745202803d486c311e5655996d0be132b1f5f433573084bd"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaFoundationReader.Reposition (cognitive 19): MediaFoundationReader.Reposition has cognitive complexity 19 (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/NAudio.Wasapi/MediaFoundationReader.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"659b575545d15807df5d81908117e1c77f9ac3e1db10dcace0f7a88346d5b402"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveOut.DoPlayback (cognitive 19): WaveOut.DoPlayback has cognitive complexity 19 (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/NAudio.WinMM/WaveOut.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f114e2fdb512fe7fe6f50fe62195acb5bf30916f3f53d8a43428ad3626ec1a1"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundFontInspector.Describe (cognitive 18): SoundFontInspector.Describe has cognitive complexity 18 (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":"samples/AudioFileInspector/FileInspectors/SoundFontInspector.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e038fab8866197710f65d04b6971dd14d98ba46e15a823823d5bcc3525928aa"}},{"ruleId":"D2","level":"warning","message":{"text":"CliDispatcher.TryParseParameters (cognitive 18): CliDispatcher.TryParseParameters 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":"samples/NAudioConsoleTest/Shared/Testing/CliDispatcher.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29701e0cc2d5001c321ff2df07ac2e5f19b295f74721bf19bb315ade368376c"}},{"ruleId":"D2","level":"warning","message":{"text":"Mp3StreamingPanel.StreamMp3 (cognitive 18): Mp3StreamingPanel.StreamMp3 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":"samples/NAudioDemo/Mp3StreamingDemo/MP3StreamingPanel.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b49aa549cead68e365b1ec8d84e469bb675ff735d453d9b3d9dca59bab0f838"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterEffect.ProcessBlock (cognitive 18): FilterEffect.ProcessBlock has cognitive complexity 18 (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":"samples/NAudioWpfDemo/RealtimeEffectsDemo/CustomEffects/FilterEffect.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29a70b96dc4348291f002e6ced750827c8b3ccd9e930a07b42f22d8d967e758"}},{"ruleId":"D2","level":"warning","message":{"text":"RealtimeAudioEngine.SetEffects (cognitive 18): RealtimeAudioEngine.SetEffects 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":"samples/NAudioWpfDemo/RealtimeEffectsDemo/RealtimeAudioEngine.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2981fda8cde79008635ca515a9efe53605a4d9cd1c21fad1c8f23cfdbf3c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioOut.driver_BufferUpdate (cognitive 18): AsioOut.driver_BufferUpdate has cognitive complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 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/NAudio.Asio/AsioOut.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6842681e8169fa5f87eae0103b0c3042e06775ada73c3c90459655187fe11be6"}},{"ruleId":"D2","level":"warning","message":{"text":"InterpolatingSampleReader.ReadContiguous (cognitive 18): InterpolatingSampleReader.ReadContiguous has cognitive complexity 18 (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/NAudio.Core/Dsp/InterpolatingSampleReader.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbe45ecd8eaf02d6c39aed8250b84de23069a681cfb9489b4a0cb8ef831be7b"}},{"ruleId":"D2","level":"warning","message":{"text":"WdlResampler.ResamplePrepare (cognitive 18): WdlResampler.ResamplePrepare has cognitive complexity 18 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/NAudio.Core/Dsp/WdlResampler.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ea7e5ba74db3029553a75dd22e2c860c06fe2c4383d51ffa936319cb629ca0"}},{"ruleId":"D2","level":"warning","message":{"text":"XingHeader.LoadXingHeader (cognitive 18): XingHeader.LoadXingHeader has cognitive complexity 18 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/NAudio.Core/FileFormats/Mp3/XingHeader.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"36555b19c62d42ffa68be26d7b0713cc663be05f816526b34ff637b341255e53"}},{"ruleId":"D2","level":"warning","message":{"text":"MidiFileSequence.FromMidiFile (cognitive 18): MidiFileSequence.FromMidiFile has cognitive complexity 18 (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/NAudio.Midi/Sequencing/MidiFileSequence.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f788baa01d9a9f622580fcc9e9d2e92d54f0c3a5a34fe862dc2d810dc567c0"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveFormatConversionProvider.Read (cognitive 18): WaveFormatConversionProvider.Read 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/NAudio.WinMM/WaveFormatConversionProvider.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"da98ceb4ef5460778ff581e82be1293211dece6ee55589cd328143501063a91f"}},{"ruleId":"D2","level":"warning","message":{"text":"MixDiffForm.Shuffle (cognitive 17): MixDiffForm.Shuffle 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":"samples/MixDiff/MixDiffForm.cs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e87e5c18f6d9c58242f68130c717530951cb174702339281aadab9478006e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchRunner.Run (cognitive 17): BatchRunner.Run 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":"samples/NAudioConsoleTest/Shared/Testing/BatchRunner.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa60408327d4062fcdef6a7cf9361006e5da3964e299a4bd832c0d65e85db76f"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchRunner.TryBuildValues (cognitive 17): BatchRunner.TryBuildValues 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":"samples/NAudioConsoleTest/Shared/Testing/BatchRunner.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3cc5600813a4799e11ffd773a1247d1cb840153a025f4113d673c03fa8665a"}},{"ruleId":"D2","level":"warning","message":{"text":"SfzParser.Flatten (cognitive 17): SfzParser.Flatten 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/NAudio.Core/FileFormats/Sfz/SfzParser.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef5de3241ba1a056678550b06be7fb721820be93441bff97128667f180eaca4"}},{"ruleId":"D2","level":"warning","message":{"text":"SfzRegionProjector.ApplyModulation (cognitive 17): SfzRegionProjector.ApplyModulation 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/NAudio.Sampler/SfzRegionProjector.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b20f80d584c9d06b00b5b5f5828542150df5ec208a93bad24cf057dc2304a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"Vst3Plugin.NegotiateBusArrangement (cognitive 17): Vst3Plugin.NegotiateBusArrangement has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Vst3/Vst3Plugin.cs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c52df592ec9ebaf70ad4c6af4a9e4a083df657126093bed7c9aa68211f06e34"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiRecorderBuilder.BuildAsync (cognitive 17): WasapiRecorderBuilder.BuildAsync 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/NAudio.Wasapi/WasapiRecorderBuilder.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"633a91b69854f7896111daefcfeccc65e20884123d42bfa67a22d9c4898a0e63"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveViewer.OnPaint (cognitive 17): WaveViewer.OnPaint has cognitive complexity 17 (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/NAudio.WinForms/Gui/WaveViewer.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c91c65a9e9b1823a546aa752a407d8e92882cb7e6d31ca74bc4c3596d03cbbb"}},{"ruleId":"D2","level":"warning","message":{"text":"AsioPlayAudioFileTest.RunDevicePlayback (cognitive 16): AsioPlayAudioFileTest.RunDevicePlayback 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":"samples/NAudioConsoleTest/Asio/Tests/AsioPlayAudioFileTest.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c172c2940292544f608e79bf86960b2d6920c3604e459ca356401bf6e828b382"}},{"ruleId":"D2","level":"warning","message":{"text":"WasapiLoopbackCaptureTest.Run (cognitive 16): WasapiLoopbackCaptureTest.Run has cognitive complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong 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":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiLoopbackCaptureTest.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc5d7e118308cf6ec8576bf51aa5dce6a77af90612835560db64d2db937e0e8"}},{"ruleId":"D2","level":"warning","message":{"text":"G722Codec.Block4 (cognitive 16): G722Codec.Block4 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/NAudio.Core/Codecs/G722Codec.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e27c24931ec82aed05a59d3eb9ac3098f0cfe5cd21346ffcc984fc02c1d308b"}},{"ruleId":"D2","level":"warning","message":{"text":"FastFourierTransform.FFT (cognitive 16): FastFourierTransform.FFT has cognitive complexity 16 (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/NAudio.Core/Dsp/FastFourierTransform.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d8a2fd52a0c69f31b86a01d5d7da397738aec22f5ca8a6e230346d791b2b21"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiplexingSampleProvider.MultiplexingSampleProvider.ctor (cognitive 16): MultiplexingSampleProvider.MultiplexingSampleProvider.ctor 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/NAudio.Core/Wave/SampleProviders/MultiplexingSampleProvider.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3437221ef4e1dc5a4963a647ad99fb0ffc6054dd47ddf0779568fd4be3e53ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveChannel32.Read (cognitive 16): WaveChannel32.Read 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/NAudio.Core/Wave/WaveStreams/WaveChannel32.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe5ccf568356c1929084e10d0b20416359cb9df684150731839ef6357abde60"}},{"ruleId":"D2","level":"warning","message":{"text":"MidiFile.SeekToRmidMidiData (cognitive 16): MidiFile.SeekToRmidMidiData has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Midi/Midi/MidiFile.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4a50ad749c589fae5c1c1b44c54036578c58dfef96d6cb2f562c98dd2aab77"}},{"ruleId":"D2","level":"warning","message":{"text":"SfzRegionProjector.Project (cognitive 16): SfzRegionProjector.Project 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/NAudio.Sampler/SfzRegionProjector.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec78ec2cc070e6d4c1bfc3122e24cbdeca2811caab1494ae3d90c6e4ba19c684"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Vst3Plugin: TooManyMethods \u2014 1025 significant lines (blank, comment-only and punctuation-only lines excluded), 74 methods. 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/NAudio.Vst3/Vst3Plugin.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb1ccba6c4485388fc0e23453acbed70f0e9e4f5c1e6331ae0ba7fc22873f3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: NAudio.Vst3/Vst3Plugin.cs: FileTooLong \u2014 1039 significant lines (blank, comment-only and punctuation-only lines excluded). 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/NAudio.Vst3/Vst3Plugin.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"627b92634b240e28be4b3e193c569f8b8bb0cbc1428ba7ef1437682822883297"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MfByteStreamFromStream: TooManyMethods \u2014 237 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. 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/NAudio.Wasapi/MediaFoundation/MFByteStreamFromStream.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e4eac8aabcae9b53b18a35f650b225df7b2c363ac45d583216892b70048395"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsioDevice: TooManyMethods \u2014 459 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. 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/NAudio.Asio/AsioDevice.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe50c9978cefa916ec81ce4c9b209b16f03d8c677493b89cf11db0bd4af3b5c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AcmInterop: TooManyMethods \u2014 112 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. 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/NAudio.WinMM/Compression/AcmInterop.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f788fec33f18a85899077d4342b77b870e953f875ae829352f65bf75396ec3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WaveFileWriter: TooManyMethods \u2014 278 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. 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/NAudio.Core/Wave/WaveOutputs/WaveFileWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18092f77ebb7528ef1c152a2c468650c4aeeb302d1b320254ebb0269cc445f7a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SamplerVoice: ClassTooLong \u2014 429 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. 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/NAudio.Sampler/SamplerVoice.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a1299e201a3da2300a0bcbd6e72ff04a27b74ae46143f8e0401ad6c6980e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): samples/NAudioWpfDemo/RealtimeEffectsDemo/RealtimeAudioEngine.cs:211-230 | samples/NAudioWpfDemo/Vst3RealtimeEffectDemo/Vst3RealtimeAudioEngine.cs:231-250 \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 \u0060samples/NAudioWpfDemo/RealtimeEffectsDemo/RealtimeAudioEngine.cs:211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/RealtimeEffectsDemo/RealtimeAudioEngine.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a002a584e2016e258920305105a77e8992d63a6b3fdcb5de354fb813f73ee4ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): samples/AudioFileInspector/AudioFileInspectorForm.cs:164-181 | samples/MidiFileConverter/MainForm.cs:349-365 \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 \u0060samples/AudioFileInspector/AudioFileInspectorForm.cs:164\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/AudioFileInspector/AudioFileInspectorForm.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b833ccf5104c952edc8f32bf0e82ec03969f039e5b0408bd57257ea1f777638d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): samples/NAudioWpfDemo/RealtimeEffectsDemo/RealtimeAudioEngine.cs:128-143 | samples/NAudioWpfDemo/Vst3RealtimeEffectDemo/Vst3RealtimeAudioEngine.cs:128-143 \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 \u0060samples/NAudioWpfDemo/RealtimeEffectsDemo/RealtimeAudioEngine.cs:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/RealtimeEffectsDemo/RealtimeAudioEngine.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0de03d6cb8adb76e6d38d3bebd147130dca6ba70c81ffae2936851aa4f836f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/NAudio.Vst3/Hosting/Vst3HostMessage.cs:65-79 | src/NAudio.Vst3/Hosting/Vst3MemoryStream.cs:161-175 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/NAudio.Vst3/Hosting/Vst3HostMessage.cs:65\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Vst3/Hosting/Vst3HostMessage.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3423180ce41579bbe8ac6603bea5af207513d34d4de160a9aa28759312fe2a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): samples/AudioFileInspector/FileInspectors/SoundFontInspector.cs:31-43 | samples/AudioFileInspector/FileInspectors/SoundFontInspector.cs:49-61 \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 \u0060samples/AudioFileInspector/FileInspectors/SoundFontInspector.cs:31\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/AudioFileInspector/FileInspectors/SoundFontInspector.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9d5b75af0700daaa8e292967a407b4cc9497e9f747361168e549d04c66e5d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/NAudio.Dmo/Dmo/MediaObject.cs:71-83 | src/NAudio.Dmo/Dmo/MediaObject.cs:94-106 \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/NAudio.Dmo/Dmo/MediaObject.cs:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Dmo/Dmo/MediaObject.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a9f09543357942b640f7ff34164536e157a64a3ff07013139323f63b7ff246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): samples/NAudioWpfDemo/SamplerDemo/SamplerDemoViewModel.cs:262-273 | samples/NAudioWpfDemo/Vst3MidiFileDemo/Vst3MidiFileDemoViewModel.cs:312-323 \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 \u0060samples/NAudioWpfDemo/SamplerDemo/SamplerDemoViewModel.cs:262\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/SamplerDemo/SamplerDemoViewModel.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a4f0f918a327fcb0b74353e92a0c569721afcef360f0a73ffc0046d8b54c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): samples/NAudioWpfDemo/Vst3HostDemo/Vst3HostDemoViewModel.cs:341-352 | samples/NAudioWpfDemo/Vst3RealtimeEffectDemo/Vst3RealtimeEffectViewModel.cs:398-409 \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 \u0060samples/NAudioWpfDemo/Vst3HostDemo/Vst3HostDemoViewModel.cs:341\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/Vst3HostDemo/Vst3HostDemoViewModel.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eca24b6ef7199a766a8b773857336dbc3586d9c87059a7dac89cbe7d2e9919b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/NAudio.Asio/AsioDevice.cs:687-698 | src/NAudio.Asio/AsioDevice.cs:733-745 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/NAudio.Asio/AsioDevice.cs:687\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/NAudio.Asio/AsioDevice.cs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"462d7e868438a346b265fe56cf786a05ccddf7663ca0ae0f86a1647bb696ea15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/NAudio.Vst3/Vst3InstrumentSampleProvider.cs:116-127 | src/NAudio.Vst3/Vst3MidiInstrument.cs:199-210 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/NAudio.Vst3/Vst3InstrumentSampleProvider.cs:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Vst3/Vst3InstrumentSampleProvider.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa00b3216cd142b144c7e570d017b0a5459b535e9cdbb9d1070c4b3463f9b5f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): samples/NAudioWpfDemo/Vst3MidiFileDemo/Vst3MidiFileDemoViewModel.cs:148-158 | samples/NAudioWpfDemo/Vst3RealtimeInstrumentDemo/Vst3RealtimeInstrumentViewModel.cs:239-249 \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 \u0060samples/NAudioWpfDemo/Vst3MidiFileDemo/Vst3MidiFileDemoViewModel.cs:148\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":"samples/NAudioWpfDemo/Vst3MidiFileDemo/Vst3MidiFileDemoViewModel.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caabe0bc574997a95c833b66f791a2489b4733dc6e839d042a6bc897e893c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/NAudio.WinForms/WaveInWindow.cs:136-146 | src/NAudio.WinMM/WaveIn.cs:82-92 \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/NAudio.WinForms/WaveInWindow.cs:136\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/NAudio.WinForms/WaveInWindow.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"80799b4c16dd007903d2052c98a7451eb405b20c5430807a27f9d66f8e60e570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/NAudio.Asio/AsioSampleConvertor.cs:275-284 | src/NAudio.Asio/AsioSampleConvertor.cs:347-357 | src/NAudio.Asio/AsioSampleConvertor.cs:393-403 | src/NAudio.Asio/AsioSampleConvertor.cs:445-454 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/NAudio.Asio/AsioSampleConvertor.cs:275\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Asio/AsioSampleConvertor.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b4ec5e5e4cf3a0f987ca42ea499d187dda3a2f62abb7364b294e7977111727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/NAudio.Asio/AsioSampleConvertor.cs:187-196 | src/NAudio.Asio/AsioSampleConvertor.cs:231-240 | src/NAudio.Asio/AsioSampleConvertor.cs:418-427 \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/NAudio.Asio/AsioSampleConvertor.cs:187\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/NAudio.Asio/AsioSampleConvertor.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb2a0110a9b108f66e3fac1cef0da9c3800c0c208732922373e771be6518ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/NAudio.Asio/AsioSampleConvertor.cs:299-309 | src/NAudio.Asio/AsioSampleConvertor.cs:498-508 | src/NAudio.Asio/AsioSampleConvertor.cs:553-562 \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/NAudio.Asio/AsioSampleConvertor.cs:299\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/NAudio.Asio/AsioSampleConvertor.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"471d9309d1218c08fdb0c2d2d1682d00d42c2df5209f8e9ca330c4548e4dc6af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/NAudio.Asio/AsioAudioCapturedEventArgs.cs:72-81 | src/NAudio.Asio/AsioProcessBuffers.cs:86-95 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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/NAudio.Asio/AsioAudioCapturedEventArgs.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ba0010eca68089bd15a8e7305e79eaf2f8257fa0d5afecede9a0c0bb52d924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/NAudio.Asio/AsioSampleConvertor.cs:471-480 | src/NAudio.Asio/AsioSampleConvertor.cs:525-535 \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/NAudio.Asio/AsioSampleConvertor.cs:471\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/NAudio.Asio/AsioSampleConvertor.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"766c6fd503cff40ec8cea66a968e537b1774318c6b65f8e204a9abb22a7af6ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/NAudio.Core/Codecs/G722Codec.cs:235-244 | src/NAudio.Core/Codecs/G722Codec.cs:268-277 \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/NAudio.Core/Codecs/G722Codec.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"81243adcff76598435a2ee2c163b7f97a2beb86537991fb2c7abdaa0d72f8fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/NAudio.Core/Effects/ChorusEffect.cs:79-88 | src/NAudio.Core/Effects/FlangerEffect.cs:80-89 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/NAudio.Core/Effects/ChorusEffect.cs:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Effects/ChorusEffect.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75bd4586d30d044f51daa3a8c35d3853d8ab22319b0ffd3ec2e3d7c811eeefc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/NAudio.Core/Effects/GateEffect.cs:95-104 | src/NAudio.Core/Effects/TransientShaperEffect.cs:57-67 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/NAudio.Core/Effects/GateEffect.cs:95\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/NAudio.Core/Effects/GateEffect.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f334e993f4606b77fb399e5b03656a421ccab07f5e220117f48d5ce4e978413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/NAudio.Core/Dsp/BiQuadFilter.cs:361-368 | src/NAudio.Core/Dsp/BiQuadFilter.cs:386-393 | src/NAudio.Core/Dsp/BiQuadFilter.cs:436-443 \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. 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/NAudio.Core/Dsp/BiQuadFilter.cs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26a4ff0a9e860903c8d4e66300e82e3bccbabff2ee8af3a44aa7b5d65bbb6de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/NAudio.Core/Codecs/G722Codec.cs:411-418 | src/NAudio.Core/Codecs/G722Codec.cs:448-455 \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/NAudio.Core/Codecs/G722Codec.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"20592299070142a9a0e858af512cc4209986cb71d5e8ca8ec7cf38f3c8fcde42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/NAudio.Core/Dsp/BiQuadFilter.cs:156-164 | src/NAudio.Core/Dsp/BiQuadFilter.cs:185-192 \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/NAudio.Core/Dsp/BiQuadFilter.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f46152b9456cecfae4b77b69088605382d1f50ec93b2e640600bdfec91d663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/NAudio.Core/FileFormats/Mp3/XingHeader.cs:84-91 | src/NAudio.Core/FileFormats/Mp3/XingHeader.cs:92-99 \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/NAudio.Core/FileFormats/Mp3/XingHeader.cs:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/FileFormats/Mp3/XingHeader.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41c94162edf3677cae5aebee395747005292d788f26bcd2cbc673497b7170d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/NAudio.Core/Wave/SampleProviders/Pcm24BitToSampleProvider.cs:27-34 | src/NAudio.Core/Wave/SampleProviders/Pcm32BitToSampleProvider.cs:27-34 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/NAudio.Core/Wave/SampleProviders/Pcm24BitToSampleProvider.cs:27\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/NAudio.Core/Wave/SampleProviders/Pcm24BitToSampleProvider.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80cb643f65f099dde08c3f98a5fe7d77404ea9b6f038d1c65252bbe0adb53db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/NAudio.WinForms/WaveOutWindow.cs:251-258 | src/NAudio.WinMM/WaveOut.cs:293-300 \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/NAudio.WinForms/WaveOutWindow.cs:251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/NAudio.WinForms/WaveOutWindow.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7d1f939a0d0e455e1f121f95c46f15065bbd00bec8ec5ba3ec9e4691586181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/NAudio.Core/Dsp/BiQuadFilter.cs:213-219 | src/NAudio.Core/Dsp/BiQuadFilter.cs:231-237 | src/NAudio.Core/Dsp/BiQuadFilter.cs:248-254 \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/NAudio.Core/Dsp/BiQuadFilter.cs:213\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/NAudio.Core/Dsp/BiQuadFilter.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26088b4a6ffca989828ef79e972522a412ee2342921da6da95061bfb78b188c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/NAudio.Core/FileFormats/Sfz/SfzMappedRegion.cs:439-445 | src/NAudio.Core/FileFormats/Sfz/SfzMappedRegion.cs:525-531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/FileFormats/Sfz/SfzMappedRegion.cs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"0440e9c88545ac9824c7b4dd88fd6ef2b49b1d8ea5449375ddd605e0c5a6d7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/NAudio.Core/Dsp/BiQuadFilter.cs:478-483 | src/NAudio.Core/Dsp/BiQuadFilter.cs:505-510 \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/NAudio.Core/Dsp/BiQuadFilter.cs:478\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/NAudio.Core/Dsp/BiQuadFilter.cs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fdd68cf3fb87665ff2e07ac4a056b8d06bd47ba99ee3812cefb9e214b02b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/NAudio.Core/Effects/ChorusEffect.cs:56-60 | src/NAudio.Core/Effects/FlangerEffect.cs:57-61 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/NAudio.Core/Effects/ChorusEffect.cs:56\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/NAudio.Core/Effects/ChorusEffect.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2befd534451ecd5549cdaf8e3c0dc21ff7b944a1d0e5198b90151709c75fddf"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: NAudio.Core: NAudio.Core: abstractness 0.10, instability 0.00, distance 0.90 \u2014 zone of pain \u2014 concrete and depended on by 12 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e92683b59e2ce169f92c7c21b05635bf4b853c3ff4b1c330459f53b6eece0c2b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: NAudio.Midi(net9.0): NAudio.Midi(net9.0): abstractness 0.09, instability 0.14, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0981aee1c500d3bd9d119f8e9b8d9b2085d784a1f0dd58c46798a9194b1a876c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SamplerRegion (LCOM4 8): SamplerRegion\u0027s methods form 8 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Sampler/SamplerRegion.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9024b0c5554615350f19cf1d3f9e294bb86bf1f5ed5e02a9e5836e24cde5cb76"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AsioRecordingPanel (LCOM4 7): AsioRecordingPanel\u0027s methods form 7 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/AsioRecordingDemo/AsioRecordingPanel.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3b635740830f41c065282b33e64aeed1596674b58a99094b6331dbc314fff6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AudioFileInspectorForm (LCOM4 5): AudioFileInspectorForm\u0027s methods form 5 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/AudioFileInspector/AudioFileInspectorForm.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f550683f570dd779af20b2ad12afe15349f5792bbf81c7ca0ea3b5c4ef7d67"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MainForm (LCOM4 5): MainForm\u0027s methods form 5 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/MidiFileConverter/MainForm.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6813ca069c3a718ff67470debf7d8b7e1374d5efc44c9ba58f00f1798471ea4e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MixDiffForm (LCOM4 5): MixDiffForm\u0027s methods form 5 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/MixDiff/MixDiffForm.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9980671b57665528d20f8e0ff217b9cd81c390f0cbf2530818b0b2505c4c5681"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured: The test suite couldn\u0027t be built/run in-image and no coverage report is committed, so line coverage was not measured \u2014 and it is EXCLUDED from the score rather than scored on a LoC-ratio proxy. No coverage collector was found in your CI either, so there is no existing report to hand us: add a coverage collector to your test run and commit (or publish) its Cobertura/OpenCover/lcov output anywhere in the repo, or make the suite runnable in-image, and real coverage will be measured."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: HasConnectInputToOutputMethod: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/NAudio.Core.Tests/WaveStreams/MultiplexingSampleProviderTests.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b98df028422b763079029b24b6144f398586c3aa9ef8ec61b9c26716f1a2012"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: HasFindByShortNameMethod: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/NAudio.Windows.Tests/Acm/AcmDriverTests.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cb6faf3e32066df266f2263392fc6e37118db1201b4927e4c67cd15958c377"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanConvertALawToSuggestedPcm: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/NAudio.Windows.Tests/Acm/WaveFormatConversionStreamTests.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"44deb2381094d25cf73b7a03c946b52d03d87b1a361a0597d566012f12392cbd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanConvertMuLawToSuggestedPcm: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/NAudio.Windows.Tests/Acm/WaveFormatConversionStreamTests.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4e763e90f647f2e5b50c0159e90d0a7e8b43d057594a3c4702070ee21037b9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanCreateResamplerMediaObject: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/NAudio.Windows.Tests/Dmo/ResamplerDmoTests.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5430ce09cfc315bb4b81aa1030e8a5c919d1edf39a16a59892dbe65edbf20638"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ResamplerCanCallProcessInput: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/NAudio.Windows.Tests/Dmo/ResamplerDmoTests.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f21f1c25c2d8016112020e21a2c438ab493819a1ccceee874756992598cda39"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanFindDefaultWaveIn: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/NAudio.Windows.Tests/Mixer/MixerApiTests.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad14fd108fbe9dc3a7f0dcea5f35b635d8d5158d0adc237e9344f8f3bdab28b"}},{"ruleId":"D11","level":"warning","message":{"text":"Test reliability not measured \u2014 no test run produced results: Test reliability NOT MEASURED: the test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7d83a505f7fa19aeeece76141ae1e468d77e2a3fea2e88604b8140ebad47a6fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/NAudio.Wasapi/WasapiPlayer.cs: src/NAudio.Wasapi/WasapiPlayer.cs changed 10 times in last 90 days, max complexity 22. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/WasapiPlayer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fb920f769ced0e30d1de0504d6af709299636b726d3d54df544afc706bc820"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/NAudio.Core/Dsp/WdlResampler.cs: src/NAudio.Core/Dsp/WdlResampler.cs changed 4 times in last 90 days, max complexity 51. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Dsp/WdlResampler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1bfd8fcfb30b88b55cf5f18c55502e14c77641f4b0fbbce9b24cd31110d3af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: samples/MidiFileConverter/MidiConverter.cs: samples/MidiFileConverter/MidiConverter.cs changed 3 times in last 90 days, max complexity 54. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/MidiFileConverter/MidiConverter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1f59deba6317a88eab35e24adf685f921653c0a041108189bf4029e5bf9c82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: samples/NAudioConsoleTest/Wasapi/Tests/WasapiPlayFileTest.cs: samples/NAudioConsoleTest/Wasapi/Tests/WasapiPlayFileTest.cs changed 5 times in last 90 days, max complexity 27. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiPlayFileTest.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfb9a7c81a3eabfb42ab340053ee0b7b77fcb677ef2b2209a3d985fb997fc50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/NAudio.Wasapi/WasapiOut.cs: src/NAudio.Wasapi/WasapiOut.cs changed 7 times in last 90 days, max complexity 18. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/WasapiOut.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac5b85f1d23eb8c44e73c7b5a854933bbf4a926c7a99d9954b4e4dbf9ec9b9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: samples/NAudioConsoleTest/Wasapi/Tests/WasapiRecordToWavFileTest.cs: samples/NAudioConsoleTest/Wasapi/Tests/WasapiRecordToWavFileTest.cs changed 6 times in last 90 days, max complexity 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiRecordToWavFileTest.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05805f99c52c710d49b431150fb27a0a6d793c93f3ec32ecb6e9a37343c25b79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: samples/NAudioConsoleTest/Asio/Tests/AsioDuplexPassthroughTest.cs: samples/NAudioConsoleTest/Asio/Tests/AsioDuplexPassthroughTest.cs changed 3 times in last 90 days, max complexity 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Asio/Tests/AsioDuplexPassthroughTest.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6541fdfb3e802878bbebc449a237f7b515de582ad8820ba97e403eac0355e10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: samples/NAudioConsoleTest/Asio/Tests/AsioLegacyDuplexPassthroughTest.cs: samples/NAudioConsoleTest/Asio/Tests/AsioLegacyDuplexPassthroughTest.cs changed 3 times in last 90 days, max complexity 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Asio/Tests/AsioLegacyDuplexPassthroughTest.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba0352cc5235b940cec07b6f4056390a9f81b46587a141faaefc9978b070aec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/NAudio.Asio/AsioSampleConvertor.cs: src/NAudio.Asio/AsioSampleConvertor.cs changed 3 times in last 90 days, max complexity 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Asio/AsioSampleConvertor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8034c11dc40cc9919957402dff14c0de97080330fc2856c37b4decc4fe92bd8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/NAudio.Midi/Midi/MidiFile.cs: src/NAudio.Midi/Midi/MidiFile.cs changed 3 times in last 90 days, max complexity 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Midi/Midi/MidiFile.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6863ab4fbbb8472c822960ecbaf1839e3f2702f4be2383e25dd3ea17126a7b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 53 significant file(s) lose their only recent owner: src/NAudio.Asio/AsioDevice.cs, src/NAudio.Wasapi/WasapiPlayer.cs, src/NAudio.Wasapi/WasapiRecorder.cs, src/NAudio.Dmo/DirectSound/DirectSoundOut.cs, src/NAudio.Wasapi/CoreAudioApi/AudioClient.cs, src/NAudio.Core/Dsp/WdlResampler.cs, src/NAudio.Core/Wave/WaveOutputs/WaveFileWriter.cs, src/NAudio.Wasapi/MediaFoundationEncoder.cs (\u002B45 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"557132f0fb5d44e95ed2a87285d69abbc3e9f1f301a301e0ba015b38532b1eeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add ourselves as an \u0022Open With\u0022 application \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":"samples/AudioFileInspector/FileAssociations.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b18ca2b223bc578ffa4b10914c0f2b48af343e468c861ab98fe62145cf5b0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: better error handling \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":"samples/AudioFileInspector/FileAssociations.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ac7678810ee6b20df0322c17805d62d7a334e0fd6cc8d9d4e2fa5b58a4bcd2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unregistering stuff \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/AudioFileInspector/FileAssociations.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb521ec9c649170aa35611d7815fe81ceabffa6a9b300b89f05d1283c1ab9e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: set default action \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":"samples/AudioFileInspector/FileAssociations.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb032826440b893a5265d3f8b1a27418f19116059c01c79b1343ad90349d32d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: sort this out - post shuffle \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":"samples/MixDiff/MixDiffForm.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"374876d3af1dfb53ae51ff7b8e4e29ca190c19223182cf124be85831dfde6375"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: reopen WaveOut device \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":"samples/MixDiff/MixDiffForm.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"798b6010fc8fa3858f9dd066cf546038b6eebf7447d37caf361be535bb12d091"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Asio/Tests/AsioDuplexPassthroughTest.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd07e9dd275e3a4155430ffbce5b7fad3a83eec583e6fe079e827e5cda11687"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Asio/Tests/AsioLegacyDuplexPassthroughTest.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eaeb6a4ef0e0ac3edf68d0c6df988b66934543bbd2bb99e06479b958bde565"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Asio/Tests/AsioPlayAudioFileTest.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36151ccd13f636af50d9fc176aca1f0202a89e2c3c4ce7b7aa80eb8c00a79ea"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Asio/Tests/AsioRecordToWavTest.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"702d1e7188df95fbd6bbe9b38d76b5921813a04b37450b38761e582317e46e69"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Asio/Tests/AsioShowChannelLevelsTest.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b1f68ae089e32e75b3f5bdc1ad72e941351f3e38b3671cf965e77656034a88"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Shared/Testing/DiagnosticsCollector.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5aefaaec83cb9ae90bec6b0b66b7cf90baa184c44eb9eb7278195aa54c1aa7"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Shared/Testing/DiagnosticsCollector.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e15517c3282f236702346fbeb4c987fbbfd42bcc1815414c37d7b10820bbc5c"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Wasapi/Tests/WasapiListDevicesTest.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c0b4f2ec972e74475b62cfae7d8d5c03d609d92c61eca882fc079f9a88766a"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/VolumeMixerDemo/VolumePanel.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8f6bc9b446539a6f329aee207afa4aea3ec1669ea40651d7cdb1139e4470e6"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/VolumeMixerDemo/VolumePanel.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"11824c50b983b1ca685c7d41c962ecfc33adf314ed7cc9945826293be376955f"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/Vst3RealtimeInstrumentDemo/Vst3RealtimeInstrumentEngine.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8debe9a952587334ebdd59aa36e1fe4167b545752dc47b91509aaae35839fc97"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/Vst3RealtimeInstrumentDemo/Vst3RealtimeInstrumentEngine.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2267c83311b9d0e004a35580a83ffcf4d6e2288bf5cb3ae1ac31d90e293092cb"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/Vst3RealtimeInstrumentDemo/Vst3RealtimeInstrumentViewModel.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7730a1574da6b24d79a29a7ad438d25db5e822c94895e95117f74696a9268f"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/MediaFoundation/FileFormatDiscovery/AudioFileFormatFinder.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b42c54830ecd651b927dc7cdcd2bb01db6178b5240c9b5324161d433374145"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/MediaFoundation/FileFormatDiscovery/AudioFileFormatFinder.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"766cfafdf906cad71429c850be039a89535c47d5acdc3565746769d0bd718e11"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/MediaFoundation/MFByteStreamFromStream.cs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"601d36c3774971532ecdc1a42595b31e2107d31df1b40dde4bd7d3535554ddc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: only re-initialise if necessary \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":"samples/NAudioDemo/AudioPlaybackDemo/AudioPlaybackPanel.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfd7be48c2aeb5c1f53ad06af232ab34e2796546444239886815b05978b5734"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fill this by asking the encoders what they can do \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":"samples/NAudioWpfDemo/MediaFoundationEncode/MediaFoundationEncodeViewModel.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9fd29fd4439ec540c0af9a3419871f974f9c23f1aaad50067f22537b7fbe83"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetAsInterleavedSamples"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Asio/AsioAudioAvailableEventArgs.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bdd2005986fc2d3c60bdefcee27245bde5fedade566817ce700390502cf7e6"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Volume"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Asio/AsioOut.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb4161e22be922325f227e0080affaf1b18501b6a2106fab93f86d508e76b65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : IMPLEMENTS OTHER CONVERTOR TYPES \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/NAudio.Asio/AsioSampleConvertor.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e001e45ddb6be2f553557bc56637bffde19a140e069c795fdab0d3c288d2b3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: notify of error? \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/NAudio.Core/Dsp/WdlResampler.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51b171afe46b547543015f46702be2f4185002438b70bd28bec215d56233c77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: could have an option to suppress this, although it does indicate a corrupt file \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/NAudio.Core/FileFormats/Mp3/Mp3Frame.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c72b75145f3de2362a9c14c786161522387b57ec046d4694a4a1f4a8a71bd74"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: could do with a bitstream class here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/FileFormats/Mp3/Mp3Frame.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c140fcfc4babd9bc557974c1420057a1e511805ed1562cef996da3065ab0584e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: save / save as function \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/NAudio.Core/FileFormats/SoundFont/SoundFont.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"07afa5b9d8fe89d0068979614dac0c6fc3fb7a9bc2177e1dcf7952929b8f0eae"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] MAKE_HRESULT"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Utils/HResult.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8428ea78ee5f248cd5abbbcc237198cbd0295783b034b3d3237844c7f0b99f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: validate sampleRate, bitsPerSample \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/NAudio.Core/Wave/WaveFormats/AdpcmWaveFormat.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f721e6766030cea1d76eb09db9c11ced5f43d5ef3cf198fc809cee70eca57eaf"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] WriteData"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Wave/WaveOutputs/WaveFileWriter.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1855f958b23fc27e04414c1b5d43929abc0b6acbcc9fb52788045705abe38e"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] WriteData"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Wave/WaveOutputs/WaveFileWriter.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bbc6e296f42581fc97d3d06734076aee934726fec2f92f368b1820de415555"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] TryReadFloat"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Wave/WaveStreams/WaveFileReader.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d519137c06a3fc3b4b8b288bfcfcee6f2446be0458e442c2cd9a94c1ebc0d521"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for IEEE float \u002B perhaps some others - \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/NAudio.Core/Wave/WaveStreams/WaveOffsetStream.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af182fad84ae417fcea53c719243669c495bcf3b6fa9a91183d56bd34d926e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: there are still several IMediaObject functions to be wrapped \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/NAudio.Dmo/Dmo/MediaObject.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"7227f913d4f9e167b04598eb76d65a5df4ecca2209349d798c5851e21ab44d3a"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 0649 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Dmo/Dmo/MediaParamInfo.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6169c069fca6121fbddc5be35450c6f61c8af567ede0336d9397292d2e6362"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: could add resampling in here if required \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/NAudio.Extras/CachedSound.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"df59c6133d6a36bc4f365c03da300456d123a3b126e3f2513fb26a7487dd656a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: might be a follow-on \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/NAudio.Midi/Midi/ChannelAfterTouchEvent.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1096768ab65ce5515cfd0f95bdeb5d8ce60c7c0eb216bd51d15e252c20f855"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: might be a follow-on \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/NAudio.Midi/Midi/ControlChangeEvent.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a222a41ea616a690d63885672f45e8408f3c82c1ae797051b5b0468b2e98f64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: might be a follow-on \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/NAudio.Midi/Midi/PatchChangeEvent.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86297a47e009fcfef5a8e38b24903cdd97aff8459e03cdc139bc7efd62cd6db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: might be a follow-on \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/NAudio.Midi/Midi/PitchWheelChangeEvent.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"387b078d2118abbdbd3bd6db8aa163523812a8b0c14a12b6211d192709877716"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: localize \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/NAudio.Midi/Midi/PatchChangeEvent.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeef7210fba23dce9bf89d3cef7c6d80f1d1e5cf8a651ce77bc491cc648ad58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: there is a form of the TrackSequenceNumberEvent that \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/NAudio.Midi/Midi/TrackSequenceNumberEvent.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed63adc51f10cbb16d878f8aa63d9f451ff03feb184dea6a5173e81077b73aa"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/CoreAudioApi/PropVariant.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd16db2a1f7fd91eaef08ee4f4b66d2032099feab508e8aa1b4aedfd057a264"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetValue"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/CoreAudioApi/PropertyStore.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4badc602f630e42c1480ce1557ee07ff618334bb27cc866f9f107764c16fd50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: find out what these are, and add them: \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/NAudio.Wasapi/MediaFoundation/AudioSubtypes.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5c0298fc44d4b83304f8197d4e38e4fe27708250fb6afa21b6ab4004375023"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: are we over the fader \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/NAudio.WinForms/Gui/Fader.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"656fe042fa4768047c88ba64d02d3d420d8b0be75ae9cc1babcb1f7c880cd30b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add any initialization after the InitComponent call \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/NAudio.WinForms/Gui/PanSlider.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"53af12f953754e9d7f949e9669d38482076274bf6da392034284d72c9d4591a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add any initialization after the InitComponent call \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/NAudio.WinForms/Gui/VolumeSlider.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e001242dd8d57324eeb3ba51131030a135d09091ca1ec6f9cd6d4feaa9763779"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] Convert"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.WinMM/Compression/AcmStream.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f4b57d256cd0bf667d111274b52b63942e358224408138331d58534da9c29d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: review this, probably doesn\u0027t work"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.WinMM/Midi/MidiInterop.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4021b495a02635135ae7cce2d0561ce0531a15d89d63ee43bd697a7e2e600cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: review, probably doesn\u0027t work"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.WinMM/Midi/MidiInterop.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e83e41e08d41b7f0f27dd67485c425c329d3b06e8e805d7900d5d9e22eab70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is general MM interop \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/NAudio.WinMM/Midi/MidiInterop.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aac6541eed20db2b745334d578aa8479b4e0e52f7e0eb864f68c36d0b49022b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: not sure this is right"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.WinMM/Midi/MidiInterop.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5febde39d7b70b9f0fb22440aae322a7d94a6f879cd8247e85bd814cd2b4adcf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check for ANSI strings in these structs \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/NAudio.WinMM/Midi/MidiInterop.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8ea5bb5b854a618d3ccdada738415e5fc5e22b6ac3b2ee7d9ae30d031acb06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check for WORD params \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/NAudio.WinMM/Midi/MidiInterop.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d472efa9a06d76f086295fefb69d8b4b42e7501a6c4446d02ada40263384d5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Volume can be accessed by device ID \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/NAudio.WinMM/Midi/MidiOut.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0821d14848a363fea70af86cc42cbc4dc5e16c93fda2516d052aec49809c4d76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: provide a way of getting / setting data \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/NAudio.WinMM/Mixer/CustomMixerControl.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9f12fa28b30f62a7b4cdcba3a83d15fb3af5f2e401ce82935a1767f96a7c47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: provide a way of getting / setting data \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/NAudio.WinMM/Mixer/ListTextMixerControl.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea38912d7bc9910466892d81bdd7d201b06b7524ec18b214740d4d0140a4ae0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optionally support really opening the mixer device \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/NAudio.WinMM/Mixer/Mixer.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ff10fc3b239481d19d5fac4ebd6a999ef6e84b5828102e2a0afe453f68a86d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: special cases \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/NAudio.WinMM/Mixer/MixerControl.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"745578b0eeba8e1924ec1661c52ad439f037ab053591ad81823d0597f2969ff8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add function help from MSDN \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/NAudio.WinMM/Mixer/MixerInterop.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2374c72d7b114b88f3d7b608f7c503c6b30cbbaf8e19c123a5a1a84104e72211"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Create enums for flags parameters \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/NAudio.WinMM/Mixer/MixerInterop.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfe2c5f289f9d499f0f853526b3c284c70187963237aeaa6aaaf3d5838c8cf8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.WinMM/MmeInterop/WaveInterop.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b8ecc6177fa4762adb277f141a4cd480e793b35a76f65adeb27c049aa9b69a"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] SourceToDest"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.WinMM/WaveFormatConversionStream.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"83549e152cde06fd5a67cde588dbfb761f3f3bae006a5edfffd3eb95eb97ce59"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DestToSource"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.WinMM/WaveFormatConversionStream.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae9d0c80a9c369794811e4b767dfa6536f1f9f40d6e0df466c181fb5dbcbf4c"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] WaveInEvent"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.WinMM/WaveIn.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b92442b30fd2acf27837adf4e3f36e36e8cc419c91ac5a32474eda17e802c56"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] WaveOutEvent"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.WinMM/WaveOut.cs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9626e68e11e7d6215106c6feda71da2e7755e31fdd32b376474ad09596443d1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // request results in bytes, TODO: perhaps make this a little more flexible and support the other types? \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/NAudio.WinMM/WaveOutUtils.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"741b9ab6ee45c68a8270f00782c300cbc7e6cbad454948eef9e4ac6bb6449cda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // BUG: ToString() has \u0022TODO-fix comments\u0022 hardcoded instead of actual Comments value \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":"tests/NAudio.Core.Tests/SoundFont/InfoChunkTests.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5707c7b3bfb622bc30ae43bdc59489298daeec0e6dc4d43bc75a98b394e19317"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Test that Read offset parameter is respected \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":"tests/NAudio.Core.Tests/WaveStreams/OffsetSampleProviderTests.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de31e9091e929e840b147fbb7733d1d086a779adbab07ca7b75ed8e30ca7666"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO put some stuff in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/NAudio.Windows.Tests/Wasapi/AudioClientTests.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea88572b98cde1acf9d3ee1a1958db5e305a83e90a31e77266616c424d78f6cb"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1001 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/NAudioWpfDemo.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d124132e1fe304bd6277758f1e56cde8d0dc31703b8dba73e74b88d1eaa992a"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1001 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/NAudioDemo.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"daea833eff0e7babcc43d82f1f35395312e75e619c8864c1b323a708934ad191"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1001 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/MixDiff/MixDiff.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b885eed3abf286c4789c1ae65fcf5112bf410389fc2b7bd2c9ba91f4413c5171"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: FindBeatsPerMeasure: Method FindBeatsPerMeasure \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/AudioFileInspector/FileInspectors/MidiFileInspector.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95046cad900e2c98bfeba790ffe0eb3b14145521fddad069fbf35dd9cd6fc3a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AudioFileSelector: NamedType AudioFileSelector \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Shared/AudioFileSelector.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cca6aee0ccb5b34fb785108d5647b2df4b97970ec6d352b710e49b6ee0046d1"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DeviceSelector: NamedType DeviceSelector \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioConsoleTest/Shared/DeviceSelector.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e319e3cbac2126a16bae18ef648723dd5a345f5ae1a53b4494adaf260d36083"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AsioDevicePlugin: NamedType AsioDevicePlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/AudioPlaybackDemo/AsioDevicePlugin.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dfb03e8e95a471246d5bd1acb8410417c3309e366e33e230a94ed3f49d8bba"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AsioOutPlugin: NamedType AsioOutPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/AudioPlaybackDemo/AsioOutPlugin.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"236269ab1fc7efd12971e57a964297497596d2377ce9f8229814e0089443cfef"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DirectSoundOutPlugin: NamedType DirectSoundOutPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/AudioPlaybackDemo/DirectSoundOutPlugin.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda72c5a358897984097df8a5c0761e1f6993fe270d6bea7b2489bf9ba001690"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WaveOutPlugin: NamedType WaveOutPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/AudioPlaybackDemo/WaveOutPlugin.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"051e219108e13fb25581b085bd29296035e8b2c1800fab48cd56481b29147d6d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WaveOutWindowPlugin: NamedType WaveOutWindowPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/AudioPlaybackDemo/WaveOutWindowPlugin.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8d45fdb6e1c7c6cf842f325a759448f1b8bde95cb89cf8b145e83f6bb41e58"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Tb_ValueChanged: Method Tb_ValueChanged \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/DeviceTopology/DeviceTopologyPanel.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8185cc42a508bbf03da87a81568f17ec4b310d058fab92435d514478c507e52d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DeviceTopologyPlugin: NamedType DeviceTopologyPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/DeviceTopology/DeviceTopologyPlugin.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"42110d564811ca8c9ce8fbbf06e2c7bbb9a1f7cbe356a8ea5481cda4fd7d13a0"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: FadeInOutPlugin: NamedType FadeInOutPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/FadeInOutDemo/FadeInOutPlugin.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a73d8a618f2b153e80cb93d94c52f7d202555c229922961891d93a516366341"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AcmALawChatCodec: NamedType AcmALawChatCodec \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/NetworkChatDemo/ALawChatCodec.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aef6e64aba571069509f861e7cd5a430f9eb2b97b2c39c021a50e46cd2473c9"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ALawChatCodec: NamedType ALawChatCodec \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/NetworkChatDemo/ALawChatCodec.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c032c1f7b7697bb8956977a6bd25b29130d57bf3e78e846996400153018cd693"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: G722ChatCodec: NamedType G722ChatCodec \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/NetworkChatDemo/G722ChatCodec.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aa9e50d90860984c218d7dd9b6f32c748688c00ab294a01d2f58f63270d8fd"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Gsm610ChatCodec: NamedType Gsm610ChatCodec \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/NetworkChatDemo/Gsm610ChatCodec.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbcca52d1000438f159df4003bbabe46e2fc66fecb11304742079d7b8b09166"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MicrosoftAdpcmChatCodec: NamedType MicrosoftAdpcmChatCodec \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/NetworkChatDemo/MicrosoftAdpcmChatCodec.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fd1d3e1d16fc450bd98a44e461861af48293fe6018282529954c7b574372e8"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AcmMuLawChatCodec: NamedType AcmMuLawChatCodec \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/NetworkChatDemo/MuLawChatCodec.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb24fbbd413d290b1f3717e6d2b6c80dde10c1c7616a46ec6c0905bb459d4cce"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MuLawChatCodec: NamedType MuLawChatCodec \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/NetworkChatDemo/MuLawChatCodec.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4203fb4b1dbfd53ed8987c862e55feaecd5e4f0b1fd0047f3314cb107b10d50e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TrueSpeechChatCodec: NamedType TrueSpeechChatCodec \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/NetworkChatDemo/TrueSpeechChatCodec.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22969db99803c86f6c579ab93d30ab766011141f5e56b4b693d0480c6b83d7e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: UncompressedPcmChatCodec: NamedType UncompressedPcmChatCodec \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/NetworkChatDemo/UncompressedPcmChatCodec.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdb766e69e6edae23c0a2f703de6dd0b05f2127f4dd580fd40ae83ab0b91382"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GeneratorPlugin: NamedType GeneratorPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/SignalGeneratorDemo/GeneratorPlugIn.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d295c11bff2b24ba260c4563f078ae6b5b54e3cadfb1614907c96dcb779e8c1"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: VolumeMixerPlugin: NamedType VolumeMixerPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioDemo/VolumeMixerDemo/VolumeMixerPlugin.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d8548cd93763f12ae52d876bc3dc88189af5d79e396b71a9f7803a6efa7702"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: LiveWaveformVisualization: NamedType LiveWaveformVisualization \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/AudioPlaybackDemo/LiveWaveformVisualization.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dd52541951bb4b2050a2343dfb331cec36249dff954f3e7150b2c45d8e7676"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SpectrumAnalyzerVisualization: NamedType SpectrumAnalyzerVisualization \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/AudioPlaybackDemo/SpectrumAnalyzerVisualization.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b946b17bb65f4faa33f9edd501cb24965e8fed90cb7557b669d9d22c7b2ec3"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ConvolutionReverbDemoPlugin: NamedType ConvolutionReverbDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/ConvolutionReverbDemo/ConvolutionReverbDemoPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6375df827f8f342d097848a38289a70de4caaacd920d3fcff47cdceb9544bcd7"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DrumMachineDemoPlugin: NamedType DrumMachineDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/DrumMachineDemo/DrumMachineDemoPlugin.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"06789ff3b5887ee2de34434a52d04d2985212c14f2e557b41d601fa28b836a28"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: EqualizationPlaybackDemoPlugin: NamedType EqualizationPlaybackDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/EqualizationDemo/EqualizationDemoPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79e94dec212046e7049b3d3c4d6c9fc02a725e13d12edd3492e8242b1d2f9aa"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: FireAndForgetPlaybackDemoPlugin: NamedType FireAndForgetPlaybackDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/FireAndForgetPlayback/FireAndForgetDemoPlugin.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"12817c4073bdcc1b94ef50bca335769e1d4945f1a43911d87e5430d422843319"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: LiveSamplerDemoPlugin: NamedType LiveSamplerDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/LiveSamplerDemo/LiveSamplerDemoPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"486827cb8ff07a830525e6bf8fe86a9b4728dfd8904bd7e70343d30de875d744"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MediaFoundationEncodePlugin: NamedType MediaFoundationEncodePlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/MediaFoundationEncode/MediaFoundationEncodePlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"987e0a694437f96120f959e9cf3bea66a07dd53bfe8e1dcf3b1c555909360929"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MediaFoundationPlaybackPlugin: NamedType MediaFoundationPlaybackPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/MediaFoundationPlayback/MediaFoundationPlaybackPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c0ea7faf87d0cd6cc7e0875c1268e622ef6abe6b5c0a2a9aa2b22e9c397505"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MediaFoundationResamplePlugin: NamedType MediaFoundationResamplePlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/MediaFoundationResample/MediaFoundationEncodePlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"541fe0d33062295bc842229108761ac4777e975006f3c9fc00f308bb8f3f52bf"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RealtimeEffectsDemoPlugin: NamedType RealtimeEffectsDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/RealtimeEffectsDemo/RealtimeEffectsDemoPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adf9be1094e406c37831b21a125de43f4e1134c13daa8b36270e1be48cc0a4c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SampleEditorPlugin: NamedType SampleEditorPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/SampleEditorDemo/SampleEditorPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc7678824f678c86456581f7a6d324790ea62d878d1763c72f7c8796cda4f50"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SamplerDemoPlugin: NamedType SamplerDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/SamplerDemo/SamplerDemoPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98f5cc9c9859b9e06e8e71f6929b3c52ad59a973866d2b2e6d2b4ff2480ddbd"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Vst3HostDemoPlugin: NamedType Vst3HostDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/Vst3HostDemo/Vst3HostDemoPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c24df790c4943a0b7be2380d0d55f8a6a2fd1da33a65fcb537981ef9fcef402"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Vst3MidiFileDemoPlugin: NamedType Vst3MidiFileDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/Vst3MidiFileDemo/Vst3MidiFileDemoPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e32a0122943354747d54cb2e30e87fb5b8a70e81635a8612008240cba2e3f0"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Vst3RealtimeEffectDemoPlugin: NamedType Vst3RealtimeEffectDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/Vst3RealtimeEffectDemo/Vst3RealtimeEffectDemoPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64c2e1a2c1eb6dc58822314089ab3ea608059c2be1d68010b122865877771ce"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Vst3RealtimeInstrumentDemoPlugin: NamedType Vst3RealtimeInstrumentDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/Vst3RealtimeInstrumentDemo/Vst3RealtimeInstrumentDemoPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2679a0453c5fd99f43ac4cf857cc96aabe966da1487c0c79cd11f7c707c1597"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WasapiRecorderDemoPlugin: NamedType WasapiRecorderDemoPlugin \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/NAudioWpfDemo/WasapiRecorderDemo/WasapiRecorderDemoPlugin.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"750d28770873a61bd95f5f01518758bf25a869ed903d595d5c4e1eb3115095dc"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AsioTime: NamedType AsioTime \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Asio/AsioStructures.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c443a48ac5a4ed2687cb2bb33d3bc8ea015c1279c8e3249ff945651a56d9e1"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: OggWaveFormat: NamedType OggWaveFormat \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Wave/WaveFormats/OggWaveFormat.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb8a60dcd60a66fb2255976d5c9ce249fb9460194e8ff2d98afc23fbd62d70d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WmaWaveFormat: NamedType WmaWaveFormat \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Wave/WaveFormats/WmaWaveFormat.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f0d18b2dfaedc6d6756bcb3f831986f763337910f2e9dd8d7db4ffb72d812"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MediaParamInfo: NamedType MediaParamInfo \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Dmo/Dmo/MediaParamInfo.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4ed73265238175cd0a6f7d4f5583d630a67ab73fd74b6fb90ebe93753d54a9"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: LegacyMIDICCOutEvent: NamedType LegacyMIDICCOutEvent \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Vst3/Interop/Events/Events.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aeeb793a0fbcbfd65ea4a0070c8c172e92924d006a3fb16b60c484a5173e6f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: PlatformUITypes: NamedType PlatformUITypes \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Vst3/Interop/View/IPlugView.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51c96d2e176de5a85ae0848001783769bdec7bcb1e84e5e1b337a781a390b89"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ActivateTransform: Method ActivateTransform \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/MediaFoundation/MfActivate.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"076f7b9ac9361f9cb12a32fb3f99ee0b1b8420ce40b2d423e17ff1fafb03a7c7"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MfSinkWriter: NamedType MfSinkWriter \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/MediaFoundation/MfSinkWriter.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0ee02b1b758291557a45b1ae04fac173c19339e64e35aca32c276255e399bf"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MfSourceReader: NamedType MfSourceReader \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/MediaFoundation/MfSourceReader.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d679166da7ab2ed40d0d0407716b5af4febd23139c39254ec2da4d8a7ec40620"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: IsConstant: Method IsConstant \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/NAudio.Sampler.Tests/SamplerModulationTests.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ac6cf47a85acfa1d40afbc91473bb7f3ede96e6c31a8ae116942ce41006ccf"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 100k LoC across 30 projects the codebase is large and multi-module, so explicit bounded contexts are needed. Name this codebase\u0027s bounded contexts (\u22652 module groups, e.g. per subsystem) so cross-boundary type coupling can be assessed. Declare them in \u0060.codehealth/config.yaml\u0060 at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it \u2014 e.g. \u0060architecture:\u0060 \u2192 \u0060contexts:\u0060 \u2192 \u0060Billing: [\u0022src/billing\u0022, \u0022Acme.Billing\u0022]\u0060, \u0060Catalog: [\u0022src/catalog\u0022, \u0022Acme.Catalog\u0022]\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D26","level":"note","message":{"text":"Split NAudio.Core: Core is huge (25k LoC) across 10 unrelated namespaces, a classic sprawling grab-bag. Suggested: by namespace: AudioMath, AudioFilters, Waveform"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"48e4eb787cd75751b4abc5a009dcbe53d0eb3832e328274725d8e0ea27c654fa"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 85 % of calls cross a namespace and only 60 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"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":"be82002869094debafd47ffc0021bdb17eacecac471c254f8f1b3bfbd31ecf12"},"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"}}]},{"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":"b5e6416022c21f1606f098c5fd6778cc234de6e6d8a0c43678847b2ae35539fc"},"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"}}]},{"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":"ed6fdc226c4d3b560a6765bd753130fbd1dbb00e11437de41604f04caeeea5a7"},"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"}}]},{"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":"055602a3a1cdc5b9e89218f502c9e61eeade13f5e070e071043a3f93072d5055"},"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"}}]},{"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":"8cac62aa76c37ce66766e5640c1bb9a863e1a97fa528d5aa7328f853dbf10b51"},"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"}}]},{"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":"8f78cc937e3224ad68b6179fb2d33a59b49eb02ad210dca990b44cfed49bff56"},"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"}}]},{"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":"c15e03ac1fa47e87e1db1facbff939b0109157aa1a15ea9510ba7aa38b6e07cb"},"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"}}]},{"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":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"10af382bbadbb7345dc46e028cfcbbbe9df50101b9277233e8257c1d12bf30dd"},"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"}}]},{"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":"1c7fe03dbbe4523bfa2d4c780f73886a4603935a05deb59de4a51686f0f29d10"},"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"}}]},{"ruleId":"D29","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":"715ca4e08057b9c7418f9d351c932ee1347bc1b26ce7de92429ae6df8de1b8cd"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"c40095339057aa0912d39dd3adc9928962931f2c4f8346de38a4aafb8cbc01da"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"e2d4b8b6167c50a222125ca2099bfbd1ac204ad3acc917a569eb66e09a1b97d8"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"37a86d856b8fbd5188026d5eae8c3c7637d36956015b62fa6dba2c8f029e415f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"97cbb69b8fb24281e3e21b4d903024f16c1348e667824e937db16cd0904012da"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"7672c584b65de61112e3270417f0f60e934346aa67e91d3eec6e3f82e7cdd67e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"883f40b13869147aeecb7cb497a3be9ee1f6b7cf52731dd91fe8014f25d0189e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"6cdf5fdf846bf1f665b40ce2e4345cbfc8b9c4706fb918be02d3e543ff998e79"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D32","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":"10b282dc7bf3f3c45302031e4a4acaf3e8343b0d6429dd0de454654fbe2037b8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AudioClient.cs \u2194 WasapiRecorderBuilder.cs: \u0060src/NAudio.Wasapi/CoreAudioApi/AudioClient.cs\u0060 and \u0060src/NAudio.Wasapi/WasapiRecorderBuilder.cs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/CoreAudioApi/AudioClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c2a06a3d48ccbe5b8b37697ac4305f00622fda1165e08aa0617eb9946e0698"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WasapiPlayer.cs \u2194 WasapiRecorderBuilder.cs: \u0060src/NAudio.Wasapi/WasapiPlayer.cs\u0060 and \u0060src/NAudio.Wasapi/WasapiRecorderBuilder.cs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Wasapi/WasapiPlayer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"013428474e06beff6dbcfaeee3741feebcdb0c3f27dc1bd66c23cc4d05c43da0"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D39","level":"note","message":{"text":"IL efficiency: 29 authored method(s) exceed the IL budget: 29 of 4791 first-party methods compile to oversized IL bodies (\u003E 250 instructions); worst: NAudio.Dsp.WdlResampler.ResampleOut @ src/NAudio.Core/Dsp/WdlResampler.cs:231, 870 IL instructions; large bodies don\u0027t JIT-inline, which pulled this dimension to 9.9/10; splitting the hottest bodies recovers the most."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/NAudio.Core/Dsp/WdlResampler.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c2ce75736a31a2ef7dfd8492977981e8a6cf30cc2ae835ca2fb08dc229ef3c"}}],"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-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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"CWE-319","shortDescription":{"text":"CWE-319"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":24,"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."]}]}