AI Slop Code RIsk Monitor

magento/magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.

4.9 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for magento/magento2, a PHP project with 12,199 GitHub stars. SynthScan examined 4,269,908 lines of code across 39495 source files, recording 20696 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 4.9 (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.

4.9
Adjusted Signal
4.9
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
12.2K
Stars
PHP
Language
4.3M
Lines of Code
39.5K
Files
20.7K
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 20.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

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

Agent Over-Engineering Ratio 20.0/100 · LOW

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

PR Review Velocity Impact 21.6/100 · LOW

Which changes need focused human review? 20696 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 5HIGH 2MEDIUM 25LOW 20664

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 20696 distinct pattern matches across 18 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 Identifiers18901 hits · 19014 pts
SeverityFileLineSnippetContext
LOW…ode/Magento/LoginAsCustomerApi/Api/ConfigInterface.php32 public function isStoreManualChoiceEnabled(): bool;CODE
LOW…ode/Magento/LoginAsCustomerApi/Api/ConfigInterface.php41 public function getAuthenticationDataExpirationTime(): int;CODE
LOW…lesRuleGraphQl/Test/Unit/Model/Resolver/CouponTest.php69 public function testResolveWithOrderModel(): voidCODE
LOW…lesRuleGraphQl/Test/Unit/Model/Resolver/CouponTest.php85 public function testResolveWithoutDiscountModel(): voidCODE
LOW…lesRuleGraphQl/Test/Unit/Model/Resolver/CouponTest.php97 public function testResolveWithoutQuoteModel(): voidCODE
LOW…lesRuleGraphQl/Test/Unit/Model/Resolver/CouponTest.php125 public function testResolveWithMatchingRuleId(): voidCODE
LOW…lesRuleGraphQl/Test/Unit/Model/Resolver/CouponTest.php145 public function testResolveNoMatchingRuleId(): voidCODE
LOW…icsearch8/Test/Unit/Model/Client/ElasticsearchTest.php129 public function testConstructorOptionsException()CODE
LOW…icsearch8/Test/Unit/Model/Client/ElasticsearchTest.php144 public function testConstructorWithOptions()CODE
LOW…icsearch8/Test/Unit/Model/Client/ElasticsearchTest.php388 public function testUpdateAliasRemoveOldIndex()CODE
LOW…icsearch8/Test/Unit/Model/Client/ElasticsearchTest.php565 public function testAddFieldsMappingFailure()CODE
LOW…Magento/Elasticsearch8/Model/Adapter/Elasticsearch.php25 public function getDocsArrayInBulkIndexFormat(CODE
LOW…/Magento/Elasticsearch8/Model/Client/Elasticsearch.php392 private function applyFieldsMappingPreprocessors(array $properties): arrayCODE
LOW…/Unit/Model/Model/Directories/GetDirectoryTreeTest.php139 public function testExecuteInLazyModeForRootsAndSubdirectories(): voidCODE
LOW…/Unit/Model/Model/Directories/GetDirectoryTreeTest.php212 public function testExecuteInLazyModeRejectsPathOutsideAllowedRoots(): voidCODE
LOW…/Unit/Model/Model/Directories/GetDirectoryTreeTest.php400 private function buildDirectoryChildrenMap(array $structure, string $parentPath = ''): arrayCODE
LOW…/CollectionProcessor/FilterProcessor/DirectoryTest.php61 public function testApplyWithCaseSensitiveDirectoryFiltering(CODE
LOW…/CollectionProcessor/FilterProcessor/DirectoryTest.php82 public function testApplyWithNullFilterValue(): voidCODE
LOW…/CollectionProcessor/FilterProcessor/DirectoryTest.php101 public function testApplyStripsPercentageSigns(): voidCODE
LOW…/CollectionProcessor/FilterProcessor/DirectoryTest.php120 public function testCaseSensitiveBehavior(): voidCODE
LOW…/CollectionProcessor/FilterProcessor/DirectoryTest.php142 public static function caseSensitiveDirectoryDataProvider(): arrayCODE
LOW…diaGalleryUi/Test/Mftf/Helper/MediaGalleryUiHelper.php34 public function deleteAllImagesUsingMassAction(CODE
LOW…Processor/FilterProcessor/DirectoryIntegrationTest.php42 public function testFilterProcessorAppliesBinaryCaseSensitiveQuery(): voidCODE
LOW…Processor/FilterProcessor/DirectoryIntegrationTest.php74 public function testFilterProcessorWithUppercaseDirectory(): voidCODE
LOW…Processor/FilterProcessor/DirectoryIntegrationTest.php102 public function testFilterProcessorStripsPercentageSigns(): voidCODE
LOW…Processor/FilterProcessor/DirectoryIntegrationTest.php130 public function testFilterProcessorWithNullValue(): voidCODE
LOW…Processor/FilterProcessor/DirectoryIntegrationTest.php159 public function testRegexPatternExcludesSubdirectories(): voidCODE
LOW…Processor/FilterProcessor/DirectoryIntegrationTest.php189 public function testFilterProcessorWithMixedCaseDirectory(): voidCODE
LOW…/MediaGalleryUi/Model/Directories/GetDirectoryTree.php229 private function getDirectoryDataForLazyLoad(ReadInterface $mediaDirectory, string $path): arrayCODE
LOW…ntroller/HttpHeaderProcessor/CurrencyProcessorTest.php69 public function testProcessHeaderValueUsesDefaultCurrencyForGetRequestWithoutHeader(): voidCODE
LOW…ntroller/HttpHeaderProcessor/CurrencyProcessorTest.php95 public function testProcessHeaderValueUsesCurrentCurrencyForNonGetRequestWithoutHeader(): voidCODE
LOW…rGraphQl/Test/Unit/Model/Resolver/IsSubscribedTest.php177 public function testCustomerIsSubscribedWithoutStore()CODE
LOW…raphQl/Model/SubscribeEmailToNewsletter/Validation.php161 private function validateGuestSubscription(): voidCODE
LOW…raphQl/Model/SubscribeEmailToNewsletter/Validation.php180 private function validateAlreadySubscribed(string $email, int $websiteId): voidCODE
LOW…agento/Ui/Test/Unit/Config/Converter/CompositeTest.php45 public function testConvertWithMissedConverter()CODE
LOW…agento/Ui/Test/Unit/Config/Converter/CompositeTest.php57 public function testConvertWithInvalidConverter()CODE
LOW…code/Magento/Ui/Test/Unit/Config/Converter/UrlTest.php50 public function testConvertUrlWithoutParams()CODE
LOWapp/code/Magento/Ui/Test/Unit/Component/FormTest.php103 public function testGetDataSourceDataWithoutData()CODE
LOWapp/code/Magento/Ui/Test/Unit/Component/FormTest.php154 public function testGetDataSourceDataWithoutId()CODE
LOWapp/code/Magento/Ui/Test/Unit/Component/FormTest.php210 public function testGetDataSourceDataWithAbstractDataProvider()CODE
LOWapp/code/Magento/Ui/Test/Unit/Component/ListingTest.php118 public function testRenderSpecificContentType(): voidCODE
LOW⚡…gento/Ui/Test/Unit/Component/AbstractComponentTest.php97 public function testGetComponentNotExists()CODE
LOW⚡…gento/Ui/Test/Unit/Component/AbstractComponentTest.php105 public function testGetChildComponentsEmptyArray()CODE
LOW⚡…gento/Ui/Test/Unit/Component/AbstractComponentTest.php113 public function testAddGetChildComponents()CODE
LOW…gento/Ui/Test/Unit/Component/AbstractComponentTest.php140 public function testRenderChildComponentNotExists()CODE
LOW…/Ui/Test/Unit/Component/Filters/FilterModifierTest.php65 public function testNotApplyFilterModifier()CODE
LOW…/Ui/Test/Unit/Component/Filters/FilterModifierTest.php77 public function testApplyFilterModifierWithNotAllowedCondition()CODE
LOW…/Ui/Test/Unit/Component/Filters/FilterModifierTest.php100 public function testApplyFilterModifierWith($filterModifier, $filterName, $conditionType, $value)CODE
LOW…/Ui/Test/Unit/Component/Filters/FilterModifierTest.php120 public static function getApplyFilterModifierDataProvider()CODE
LOW…code/Magento/Ui/Test/Unit/Component/Form/FieldTest.php103 public static function prepareSuccessDataProvider()CODE
LOW…Test/Unit/Component/Form/Element/DataType/DateTest.php65 public function testPrepareWithTimeOffset()CODE
LOW…Test/Unit/Component/Form/Element/DataType/DateTest.php98 public function testPrepareWithoutTimeOffset()CODE
LOW…Test/Unit/Component/Form/Element/DataType/DateTest.php187 public static function convertDatetimeDataProvider(): arrayCODE
LOW…Test/Unit/Component/Form/Element/DataType/DateTest.php233 public static function convertDateFormatDataProvider(): arrayCODE
LOW…est/Unit/Component/Form/Element/DataType/MediaTest.php42 public function testPrepareWithoutDataScope()CODE
LOW…it/Component/Form/Element/DataType/Media/ImageTest.php107 private function assertExpectedPreparedConfiguration(CODE
LOW…gento/Ui/Test/Unit/Component/MassAction/FilterTest.php150 public function testApplySelectionOnTargetProvider(CODE
LOW…gento/Ui/Test/Unit/Component/MassAction/FilterTest.php177 public static function applySelectionOnTargetProviderDataProvider(): arrayCODE
LOW…gento/Ui/Test/Unit/Component/MassAction/FilterTest.php190 public function testApplySelectionOnTargetProviderException(): voidCODE
LOW…gento/Ui/Test/Unit/Component/MassAction/FilterTest.php280 public function testGetCollectionWithCollection(CODE
18841 more matches not shown…
Over-Commented Block1139 hits · 790 pts
SeverityFileLineSnippetContext
LOW…rontend/Magento/luma/web/css/source/_email-extend.less1// /**COMMENT
LOW…sign/frontend/Magento/luma/web/css/source/_popups.less1// /**COMMENT
LOW…n/frontend/Magento/luma/web/css/source/_variables.less1// /**COMMENT
LOW…tend/Magento/luma/web/css/source/_email-variables.less1// /**COMMENT
LOW…esign/frontend/Magento/luma/web/css/source/_theme.less1// /**COMMENT
LOW…uma/Magento_AdvancedSearch/web/css/source/_module.less1// /**COMMENT
LOW…/css/source/module/checkout/fields/_file-uploader.less1// @codingStandardsIgnoreFileCOMMENT
LOWapp/design/frontend/Magento/blank/web/css/styles-m.less21// ---------------------------------------------COMMENT
LOWapp/design/frontend/Magento/blank/web/css/styles-l.less21COMMENT
LOWapp/design/frontend/Magento/blank/web/css/email.less21@import (reference) 'source/_email-base.less'; // Contains primary email stylesCOMMENT
LOW…frontend/Magento/blank/web/css/source/_email-base.less1// /**COMMENT
LOW…frontend/Magento/blank/web/css/source/_email-base.less21// * class (.logo)COMMENT
LOW…ontend/Magento/blank/web/css/source/_email-extend.less1// /**COMMENT
LOW…ign/frontend/Magento/blank/web/css/source/_popups.less1// /**COMMENT
LOW…/frontend/Magento/blank/web/css/source/_variables.less1// /**COMMENT
LOW…end/Magento/blank/web/css/source/_email-variables.less1// /**COMMENT
LOW…sign/frontend/Magento/blank/web/css/source/_theme.less1// /**COMMENT
LOW…frontend/Magento/blank/web/css/source/_components.less1// /**COMMENT
LOW…lank/Magento_Checkout/web/css/source/module/_cart.less1// /**COMMENT
LOW…ackend/Magento_Translation/web/css/source/_module.less1// /**COMMENT
LOW…/web/css/source/module/components/_navigation-bar.less1// /**COMMENT
LOW…ckend/Magento_Ui/web/css/source/module/_data-grid.less1// /**COMMENT
LOW…web/css/source/module/data-grid/_data-grid-header.less1// /**COMMENT
LOW…odule/data-grid/data-grid-header/_data-grid-pager.less1// /**COMMENT
LOW…/Magento/backend/web/app/setup/styles/less/_setup.less1/**COMMENT
LOW…/Magento/backend/web/app/setup/styles/less/_setup.less21//@import '../../../../css/source/_reset.less';COMMENT
LOW…/Magento/backend/web/app/setup/styles/less/_setup.less41//@import '../../../updater/styles/less/source/_typography.less';COMMENT
LOW…/Magento/backend/web/app/setup/styles/less/_setup.less61//@import '../../../../../Magento_Backend/web/css/source/module/main/_actions-bar.less';COMMENT
LOW…/Magento/backend/web/app/setup/styles/less/_setup.less81COMMENT
LOW…/Magento/backend/web/app/setup/styles/less/_setup.less101//@import '../../../updater/styles/less/pages/_extension-manager.less';COMMENT
LOW…/backend/web/app/setup/styles/less/lib/_collector.less1// /**COMMENT
LOW…end/web/app/setup/styles/less/lib/utilities/_grid.less1// /**COMMENT
LOW…/web/app/setup/styles/less/pages/_readiness-check.less1// /**COMMENT
LOW…nd/web/app/updater/styles/less/source/_typography.less1// /**COMMENT
LOW…kend/web/app/updater/styles/less/components/_menu.less1// /**COMMENT
LOW…o/backend/web/app/updater/styles/less/pages/_home.less1// /**COMMENT
LOW…inhtml/Magento/backend/web/css/source/_responsive.less1// /**COMMENT
LOW…n/adminhtml/Magento/backend/web/css/source/_theme.less1// /**COMMENT
LOW…gn/adminhtml/Magento/backend/web/css/source/_grid.less1// /**COMMENT
LOW…ml/Magento/backend/web/css/source/forms/_controls.less1// /**COMMENT
LOW…ml/Magento/backend/web/css/source/utilities/_grid.less1// /**COMMENT
LOW…/backend/web/css/source/actions/_actions-dropdown.less1// /**COMMENT
LOW…to/backend/web/css/source/actions/_actions-select.less1// /**COMMENT
LOW…nto/backend/web/css/source/actions/_actions-split.less1// /**COMMENT
LOW…nhtml/Magento/backend/web/mui/clearless/_settings.less1// /**COMMENT
LOW…d/Magento_Sales/web/css/source/module/_edit-order.less1// /************************************************************************COMMENT
LOW…end/Magento_Enterprise/web/css/source/_module-old.less1// /**COMMENT
LOW…end/Magento_Enterprise/web/css/source/_module-old.less21// .adminhtml-report-invitation-customer,COMMENT
LOW…end/Magento_Backend/web/css/source/module/_header.less1// /**COMMENT
LOW…o_Backend/web/css/source/module/main/_actions-bar.less1// /**COMMENT
LOW…to_Backend/web/css/source/module/pages/_dashboard.less1// /**COMMENT
LOW…kend/web/css/source/module/header/_headings-group.less1// /**COMMENT
LOW…ckend/web/css/source/module/header/_actions-group.less1// /**COMMENT
LOW…p/code/Magento/Eav/Test/Unit/Model/TypeLocatorTest.php101// ->method('getBackendModel')COMMENT
LOW…to/Setup/Test/Unit/Model/ObjectManagerProviderTest.php101COMMENT
LOW.github/app-projects-boards-automation.config.yaml241 # 1. Whenever a new issue is created and has no priority label on it (e.g., P1, P2, etc.):COMMENT
LOW.github/app-projects-boards-automation.config.yaml281 # - "Issue: Confirmed"COMMENT
LOW.github/stale.yml61# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':COMMENT
LOW.github/workflows/pr-quality-gates.yml1#COMMENT
LOWlib/web/jquery.js881COMMENT
1079 more matches not shown…
Fake / Example Data538 hits · 650 pts
SeverityFileLineSnippetContext
LOW…i/Test/Unit/Controller/Adminhtml/Bookmark/SaveTest.php277 'placeholder' => trueCODE
LOW…i/Test/Unit/Controller/Adminhtml/Bookmark/SaveTest.php335 'placeholder' => true,CODE
LOW…/Magento/Ui/view/base/web/js/form/element/ui-select.js331 'placeholder',CODE
LOW…gento/Ui/view/base/ui_component/etc/definition.map.xml508 <item name="placeholder" translate="true" type="string" xsi:type="xpath">settings/placeholder</item>CODE
LOW…gento/Ui/view/base/ui_component/etc/definition.map.xml843 <item name="placeholder" type="item" xsi:type="converter">settings/placeholder</item>CODE
LOW…/code/Magento/Contact/Test/Mftf/Data/ContactUsData.xml12 <data key="comment" unique="suffix">Lorem ipsum dolor sit amet, ne enim aliquando eam, oblique deserunt no usu. CODE
LOW…/code/Magento/Contact/Test/Mftf/Data/ContactUsData.xml12 <data key="comment" unique="suffix">Lorem ipsum dolor sit amet, ne enim aliquando eam, oblique deserunt no usu. CODE
LOW…e/Magento/Usps/Test/Unit/Model/ShipmentServiceTest.php625 $request->setShipperAddressStreet1('123 Main St');CODE
LOW…e/Magento/Usps/Test/Unit/Model/ShipmentServiceTest.php670 $this->assertEquals('123 Main St', $result['fromAddress']['streetAddress']);CODE
LOW…e/Magento/Usps/Test/Unit/Model/ShipmentServiceTest.php750 'shipper_address_street1' => '123 Main St',CODE
LOW…e/Magento/Usps/Test/Unit/Model/ShipmentServiceTest.php903 $request->setShipperAddressStreet1('123 Main St');CODE
LOW…e/Magento/Usps/Test/Unit/Model/ShipmentServiceTest.php1152 $request->setShipperAddressStreet1('123 Main St');CODE
LOW…s/Test/Unit/Plugin/Model/OrderRepositoryPluginTest.php66 $this->billingAddress->method('getStreet')->willReturn(['123 Main St']);CODE
LOW…s/Test/Unit/Plugin/Model/OrderRepositoryPluginTest.php121 $this->billingAddress->method('getStreet')->willReturn(['123 Main St']);CODE
LOW…agento/Sales/Test/Unit/Model/AdminOrder/CreateTest.php243 ['email', 'user@example.com'],CODE
LOWapp/code/Magento/Translation/etc/di.xml46 <item name="placeholder" xsi:type="object">Magento\Framework\Phrase\Renderer\Placeholder</item>CODE
LOW…/web/swagger-ui/js/swagger-ui-standalone-preset.min.js2!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(function(){try{return require("esprimaCODE
LOW…Test/Unit/Block/System/Config/Form/Field/ImageTest.php92 'id' => 'placeholder',CODE
LOWapp/code/Magento/Config/etc/di.xml171 <item name="placeholder" xsi:type="object">Magento\Store\Model\Config\Processor\Placeholder</item>CODE
LOWapp/code/Magento/Config/etc/di.xml289 <argument name="placeholder" xsi:type="object">Magento\Config\Model\Placeholder\Environment</argument>CODE
LOWapp/code/Magento/Config/Model/Config/Parser/Comment.php98 if (!isset($matches['placeholder'])) {CODE
LOWapp/code/Magento/Config/Model/Config/Parser/Comment.php103 foreach ($matches['placeholder'] as $placeholder) {CODE
LOW…gento/Quote/Test/Unit/Model/CustomerManagementTest.php262 $this->quoteAddressMock->method('getStreet')->willReturn(['123 Main St']);CODE
LOW…gento/Quote/Test/Unit/Model/CustomerManagementTest.php287 $this->customerAddressMock->expects($this->once())->method('setStreet')->with(['123 Main St']);CODE
LOW⚡…de/Magento/Quote/Test/Unit/Model/Quote/PaymentTest.php235 'cc_owner' => 'John Doe'CODE
LOW⚡…de/Magento/Quote/Test/Unit/Model/Quote/PaymentTest.php243 'cc_owner' => 'John Doe'CODE
LOW⚡…de/Magento/Quote/Test/Unit/Model/Quote/PaymentTest.php253 'cc_owner' => 'John Doe'CODE
LOW⚡…de/Magento/Quote/Test/Unit/Model/Quote/PaymentTest.php264 'cc_owner' => 'John Doe',CODE
LOW⚡…de/Magento/Quote/Test/Unit/Model/Quote/PaymentTest.php273 'cc_owner' => 'John Doe'CODE
LOW⚡…de/Magento/Quote/Test/Unit/Model/Quote/PaymentTest.php283 'cc_owner' => 'John Doe'CODE
LOW…ent/Test/Unit/Gateway/Request/BuilderCompositeTest.php128 'user' => 'John Doe',CODE
LOW…earch/Test/Unit/Model/Advanced/Request/BuilderTest.php185 'placeholder' => [CODE
LOW…roller/Adminhtml/Product/Action/Attribute/EditTest.php119 $this->request->expects($this->any())->method('getParam')->with('filters')->willReturn(['placeholder' => true]);CODE
LOW…roller/Adminhtml/Product/Action/Attribute/EditTest.php124 'filters' => ['placeholder' => true]CODE
LOW…Catalog/Test/Unit/Model/View/Asset/PlaceholderTest.php79 $this->assertEquals('placeholder', $this->model->getModule());CODE
LOWapp/code/Magento/Catalog/etc/adminhtml/system.xml112 <group id="placeholder" translate="label" sortOrder="300" showInDefault="1" showInWebsite="1" showInStore="1CODE
LOWapp/code/Magento/Catalog/etc/adminhtml/system.xml116 <field id="placeholder" type="image" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">CODE
LOW…/code/Magento/Catalog/Model/View/Asset/Placeholder.php234 return 'placeholder';CODE
LOW…ode/Magento/ProductAlert/Test/Unit/Model/EmailTest.php289 $customerName = 'John Doe';CODE
LOW…xport/Test/Unit/Model/Import/CustomerCompositeTest.php466 Customer::COLUMN_EMAIL => 'test@test.com',CODE
LOW…xport/Test/Unit/Model/Import/CustomerCompositeTest.php508 Customer::COLUMN_EMAIL => 'test@test.com',CODE
LOW…xport/Test/Unit/Model/Import/CustomerCompositeTest.php526 Customer::COLUMN_EMAIL => 'test@test.com',CODE
LOW…xport/Test/Unit/Model/Import/CustomerCompositeTest.php544 Customer::COLUMN_EMAIL => 'test@test.com',CODE
LOW…Magento/Sitemap/Test/Unit/Model/Batch/ObserverTest.php186 $errorRecipient = 'admin@example.com';CODE
LOW…ento/Tax/Test/Unit/Model/Sales/Total/Quote/TaxTest.php337 "street" => ["123 Main Street"],CODE
LOW…ento/Tax/Test/Unit/Model/Sales/Total/Quote/TaxTest.php344 "street" => ["123 Main Street"],CODE
LOW…ento/Tax/Test/Unit/Model/Sales/Total/Quote/TaxTest.php363 "address_id" => 2, "address_type" => "shipping", "street" => "123 Main Street",CODE
LOW…ento/Tax/Test/Unit/Model/Sales/Total/Quote/TaxTest.php545 "address_id" => 2, "address_type" => "shipping", "street" => "123 Main Street",CODE
LOW…ento/Tax/Test/Unit/Model/Sales/Total/Quote/TaxTest.php687 "address_id" => 2, "address_type" => "shipping", "street" => "123 Main Street",CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php342 '<?xml version="1.0"?><config><menu><add title="Lorem ipsum dolor sit amet, consectetur adipisicing" ' .CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php342 '<?xml version="1.0"?><config><menu><add title="Lorem ipsum dolor sit amet, consectetur adipisicing" ' .CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php346 "Element 'add', attribute 'title': [facet 'maxLength'] The value 'Lorem ipsum dolor sit amet, " .CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php346 "Element 'add', attribute 'title': [facet 'maxLength'] The value 'Lorem ipsum dolor sit amet, " .CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php349 "title=\"Lorem ipsum dolor sit amet, consectetur adipisicing\" id=\"Test_Value::some_value\" " .CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php349 "title=\"Lorem ipsum dolor sit amet, consectetur adipisicing\" id=\"Test_Value::some_value\" " .CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php376 '<?xml version="1.0"?><config><menu><add toolTip="Lorem ipsum dolor sit amet, consectetur adipisicing" ' .CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php376 '<?xml version="1.0"?><config><menu><add toolTip="Lorem ipsum dolor sit amet, consectetur adipisicing" ' .CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php381 "Element 'add', attribute 'toolTip': [facet 'maxLength'] The value 'Lorem ipsum dolor sit amet, " .CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php381 "Element 'add', attribute 'toolTip': [facet 'maxLength'] The value 'Lorem ipsum dolor sit amet, " .CODE
LOW⚡…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php384 "toolTip=\"Lorem ipsum dolor sit amet, consectetur adipisicing\" id=\"Test_Value::some_value\" " .CODE
478 more matches not shown…
Verbosity Indicators32 hits · 70 pts
SeverityFileLineSnippetContext
LOW⚡…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php694 // Step 1: Get IDs matching ANY of the tags using SUNION (OR logic)COMMENT
LOW⚡…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php701 // Step 2: Get IDs matching the scope tag using SMEMBERSCOMMENT
LOW⚡…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php708 // Step 3: Intersect to get IDs that have (tag1 OR tag2 OR ...) AND scopeTagCOMMENT
LOW⚡…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php715 // Step 4: Batch delete filtered IDsCOMMENT
LOW⚡…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php718 // Step 5: Ensure changes are committed to underlying poolCOMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php123 // Step 1: settle the fixture order — main.updated_at clearly in theCOMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php132 // Step 2: initial sync — populates the grid row.COMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php137 // Step 3: bump main.updated_at to a clearly-fresh value and changeCOMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php161 // Step 4: run cron. With the 1s buffer, this fresh row must be skipped.COMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php164 // Step 5: assert the grid row is unchanged.COMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php197 // Step 0: initial sync — grid row matches order.COMMENT
LOW…e/Magento/Catalog/Model/ResourceModel/CategoryTest.php289 // Step 1: Create NEW category with created_in = 1 (base version)COMMENT
LOW…e/Magento/Catalog/Model/ResourceModel/CategoryTest.php313 // Step 2: Update the EXISTING category (simulating a scheduled update modification)COMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php170 // Step 1: Create customer with addresses containing company names (Show Company = Optional)COMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php175 // Step 2: Verify initial addresses have company namesCOMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php188 // Step 3: Change Show Company configuration to NoCOMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php191 // Step 4: Place order with NEW shipping addressCOMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php195 // Step 5: Get the order shipping address from sales_order_addressCOMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php199 // Step 6: Verify order shipping address has NO company (via API)COMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php205 // Step 7: Verify in sales_order_address table via direct database queryCOMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php213 // Step 8: Verify order billing address still has company (from existing customer address)COMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php220 // Step 9: Verify existing customer addresses still have company (unchanged)COMMENT
LOW⚡…ustomer/Model/ResourceModel/CustomerRepositoryTest.php840 // Step 1: Customer existsCOMMENT
LOW⚡…ustomer/Model/ResourceModel/CustomerRepositoryTest.php844 // Step 2: Order created with unchanged emailCOMMENT
LOW⚡…ustomer/Model/ResourceModel/CustomerRepositoryTest.php848 // Step 3: Second order created with custom emailCOMMENT
LOW⚡…ustomer/Model/ResourceModel/CustomerRepositoryTest.php852 // Step 4: Reload customer from repository to verify email hasn't been changed yetCOMMENT
LOW⚡…ustomer/Model/ResourceModel/CustomerRepositoryTest.php857 // Step 5: Change customer email via repository (admin edit simulation)COMMENT
LOW⚡…agento/GraphQl/Quote/DeletedCustomOptionInCartTest.php117 // Step 1: Add product with customizable option to cartCOMMENT
LOW⚡…agento/GraphQl/Quote/DeletedCustomOptionInCartTest.php125 // Step 2: Delete the customizable option from the productCOMMENT
LOW⚡…agento/GraphQl/Quote/Guest/RemoveItemSavesCartTest.php76 // Step 1: Verify initial cart state (has both physical and virtual items)COMMENT
LOW⚡…agento/GraphQl/Quote/Guest/RemoveItemSavesCartTest.php92 // Step 2: Remove physical item using removeItemFromCart mutationCOMMENT
LOW⚡…agento/GraphQl/Quote/Guest/RemoveItemSavesCartTest.php99 // Step 3: CRITICAL - Re-query cart to verify state was persisted to databaseCOMMENT
Structural Annotation Overuse32 hits · 70 pts
SeverityFileLineSnippetContext
LOW⚡…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php694 // Step 1: Get IDs matching ANY of the tags using SUNION (OR logic)COMMENT
LOW⚡…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php701 // Step 2: Get IDs matching the scope tag using SMEMBERSCOMMENT
LOW⚡…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php708 // Step 3: Intersect to get IDs that have (tag1 OR tag2 OR ...) AND scopeTagCOMMENT
LOW⚡…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php715 // Step 4: Batch delete filtered IDsCOMMENT
LOW⚡…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php718 // Step 5: Ensure changes are committed to underlying poolCOMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php123 // Step 1: settle the fixture order — main.updated_at clearly in theCOMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php132 // Step 2: initial sync — populates the grid row.COMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php137 // Step 3: bump main.updated_at to a clearly-fresh value and changeCOMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php161 // Step 4: run cron. With the 1s buffer, this fresh row must be skipped.COMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php164 // Step 5: assert the grid row is unchanged.COMMENT
LOW⚡…el/Provider/UpdatedAtListProviderTiedTimestampTest.php197 // Step 0: initial sync — grid row matches order.COMMENT
LOW…e/Magento/Catalog/Model/ResourceModel/CategoryTest.php289 // Step 1: Create NEW category with created_in = 1 (base version)COMMENT
LOW…e/Magento/Catalog/Model/ResourceModel/CategoryTest.php313 // Step 2: Update the EXISTING category (simulating a scheduled update modification)COMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php170 // Step 1: Create customer with addresses containing company names (Show Company = Optional)COMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php175 // Step 2: Verify initial addresses have company namesCOMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php188 // Step 3: Change Show Company configuration to NoCOMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php191 // Step 4: Place order with NEW shipping addressCOMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php195 // Step 5: Get the order shipping address from sales_order_addressCOMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php199 // Step 6: Verify order shipping address has NO company (via API)COMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php205 // Step 7: Verify in sales_order_address table via direct database queryCOMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php213 // Step 8: Verify order billing address still has company (from existing customer address)COMMENT
LOW⚡…o/Checkout/Model/ShippingAddressWithoutCompanyTest.php220 // Step 9: Verify existing customer addresses still have company (unchanged)COMMENT
LOW⚡…ustomer/Model/ResourceModel/CustomerRepositoryTest.php840 // Step 1: Customer existsCOMMENT
LOW⚡…ustomer/Model/ResourceModel/CustomerRepositoryTest.php844 // Step 2: Order created with unchanged emailCOMMENT
LOW⚡…ustomer/Model/ResourceModel/CustomerRepositoryTest.php848 // Step 3: Second order created with custom emailCOMMENT
LOW⚡…ustomer/Model/ResourceModel/CustomerRepositoryTest.php852 // Step 4: Reload customer from repository to verify email hasn't been changed yetCOMMENT
LOW⚡…ustomer/Model/ResourceModel/CustomerRepositoryTest.php857 // Step 5: Change customer email via repository (admin edit simulation)COMMENT
LOW⚡…agento/GraphQl/Quote/DeletedCustomOptionInCartTest.php117 // Step 1: Add product with customizable option to cartCOMMENT
LOW⚡…agento/GraphQl/Quote/DeletedCustomOptionInCartTest.php125 // Step 2: Delete the customizable option from the productCOMMENT
LOW⚡…agento/GraphQl/Quote/Guest/RemoveItemSavesCartTest.php76 // Step 1: Verify initial cart state (has both physical and virtual items)COMMENT
LOW⚡…agento/GraphQl/Quote/Guest/RemoveItemSavesCartTest.php92 // Step 2: Remove physical item using removeItemFromCart mutationCOMMENT
LOW⚡…agento/GraphQl/Quote/Guest/RemoveItemSavesCartTest.php99 // Step 3: CRITICAL - Re-query cart to verify state was persisted to databaseCOMMENT
Decorative Section Separators20 hits · 60 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/pr-quality-gates.yml24 # ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml27 # ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml43 # ── Mainline alignment ──────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml86 # ── 1. Freshness check ──────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml102 # ── 2. Conflict check ───────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml111 # ── 3. Staleness warning ────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml124 # ── Detect changed files ────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml240 # ── Coding standard ─────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml465 # ── PHP syntax lint ───────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml489 # ── PHPCS ─────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml612 # ── PHPMD ────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml727 # ── strict_types ──────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml785 # ── Copyright headers ─────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml832 # ── ESLint ────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml955 # ── Linked PR aggregate gate ────────────────────────────────────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php23// ── Argument parsing ──────────────────────────────────────────────────────────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php58// ── Helpers ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php224// ── Main loop ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php253 // ── New file: must have a copyright header in current-year format ─────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php310// ── Report ────────────────────────────────────────────────────────────────────COMMENT
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICAL…o/Payment/view/frontend/web/js/view/payment/cc-form.js139 return window.checkoutConfig.payment.ccform.icons.hasOwnProperty(type) ?CODE
CRITICAL…/frontend/web/js/view/payment/method-renderer/vault.js102 return window.checkoutConfig.payment.ccform.icons.hasOwnProperty(type) ?CODE
CRITICALlib/web/jquery.js7975 jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) {CODE
CRITICALlib/web/jquery/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALlib/web/hugerte/themes/silver/theme.min.js387o.removeAllHooks=function(){E={}},o}();const Kf=e=>Xf().sanitize(e);var Jf=hugerte.util.Tools.resolve("hugerte.util.I18nCODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHlib/web/jquery/jquery-ui.js8518 // Format a name, short or long as requestedCOMMENT
HIGHlib/web/jquery/ui-modules/widgets/datepicker.js1420 // Format a name, short or long as requestedCOMMENT
AI Slop Vocabulary6 hits · 14 pts
SeverityFileLineSnippetContext
LOW…/web/swagger-ui/js/swagger-ui-standalone-preset.min.js2!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(function(){try{return require("esprimaCODE
MEDIUMlib/web/jquery.js10665// understands anonymous AMD modules. A named AMD is safest and most robustCOMMENT
LOW⚡lib/web/css/docs/typography.html11<p> To apply all Magento UI library typography, use the <code>.lib-typography-all()</code> mixin. It accumulates all tyCODE
MEDIUM⚡lib/web/hugerte/hugerte.min.js7!function(){"use strict";var e=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;returCODE
MEDIUM⚡lib/web/hugerte/hugerte.min.js7!function(){"use strict";var e=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;returCODE
MEDIUMlib/web/knockoutjs/knockout.js10 // (0, eval)('this') is a robust way of getting a reference to the global objectCOMMENT
Excessive Try-Catch Wrapping7 hits · 7 pts
SeverityFileLineSnippetContext
LOW.github/workflows/pr-quality-gates.yml547 except Exception as e:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py65 except Exception as exc:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py137 except Exception as exc:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py165 except Exception:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py192 except Exception:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py210 except Exception as exc:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py236 except Exception as exc:CODE
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOWlib/web/jquery.js4139 function getData( data ) {CODE
LOWlib/web/mage/polyfill.js101 function getData() {CODE
LOWlib/web/mage/apply/main.js59 function getData(el) {CODE
LOWlib/web/vimeo/player.js976 function processData(player, data) {CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMCHANGELOG.md976 * [#23717](https://github.com/magento/magento2/issues/23717) -- dependency injection fails for \Magento\ConfigurableCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…end/Magento/blank/web/css/source/_email-variables.less15// Example usage:COMMENT
LOWlib/web/css/source/_email-variables.less15// Example usage:COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWapp/code/Magento/Sales/Model/Order/Payment.php693 // TODO: implement multiple refunds per captureCOMMENT
LOWlib/internal/Magento/Framework/HTTP/Client/Socket.php437 // TODO: implement redirects supportCOMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWlib/internal/Magento/Framework/DB/Select.php104 * bindings, don't forget to pass the values when actuallyCOMMENT
LOW…log/Model/ResourceModel/_files/few_simple_products.php21// Create 10 products (with change this variable, don't forget to change the same in rollback)COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/pr-quality-gates.yml203 # Write file lists for coding-standard checks (avoids git diff in later steps)COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/scripts/resolve_magento_tool_constraints.py17CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/scripts/resolve_magento_tool_constraints.py70CODE