AI Slop Code Risk Monitor

WordPress/wordpress-develop

SlopCodeMonitor badge for WordPress/wordpress-develop Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

WordPress Develop, Git-ified. Synced from git://develop.git.wordpress.org/, including branches and tags! This repository is just a mirror of the WordPress subversion repository. Please include a link to a pre-existing ticket on https://core.trac.wordpress.org/ with every pull request.

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for WordPress/wordpress-develop, a PHP project with 3,501 GitHub stars. SynthScan examined 1,623,145 lines of code across 4987 source files, recording 749 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.

0.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.5K
Stars
PHP
Language
1.6M
Lines of Code
5.0K
Files
749
Pattern Hits
2026-10-31
Scan Date
0.01
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 1.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.0/100 · LOW

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

Agent Over-Engineering Ratio 0.8/100 · LOW

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

PR Review Velocity Impact 3.3/100 · LOW

Which changes need focused human review? 749 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 32HIGH 0MEDIUM 28LOW 689

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 749 distinct pattern matches across 12 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.

Fake / Example Data307 hits · 338 pts
SeverityFileLineSnippetContext
LOWwp-tests-config-sample.php65define( 'WP_TESTS_EMAIL', 'admin@example.org' );CODE
LOWtests/gutenberg/.wp-env.sample.json10 "WP_TESTS_EMAIL": "admin@example.org",CODE
LOWtests/phpunit/tests/functions.php942 $blob = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod temporCODE
LOWtests/phpunit/tests/functions.php942 $blob = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod temporCODE
LOWtests/phpunit/tests/functions.php956 $blob = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod temporCODE
LOWtests/phpunit/tests/functions.php956 $blob = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod temporCODE
LOWtests/phpunit/tests/auth.php1679 $error = wp_authenticate_application_password( null, 'idonotexist@example.org', 'password' );CODE
LOWtests/phpunit/tests/kses.php800 'comment_author_email' => 'admin@example.org',CODE
LOWtests/phpunit/tests/cache.php154 $fake_key = 'my-fake-key';CODE
LOW⚡tests/phpunit/tests/cache.php165 $this->assertFalse( wp_cache_replace( $fake_key, $val1 ) );CODE
LOW⚡tests/phpunit/tests/cache.php167 // Make sure $fake_key is not stored.COMMENT
LOW⚡tests/phpunit/tests/cache.php168 $this->assertFalse( wp_cache_get( $fake_key ) );CODE
LOWtests/phpunit/tests/user.php29 'display_name' => 'John Doe',CODE
LOWtests/phpunit/tests/user.php1514 'user_email' => 'user_empty_data@example.org',CODE
LOWtests/phpunit/tests/user.php2629 'user_email' => 'user@example.com',CODE
LOWtests/phpunit/tests/user.php2644 'user_email' => 'user@example.com',CODE
LOWtests/phpunit/tests/db.php702 'admin@example.org',CODE
LOWtests/phpunit/tests/db.php708 'admin@example.org',CODE
LOW⚡tests/phpunit/tests/adminbar.php924 'display_name' => 'John Doe',CODE
LOW⚡tests/phpunit/tests/adminbar.php934 $this->assertSame( 'John Doe', wp_strip_all_tags( $node_my_account->title ) );CODE
LOW⚡tests/phpunit/tests/adminbar.php935 $this->assertSame( 'John Doe', $node_my_account->meta['menu_title'] );CODE
LOWtests/phpunit/tests/l10n.php16 private $long_text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboCODE
LOWtests/phpunit/tests/l10n.php16 private $long_text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboCODE
LOWtests/phpunit/tests/l10n.php175 $expect = "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dCODE
LOWtests/phpunit/tests/l10n.php175 $expect = "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dCODE
LOWtests/phpunit/tests/l10n.php201 $expect = "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dCODE
LOWtests/phpunit/tests/l10n.php201 $expect = "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dCODE
LOWtests/phpunit/tests/l10n.php253 $expect = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloCODE
LOWtests/phpunit/tests/l10n.php253 $expect = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloCODE
LOWtests/phpunit/tests/l10n.php279 $expect = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloCODE
LOWtests/phpunit/tests/l10n.php279 $expect = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloCODE
LOWtests/phpunit/tests/l10n.php319 $expect = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do&hellip;';CODE
LOWtests/phpunit/tests/l10n.php319 $expect = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do&hellip;';CODE
LOWtests/phpunit/tests/l10n.php358 $expect = 'Lorem ipsum dolor sit amet, consectetur &hellip;';CODE
LOWtests/phpunit/tests/l10n.php358 $expect = 'Lorem ipsum dolor sit amet, consectetur &hellip;';CODE
LOWtests/phpunit/tests/l10n.php417 $expect = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laborCODE
LOWtests/phpunit/tests/l10n.php417 $expect = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laborCODE
LOWtests/phpunit/tests/l10n.php437 $expect = 'Lorem ipsum dolor sit amet, consectetur &hellip;';CODE
LOWtests/phpunit/tests/l10n.php437 $expect = 'Lorem ipsum dolor sit amet, consectetur &hellip;';CODE
LOWtests/phpunit/tests/blocks/renderCommentTemplate.php73 'comment_author_email' => 'test@example.org',CODE
LOWtests/phpunit/tests/blocks/renderCommentTemplate.php243 'comment_author_email' => 'test@example.org',CODE
LOWtests/phpunit/tests/blocks/renderCommentTemplate.php303 'comment_author_email' => 'test@example.org',CODE
LOWtests/phpunit/tests/blocks/renderCommentTemplate.php315 'comment_author_email' => 'test@example.org',CODE
LOWtests/phpunit/tests/blocks/renderCommentTemplate.php446 'comment_author_email' => 'unapproved@example.org',CODE
LOWtests/phpunit/tests/blocks/renderCommentTemplate.php458 'include_unapproved' => array( 'unapproved@example.org' ),CODE
LOWtests/phpunit/tests/blocks/renderCommentTemplate.php483 'comment_author_email' => 'unapproved@example.org',CODE
LOWtests/phpunit/tests/blocks/renderCommentTemplate.php499 'comment_author_email' => 'unapproved@example.org',CODE
LOWtests/phpunit/tests/oembed/getOembedResponseData.php76 'display_name' => 'John Doe',CODE
LOWtests/phpunit/tests/oembed/getOembedResponseData.php94 'author_name' => 'John Doe',CODE
LOWtests/phpunit/tests/oembed/template.php37 'display_name' => 'John Doe',CODE
LOW…ts/phpunit/tests/comment/getCommentAuthorEmailLink.php29 'comment_author_email' => 'foo@example.org',CODE
LOW…ts/phpunit/tests/comment/getCommentAuthorEmailLink.php35 $expected = '<a href="mailto:foo@example.org">foo@example.org</a>';CODE
LOW…ts/phpunit/tests/comment/getCommentAuthorEmailLink.php51 'comment_author_email' => $email = 'baz@example.org',CODE
LOW⚡…ts/phpunit/tests/comment/getCommentAuthorEmailLink.php65 $expected = sprintf( '%1$s<a href="mailto:foo@example.org">%2$s</a>%3$s', $before, $linktext, $after );CODE
LOW⚡…ts/phpunit/tests/comment/getCommentAuthorEmailLink.php71 $expected = sprintf( '<a href="mailto:foo@example.org">%1$s</a>', $linktext = 'linktext' );CODE
LOW⚡…ts/phpunit/tests/comment/getCommentAuthorEmailLink.php77 $expected = sprintf( '%1$s<a href="mailto:foo@example.org">foo@example.org</a>', $before = 'before' );CODE
LOW⚡…ts/phpunit/tests/comment/getCommentAuthorEmailLink.php83 $expected = sprintf( '<a href="mailto:foo@example.org">foo@example.org</a>%1$s', $after = 'after' );CODE
LOW…ts/phpunit/tests/comment/getCommentAuthorEmailLink.php94 'comment_author_email' => $email = 'bar@example.org',CODE
LOW…ts/phpunit/tests/comment/wpHandleCommentSubmission.php222 'email' => 'comment@example.org',CODE
LOW…ts/phpunit/tests/comment/wpHandleCommentSubmission.php260 'email' => 'comment@example.org',CODE
247 more matches not shown…
Hallucination Indicators32 hits · 320 pts
SeverityFileLineSnippetContext
CRITICAL…sts/e2e/specs/media-library-client-side-upload.test.js754 window.wp.media.frame.uploader.uploader.uploader.setOption(CODE
CRITICALsrc/js/_enqueues/wp/revisions.js555 wp.Backbone.View.prototype.render.apply( this, arguments );CODE
CRITICALsrc/js/_enqueues/wp/revisions.js855 wp.Backbone.View.prototype.render.apply( this, arguments );CODE
CRITICALsrc/js/_enqueues/wp/api.js983 wp.api.WPApiBaseModel.prototype.initialize.call( model, attributes, options );CODE
CRITICALsrc/js/_enqueues/wp/widgets/media.js54 wp.media.controller.Library.prototype.initialize.call( this, options );CODE
CRITICALsrc/js/_enqueues/wp/widgets/media.js80 display = wp.media.controller.Library.prototype.display.call( this, model );CODE
CRITICALsrc/js/_enqueues/wp/widgets/media.js110 wp.media.view.Embed.prototype.initialize.call( view, options );CODE
CRITICALsrc/js/_enqueues/wp/widgets/media.js144 this.views.parent.views.parent.views.get( '.media-frame-toolbar' )[0].$el.find( '.media-button-select' ).prop( 'diCODE
CRITICALsrc/js/_enqueues/wp/widgets/media.js199 wp.media.view.EmbedLink.prototype.updateoEmbed.call( embedLinkView );CODE
CRITICALsrc/js/_enqueues/wp/widgets/media.js306 component.MediaFrameSelect = wp.media.view.MediaFrame.Post.extend(/** @lends wp.mediaWidgets.MediaFrameSelect.prototypeCODE
CRITICALsrc/js/_enqueues/wp/widgets/media-gallery.js18 GalleryDetailsMediaFrame = wp.media.view.MediaFrame.Post.extend(/** @lends wp.mediaWidgets~GalleryDetailsMediaFrame.proCODE
CRITICALsrc/js/_enqueues/wp/widgets/media-audio.js17 AudioDetailsMediaFrame = wp.media.view.MediaFrame.AudioDetails.extend(/** @lends wp.mediaWidgets.controlConstructors~AuCODE
CRITICALsrc/js/_enqueues/wp/widgets/media-video.js19 VideoDetailsMediaFrame = wp.media.view.MediaFrame.VideoDetails.extend(/** @lends wp.mediaWidgets.controlConstructors~ViCODE
CRITICALsrc/js/_enqueues/wp/customize/preview-nav-menus.js134 api.selectiveRefresh.Partial.prototype.initialize.call( partial, id, options );CODE
CRITICALsrc/js/_enqueues/wp/customize/preview-nav-menus.js244 return api.selectiveRefresh.Partial.prototype.refresh.call( partial );CODE
CRITICALsrc/js/_enqueues/wp/customize/preview-nav-menus.js261 if ( api.selectiveRefresh.Partial.prototype.renderContent.call( partial, placement ) ) {CODE
CRITICALsrc/js/_enqueues/wp/customize/preview-widgets.js118 api.selectiveRefresh.Partial.prototype.initialize.call( partial, id, options );CODE
CRITICALsrc/js/_enqueues/wp/customize/preview-widgets.js136 return api.selectiveRefresh.Partial.prototype.refresh.call( partial );CODE
CRITICALsrc/js/_enqueues/wp/customize/preview-widgets.js151 if ( api.selectiveRefresh.Partial.prototype.renderContent.call( partial, placement ) ) {CODE
CRITICALsrc/js/_enqueues/wp/customize/preview-widgets.js191 api.selectiveRefresh.Partial.prototype.initialize.call( partial, id, options );CODE
CRITICALsrc/js/_enqueues/wp/customize/models.js352 api.HeaderTool.ChoiceList.prototype.initialize.apply(this);CODE
CRITICALsrc/js/_enqueues/wp/customize/nav-menus.js360 wp.a11y.speak( api.Menus.data.l10n.itemsFoundMore.replace( '%d', items.length ) );CODE
CRITICALsrc/js/_enqueues/wp/customize/nav-menus.js362 wp.a11y.speak( api.Menus.data.l10n.itemsFound.replace( '%d', items.length ) );CODE
CRITICALsrc/js/_enqueues/wp/customize/nav-menus.js1170 $label.text( api.Menus.data.l10n.menuLocation.replace( '%s', locationName ) );CODE
CRITICALsrc/js/_enqueues/wp/customize/nav-menus.js2036 titleText = api.Menus.data.l10n.invalidTitleTpl.replace( '%s', titleText );CODE
CRITICALsrc/js/_enqueues/wp/customize/nav-menus.js2093 control.params.title = api.Menus.data.l10n.invalidTitleTpl.replace( '%s', control.params.title );CODE
CRITICALsrc/js/media/routers/manage.js63 wp.media.frames.edit.content.mode( 'edit-details' );CODE
CRITICALsrc/js/media/views/view.js73 return wp.Backbone.View.prototype.remove.apply( this, arguments );CODE
CRITICALsrc/js/media/views/uploader/editor.js185 this.workflow.uploader.uploader.uploader.addFile( _.toArray( this.files ) );CODE
CRITICALsrc/js/media/views/attachment/edit-selection.js13var EditSelection = wp.media.view.Attachment.Selection.extend(/** @lends wp.media.view.Attachment.EditSelection.prototypCODE
CRITICALsrc/js/media/views/frame/manage.js76 this.gridRouter = new wp.media.view.MediaFrame.Manage.Router();CODE
CRITICALsrc/js/media/views/frame/edit-attachments.js153 contentRegion.view = new wp.media.view.Attachment.Details.TwoColumn({CODE
Hyper-Verbose Identifiers176 hits · 176 pts
SeverityFileLineSnippetContext
LOWtools/gutenberg/copy.js113function readReturnedValueFromPHPFile( phpFilepath ) {CODE
LOWtools/gutenberg/copy.js386function generateScriptModulesPackages() {CODE
LOWtools/gutenberg/copy.js460function generateScriptLoaderPackages() {CODE
LOWtools/gutenberg/copy.js531function generateBlockRegistrationFiles() {CODE
LOWtests/phpunit/tests/dependencies/scripts.php89 private function assertEqualHTMLScriptTagById( string $expected, string $html, string $message = 'The SCRIPT tag did noCODE
LOW…unit/tests/abilities-api/wpAbilityCategoryRegistry.php72 private function assertDoingItWrongTriggered( string $the_method, ?string $message_contains = null ): void {CODE
LOWtests/phpunit/tests/image/base.php44 protected function assertImageAlphaAtPointGD( $image_path, $point, $alpha ) {CODE
LOWtests/phpunit/tests/image/base.php60 protected function assertImageAlphaAtPointImagick( $image_path, $point, $expected ) {CODE
LOWtests/phpunit/tests/hooks/buildUniqueId.php116 private function assertIsNonDecimalIntString( $value ): void {CODE
LOWtests/phpunit/tests/query/randomContentRedirect.php284 protected function assertQueryIsNotRandomized( WP_Query $query, string $message ): void {CODE
LOW…t/tests/rest-api/rest-pattern-directory-controller.php83 public function assertPatternMatchesSchema( $pattern ) {CODE
LOW…it/includes/wp-ai-client-mock-model-creation-trait.php397 public function convertTextToSpeechResult( array $prompt ): GenerativeAiResult { // phpcs:ignore Generic.CodeAnalysisCODE
LOWtests/phpunit/includes/abstract-testcase.php882 public function setExpectedIncorrectUsage( $doing_it_wrong ) {CODE
LOWtests/phpunit/includes/abstract-testcase.php1280 public function assertNonEmptyMultidimensionalArray( $actual, $message = '' ) {CODE
LOWtests/phpunit/includes/abstract-testcase.php1301 public function assertSamePathIgnoringDirectorySeparators( $path_a, $path_b ) {CODE
LOWtests/phpunit/includes/abstract-testcase.php1316 public function normalizeDirectorySeparatorsInPath( $path ) {CODE
LOW…/phpunit/includes/wp-ai-client-mock-provider-trait.php112 protected static function createProviderAvailability(): ProviderAvailabilityInterface {CODE
LOW…/phpunit/includes/wp-ai-client-mock-provider-trait.php121 protected static function createModelMetadataDirectory(): ModelMetadataDirectoryInterface {CODE
LOW…punit/includes/secrets/trait-wp-secrets-assertions.php56 public function assertRecordSlotDecryptsTo( $name, $slot, $expected, $network = false ): void { // phpcs:ignore WordPreCODE
LOW…punit/includes/secrets/trait-wp-secrets-assertions.php73 public function assertNeverContainsPlaintext( $plaintext, $haystack, $message = '' ): void { // phpcs:ignore WordPress.CODE
LOWsrc/js/_enqueues/admin/site-health.js357 function addFailedSiteHealthCheckNotice( url, description ) {CODE
LOWsrc/js/_enqueues/admin/site-icon.js29 function calculateImageSelectOptions( attachment ) {CODE
LOWsrc/js/_enqueues/admin/user-profile.js448 function showOrHideWeakPasswordCheckbox() {CODE
LOWsrc/js/_enqueues/admin/common.js743function changeStructureTagButtonState( button ) {CODE
LOWsrc/js/_enqueues/wp/editor/base.js340 function getShortCodePositionsInText( content ) {CODE
LOWsrc/js/_enqueues/wp/editor/base.js436 function adjustTextAreaSelectionCursors( content, cursorPositions ) {CODE
LOWsrc/js/_enqueues/wp/editor/base.js514 function addHTMLBookmarkInTextAreaContent( $textarea ) {CODE
LOWsrc/js/_enqueues/wp/editor/base.js565 function focusHTMLBookmarkInVisualEditor( editor ) {CODE
LOWsrc/js/_enqueues/wp/editor/base.js626 function scrollVisualModeToStartElement( editor, element ) {CODE
LOWsrc/js/_enqueues/wp/widgets/media.js63 handleDisplaySettingChange: function handleDisplaySettingChange( displaySettings ) {CODE
LOWsrc/js/_enqueues/wp/widgets/media.js143 setAddToWidgetButtonDisabled: function setAddToWidgetButtonDisabled( disabled ) {CODE
LOWsrc/js/_enqueues/wp/widgets/media.js727 handleMediaLibraryLinkClick: function handleMediaLibraryLinkClick( event ) {CODE
LOWsrc/js/_enqueues/wp/widgets/media.js825 getModelPropsFromMediaFrame: function getModelPropsFromMediaFrame( mediaFrame ) {CODE
LOWsrc/js/_enqueues/wp/widgets/media.js925 mapModelToMediaFrameProps: function mapModelToMediaFrameProps( modelProps ) {CODE
LOWsrc/js/_enqueues/wp/widgets/media.js949 mapModelToPreviewTemplateProps: function mapModelToPreviewTemplateProps() {CODE
LOWsrc/js/_enqueues/wp/widgets/media.js1313 $( function initializeExistingWidgetContainers() {CODE
LOWsrc/js/_enqueues/wp/widgets/media-gallery.js127 updateSelectedAttachments: function updateSelectedAttachments() {CODE
LOWsrc/js/_enqueues/wp/widgets/custom-html.js439 $( function initializeExistingWidgetContainers() {CODE
LOWsrc/js/_enqueues/wp/widgets/media-audio.js75 mapModelToMediaFrameProps: function mapModelToMediaFrameProps( modelProps ) {CODE
LOWsrc/js/_enqueues/wp/widgets/text.js127 openAvailableWidgetsPanel: function openAvailableWidgetsPanel() {CODE
LOWsrc/js/_enqueues/wp/widgets/text.js535 $( function initializeExistingWidgetContainers() {CODE
LOWsrc/js/_enqueues/wp/widgets/media-image.js143 getModelPropsFromMediaFrame: function getModelPropsFromMediaFrame( mediaFrame ) {CODE
LOWsrc/js/_enqueues/wp/widgets/media-image.js156 mapModelToPreviewTemplateProps: function mapModelToPreviewTemplateProps() {CODE
LOWsrc/js/_enqueues/wp/widgets/media-video.js93 mapModelToMediaFrameProps: function mapModelToMediaFrameProps( modelProps ) {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js18 reducedMotionMediaQuery.addEventListener( 'change' , function handleReducedMotionChange( event ) {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js490 api.bind( 'change', function incrementChangedSettingRevision( setting ) {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js495 api.bind( 'add', function incrementCreatedSettingRevision( setting ) {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js634 request.done( function requestChangesetUpdateDone( data ) {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js659 request.fail( function requestChangesetUpdateFail( data ) {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js3166 function toggleDisabledNotifications() {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js4328 function setAttachmentDataAndRenderContent( value ) {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js6047 toggleFutureDateNotification: function toggleFutureDateNotification( notify ) {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js7400 function cancelHighlightScheduleButton() {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js7646 function captureSettingModifiedDuringSave( setting ) {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js8065 api.bind( 'ready', function setUpGlobalNotificationsArea() {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js8269 ( function checkAndDisplayLockNotice() {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js8449 function getAutosaveRestorationUrl() {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js8496 function addSiteEditorNotification( notification ) {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js8539 function addAutosaveRestoreNotification() {CODE
LOWsrc/js/_enqueues/wp/customize/controls.js9032 function startPromptingBeforeUnload() {CODE
116 more matches not shown…
Over-Commented Block164 hits · 151 pts
SeverityFileLineSnippetContext
LOWtools/php-ai-client/installer.sh1#!/usr/bin/env bashCOMMENT
LOWtests/phpstan/generate-baselines.php741 * @param non-falsy-string $identifier Error identifier, a group followed by a code.COMMENT
LOWtests/phpunit/tests/formatting/balanceTags.php81 return array(COMMENT
LOWtests/phpunit/data/unicode/utf8tests/utf8tests.txt1# == UTF-8 Test Cases ==COMMENT
LOWtests/phpunit/data/unicode/utf8tests/utf8tests.txt21# * The replacment character is U+FFFD <EFBFBD>.COMMENT
LOWtests/phpunit/data/unicode/utf8tests/utf8tests.txt41# num:valid:bytesCOMMENT
LOWtests/phpunit/data/unicode/utf8tests/utf8tests.txt461COMMENT
LOWtests/phpunit/data/unicode/utf8tests/utf8tests.txt741# The 36 numbered tests are designed so you can manually validateCOMMENT
LOW.github/workflows/reusable-coding-standards-php.yml21COMMENT
LOW.github/workflows/reusable-test-core-build-process.yml41COMMENT
LOW.github/workflows/reusable-workflow-lint.yml1##COMMENT
LOW.github/workflows/reusable-workflow-lint.yml41 # Runs the Zizmor GitHub Action workflow file linter.COMMENT
LOW.github/workflows/reusable-performance-test-v2.yml81 # - Checkout repository.COMMENT
LOW.github/workflows/reusable-cleanup-pull-requests.yml1##COMMENT
LOW.github/workflows/reusable-phpunit-tests-v1.yml81COMMENT
LOW.github/workflows/slack-notifications.yml41jobs:COMMENT
LOW…orkflows/reusable-test-local-docker-environment-v1.yml61 # - Sets up PHP.COMMENT
LOW.github/workflows/reusable-phpunit-tests-v2.yml81 PUPPETEER_SKIP_DOWNLOAD: trueCOMMENT
LOW.github/workflows/reusable-php-compatibility.yml21jobs:COMMENT
LOW.github/workflows/reusable-phpunit-tests-v3.yml121 PHPUNIT_CONFIG: ${{ inputs.phpunit-config }}COMMENT
LOW.github/workflows/reusable-phpunit-tests-v3.yml141 # - Logs general debug information about the runner.COMMENT
LOW…hub/workflows/reusable-javascript-type-checking-v1.yml1##COMMENT
LOW.github/workflows/reusable-upgrade-testing.yml41# Any needed permissions should be configured at the job level.COMMENT
LOW.github/workflows/phpstan-pull-request-comments.yml1# Keeps a comment on a pull request up to date with the errors reported by PHPStan.COMMENT
LOW.github/workflows/upgrade-testing.yml41permissions: {}COMMENT
LOW.github/workflows/upgrade-testing.yml61# - 5.7.x accounts for ~20% of installs, so this is used below instead.COMMENT
LOW.github/workflows/reusable-end-to-end-tests.yml41env:COMMENT
LOW…thub/workflows/reusable-phpstan-static-analysis-v1.yml21jobs:COMMENT
LOW…thub/workflows/reusable-phpstan-static-analysis-v1.yml81 # changing the file: a parser node visitor rewrites a docblock in the syntax tree, and the bytesCOMMENT
LOW…thub/workflows/reusable-phpstan-static-analysis-v1.yml201 }COMMENT
LOW…thub/workflows/reusable-phpstan-static-analysis-v1.yml241 if [ "${unignorable}" -eq 0 ]; thenCOMMENT
LOW.github/workflows/reusable-build-package.yml1##COMMENT
LOW…ub/workflows/reusable-test-gutenberg-build-process.yml41 # Performs the following steps:COMMENT
LOWsrc/wp-admin/css/colors/_admin.scss401COMMENT
LOWsrc/wp-admin/css/colors/_admin.scss441#wpadminbar .quicklinks .menupop ul li a,COMMENT
LOWsrc/wp-admin/css/colors/_admin.scss461#wpadminbar li:hover .ab-icon,COMMENT
LOWsrc/wp-admin/css/colors/_tokens.scss1// ==========================================================================COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php1<?phpCOMMENT
LOWsrc/wp-admin/includes/class-pclzip.php21// this software the author can not be responsible.COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php41 //define( 'PCLZIP_SEPARATOR', ' ' );COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php61 // - MUST be a valid, already created directoryCOMMENT
LOWsrc/wp-admin/includes/class-pclzip.php81// --------------------------------------------------------------------------------COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php181 // Attributes :COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php201COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php241 // create($p_filelist, $p_option, $p_option_value, ...)COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php261 // When $p_add_dir and $p_remove_dir are set, $p_remove_dirCOMMENT
LOWsrc/wp-admin/includes/class-pclzip.php421 // --------------------------------------------------------------------------------COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php441 // in order to have a shorter path memorized in the archive.COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php601 // ----- ReturnCOMMENT
LOWsrc/wp-admin/includes/class-pclzip.php621 // folder : true | falseCOMMENT
LOWsrc/wp-admin/includes/class-pclzip.php661 if (($v_result = $this->privList($p_list)) != 1)COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php681 // you can indicate this in the optional $p_remove_path parameter.COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php821 // --------------------------------------------------------------------------------COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php841 // $p_remove_path : First part ('root' part) of the memorized pathCOMMENT
LOWsrc/wp-admin/includes/class-pclzip.php981COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php1001 // PCLZIP_OPT_BY_INDEX :COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php1061 // --------------------------------------------------------------------------------COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php1081 // Description :COMMENT
LOWsrc/wp-admin/includes/class-pclzip.php1201 // ----- Error logCOMMENT
LOWsrc/wp-admin/includes/class-pclzip.php1361COMMENT
104 more matches not shown…
Decorative Section Separators22 hits · 81 pts
SeverityFileLineSnippetContext
MEDIUM⚡tools/php-ai-client/installer.sh15# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh17# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh26# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh28# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh92# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh94# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh101# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh103# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh126# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh128# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh135# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/php-ai-client/installer.sh137# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/php-ai-client/installer.sh69# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/php-ai-client/installer.sh71# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/php-ai-client/installer.sh160# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/php-ai-client/installer.sh162# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/php-ai-client/installer.sh174# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/php-ai-client/installer.sh176# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/php-ai-client/installer.sh231# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/php-ai-client/installer.sh233# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/php-ai-client/installer.sh287# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/php-ai-client/installer.sh289# ---------------------------------------------------------------------------COMMENT
Verbosity Indicators19 hits · 37 pts
SeverityFileLineSnippetContext
LOWtools/gutenberg/download.js362 // Step 1: Get an anonymous GHCR token for pulling.COMMENT
LOWtools/gutenberg/download.js373 // Step 2: Resolve the manifest to use for download.COMMENT
LOWtools/gutenberg/download.js397 // Step 3: Download and verify the compressed blob before extraction.COMMENT
LOWsrc/wp-includes/blocks.php1226 // The block doesn't allow multiple instances, so we need to check if it's already present.COMMENT
LOWsrc/wp-includes/abilities-api.php621 // Step 2: Caller-scoped per-item callback.COMMENT
LOWsrc/wp-includes/abilities-api.php647 // Step 4: Caller-scoped result callback.COMMENT
LOW…-client/src/Providers/Models/DTO/ModelRequirements.php189 // Step 6: Return new ModelRequirementsCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php86 // Step 1: Check if the text is already ASCIICOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php96 // Step 2: nameprepCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php99 // Step 3: UseSTD3ASCIIRules is false, continueCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php100 // Step 4: Check if it's ASCII nowCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php116 // Step 5: Check ACE prefixCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php121 // Step 6: Encode with PunycodeCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php124 // Step 7: Prepend ACE prefixCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php127 // Step 8: Check sizeCOMMENT
LOW⚡src/wp-content/themes/twentytwenty/assets/js/index.js797 // Step 1: look at the initial positions of every menu item.COMMENT
LOW⚡src/wp-content/themes/twentytwenty/assets/js/index.js807 // Step 2: toggle target menu item and look at the final positions of every menu item.COMMENT
LOW⚡src/wp-content/themes/twentytwenty/assets/js/index.js815 // Step 3: close target menu item again.COMMENT
LOWsrc/wp-content/themes/twentytwenty/assets/js/index.js863 // Step 6: finish toggling.COMMENT
Structural Annotation Overuse18 hits · 35 pts
SeverityFileLineSnippetContext
LOWtools/gutenberg/download.js362 // Step 1: Get an anonymous GHCR token for pulling.COMMENT
LOWtools/gutenberg/download.js373 // Step 2: Resolve the manifest to use for download.COMMENT
LOWtools/gutenberg/download.js397 // Step 3: Download and verify the compressed blob before extraction.COMMENT
LOWsrc/wp-includes/abilities-api.php621 // Step 2: Caller-scoped per-item callback.COMMENT
LOWsrc/wp-includes/abilities-api.php647 // Step 4: Caller-scoped result callback.COMMENT
LOW…-client/src/Providers/Models/DTO/ModelRequirements.php189 // Step 6: Return new ModelRequirementsCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php86 // Step 1: Check if the text is already ASCIICOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php96 // Step 2: nameprepCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php99 // Step 3: UseSTD3ASCIIRules is false, continueCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php100 // Step 4: Check if it's ASCII nowCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php116 // Step 5: Check ACE prefixCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php121 // Step 6: Encode with PunycodeCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php124 // Step 7: Prepend ACE prefixCOMMENT
LOW⚡src/wp-includes/Requests/src/IdnaEncoder.php127 // Step 8: Check sizeCOMMENT
LOW⚡src/wp-content/themes/twentytwenty/assets/js/index.js797 // Step 1: look at the initial positions of every menu item.COMMENT
LOW⚡src/wp-content/themes/twentytwenty/assets/js/index.js807 // Step 2: toggle target menu item and look at the final positions of every menu item.COMMENT
LOW⚡src/wp-content/themes/twentytwenty/assets/js/index.js815 // Step 3: close target menu item again.COMMENT
LOWsrc/wp-content/themes/twentytwenty/assets/js/index.js863 // Step 6: finish toggling.COMMENT
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMtests/phpunit/tests/feed/rss2.php98 // Nasty hack! In the future it would better to leverage do_feed( 'rss2' ).COMMENT
MEDIUMtests/phpunit/tests/feed/atom.php83 // Nasty hack! In the future it would better to leverage do_feed( 'atom' ).COMMENT
MEDIUMsrc/js/_enqueues/wp/customize/controls.js6955 // This event will be received directly by the previewer in normal navigation; this is only needed for seamless refrCOMMENT
MEDIUMsrc/wp-includes/post.php3609 // Optimized query uses subqueries which can leverage DB indexes for better performance. See #61097.COMMENT
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsrc/wp-admin/export.php178<p><?php _e( 'Once you&#8217;ve saved the download file, you can use the Import function in another WordPress installatiCODE
LOWsrc/wp-admin/freedoms.php98 __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible licenCODE
LOWsrc/wp-includes/functions.php4531 // Don't forget to sanitize the ID!COMMENT
MEDIUMsrc/wp-includes/theme-compat/sidebar.php95 __( 'You have searched the %1$s blog archives for <strong>&#8216;%2$s&#8217;</strong>. If you are unable to find aCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/phpunit/tests/pomo/po.php412 // TODO: Add tests for bad files.COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/wp-includes/rss.php63 # Check if PHP xml isn't compiledCOMMENT
Example Usage Blocks1 hit · 1 pts
SeverityFileLineSnippetContext
LOW⚡tools/php-ai-client/installer.sh8# Usage:COMMENT