AI Slop Code RIsk Monitor

naudio/NAudio

Audio and MIDI library for .NET

6.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for naudio/NAudio, a C# project with 6,241 GitHub stars. SynthScan examined 201,139 lines of code across 1506 source files, recording 1287 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 6.8 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

6.8
Adjusted Signal
6.8
Raw Pattern Score
100%
Time Factor
2026-09-21
Last Push
6.2K
Stars
C#
Language
201.1K
Lines of Code
1.5K
Files
1.3K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 28.3/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 1280 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 0 finding(s).

Agent Over-Engineering Ratio 0.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 7 finding(s).

PR Review Velocity Impact 29.3/100 · MEDIUM

Which changes need focused human review? 1287 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 17MEDIUM 11LOW 1259

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1287 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block1259 hits · 1200 pts
SeverityFileLineSnippetContext
LOW….Core.Tests/Sequencing/SequencedSampleProviderTests.cs161COMMENT
LOWtests/NAudio.Core.Tests/Utils/SyntheticMp3.cs1using System;COMMENT
LOW….Core.Tests/Utils/FrameStampingMp3FrameDecompressor.cs1using System;COMMENT
LOWtests/NAudio.Core.Tests/Mp3/Mp3FileReaderSeekTests.cs1using System;COMMENT
LOWtests/NAudioAotSmokeTest/Program.cs21//COMMENT
LOWtests/NAudioAotSmokeTest/Program.cs41//COMMENT
LOWtests/NAudioAotSmokeTest/Program.cs61// driver with its SubFormat GUID written over the sample rate. The blobCOMMENT
LOW…udio.MacOS.Tests/AudioHALTests/CoreAudioPlayerTests.cs21 public void VerifyMacOS() => MacOSVerify.VerifyIsOSMacOSFloorAtLeast(10, 5);COMMENT
LOW…udio.MacOS.Tests/AudioHALTests/CoreAudioPlayerTests.cs241COMMENT
LOWtests/NAudio.Benchmarks/AsioCallbackBenchmarks.cs1using System.Runtime.InteropServices;COMMENT
LOWtests/NAudio.Benchmarks/VolumeBenchmarks.cs1using System.Numerics.Tensors;COMMENT
LOWtests/NAudio.Sampler.Tests/SamplerBenchmarks.cs1using System;COMMENT
LOWtests/MfStressTest/Watchdog.cs1using System.Diagnostics;COMMENT
LOWtests/MfStressTest/Program.cs1using System.Diagnostics;COMMENT
LOWtests/MfStressTest/Phases/EnumStress.cs1using System.Diagnostics;COMMENT
LOWtests/MfStressTest/Phases/Soak.cs1using System.Collections.Concurrent;COMMENT
LOWtests/MfStressTest/Phases/Probe.cs1using System.Diagnostics;COMMENT
LOWtests/MfStressTest/Phases/Probe.cs21 public static List<Combo> Run(Options o, string tempDir)COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs121COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs141[Flags]COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs161 /// <i>dwItem2</i> is not used and should be <see langword="null"/>.COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs181 SHCNE_DELETE = 0x00000004,COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs201 /// <summary>COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs221 SHCNE_FREESPACE = 0x00040000,COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs241 /// <summary>COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs261 /// <see cref="HChangeNotifyFlags.SHCNF_PATHA"/> must be specified in <i>uFlags</i>.COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs281 /// <i>dwItem2</i> contains the new PIDL or name of the item.COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs301 SHCNE_SERVERDISCONNECT = 0x00004000,COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs321}COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs341 SHCNF_IDLIST = 0x0000,COMMENT
LOWsamples/AudioFileInspector/FileAssociations.cs361 /// represent the friendly names of the printer(s) affected by the change.COMMENT
LOWsamples/AudioFileInspector/ReleaseNotes.md1// build 1 - 1 Nov 2006COMMENT
LOWsamples/AudioFileInspector/ReleaseNotes.md21// can report on strc chunks in ACID wav filesCOMMENT
LOWsamples/AudioFileInspector/ReleaseNotes.md41// WAV 64COMMENT
LOW…es/AudioFileInspector/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWsamples/MixDiff/Images.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWsamples/MixDiff/ReleaseNotes.md1// build 1 19 Oct 2006COMMENT
LOWsamples/MixDiff/ReleaseNotes.md21// build 7 23 Mar 2007COMMENT
LOWsamples/MixDiff/ReleaseNotes.md41COMMENT
LOWsamples/MixDiff/MixDiffForm.Designer.cs181 // toolStripSeparator1COMMENT
LOWsamples/MixDiff/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWsamples/MidiFileConverter/ProgressEventArgs.cs61/// </summary>COMMENT
LOWsamples/MidiFileConverter/ReleaseNotes.md1// build 1 29 Oct 2006COMMENT
LOWsamples/MidiFileConverter/ReleaseNotes.md21// build 3COMMENT
LOWsamples/MidiFileConverter/ReleaseNotes.md41// updated to use new MidiEventCollectionCOMMENT
LOW…les/MidiFileConverter/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOW…/NAudioConsoleTest/Vst3/Tests/Vst3SelfRoundtripTest.cs1using System.Globalization;COMMENT
LOW…les/NAudioConsoleTest/Vst3/Tests/Vst3ShowEditorTest.cs1using System.Runtime.InteropServices;COMMENT
LOW…onsoleTest/BatchPlans/winmm-waveformat-regression.json1// Regression plan for the Native AOT marshalling fix (issue #1425), which changed howCOMMENT
LOW…onsoleTest/Wasapi/Tests/WasapiExclusiveFormatHelper.cs41 ];COMMENT
LOW…oleTest/Wasapi/Tests/WasapiVolumeCallbackStressTest.cs1using NAudio.CoreAudioApi;COMMENT
LOW…ples/NAudioConsoleTest/Shared/Testing/CliDispatcher.cs1namespace NAudioConsoleTest.Shared.Testing;COMMENT
LOW…/NAudioConsoleTest/Shared/Testing/ConsoleTestRunner.cs1using Spectre.Console;COMMENT
LOW…/NAudioConsoleTest/Shared/Testing/LiveMeterRenderer.cs1namespace NAudioConsoleTest.Shared.Testing;COMMENT
LOWsamples/NAudioConsoleTest/Shared/Testing/MenuPath.cs1namespace NAudioConsoleTest.Shared.Testing;COMMENT
LOW…mples/NAudioConsoleTest/Shared/Testing/MenuRenderer.cs1using Spectre.Console;COMMENT
LOW…ples/NAudioConsoleTest/Shared/Testing/TestParameter.cs1namespace NAudioConsoleTest.Shared.Testing;COMMENT
LOWsamples/NAudioWpfDemo/DemoSettings.cs1using System;COMMENT
LOWsamples/NAudioWpfDemo/SpectrumAnalyser.xaml.cs1using System;COMMENT
LOWsamples/NAudioWpfDemo/SpectrumAnalyser.xaml.cs21/// quietly got wrong):COMMENT
1199 more matches not shown…
Synthetic Comment Markers17 hits · 128 pts
SeverityFileLineSnippetContext
HIGH…les/AudioFileInspector/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…es/AudioFileInspector/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsamples/MixDiff/Images.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsamples/MixDiff/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsamples/MixDiff/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…ples/MidiFileConverter/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…les/MidiFileConverter/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsamples/NAudioWpfDemo/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsamples/NAudioWpfDemo/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsamples/NAudioDemo/Images.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsamples/NAudioDemo/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsamples/NAudioDemo/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/NAudio.WinForms/Gui/VolumeSlider.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/NAudio.WinForms/Gui/Fader.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/NAudio.WinForms/Gui/WaveViewer.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/NAudio.WinForms/Gui/PanSlider.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/NAudio.Wasapi/WasapiRecorder.cs378 /// shared mode via AutoConvertPcm, so the configured buffer length is honoured as requested.COMMENT
Decorative Section Separators7 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUM…io.Core.Tests/WaveStreams/BufferedWaveProviderTests.cs78 // ── Constructor defaults ──────────────────────────────────────────────COMMENT
MEDIUM⚡…io.Core.Tests/WaveStreams/BufferedWaveProviderTests.cs103 // ── BufferLength property ─────────────────────────────────────────────COMMENT
MEDIUM⚡…io.Core.Tests/WaveStreams/BufferedWaveProviderTests.cs113 // ── BufferDuration property ───────────────────────────────────────────COMMENT
MEDIUM⚡…io.Core.Tests/WaveStreams/BufferedWaveProviderTests.cs123 // ── DiscardOnBufferOverflow ───────────────────────────────────────────COMMENT
MEDIUM…io.Core.Tests/WaveStreams/BufferedWaveProviderTests.cs143 // ── ClearBuffer ───────────────────────────────────────────────────────COMMENT
MEDIUM…io.Core.Tests/WaveStreams/BufferedWaveProviderTests.cs154 // ── Offset parameters ─────────────────────────────────────────────────COMMENT
MEDIUM…io.Core.Tests/WaveStreams/BufferedWaveProviderTests.cs179 // ── Miscellaneous ─────────────────────────────────────────────────────COMMENT
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…oConsoleTest/Wasapi/Tests/WasapiProcessLoopbackTest.cs62 // off the UI thread is the robust pattern.COMMENT
MEDIUM…/MacOS/AudioToolbox/ExtendedAudioFileWriterSettings.cs14 /// The writer will utilize this to determineCOMMENT
MEDIUMsrc/NAudio.MacOS/MacOS/CoreFoundationApi/CFString.cs10/// It offers seamless Unicode support and facilitates the sharing of data between Cocoa and C-based programs.COMMENT
MEDIUM…Audio.Wasapi/MediaFoundation/MFByteStreamFromStream.cs17/// Newer implementation that does not utilize the IStream -> IMFByteStream shim. <br />COMMENT