AI Slop Code RIsk Monitor

NLog/NLog

NLog - Flexible and Structured Logging for various .NET Platforms

13.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for NLog/NLog, a C# project with 6,547 GitHub stars. SynthScan examined 159,488 lines of code across 739 source files, recording 2020 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 13.7 (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.

13.7
Adjusted Signal
13.7
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.5K
Stars
C#
Language
159.5K
Lines of Code
739
Files
2.0K
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 45.8/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 7.1/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 49.8/100 · MEDIUM

Which changes need focused human review? 2020 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 19HIGH 2MEDIUM 0LOW 1999

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 2020 distinct pattern matches across 6 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 Block1992 hits · 1928 pts
SeverityFileLineSnippetContext
LOW…de/src/NLog.SourceCodeTests/Properties/AssemblyInfo.cs21// The following GUID is for the ID of the typelib if this project is exposed to COMCOMMENT
LOWtools/MakeNLogXSD/XsdFileGenerator.cs1//COMMENT
LOWtools/MakeNLogXSD/XsdFileGenerator.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtools/MakeNLogXSD/Program.cs1//COMMENT
LOWtools/MakeNLogXSD/Program.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.Benchmarks/Program.cs1//COMMENT
LOWtests/NLog.Benchmarks/Program.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOW…og.Benchmarks/Targets/ColoredConsoleTargetBenchmark.cs1//COMMENT
LOW…og.Benchmarks/Targets/ColoredConsoleTargetBenchmark.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/SampleExtensions/WhenFooFilter.cs1//COMMENT
LOWtests/SampleExtensions/WhenFooFilter.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/SampleExtensions/FooLayout.cs1//COMMENT
LOWtests/SampleExtensions/FooLayout.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/SampleExtensions/MyConditionMethods.cs1//COMMENT
LOWtests/SampleExtensions/MyConditionMethods.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/SampleExtensions/MyTarget.cs1//COMMENT
LOWtests/SampleExtensions/MyTarget.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/SampleExtensions/FooLayoutRenderer.cs1//COMMENT
LOWtests/SampleExtensions/FooLayoutRenderer.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.RegEx.Tests/RegexReplaceTests.cs1//COMMENT
LOWtests/NLog.RegEx.Tests/RegexReplaceTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.RegEx.Tests/ConditionEvaluatorTests.cs1//COMMENT
LOWtests/NLog.RegEx.Tests/ConditionEvaluatorTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.RegEx.Tests/ColoredConsoleTargetTests.cs1//COMMENT
LOWtests/NLog.RegEx.Tests/ColoredConsoleTargetTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOW…s/NLog.Targets.AtomicFile.Tests/AtomicProcessRunner.cs1//COMMENT
LOW…s/NLog.Targets.AtomicFile.Tests/AtomicProcessRunner.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.Targets.AtomicFile.Tests/AtomicFileTests.cs1//COMMENT
LOWtests/NLog.Targets.AtomicFile.Tests/AtomicFileTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOW…gets.AtomicFile.Tests/AtomicWritesMultiProcessTests.cs1//COMMENT
LOW…gets.AtomicFile.Tests/AtomicWritesMultiProcessTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOW…og.Targets.AtomicFile.Tests/Properties/AssemblyInfo.cs1//COMMENT
LOW…og.Targets.AtomicFile.Tests/Properties/AssemblyInfo.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLogAutoLoadExtension/AutoLoadTarget.cs1//COMMENT
LOWtests/NLogAutoLoadExtension/AutoLoadTarget.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLogAutoLoadExtension/Properties/AssemblyInfo.cs1using System.Reflection;COMMENT
LOWtests/NLog.Targets.GZipFile.Tests/GZipFileTests.cs1//COMMENT
LOWtests/NLog.Targets.GZipFile.Tests/GZipFileTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.UnitTests/LogMessageFormatterTests.cs1//COMMENT
LOWtests/NLog.UnitTests/LogMessageFormatterTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.UnitTests/LogManagerTests.cs1//COMMENT
LOWtests/NLog.UnitTests/LogManagerTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.UnitTests/NLogTestBase.cs1//COMMENT
LOWtests/NLog.UnitTests/NLogTestBase.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.UnitTests/LogLevelTests.cs1//COMMENT
LOWtests/NLog.UnitTests/LogLevelTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.UnitTests/RegressionTests.cs1//COMMENT
LOWtests/NLog.UnitTests/RegressionTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.UnitTests/ConfigFileLocatorTests.cs1//COMMENT
LOWtests/NLog.UnitTests/ConfigFileLocatorTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.UnitTests/LoggerTests.cs1//COMMENT
LOWtests/NLog.UnitTests/LoggerTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
LOWtests/NLog.UnitTests/LoggerTests.cs2401COMMENT
LOWtests/NLog.UnitTests/LoggerTests.cs2421COMMENT
LOWtests/NLog.UnitTests/LoggerTests.cs2441 // if (enabled == 1) AssertDebugLastMessage("debug", "A|message1");COMMENT
LOWtests/NLog.UnitTests/LoggerTests.cs2461 // logger.Error(CultureInfo.InvariantCulture, "message{0}", this);COMMENT
LOWtests/NLog.UnitTests/LoggerTests.cs2481COMMENT
LOWtests/NLog.UnitTests/LoggerTests.cs2501 // if (enabled == 1) AssertDebugLastMessage("debug", "A|messageeee2fffggg");COMMENT
LOWtests/NLog.UnitTests/GetLoggerTests.cs1//COMMENT
LOWtests/NLog.UnitTests/GetLoggerTests.cs21// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"COMMENT
1932 more matches not shown…
Hallucination Indicators19 hits · 235 pts
SeverityFileLineSnippetContext
CRITICAL⚡tests/NLog.UnitTests/Targets/FileTargetTests.cs4616 logger.Log(new LogEventInfo(LogLevel.Info, null, "789") { TimeStamp = NLog.Time.TimeSource.Current.Time.CODE
CRITICAL⚡tests/NLog.UnitTests/Targets/FileTargetTests.cs4617 logger.Log(new LogEventInfo(LogLevel.Info, null, "123") { TimeStamp = NLog.Time.TimeSource.Current.Time.CODE
CRITICAL⚡tests/NLog.UnitTests/Targets/FileTargetTests.cs4619 logger.Log(new LogEventInfo(LogLevel.Info, null, "123") { TimeStamp = NLog.Time.TimeSource.Current.Time.CODE
CRITICAL…s/NLog.UnitTests/Conditions/ConditionEvaluatorTests.cs327 var bf = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();CODE
CRITICAL…s/NLog.UnitTests/Conditions/ConditionEvaluatorTests.cs367 var bf = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();CODE
CRITICALtests/NLog.UnitTests/LayoutRenderers/ExceptionTests.cs469 var task1 = System.Threading.Tasks.Task.Factory.StartNew(() => { throw new Exception("Test exception 1", newCODE
CRITICALtests/NLog.UnitTests/LayoutRenderers/ExceptionTests.cs471 var task2 = System.Threading.Tasks.Task.Factory.StartNew(() => { throw new Exception("Test exception 2", newCODE
CRITICALtests/NLog.UnitTests/LayoutRenderers/ExceptionTests.cs517 var task1 = System.Threading.Tasks.Task.Factory.StartNew(() =>CODE
CRITICALtests/NLog.UnitTests/LayoutRenderers/ExceptionTests.cs527 var task2 = System.Threading.Tasks.Task.Factory.StartNew(() =>CODE
CRITICALtests/NLog.UnitTests/LayoutRenderers/ExceptionTests.cs582 var task1 = System.Threading.Tasks.Task.Factory.StartNew(() => { throw new Exception("Test exception 1", newCODE
CRITICALtests/NLog.UnitTests/LayoutRenderers/ExceptionTests.cs624 var task1 = System.Threading.Tasks.Task.Factory.StartNew(() =>CODE
CRITICAL…NLog.UnitTests/LayoutRenderers/Wrappers/CachedTests.cs128 var s3 = l.Render(new LogEventInfo() { TimeStamp = NLog.Time.TimeSource.Current.Time.AddMinutes(2) });CODE
CRITICAL⚡src/NLog/ScopeContext.cs830 System.Runtime.Remoting.Messaging.CallContext.FreeNamedDataSlot(MappedContextDataSlotName);CODE
CRITICAL⚡src/NLog/ScopeContext.cs832 System.Runtime.Remoting.Messaging.CallContext.LogicalSetData(MappedContextDataSlotName, newValue);CODE
CRITICAL⚡src/NLog/ScopeContext.cs837 return System.Runtime.Remoting.Messaging.CallContext.LogicalGetData(MappedContextDataSlotName) as DictionaryCODE
CRITICAL⚡src/NLog/ScopeContext.cs889 System.Runtime.Remoting.Messaging.CallContext.FreeNamedDataSlot(NestedContextDataSlotName);CODE
CRITICAL⚡src/NLog/ScopeContext.cs891 System.Runtime.Remoting.Messaging.CallContext.LogicalSetData(NestedContextDataSlotName, nestedContext);CODE
CRITICAL⚡src/NLog/ScopeContext.cs898 return System.Runtime.Remoting.Messaging.CallContext.LogicalGetData(NestedContextDataSlotName) as LinkedListCODE
CRITICAL…og/Targets/FileAppenders/MinimalFileLockingAppender.cs83 if (_nextArchiveTime < NLog.Time.TimeSource.Current.Time.AddMinutes(1) || _lastFileBirthTimeUtc == DateTCODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…API/ASPNetBufferingWrapper/NormalPage.aspx.designer.cs3// This code was generated by a tool.COMMENT
HIGH…PNetBufferingWrapper/PageWithWarnings.aspx.designer.cs3// This code was generated by a tool.COMMENT
Verbosity Indicators3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡tests/NLog.UnitTests/Targets/AsyncTaskTargetTest.cs663 // Step 1: Write event that will fail when timer fires for background-writer.COMMENT
LOW⚡tests/NLog.UnitTests/Targets/AsyncTaskTargetTest.cs666 // Step 2: Flush that triggers timer immediately, and because BatchSize=1 then it first writes the failing LCOMMENT
LOW⚡tests/NLog.UnitTests/Targets/AsyncTaskTargetTest.cs669 // Step 3: Write next event.COMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡tests/NLog.UnitTests/Targets/AsyncTaskTargetTest.cs663 // Step 1: Write event that will fail when timer fires for background-writer.COMMENT
LOW⚡tests/NLog.UnitTests/Targets/AsyncTaskTargetTest.cs666 // Step 2: Flush that triggers timer immediately, and because BatchSize=1 then it first writes the failing LCOMMENT
LOW⚡tests/NLog.UnitTests/Targets/AsyncTaskTargetTest.cs669 // Step 3: Write next event.COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/NLog.UnitTests/LoggerTests.cs2228 logger.Debug("Process order {" + param1 + "} for {" + param2 + "}", 13424, new { ClientId = 3001, ClientNameCODE