Repository Analysis

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.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of magento/magento2, a PHP project with 12,151 GitHub stars. SynthScan v2.0 examined 4,245,749 lines of code across 39346 source files, recording 20304 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 4.8 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.8
Adjusted Score
4.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
12.2K
Stars
PHP
Language
4.2M
Lines of Code
39.3K
Files
20.3K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 5HIGH 2MEDIUM 26LOW 20271

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 20304 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers18513 hits · 18625 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…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
LOW…gento/Ui/Test/Unit/Component/MassAction/FilterTest.php346 public function testGetComponentRefererUrlIsNotNull(): voidCODE
LOW…gento/Ui/Test/Unit/Component/MassAction/FilterTest.php365 public function testGetComponentRefererUrlIsNull(): voidCODE
18453 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
LOWlib/web/jquery.js881COMMENT
LOWlib/web/jquery.js1021 */COMMENT
1079 more matches not shown…
Fake / Example Data534 hits · 645 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…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
LOW…/Unit/Model/Menu/Config/_files/invalidMenuXmlArray.php384 "toolTip=\"Lorem ipsum dolor sit amet, consectetur adipisicing\" id=\"Test_Value::some_value\" " .CODE
474 more matches not shown…
Verbosity Indicators32 hits · 70 pts
SeverityFileLineSnippetContext
LOW…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php603 // Step 1: Get IDs matching ANY of the tags using SUNION (OR logic)COMMENT
LOW…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php610 // Step 2: Get IDs matching the scope tag using SMEMBERSCOMMENT
LOW…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php617 // Step 3: Intersect to get IDs that have (tag1 OR tag2 OR ...) AND scopeTagCOMMENT
LOW…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php624 // Step 4: Batch delete filtered IDsCOMMENT
LOW…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php627 // 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.php603 // Step 1: Get IDs matching ANY of the tags using SUNION (OR logic)COMMENT
LOW…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php610 // Step 2: Get IDs matching the scope tag using SMEMBERSCOMMENT
LOW…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php617 // Step 3: Intersect to get IDs that have (tag1 OR tag2 OR ...) AND scopeTagCOMMENT
LOW…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php624 // Step 4: Batch delete filtered IDsCOMMENT
LOW…e/Frontend/Adapter/SymfonyAdapters/RedisTagAdapter.php627 // 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 Separators21 hits · 63 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/pr-quality-gates.yml25 # ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml28 # ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml44 # ── Mainline alignment ──────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml84 # ── 1. Freshness check ──────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml100 # ── 2. Conflict check ───────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml109 # ── 3. Staleness warning ────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml122 # ── Detect changed files ────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml237 # ── Coding standard ─────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml417 # ── PHP syntax lint ───────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml441 # ── PHPCS ─────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml565 # ── PHPMD ────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml667 # ── strict_types ──────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml725 # ── Copyright headers ─────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml772 # ── ESLint ────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/pr-quality-gates.yml879 # ── Linked PR aggregate gate ────────────────────────────────────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php23// ── Argument parsing ──────────────────────────────────────────────────────────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php60// ── Helpers ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php226// ── Main loop ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php253 // ── Confidentiality format check (derived from template) ─────────────────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php282 // ── New file: must have a copyright header in current-year format ─────COMMENT
MEDIUM.github/scripts/check_copyright_pr.php339// ── 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
LOWlib/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
MEDIUMlib/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/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 Wrapping6 hits · 6 pts
SeverityFileLineSnippetContext
LOW.github/workflows/pr-quality-gates.yml500 except Exception as e:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py133 except Exception as exc:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py161 except Exception:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py188 except Exception:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py206 except Exception as exc:CODE
LOW.github/scripts/resolve_magento_tool_constraints.py234 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.yml200 # 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.py49CODE