Repository Analysis

PrestaShop/PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.

2.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of PrestaShop/PrestaShop, a PHP project with 9,150 GitHub stars. SynthScan v2.0 examined 2,631,459 lines of code across 11681 source files, recording 5655 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 2.5 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).

2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
9.2K
Stars
PHP
Language
2.6M
Lines of Code
11.7K
Files
5.7K
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 14HIGH 2MEDIUM 135LOW 5504

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 5655 distinct pattern matches across 15 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 Identifiers4454 hits · 4594 pts
SeverityFileLineSnippetContext
LOWinstall-dev/classes/datas.php209 public function getAndCheckArgs($argv)CODE
LOWinstall-dev/theme/js/configure.js251function getPasswordStrengthFeedback(CODE
LOWinstall-dev/controllers/http/process.php129 public function processGenerateSettingsFile()CODE
LOWinstall-dev/controllers/http/process.php167 public function processInstallDefaultData()CODE
LOWinstall-dev/controllers/console/process.php198 public function processGenerateSettingsFile()CODE
LOWinstall-dev/controllers/console/process.php223 public function processInstallDefaultData()CODE
LOWinstall-dev/controllers/console/process.php389 private function rebootWithoutTranslationsCache()CODE
LOWtools/profiling/Tools.php48 public static function getDefaultControllerClass()CODE
LOWapp/AppKernel.php133 public function registerContainerConfiguration(LoaderInterface $loader)CODE
LOWapp/AppKernel.php289 private function enableComposerAutoloaderOnModules($modules)CODE
LOWclasses/Category.php866 public static function getSimpleCategoriesWithParentInfos($idLang)CODE
LOWclasses/Category.php1251 public static function getChildrenWithNbSelectedSubCat($idParent, $selectedCategory, $idLang, ?Shop $shop = null, $uCODE
LOWclasses/Category.php1296 public static function duplicateProductCategories($idOld, $idNew)CODE
LOWclasses/Category.php1493 public static function searchByNameAndParentCategoryId($idLang, $categoryName, $idParentCategory)CODE
LOWclasses/Category.php2154 public function isParentCategoryAvailable()CODE
LOWclasses/Category.php2223 public static function getCategoriesWithoutParent()CODE
LOWclasses/Access.php223 public static function getAuthorizationFromLegacy($legacyAuth)CODE
LOWclasses/PhpEncryptionEngine.php73 public static function saveBytesToChecksummedAsciiSafeString($header, $bytes)CODE
LOWclasses/ProductAssembler.php67 private function addMissingProductFieldsForMultipleProducts(array $rawProducts): arrayCODE
LOWclasses/Group.php171 public static function getDefaultPriceDisplayMethod()CODE
LOWclasses/Group.php302 public static function truncateModulesRestrictions($id_group)CODE
LOWclasses/Group.php316 public static function truncateRestrictionsByModule($id_module)CODE
LOWclasses/Group.php470 public function truncateSpecificPriceRules(): boolCODE
LOWclasses/Cart.php5039 protected function mergeGiftsProductsQuantity()CODE
LOWclasses/Cart.php5049 protected function excludeGiftsDiscountFromTotal()CODE
LOWclasses/Cart.php5059 protected function includeGiftsDiscountInTotal()CODE
LOWclasses/Cart.php245 public function resetProductRelatedStaticCache()CODE
LOWclasses/Cart.php418 public function getAverageProductsTaxRate(&$cartAmountTaxExcluded = null, &$cartAmountTaxIncluded = null)CODE
LOWclasses/Cart.php1486 protected function checkCartRuleCompatibility($cartRuleId)CODE
LOWclasses/Cart.php1535 protected function getDiscountApplicationService()CODE
LOWclasses/Cart.php2168 public static function getOrderTotalUsingTaxCalculationMethod($id_cart)CODE
LOWclasses/Cart.php2405 public function getDiscountSubtotalWithoutGifts($withTaxes = true)CODE
LOWclasses/Cart.php2449 protected function getTotalCalculationCartRules($type, $withShipping)CODE
LOWclasses/Cart.php3294 public function simulateCarrierSelectedOutput($use_cache = true)CODE
LOWclasses/Cart.php3422 protected function getIdCarrierFromDeliveryOption($delivery_option)CODE
LOWclasses/Cart.php3648 protected function getPackageShippingCostValue(CODE
LOWclasses/Cart.php4031 protected function getPackageShippingCostFromModule(Carrier $carrier, $shipping_cost, $products)CODE
LOWclasses/Cart.php4497 public function deleteCustomizationToProduct($id_product, $index)CODE
LOWclasses/Cart.php4784 public function setProductAddressDelivery($id_product, $id_product_attribute, $old_id_address_delivery, $new_id_addrCODE
LOWclasses/Cart.php4800 public function setProductCustomizedDatas(&$product, $customized_datas)CODE
LOWclasses/Cart.php4936 public function checkAllProductsAreStillAvailableInThisState()CODE
LOWclasses/Cart.php4995 public function checkAllProductsHaveMinimalQuantities()CODE
LOWclasses/Cart.php5027 protected function splitGiftsProductsQuantity()CODE
LOWclasses/Cart.php5072 public function getProductsWithSeparatedGifts()CODE
LOWclasses/Cart.php5238 public function getProductQuantityInAllVariants($idProduct)CODE
LOWclasses/Link.php70 public function getProductDeletePictureLink($product, $idPicture)CODE
LOWclasses/Product.php1784 public function generateMultipleCombinations($combinations, $attributes, $resetExistingCombination = true)CODE
LOWclasses/Product.php1832 public function sortCombinationByAttributePosition($combinations, $langId)CODE
LOWclasses/Product.php2421 public function deleteAttributeCombination($id_product_attribute)CODE
LOWclasses/Product.php2612 public function getAttributeCombinationsById($id_product_attribute, $id_lang, $groupByIdAttributeGroup = true)CODE
LOWclasses/Product.php4015 public function getIdProductAttributeMostExpensive()CODE
LOWclasses/Product.php4032 public function getDefaultIdProductAttribute()CODE
LOWclasses/Product.php4108 public static function displayWtPriceWithCurrency($params, &$smarty)CODE
LOWclasses/Product.php4230 public static function isAvailableWhenOutOfStock($out_of_stock)CODE
LOWclasses/Product.php4448 public function deleteCarrierRestrictions()CODE
LOWclasses/Product.php4580 public static function changeAccessoriesForProduct($accessories_id, $product_id)CODE
LOWclasses/Product.php5247 public static function duplicateCustomizationFields($old_product_id, $product_id)CODE
LOWclasses/Product.php5353 public static function duplicateAttachmentAssociation(int $oldProductId, int $newProductId): boolCODE
LOWclasses/Product.php5886 public function getAssociatedAttachmentIds(): arrayCODE
LOWclasses/Product.php6079 public static function addProductCustomizationPrice(&$product, &$customized_datas)CODE
4394 more matches not shown…
Fake / Example Data946 hits · 1298 pts
SeverityFileLineSnippetContext
LOWinstall-dev/langs/sk/data/cms.xml21<p class="bottom-indent">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod temporCODE
LOWinstall-dev/langs/sk/data/cms.xml21<p class="bottom-indent">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod temporCODE
LOWinstall-dev/langs/sk/data/cms.xml23<p class="bottom-indent">Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mCODE
LOWinstall-dev/langs/sk/data/cms.xml23<p class="bottom-indent">Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mCODE
LOWinstall-dev/langs/sk/data/cms.xml25<p class="bottom-indent">Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quCODE
LOWinstall-dev/langs/sk/data/cms.xml25<p class="bottom-indent">Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quCODE
LOWinstall-dev/langs/sk/data/cms.xml36<p><strong class="dark">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tCODE
LOWinstall-dev/langs/sk/data/cms.xml36<p><strong class="dark">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tCODE
LOWinstall-dev/langs/sk/data/cms.xml37<p>Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore CODE
LOWinstall-dev/langs/sk/data/cms.xml37<p>Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore CODE
LOWinstall-dev/langs/sk/data/cms.xml56<div class="inner"><span class="before">“</span>Lorem ipsum dolor sit amet conse cCODE
LOWinstall-dev/langs/sk/data/cms.xml56<div class="inner"><span class="before">“</span>Lorem ipsum dolor sit amet conse cCODE
LOWinstall-dev/langs/sk/data/cms.xml58<p><strong class="dark">Lorem ipsum dolor sit</strong></p>CODE
LOWinstall-dev/langs/sk/data/cms.xml60<div class="inner"><span class="before">“</span>Excepteur sint occaecat cupidatat CODE
LOWinstall-dev/langs/sk/data/cms.xml60<div class="inner"><span class="before">“</span>Excepteur sint occaecat cupidatat CODE
LOWinstall-dev/langs/vn/data/cms.xml20<p class="bottom-indent">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod temporCODE
LOWinstall-dev/langs/vn/data/cms.xml20<p class="bottom-indent">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod temporCODE
LOWinstall-dev/langs/vn/data/cms.xml22<p class="bottom-indent">Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mCODE
LOWinstall-dev/langs/vn/data/cms.xml22<p class="bottom-indent">Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mCODE
LOWinstall-dev/langs/vn/data/cms.xml24<p class="bottom-indent">Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quCODE
LOWinstall-dev/langs/vn/data/cms.xml24<p class="bottom-indent">Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quCODE
LOWinstall-dev/langs/vn/data/cms.xml35<p><strong class="dark">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tCODE
LOWinstall-dev/langs/vn/data/cms.xml35<p><strong class="dark">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tCODE
LOWinstall-dev/langs/vn/data/cms.xml36<p>Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore CODE
LOWinstall-dev/langs/vn/data/cms.xml36<p>Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore CODE
LOWinstall-dev/langs/vn/data/cms.xml55<div class="inner"><span class="before">“</span>Lorem ipsum dolor sit amet conse cCODE
LOWinstall-dev/langs/vn/data/cms.xml55<div class="inner"><span class="before">“</span>Lorem ipsum dolor sit amet conse cCODE
LOWinstall-dev/langs/vn/data/cms.xml57<p><strong class="dark">Lorem ipsum dolor sit</strong></p>CODE
LOWinstall-dev/langs/vn/data/cms.xml59<div class="inner"><span class="before">“</span>Excepteur sint occaecat cupidatat CODE
LOWinstall-dev/langs/vn/data/cms.xml59<div class="inner"><span class="before">“</span>Excepteur sint occaecat cupidatat CODE
LOWinstall-dev/langs/sv/data/cms.xml20<p class="bottom-indent">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod temporCODE
LOWinstall-dev/langs/sv/data/cms.xml20<p class="bottom-indent">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod temporCODE
LOWinstall-dev/langs/sv/data/cms.xml22<p class="bottom-indent">Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mCODE
LOWinstall-dev/langs/sv/data/cms.xml22<p class="bottom-indent">Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mCODE
LOWinstall-dev/langs/sv/data/cms.xml24<p class="bottom-indent">Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quCODE
LOWinstall-dev/langs/sv/data/cms.xml24<p class="bottom-indent">Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quCODE
LOWinstall-dev/langs/sv/data/cms.xml35<p><strong class="dark">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tCODE
LOWinstall-dev/langs/sv/data/cms.xml35<p><strong class="dark">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tCODE
LOWinstall-dev/langs/sv/data/cms.xml36<p>Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore CODE
LOWinstall-dev/langs/sv/data/cms.xml36<p>Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore CODE
LOWinstall-dev/langs/sv/data/cms.xml55<div class="inner"><span class="before">“</span>Lorem ipsum dolor sit amet conse cCODE
LOWinstall-dev/langs/sv/data/cms.xml55<div class="inner"><span class="before">“</span>Lorem ipsum dolor sit amet conse cCODE
LOWinstall-dev/langs/sv/data/cms.xml57<p><strong class="dark">Lorem ipsum dolor sit</strong></p>CODE
LOWinstall-dev/langs/sv/data/cms.xml59<div class="inner"><span class="before">“</span>Excepteur sint occaecat cupidatat CODE
LOWinstall-dev/langs/sv/data/cms.xml59<div class="inner"><span class="before">“</span>Excepteur sint occaecat cupidatat CODE
LOWinstall-dev/langs/he/data/cms.xml20<p class="bottom-indent">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod temporCODE
LOWinstall-dev/langs/he/data/cms.xml20<p class="bottom-indent">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod temporCODE
LOWinstall-dev/langs/he/data/cms.xml22<p class="bottom-indent">Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mCODE
LOWinstall-dev/langs/he/data/cms.xml22<p class="bottom-indent">Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mCODE
LOWinstall-dev/langs/he/data/cms.xml24<p class="bottom-indent">Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quCODE
LOWinstall-dev/langs/he/data/cms.xml24<p class="bottom-indent">Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quCODE
LOWinstall-dev/langs/he/data/cms.xml35<p><strong class="dark">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tCODE
LOWinstall-dev/langs/he/data/cms.xml35<p><strong class="dark">Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tCODE
LOWinstall-dev/langs/he/data/cms.xml36<p>Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore CODE
LOWinstall-dev/langs/he/data/cms.xml36<p>Lorem ipsum dolor sit amet conse ctetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore CODE
LOWinstall-dev/langs/he/data/cms.xml55<div class="inner"><span class="before">“</span>Lorem ipsum dolor sit amet conse cCODE
LOWinstall-dev/langs/he/data/cms.xml55<div class="inner"><span class="before">“</span>Lorem ipsum dolor sit amet conse cCODE
LOWinstall-dev/langs/he/data/cms.xml57<p><strong class="dark">Lorem ipsum dolor sit</strong></p>CODE
LOWinstall-dev/langs/he/data/cms.xml59<div class="inner"><span class="before">“</span>Excepteur sint occaecat cupidatat CODE
LOWinstall-dev/langs/he/data/cms.xml59<div class="inner"><span class="before">“</span>Excepteur sint occaecat cupidatat CODE
886 more matches not shown…
Decorative Section Separators122 hits · 298 pts
SeverityFileLineSnippetContext
MEDIUMapp/config/admin-api/services.yml87 # ─── Extra properties (Admin API bridge) ─────────────────────────────────────COMMENT
MEDIUM…Bundle/Translation/Loader/SqlTranslationLoaderTest.php91 // ── scenario 1 ────────────────────────────────────────────────────────────COMMENT
MEDIUM…Bundle/Translation/Loader/SqlTranslationLoaderTest.php114 // ── scenario 2 — primary cold-cache bug ───────────────────────────────────COMMENT
MEDIUM…Bundle/Translation/Loader/SqlTranslationLoaderTest.php130 // ── scenario 3 — Bug A (wrong column name) ────────────────────────────────COMMENT
MEDIUM…Bundle/Translation/Loader/SqlTranslationLoaderTest.php145 // ── scenario 4 & 5 — override precedence ─────────────────────────────────COMMENT
MEDIUM…Bundle/Translation/Loader/SqlTranslationLoaderTest.php171 // ── scenario 6 — multishop ────────────────────────────────────────────────COMMENT
MEDIUM…Bundle/Translation/Loader/SqlTranslationLoaderTest.php202 // ── scenario 7 — inactive shop theme excluded ─────────────────────────────COMMENT
MEDIUM…Bundle/Translation/Loader/SqlTranslationLoaderTest.php215 // ── helpers ───────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release-healthcheck.yml47 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml50 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml97 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml99 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml145 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml147 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml209 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml212 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml295 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml298 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml355 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml357 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml405 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-healthcheck.yml407 # ---------------------------------------------------------------------------COMMENT
MEDIUM.ai/bin/generate-ai-index.sh33# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh35# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh65# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh67# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh158# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh160# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh248# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh250# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh318# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh320# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh392# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh394# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh421# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh423# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh461# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM.ai/bin/generate-ai-index.sh463# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php2851## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php2858## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php2865## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php2872## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php2879## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php87 # -------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php98 # -------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php109 # -------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php197## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php252## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php376## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php407## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php431## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php462## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php566## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php630## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php651## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php672## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php734## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php792## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php838 ## --------------------------------------------------------COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php849## --------------------------------------------------------COMMENT
62 more matches not shown…
Hallucination Indicators14 hits · 140 pts
SeverityFileLineSnippetContext
CRITICALjs/jquery/jquery-3.7.1.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALjs/jquery/ui/jquery-ui.min.js5!function(a,b){function e(b,c){var d,e,g,h=b.nodeName.toLowerCase();return"area"===h?(d=b.parentNode,e=d.name,!(!b.href|CODE
CRITICALjs/jquery/ui/jquery-ui.min.js10b._trigger("dragStart",c,d(e))},drag:function(a,c){b._trigger("drag",a,d(c))},stop:function(e,f){c.position=[f.position.CODE
CRITICALjs/jquery/ui/jquery.ui.position.min.js4(function(t,e){function i(t,e,i){return[parseFloat(t[0])*(p.test(t[0])?e/100:1),parseFloat(t[1])*(p.test(t[1])?i/100:1)]CODE
CRITICALjs/jquery/ui/jquery.ui.draggable.min.js4(function(e){e.widget("ui.draggable",e.ui.mouse,{version:"1.10.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendCODE
CRITICALadmin-dev/filemanager/js/jquery.ui.position.min.js1(function(e,t){function h(e,t,n){return[parseInt(e[0],10)*(l.test(e[0])?t/100:1),parseInt(e[1],10)*(l.test(e[1])?n/100:1CODE
CRITICALadmin-dev/filemanager/jPlayer/jquery.jplayer.min.js87(this.internal.fullscreenchangeHandler=function(){a._fullscreenchange()}),document.addEventListener(c.event.fullscreenchCODE
CRITICAL…v/themes/new-theme/js/components/modal/iframe-modal.ts270 return this.modal.iframe.contentWindow.document.querySelector(this.autoSizeContainer);CODE
CRITICAL…themes/new-theme/js/components/modal/progress-modal.ts468 this.modal.progressView.lastError.classList.remove('d-none');CODE
CRITICAL…themes/new-theme/js/components/modal/progress-modal.ts471 this.modal.progressView.switchToErrorButton.classList.remove('d-none');CODE
CRITICAL…themes/new-theme/js/components/modal/progress-modal.ts528 this.modal.progressView.abortProcessingButton.classList.add('d-none');CODE
CRITICAL…themes/new-theme/js/components/modal/progress-modal.ts529 this.modal.progressView.closeModalButton.classList.remove('d-none');CODE
CRITICAL…in-dev/themes/default/js/jquery.fileupload-validate.js30 $.blueimp.fileupload.prototype.options.processQueue.push(CODE
CRITICALadmin-dev/themes/default/js/jquery.fileupload-image.js36 $.blueimp.fileupload.prototype.options.processQueue.unshift(CODE
Over-Commented Block74 hits · 62 pts
SeverityFileLineSnippetContext
LOWinstall-dev/theme/js/zxcvbn-core.js1481 // the optimal "minimum guesses" sequence is here defined to be the sequence thatCOMMENT
LOWclasses/exception/PrestaShopException.php21 } elseif (_PS_MODE_DEV_) {COMMENT
LOWjs/jquery/plugins/jstree/themes/apple/style.css41COMMENT
LOWjs/jquery/plugins/jstree/themes/classic/style.css41#vakata-dragged.jstree-classic ins { background:transparent !important; }COMMENT
LOWjs/jquery/plugins/jstree/themes/default/style.css41#vakata-dragged.jstree-default .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; }COMMENT
LOWjs/jquery/plugins/jstree/themes/default-rtl/style.css41#vakata-dragged.jstree-default-rtl .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; }COMMENT
LOWjs/jquery/plugins/alerts/jquery.alerts.js1// jQuery Alert Dialogs PluginCOMMENT
LOWjs/cropper/scriptaculous.js1// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)COMMENT
LOWtests/UI/campaigns/functional/API/02_checkEndpoints.ts141 '/customers: POST',COMMENT
LOWtests/UI/campaigns/functional/API/02_checkEndpoints.ts261 '/search-aliases: POST',COMMENT
LOWtests/Resources/themes/classic/config/theme.yml21 layout-left-column:COMMENT
LOW.github/release-bootstrap/transform-ga-tests-ui-pr.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-bootstrap/transform-translationtool.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-bootstrap/transform-kanbanbot.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-bootstrap/transform-docker.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-bootstrap/lib.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-bootstrap/transform-ps-apiresources.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-bootstrap/transform-core.sh1#!/usr/bin/env bashCOMMENT
LOW.github/workflows/protect_localization_packs.yml1name: Protect localization packsCOMMENT
LOW.github/workflows/version-branch-bootstrap.yml1# Version-branch bootstrap (issue #41818)COMMENT
LOW.github/workflows/release-healthcheck.yml1name: Release HealthcheckCOMMENT
LOW.github/workflows/sync_localization_files.yml1name: Sync localization files from LocalizationFilesCOMMENT
LOW.github/release-healthcheck/dependencies.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-healthcheck/ci-status.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-healthcheck/run-tier.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-healthcheck/render.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-healthcheck/generated-files.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-healthcheck/lib.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-healthcheck/cross-repo-readiness.sh1#!/usr/bin/env bashCOMMENT
LOW.github/release-healthcheck/derive.sh1#!/usr/bin/env bashCOMMENT
LOW.ai/bin/generate-ai-index.sh1#!/usr/bin/env bashCOMMENT
LOWcontrollers/admin/AdminStoresController.php521 // 'PS_SHOP_ADDR2' => 'address2',COMMENT
LOWadmin-dev/filemanager/config/config.php61// DON'T COPY THIS VARIABLES IN FOLDERS config.php FILESCOMMENT
LOWadmin-dev/filemanager/config/config.php101COMMENT
LOWadmin-dev/filemanager/config/config.php181//Thumbnail for external use creationCOMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php1<?phpCOMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php21 # $magicianObj = new resize('images/car.jpg');COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php41 # -COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php61 # * Minor bug fixesCOMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php81 # * Added setFillColor() set method - set theCOMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php101 # parameter. If disabled, if an images original size is smaller than the sizeCOMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php121 # - Resize modes:COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php141 # - f-stopCOMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php261 }COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php281 #COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php381 # Purpose: Crops the imageCOMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php461COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php561 }COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php741 # Param out: Array of optimal width and height (fig 2)COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php961 public function greyScale()COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php1421/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*-*-*-*-COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php1561COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php2101COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php2241 # r = right,COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php2281COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php2381COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php2521 {COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php2701COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php2821## --------------------------------------------------------COMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php2901 }COMMENT
14 more matches not shown…
Verbosity Indicators14 hits · 24 pts
SeverityFileLineSnippetContext
LOWclasses/Cart.php4047 * We need to check if the property exists because not all carrier modules have this property.COMMENT
LOWclasses/Cookie.php362 * We need to check if the new cookie will be compliant with RFC 2965, maximum of 4096 bytesCOMMENT
LOWclasses/CartRule.php976 * Now, we need to check if the cart rule meets the minimum requirements to use it.COMMENT
LOWjs/jquery/ui/jquery-ui.js13433 // IE sets focus asynchronously, so we need to check if focusCOMMENT
LOWjs/jquery/plugins/jstree/jquery.jstree.js1415 // this variable stores the path to the themes folder - if left as false - it will be autodetectedCOMMENT
LOWcontrollers/front/RegistrationController.php58 // Before that, we need to check if 'back' is legit URL that is on OUR domain, with the right protocolCOMMENT
LOW…apter/Order/QueryHandler/GetOrderForViewingHandler.php574 // We need to check if this module is still installed and if it implements the methodCOMMENT
LOWsrc/Adapter/Discount/Validate/DiscountValidator.php277 // So, we need to check if discountRepository property is set before use this function!COMMENT
LOWsrc/Adapter/Carrier/Repository/CarrierRepository.php413 // Step 1: Get all active carriers onceCOMMENT
LOWsrc/Adapter/Carrier/Repository/CarrierRepository.php416 // Step 2: Initialize mapping with all carriers for each productCOMMENT
LOWsrc/Adapter/Carrier/Repository/CarrierRepository.php422 // Step 3: Get restricted carriers for certain productsCOMMENT
LOWsrc/Adapter/Carrier/Repository/CarrierRepository.php426 // Step 4: Override default mapping with restricted carriers where applicableCOMMENT
LOW…dapter/Customer/CommandHandler/EditCustomerHandler.php58 // If dealing with a registered customer, we need to check if the email does not exist.COMMENT
LOW…Adapter/Customer/CommandHandler/AddCustomerHandler.php69 // If dealing with a registered customer, we need to check if the email does not exist.COMMENT
Self-Referential Comments6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMclasses/Tools.php2434 fwrite($write_fd, "# This file is to prevent the crawling and indexing of certain parts\n");CODE
MEDIUM…module-self-config-files/moduleConfExampleConfStep.yml1# This file is an example of data configuration which can be applied to a moduleCOMMENT
MEDIUM…sources/module-self-config-files/moduleConfExample.yml1# This file is an example of data configuration which can be applied to a moduleCOMMENT
MEDIUM.github/workflows/phpunit/parameters.yml1# This file is used by GitHub Actions.COMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php31 # The following functions are taken from phpThumb() [available fromCOMMENT
MEDIUMadmin-dev/filemanager/include/php_image_magician.php38 # The following functions are from Marc Hibbins and are used with writtenCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHjs/jquery/ui/jquery-ui.js8906 // Format a name, short or long as requestedCOMMENT
HIGHadmin-dev/filemanager/include/php_image_magician.php740 # Param in: width and height as requested by user (fig 3)COMMENT
Structural Annotation Overuse7 hits · 14 pts
SeverityFileLineSnippetContext
LOWclasses/Cart.php2739 // Step 1 - We assign some basic information (load their carriers) to products and separate them by their stock COMMENT
LOWclasses/Cart.php2785 // Step 2 - We divide those two groups once more into groups by their carriers.COMMENT
LOWclasses/Cart.php2856 // Step 4 - Reduce depth of $package_listCOMMENT
LOWsrc/Adapter/Carrier/Repository/CarrierRepository.php413 // Step 1: Get all active carriers onceCOMMENT
LOWsrc/Adapter/Carrier/Repository/CarrierRepository.php416 // Step 2: Initialize mapping with all carriers for each productCOMMENT
LOWsrc/Adapter/Carrier/Repository/CarrierRepository.php422 // Step 3: Get restricted carriers for certain productsCOMMENT
LOWsrc/Adapter/Carrier/Repository/CarrierRepository.php426 // Step 4: Override default mapping with restricted carriers where applicableCOMMENT
Modern AI Meta-Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMinstall-dev/theme/js/zxcvbn-language-common.js7 var passwords = "123456,password,12345678,qwerty,123456789,12345,1234,111111,1234567,dragon,123123,baseball,abc123,footCODE
MEDIUMdocs/CHANGELOG.txt2291 - #32450: [BC Break] Use dependency injection inside controllers (by @FabienPapet)CODE
MEDIUM.github/workflows/release-healthcheck.yml15# All check logic lives in .github/release-healthcheck/*.sh; this workflow only orchestratesCOMMENT
MEDIUM…opBundle/Resources/config/services/bundle/open_api.yml71 # Schema adapter chains - orchestrates adapters in the correct orderCOMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMjs/jquery/plugins/autocomplete/jquery.autocomplete.js334 // try to leverage ajaxQueue plugin to abort previous requestsCOMMENT
MEDIUMjs/tiny_mce/tinymce.min.js2!function(V){"use strict";var o=function(){},H=function(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)eCODE
MEDIUMjs/tiny_mce/tinymce.min.js2!function(V){"use strict";var o=function(){},H=function(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)eCODE
Slop Phrases5 hits · 7 pts
SeverityFileLineSnippetContext
LOWconfig/defines.inc.php12 * Don't forget to disable debug mode in production - produces a significant performance hit.COMMENT
LOWclasses/webservice/WebserviceOutputBuilder.php111 * If this method is overrided don't forget to check required specific params (for xml etc...)COMMENT
LOWjs/tools.js120 // if you modified this function, don't forget to modify the PHP function displayPrice (in the Tools.php class)COMMENT
LOW.github/workflows/notify_for_autoupgrade_pr_label.yml60 Don't forget to add a comment in this current thread with the link to this PR once it has been created.<br/>CODE
LOW…-dev/themes/new-theme/js/pages/image-settings/index.ts57 // Don't forget to show the "all" optionCOMMENT
Redundant / Tautological Comments2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/assets/build.sh60# Check if asset needs to be builtCOMMENT
LOWadmin-dev/filemanager/include/php_image_magician.php3093 # Check if a string starts with a specific patternCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWjs/jquery/plugins/jquery.dragtable.js44 //TODO: implement thisCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.ai/bin/generate-ai-index.sh7# Usage:COMMENT