AI Slop Code Risk Monitor

dokuwiki/dokuwiki

SlopCodeMonitor badge for dokuwiki/dokuwiki Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The DokuWiki Open Source Wiki Engine

2.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for dokuwiki/dokuwiki, a PHP project with 4,733 GitHub stars. SynthScan examined 267,243 lines of code across 4566 source files, recording 612 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 2.6 (Low 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.

2.6
Adjusted Signal
2.6
Raw Pattern Score
100%
Time Factor
2026-09-29
Last Push
4.7K
Stars
PHP
Language
267.2K
Lines of Code
4.6K
Files
612
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 11.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

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

Agent Over-Engineering Ratio 10.7/100 · LOW

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

PR Review Velocity Impact 11.2/100 · LOW

Which changes need focused human review? 612 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 2HIGH 1MEDIUM 0LOW 609

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 612 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.

Hyper-Verbose Identifiers552 hits · 602 pts
SeverityFileLineSnippetContext
LOWinc/Ui/Search.php155 protected function isNamespaceAssistanceAvailable(array $parsedQuery)CODE
LOWinc/Ui/Search.php171 protected function isFragmentAssistanceAvailable(array $parsedQuery)CODE
LOWinc/Ui/Search.php189 protected function addSearchAssistanceElements(Form $searchForm)CODE
LOWinc/Ui/Search.php350 protected function getAdditionalNamespacesFromResults($baseNS)CODE
LOWinc/Extension/AdminPlugin.php90 public function isAccessibleByCurrentUser()CODE
LOWinc/ChangeLog/MediaChangeLog.php46 protected function getGlobalChangelogFilename()CODE
LOWinc/ChangeLog/MediaChangeLog.php104 protected function currentContentMatchesRevision($rev)CODE
LOWinc/ChangeLog/PageChangeLog.php46 protected function getGlobalChangelogFilename()CODE
LOWinc/ChangeLog/PageChangeLog.php78 protected function currentContentMatchesRevision($rev)CODE
LOWinc/ChangeLog/RevisionInfo.php262 public function showIconCompareWithPrevious()CODE
LOWinc/ChangeLog/RevisionInfo.php308 public function showIconCompareWithCurrent()CODE
LOWinc/ChangeLog/ChangeLog.php60 abstract protected function getGlobalChangelogFilename();CODE
LOWinc/ChangeLog/ChangeLog.php670 protected function synthesizeExternalDeletion($recordedRev)CODE
LOWinc/ChangeLog/ChangeLog.php902 protected function persistCurrentRevisionInfo(array $revInfo)CODE
LOWinc/ChangeLog/ChangeLog.php993 abstract protected function currentContentMatchesRevision($rev);CODE
LOWinc/Feed/FeedCreator.php161 protected function fetchItemsFromRecentChanges()CODE
LOWinc/Debug/PropertyDeprecationHelper.php101 private function deprecationHelperGetPropertyOwner($property)CODE
LOWinc/Debug/DebugHelper.php121 public static function dbgCustomDeprecationEvent(CODE
LOWinc/Remote/LegacyApiCore.php468 public function legacyGetRecentMediaChanges($timestamp)CODE
LOWinc/Remote/LegacyApiCore.php509 public function legacyGetRPCVersionSupported()CODE
LOWinc/Remote/LegacyApiCore.php536 public function legacyGetXMLRPCAPIVersion()CODE
LOW_test/core/phpQuery-onefile.php640 private function documentFragmentLoadMarkup($fragment, $charset, $markup = null) {CODE
LOW_test/tests/DraftTest.php34 public function testSaveAndRetrieveWholePage(): voidCODE
LOW_test/tests/DraftTest.php53 public function testSaveReassemblesSectionEdit(): voidCODE
LOW_test/tests/DraftTest.php97 public function testDeleteRemovesTheDraft(): voidCODE
LOW_test/tests/DraftTest.php115 public function testGetDraftTextThrowsWhenMissing(): voidCODE
LOW_test/tests/DraftTest.php128 public function testStaleDraftPurgedOnConstruction(): voidCODE
LOW_test/tests/DraftTest.php153 public function testFreshDraftKeptOnConstruction(): voidCODE
LOW_test/tests/MailUtilsTest.php35 public function testObfuscateHexQueryPreserved(): voidCODE
LOW⚡_test/tests/MailUtilsTest.php121 public function testObfuscateUrlNoneNoQuery(): voidCODE
LOW⚡_test/tests/MailUtilsTest.php128 public function testObfuscateUrlHexNoQuery(): voidCODE
LOW⚡_test/tests/MailUtilsTest.php138 public function testObfuscateUrlVisibleNoQuery(): voidCODE
LOW_test/tests/MailUtilsTest.php154 public function testObfuscateEscapesHtmlSpecials(): voidCODE
LOW_test/tests/MailUtilsTest.php246 public function testQuotedPrintableSimple(): voidCODE
LOW_test/tests/MailUtilsTest.php251 public function testQuotedPrintableSpaceEnd(): voidCODE
LOW_test/tests/MailUtilsTest.php271 public function testQuotedPrintableNoWrap(): voidCODE
LOW_test/tests/MailUtilsTest.php297 public function testPatternRejectsInvalid(): voidCODE
LOW_test/tests/Ui/PageDiffTest.php43 public function testExistingPageComparesPreviousToCurrent()CODE
LOW_test/tests/Ui/PageDiffTest.php66 public function testNormalDeletionComparesPreviousToDeletion()CODE
LOW_test/tests/Ui/PageDiffTest.php93 public function testExternalDeletionComparesPreviousToDeletion()CODE
LOW_test/tests/Ui/PageDiffTest.php120 public function testDeletionDiffRendersRemovedContent()CODE
LOW_test/tests/Ui/Media/DisplayTest.php19 public function testGetDetailHtmlEmitsBboxFittedRotatedDims()CODE
LOW_test/tests/Ui/Media/DisplayTest.php29 public function testGetDetailHtmlStructure()CODE
LOW_test/tests/Ui/Media/DisplayTest.php40 public function testGetDetailHtmlReturnsEmptyForNonImage()CODE
LOW_test/tests/Ui/Media/DisplayTest.php46 public function testGetDetailHtmlUsesRevParamWhenRevIsSet()CODE
LOW_test/tests/Ui/Media/DisplayTest.php61 public function testGetDetailHtmlUsesTimestampWhenNoRev()CODE
LOW_test/tests/Form/TextareaElementTest.php25 public function testStartTagIsFollowedByGuardNewline()CODE
LOW_test/tests/Form/TextareaElementTest.php30 public function testValueIsEmittedInFullAfterGuard()CODE
LOW_test/tests/Form/DropdownElementTest.php157 public function testOptgroupsDoubleselect()CODE
LOW_test/tests/inc/html_secedit_pattern.test.php6 public function dataProviderForTestSecEditPattern() {CODE
LOW_test/tests/inc/sort_without_collator.test.php37 public function testIntlExtensionAvailability()CODE
LOW_test/tests/inc/PageUtilsIsHiddenPage.test.php48 function testEventHandlerBeforeAndPrevent() {CODE
LOW_test/tests/inc/PageUtilsIsHiddenPage.test.php70 function testEventHandlerAfterHide() {CODE
LOW_test/tests/inc/PageUtilsIsHiddenPage.test.php82 function testEventHandlerAfterShow() {CODE
LOW_test/tests/inc/html_hilight.test.php21 function testHighlightTwoWordsHtml() {CODE
LOW_test/tests/inc/common_saveWikiText.test.php20 private function checkChangeLogAfterNormalSave(CODE
LOW_test/tests/inc/common_saveWikiText.test.php52 private function checkChangeLogAfterExternalEdit(CODE
LOW_test/tests/inc/pageutils_sectionid.test.php38 function testSectionIDCanBeCalledWithNonArrayCheck(){CODE
LOW_test/tests/inc/sort_with_collator.test.php14 public function testIntlExtensionAvailability()CODE
LOW_test/tests/inc/JWTTest.php84 public function testLoginAlternativeHeader()CODE
492 more matches not shown…
Over-Commented Block31 hits · 31 pts
SeverityFileLineSnippetContext
LOWinstall.php421# <?php exit()?>COMMENT
LOWinc/MailUtils.php181 $sLine .= ($iLastChar == 0x09) ? '09' : '20';COMMENT
LOWinc/JpegMeta.php21// 1. Redistributions of source code must retain the above copyrightCOMMENT
LOWinc/Utf8/tables/romanization.php561 // 'ヴぁ'=>'va','ヴぇ'=>'ve','ヴぃ'=>'vi','ヴぉ'=>'vo','ヴ'=>'vu',COMMENT
LOWinc/Utf8/tables/romanization.php1201 // 'ロ'=>'lo',COMMENT
LOWinc/Utf8/tables/romanization.php1221 // 'テョ'=>'tho',COMMENT
LOWinc/Utf8/tables/romanization.php1241 // 'ジョ'=>'zho',COMMENT
LOWinc/lang/uk/stopwords.txt1# Це список ігнорованих індексатором слів, одне слово в рядкуCOMMENT
LOWinc/Parsing/ParserMode/GfmLink.php41 */COMMENT
LOWinc/Parsing/ParserMode/GfmCode.php81 // Entry pattern breakdown (F = fence char, INFO = info-string class):COMMENT
LOWinc/Parsing/ParserMode/GfmTable.php101 {COMMENT
LOWinc/Parsing/ParserMode/GfmEmphasis.php41 // (?<![\s*]) — last body char: not whitespace, not `*`COMMENT
LOWinc/Debug/PropertyDeprecationHelper.php101 private function deprecationHelperGetPropertyOwner($property)COMMENT
LOW_test/core/phpQuery-onefile.php561 if ($source instanceof DOMNODE && !($source instanceof DOMNODELIST))COMMENT
LOW_test/tests/inc/IpTest.php381 $tests = [COMMENT
LOW_test/tests/inc/sort_with_collator.test.php181 // a = äCOMMENT
LOW_test/tests/Parsing/Markdown/gfm-spec/skip.php21 // trigger, otherwise tabs are ordinary characters.COMMENT
LOW_test/tests/Parsing/Markdown/gfm-spec/skip.php61 49 => 'ATX headings (§4.2): empty heading - XHTML renderer skips blank headings via blank() guard',COMMENT
LOW_test/tests/Parsing/Markdown/gfm-spec/skip.php101 // -----------------------------------------------------------------------------------------------------------------COMMENT
LOW_test/tests/Parsing/Markdown/gfm-spec/skip.php121COMMENT
LOW_test/tests/Parsing/Markdown/gfm-spec/skip.php261COMMENT
LOW_test/tests/Parsing/Markdown/gfm-spec/skip.php321COMMENT
LOW_test/tests/Parsing/Markdown/gfm-spec/skip.php341 328 => 'Entity refs (§6.2): link with entity-decoded URL and title - title attribute discarded, no DW link slot',COMMENT
LOW_test/tests/Parsing/Markdown/gfm-spec/skip.php421 483 => 'Emphasis (§6.4): crossing link _foo [bar_](/url) - leftmost-match cannot reject opener crossing link',COMMENT
LOW_test/tests/Parsing/Markdown/gfm-spec/skip.php581 647 => 'Raw HTML (§6.10): EMPTY declaration - pass-through not supported',COMMENT
LOW_test/conf/users.auth.php1# users.auth.phpCOMMENT
LOW_test/conf/acl.auth.php1# acl.auth.phpCOMMENT
LOWlib/plugins/authad/adLDAP/classes/adLDAPUsers.php341 // Password expiry in AD can be calculated from TWO values:COMMENT
LOWlib/plugins/authad/adLDAP/classes/adLDAPUsers.php361 //COMMENT
LOWlib/scripts/jquery/update.sh1#!/usr/bin/env shCOMMENT
LOWconf/dokuwiki.php121 // 'rss' - RSS 0.91COMMENT
Fake / Example Data25 hits · 26 pts
SeverityFileLineSnippetContext
LOWinc/template.php762 'placeholder' => $lang['btn_search'],CODE
LOW_test/tests/MailUtilsTest.php293 preg_match('<' . MailUtils::PREG_PATTERN_VALID_EMAIL . '>', 'user@example.com')CODE
LOW_test/tests/inc/toolbar.test.php11 $INFO['userinfo']['mail'] = 'example@example.org';CODE
LOW_test/tests/Parsing/Markdown/gfm-spec/spec.txt9910 "Lorem ipsum dolor\nsit amet."CODE
LOW_test/tests/Parsing/Markdown/gfm-spec/spec.txt9969> Lorem ipsum dolorCODE
LOW_test/tests/Parsing/Markdown/gfm-spec/spec.txt9984> Lorem ipsum dolorCODE
LOW_test/tests/Parsing/Markdown/gfm-spec/spec.txt9996 "Lorem ipsum dolor"CODE
LOW_test/tests/Parsing/Markdown/gfm-spec/spec.txt10012 "Lorem ipsum dolor\nsit amet."CODE
LOW_test/tests/Parsing/Markdown/gfm-spec/spec.txt10030 "Lorem ipsum dolor\nsit amet."CODE
LOW_test/tests/Parsing/Markdown/gfm-spec/spec.txt10052 "Lorem ipsum dolor\nsit amet."CODE
LOW_test/tests/Parsing/Markdown/gfm-spec/spec.txt10075 str "Lorem ipsum dolor"CODE
LOW⚡_test/tests/Parsing/ParserMode/GfmLinkTest.php374 ['emaillink', ['user@example.com', $this->mediaArray([])]],CODE
LOW_test/tests/Parsing/ParserMode/GfmLinkTest.php109 ['emaillink', ['user@example.com', 'mail']],CODE
LOW⚡_test/tests/Parsing/Helpers/LinkTest.php65 ['emaillink', ['user@example.com', 'Mail']],CODE
LOW⚡_test/tests/Parsing/Helpers/LinkTest.php66 Link::classify('user@example.com', 'Mail')CODE
LOWlib/plugins/authpdo/_test/sqlite.test.php133 $this->assertEquals('admin@example.com', $info['mail']);CODE
LOWlib/plugins/authpdo/_test/sqlite.test.php167 'mail' => 'admin@example.com',CODE
LOWlib/plugins/authpdo/_test/sqlite.test.php174 'mail' => 'user@example.com',CODE
LOWlib/plugins/authpdo/_test/mysql/wordpress.sql123(1, 'admin', '$P$BlO2X5nM.djjfsPjOBHz97GHZmpBRr.', 'admin', 'admin@example.com', '', '2016-02-10 18:55:26', '', 0, 'admiCODE
LOWlib/plugins/authpdo/_test/mysql/fluxbb.php87 'mail' => 'admin@example.com',CODE
LOWlib/plugins/authpdo/_test/mysql/wordpress.php78 'mail' => 'admin@example.com',CODE
LOWlib/plugins/authpdo/_test/mysql/fluxbb.sql131(2, 1, 'admin', '9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684', 'admin@example.com', NULL, NULL, NULL, NULL, NULL, NULL, NULCODE
LOWlib/plugins/authpdo/_test/pgsql/django.sql696INSERT INTO auth_user (id, password, last_login, is_superuser, username, first_name, last_name, email, is_staff, is_actiCODE
LOWlib/plugins/authplain/_test/userdata.test.php72 $this->assertEquals('admin@example.com', $data['mail']);CODE
LOWlib/scripts/jquery/jquery-ui.min.js6(t=>{"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(V){V.ui=V.ui||{};V.ui.version="1.14CODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALlib/scripts/jquery/jquery-ui.min.js6(t=>{"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(V){V.ui=V.ui||{};V.ui.version="1.14CODE
CRITICALlib/scripts/jquery/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHSECURITY.md15Please refer to our [AI policy](AI_POLICY.md) for general guidance on using AI tools. Most importantly, use your own voiCODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlib/tpl/dokuwiki/style.ini7; Please don't forget to copy the section your changes should be underCODE