AI Slop Code RIsk Monitor

Seldaek/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

11.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Seldaek/monolog, a PHP project with 21,399 GitHub stars. SynthScan examined 34,599 lines of code across 250 source files, recording 383 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 11.2 (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.

11.2
Adjusted Signal
11.2
Raw Pattern Score
100%
Time Factor
2026-10-05
Last Push
21.4K
Stars
PHP
Language
34.6K
Lines of Code
250
Files
383
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 41.5/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 2.3/100 · LOW

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

Agent Over-Engineering Ratio 41.5/100 · MEDIUM

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

PR Review Velocity Impact 42.5/100 · MEDIUM

Which changes need focused human review? 383 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 0MEDIUM 0LOW 383

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 383 distinct pattern matches across 3 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.

Hyper-Verbose Identifiers371 hits · 370 pts
SeverityFileLineSnippetContext
LOWtests/Monolog/UtilsTest.php45 public static function providePathsToCanonicalize()CODE
LOWtests/Monolog/UtilsTest.php59 public function testHandleJsonErrorFailure(int $code, string $msg)CODE
LOWtests/Monolog/UtilsTest.php65 public static function providesHandleJsonErrorFailure()CODE
LOWtests/Monolog/UtilsTest.php108 public static function provideIniValuesToConvertToBytes()CODE
LOW⚡tests/Monolog/UtilsTest.php143 public function testExpandIniShorthandBytes(string|null|bool $input, int|false $expected)CODE
LOW⚡tests/Monolog/UtilsTest.php149 public function testUnwrapFormatterReturnsPlainFormattersAsIs()CODE
LOW⚡tests/Monolog/UtilsTest.php156 public function testUnwrapFormatterResolvesNestedWrappers()CODE
LOW⚡tests/Monolog/UtilsTest.php163 public function testUnwrapFormatterTerminatesOnASelfWrappingFormatter()CODE
LOWtests/Monolog/UtilsTest.php186 public function testGetSensitiveParameterNames(array $expected, string $class)CODE
LOWtests/Monolog/UtilsTest.php193 public static function provideClassesWithSensitiveParameters(): arrayCODE
LOWtests/Monolog/SignalHandlerTest.php95 public function testRegisterSignalHandler()CODE
LOWtests/Monolog/SignalHandlerTest.php132 public function testRegisterDefaultPreviousSignalHandler($signo, $callPrevious, $expected)CODE
LOWtests/Monolog/SignalHandlerTest.php182 public function testRegisterCallablePreviousSignalHandler($callPrevious)CODE
LOWtests/Monolog/SignalHandlerTest.php214 public function testRegisterSyscallRestartingSignalHandler($restartSyscalls)CODE
LOWtests/Monolog/SignalHandlerTest.php267 public function testRegisterAsyncSignalHandler($initialAsync, $desiredAsync, $expectedBefore, $expectedAfter)CODE
LOWtests/Monolog/RegistryTest.php121 public function testFailsOnNonExistentLogger()CODE
LOWtests/Monolog/RegistryTest.php145 public function testFailsOnUnspecifiedReplacement()CODE
LOWtests/Monolog/PsrLogCompatTest.php124 public function testContextCanContainAnything()CODE
LOWtests/Monolog/PsrLogCompatTest.php147 public function testContextExceptionKeyCanBeExceptionOrOtherValues()CODE
LOWtests/Monolog/ErrorHandlerTest.php104 public function testCaptureStackTracesAreRenderedByFormatters()CODE
LOWtests/Monolog/ErrorHandlerTest.php128 public function testCaptureStackTracesOnlyForGivenErrorTypes()CODE
LOWtests/Monolog/ErrorHandlerTest.php156 public function testFatalHandlerAttachesStackTrace()CODE
LOWtests/Monolog/ErrorHandlerTest.php191 public function testFatalHandlerLogsNativeBacktrace()CODE
LOWtests/Monolog/LoggerTest.php106 public function testLogPreventsCircularLogging()CODE
LOWtests/Monolog/LoggerTest.php144 public function testLogAlwaysHandledIfNoProcessorsArePresent()CODE
LOWtests/Monolog/LoggerTest.php160 public function testLogNotHandledIfProcessorsArePresent()CODE
LOWtests/Monolog/LoggerTest.php263 public function testProcessorsAreExecuted()CODE
LOWtests/Monolog/LoggerTest.php281 public function testProcessorsAreCalledOnlyOnce()CODE
LOWtests/Monolog/LoggerTest.php312 public function testProcessorsNotCalledWhenNotHandled()CODE
LOWtests/Monolog/LoggerTest.php331 public function testHandlersNotCalledBeforeFirstHandlingWhenProcessorsPresent()CODE
LOWtests/Monolog/LoggerTest.php374 public function testHandlersNotCalledBeforeFirstHandlingWhenProcessorsPresentWithAssocArray()CODE
LOWtests/Monolog/LoggerTest.php412 public function testBubblingWhenTheHandlerReturnsFalse()CODE
LOWtests/Monolog/LoggerTest.php444 public function testNotBubblingWhenTheHandlerReturnsTrue()CODE
LOWtests/Monolog/LoggerTest.php561 public function testTimezoneIsRespectedInUTC()CODE
LOWtests/Monolog/LoggerTest.php583 public function testTimezoneIsRespectedInOtherTimezone()CODE
LOWtests/Monolog/LoggerTest.php606 public function testClockPassedToTheConstructorTimestampsRecords()CODE
LOWtests/Monolog/LoggerTest.php623 public function testClockCanBeSetAndUnsetAtRuntime()CODE
LOWtests/Monolog/LoggerTest.php650 public function testClockInstantIsRenderedInTheLoggerTimezone()CODE
LOWtests/Monolog/LoggerTest.php668 public function testClockInstantIsReproducedExactly($instant, $loggerTimezone)CODE
LOWtests/Monolog/LoggerTest.php701 public function testClockReturningTheMonologTypeIsUsedAsIs()CODE
LOWtests/Monolog/LoggerTest.php715 public function testClockDoesNotOverrideAnExplicitDateTime()CODE
LOWtests/Monolog/LoggerTest.php730 public function testClockIsUsedWhenMicrosecondTimestampsAreDisabled()CODE
LOWtests/Monolog/LoggerTest.php747 public function testClockIsUsedByIsHandling()CODE
LOWtests/Monolog/LoggerTest.php804 public function testUseMicrosecondTimestamps($micro, $assert, $assertFormat)CODE
LOWtests/Monolog/LoggerTest.php820 public static function useMicrosecondTimestampsProvider()CODE
LOWtests/Monolog/LoggerTest.php830 public function testProcessorsDoNotInterfereBetweenHandlers()CODE
LOWtests/Monolog/LoggerTest.php861 public function testDefaultHandleException()CODE
LOWtests/Monolog/LoggerTest.php884 public function testCustomHandleException()CODE
LOWtests/Monolog/LoggerTest.php1010 public function testLogCycleDetectionWithFibersWithoutCycle()CODE
LOWtests/Monolog/LoggerTest.php1035 public function testLogCycleDetectionWithFibersWithCycle()CODE
LOWtests/Monolog/LoggerTest.php1056 public function testLogCycleDetectionRecoversAfterAbortedCycle()CODE
LOWtests/Monolog/Handler/DeduplicationHandlerTest.php21 public function testFlushPassthruIfAllRecordsUnderTrigger()CODE
LOWtests/Monolog/Handler/DeduplicationHandlerTest.php41 public function testFlushPassthruIfEmptyLog()CODE
LOWtests/Monolog/Handler/DeduplicationHandlerTest.php63 public function testFlushSkipsIfLogExists()CODE
LOWtests/Monolog/Handler/DeduplicationHandlerTest.php84 public function testFlushPassthruIfLogTooOld()CODE
LOWtests/Monolog/Handler/FrankenPhpHandlerTest.php36 public function testConstructorThrowsWhenFrankenPhpIsNotAvailable()CODE
LOWtests/Monolog/Handler/FrankenPhpHandlerTest.php50 public function testGetDefaultFormatterReturnsNormalizerFormatter()CODE
LOWtests/Monolog/Handler/WhatFailureGroupHandlerTest.php22 public function testConstructorOnlyTakesHandler()CODE
LOWtests/Monolog/Handler/WhatFailureGroupHandlerTest.php94 public function testHandleBatchUsesProcessors()CODE
LOWtests/Monolog/Handler/WhatFailureGroupHandlerTest.php140 public function testProcessorsDoNotInterfereBetweenHandlers()CODE
311 more matches not shown…
Fake / Example Data11 hits · 16 pts
SeverityFileLineSnippetContext
LOW⚡tests/Monolog/Handler/NativeMailerHandlerTest.php49 $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', "receiver@example.org\r\nFrom: faked@attCODE
LOW⚡tests/Monolog/Handler/NativeMailerHandlerTest.php56 $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org');CODE
LOW⚡tests/Monolog/Handler/NativeMailerHandlerTest.php64 $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org');CODE
LOW⚡tests/Monolog/Handler/NativeMailerHandlerTest.php72 $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org');CODE
LOW⚡tests/Monolog/Handler/NativeMailerHandlerTest.php80 $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org');CODE
LOW⚡tests/Monolog/Handler/NativeMailerHandlerTest.php86 $to = 'spammer@example.org';CODE
LOW⚡tests/Monolog/Handler/NativeMailerHandlerTest.php88 $from = 'receiver@example.org';CODE
LOWtests/Monolog/Handler/NativeMailerHandlerTest.php113 $mailer = $this->newNativeMailerHandler('to@example.org', 'Alert: %level_name% %message%', 'from@example.org');CODE
LOW⚡tests/Monolog/Handler/NativeMailerHandlerTest.php125 $mailer = new NativeMailerHandler('to@example.org', 'subject', 'from@example.org');CODE
LOW⚡tests/Monolog/Handler/NativeMailerHandlerTest.php133 $this->assertSame('to@example.org', $params[0]);CODE
LOW⚡tests/Monolog/Handler/NativeMailerHandlerTest.php136 $this->assertStringContainsString('From: from@example.org', $params[3]);CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/Monolog/Formatter/NormalizerFormatter.php321 // Frames called by the engine itself have no file/line: shutdown functions,COMMENT