Repository Analysis

phpmyadmin/phpmyadmin

A web interface for MySQL and MariaDB

3.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of phpmyadmin/phpmyadmin, a PHP project with 7,902 GitHub stars. SynthScan v2.0 examined 332,380 lines of code across 1513 source files, recording 1176 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 3.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).

3.5
Adjusted Score
3.5
Raw Score
100%
Time Factor
2026-07-12
Last Push
7.9K
Stars
PHP
Language
332.4K
Lines of Code
1.5K
Files
1.2K
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 1HIGH 0MEDIUM 2LOW 1173

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 1176 distinct pattern matches across 8 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 Identifiers1127 hits · 1100 pts
SeverityFileLineSnippetContext
LOWresources/js/gis_data_editor.ts17function disposeGISEditorVisualization () {CODE
LOWresources/js/gis_data_editor.ts27function initGISEditorVisualization (olData: OlData) {CODE
LOWresources/js/gis_data_editor.ts125function makeMultiLineStringInputs (prefix: string, data): string {CODE
LOWresources/js/gis_data_editor.ts206function makeGeometryCollectionGeometryInputs (prefix: string, index: number, data): string {CODE
LOWresources/js/gis_data_editor.ts225function makeGeometryCollectionInputs (prefix: string, data): string {CODE
LOWresources/js/export.ts16function disableDumpSomeRowsSubOptions () {CODE
LOWresources/js/export.ts26function enableDumpSomeRowsSubOptions () {CODE
LOWresources/js/export.ts372function setupTableStructureOrData () {CODE
LOWresources/js/export.ts531function checkTableSelectStructureOrData () {CODE
LOWresources/js/datetimepicker.ts3function registerDatePickerTranslations () {CODE
LOWresources/js/datetimepicker.ts82function registerTimePickerTranslations () {CODE
LOWresources/js/validator-messages.ts3function extendingValidatorMessages () {CODE
LOWresources/js/triggers.ts167 function triggersEditorModalSaveEventHandler () {CODE
LOWresources/js/database/structure.ts88function addTooltipToFavoriteIcons (): void {CODE
LOWresources/js/database/events.ts160 function eventsEditorModalSaveEventHandler () {CODE
LOWresources/js/server/privileges.ts25function exportPrivilegesModalHandler (data, msgbox) {CODE
LOWresources/js/server/status/monitor.ts31function serverResponseErrorModalReloadEventHandler () {CODE
LOWresources/js/server/status/monitor.ts662 function monitorImportConfigImportEventHandler () {CODE
LOWresources/js/server/status/monitor.ts1378 function logAnalyseModalSlowLogEventHandler () {CODE
LOWresources/js/server/status/monitor.ts1383 function logAnalyseModalGeneralLogEventHandler () {CODE
LOWresources/js/server/status/monitor.ts1782 function analysingLogsLogDataLoadedModalJumpEventHandler () {CODE
LOWresources/js/server/status/monitor.ts2079 function queryAnalyzerModalSaveEventHandler () {CODE
LOWresources/js/table/change.ts165function verifyAfterSearchFieldChange (index, searchFormId) {CODE
LOWresources/js/table/change.ts325function verificationsAfterFieldChange (urlField, multiEdit, theType) {CODE
LOWresources/js/table/change.ts709function addNewContinueInsertionFields (event) {CODE
LOWresources/js/table/operations.ts263 function submitPartitionMaintenance () {CODE
LOWresources/js/modules/navigation.ts521 function loadAndHighlightTableOrView ($dbItem, itemName) {CODE
LOWresources/js/modules/functions.ts469export function displayPasswordGenerateButton () {CODE
LOWresources/js/modules/functions.ts934export function getCheckAllCheckboxEventHandler () {CODE
LOWresources/js/modules/functions.ts1069export function getForeignKeyCheckboxLoader () {CODE
LOWresources/js/modules/functions.ts1095export function teardownSqlQueryEditEvents () {CODE
LOWresources/js/modules/functions.ts1206export function codeMirrorAutoCompleteOnInputRead (instance) {CODE
LOWresources/js/modules/functions.ts1305function bindCodeMirrorToInlineEditor () {CODE
LOWresources/js/modules/functions.ts1326function catchKeypressesFromSqlInlineEdit (event) {CODE
LOWresources/js/modules/functions.ts1607function resetAttributeForNonNumericType ($typeSelector) {CODE
LOWresources/js/modules/functions.ts1678function createFunctionConfirmModal (): void {CODE
LOWresources/js/modules/functions.ts1796export function teardownCreateTableEvents (): void {CODE
LOWresources/js/modules/functions.ts1912 function submitChangesInCreateTableForm (actionParam) {CODE
LOWresources/js/modules/functions.ts2034export function shouldShowEmptyPasswordWarning (form): boolean {CODE
LOWresources/js/modules/functions.ts2038export function onloadChangePasswordEvents (): void {CODE
LOWresources/js/modules/functions.ts2186export function teardownEnumSetEditorMessage (): void {CODE
LOWresources/js/modules/functions.ts2198export function onloadEnumSetEditorMessage (): void {CODE
LOWresources/js/modules/functions.ts3098export function getPageSelectorEventHandler () {CODE
LOWresources/js/modules/functions.ts3112export function teardownRecentFavoriteTables (): void {CODE
LOWresources/js/modules/functions.ts3116export function onloadRecentFavoriteTables (): void {CODE
LOWresources/js/modules/functions.ts3356export function getAutoSubmitEventHandler () {CODE
LOWresources/js/modules/functions.ts3458export function getCheckAllBoxEventHandler () {CODE
LOWresources/js/modules/functions.ts3469export function getCheckAllFilterEventHandler () {CODE
LOWresources/js/modules/functions.ts3503export function getSubCheckAllBoxEventHandler () {CODE
LOWresources/js/modules/functions.ts3522export function getFilterTextEventHandler () {CODE
LOWresources/js/modules/functions.ts3621export function toggleDatepickerIfInvalid ($td, $inputField) {CODE
LOWresources/js/modules/functions.ts3659export function getKeyboardFormSubmitEventHandler () {CODE
LOWresources/js/modules/functions.ts3682export function getSslPasswordEventHandler () {CODE
LOWresources/js/modules/functions.ts3692export function teardownSortLinkMouseEvent () {CODE
LOWresources/js/modules/navigation/event-loader.ts9function updateFavoriteTableButton (buttonId: string, htmlContent: string): void {CODE
LOW…s/js/modules/navigation/updateNavigationWidthConfig.ts5export default function updateNavigationWidthConfig (value: number): void {CODE
LOWtests/unit/SqlQueryFormTest.php85 public function testPMAGetHtmlForSqlQueryFormInsert(): voidCODE
LOWtests/unit/SqlQueryFormTest.php125 public function testPMAGetHtmlForSqlQueryForm(): voidCODE
LOWtests/unit/StorageEngineTest.php156 public function testGetVariablesLikePattern(): voidCODE
LOWtests/unit/StorageEngineTest.php189 public function testGetSupportInformationMessage(): voidCODE
1067 more matches not shown…
Fake / Example Data16 hits · 24 pts
SeverityFileLineSnippetContext
LOWtests/unit/GitTest.php184 'name' => 'John Doe',CODE
LOWtests/unit/GitTest.php185 'email' => 'john.doe@example.org',CODE
LOWtests/unit/GitTest.php480 'name' => 'John Doe',CODE
LOWtests/unit/GitTest.php481 'email' => 'john.doe@example.org',CODE
LOWtests/unit/GitTest.php620 'name' => 'John Doe',CODE
LOWtests/unit/GitTest.php621 'email' => 'john.doe@example.org',CODE
LOWtests/unit/Command/WriteGitRevisionCommandTest.php109 'John Doe', // Author nameCODE
LOWtests/unit/Command/WriteGitRevisionCommandTest.php110 'john.doe@example.org', // Author emailCODE
LOWsrc/Plugins/Import/ImportOds.php221 // Example: <text:a ... xlink:href="mailto:contact@example.org">test@example.fr</text:a>COMMENT
LOWsrc/Dbal/DatabaseInterface.php1131 * // $user_name = 'John Doe'COMMENT
LOWsrc/Dbal/DatabaseInterface.php1159 * // $user = array('id' => 123, 'name' => 'John Doe')COMMENT
LOWsrc/Dbal/DatabaseInterface.php1202 * // $users['123'] = array('id' => 123, 'name' => 'John Doe')COMMENT
LOWsrc/Dbal/DatabaseInterface.php1207 * // $users['123'] = array(0 => 123, 1 => 'John Doe')COMMENT
LOWsrc/Dbal/DatabaseInterface.php1214 * // $users['123'] = 'John Doe'COMMENT
LOWsrc/Dbal/DatabaseInterface.php1255 * // $users['admin'][] = 'John Doe'COMMENT
LOWsrc/Dbal/DatabaseInterface.php1260 * // $users['admin']['John Doe'] = '123'COMMENT
Over-Commented Block20 hits · 20 pts
SeverityFileLineSnippetContext
LOWconfig.sample.inc.php41// $cfg['Servers'][$i]['controluser'] = 'pma';COMMENT
LOWbin/transformations_generator_plugin.sh1#!/bin/bashCOMMENT
LOWresources/js/sql.ts581 * Attach Event Handler for 'Copy to clipboard'COMMENT
LOWtests/unit/LinterTest.php41 {COMMENT
LOW…/Plugins/Transformations/TransformationPluginsTest.php61#[CoversClass(TransformationsPlugin::class)]COMMENT
LOW…/Plugins/Transformations/TransformationPluginsTest.php81#[CoversClass(Text_Plain_Iptolong::class)]COMMENT
LOWdocs/conf.py1# -*- coding: utf-8 -*-COMMENT
LOWdocs/conf.py41COMMENT
LOWdocs/conf.py61COMMENT
LOWdocs/conf.py81#add_module_names = TrueCOMMENT
LOWdocs/conf.py121# A shorter title for the navigation bar. Default is the same as html_title.COMMENT
LOWdocs/conf.py141#html_extra_path = []COMMENT
LOWdocs/conf.py161# If false, no index is generated.COMMENT
LOWdocs/conf.py201# Grouping the document tree into LaTeX files. List of tuplesCOMMENT
LOWdocs/conf.py281#epub_identifier = ''COMMENT
LOWsrc/Sql.php641 // if we did not append a limit, set this to get a correctCOMMENT
LOWsrc/Linter.php41COMMENT
LOW…/Transformations/Abs/ExternalTransformationsPlugin.php81COMMENT
LOWsrc/Plugins/Export/ExportSql.php2221 * @return string MSSQL compatible create table statementCOMMENT
LOWsrc/Display/Results.php1721 [$colOrder, $colVisib] = $this->getColumnParams($statementInfo);COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALresources/js/server/status/monitor.ts1344 return window.Chart.Ticks.formatters.numeric.apply(this, [value, index, ticks]);CODE
Slop Phrases6 hits · 8 pts
SeverityFileLineSnippetContext
LOWbin/internal/create-release.sh733 Don't forget to update the Description section in the announcement,CODE
LOWresources/sql/upgrade_tables_mysql_4_1_2+.sql11-- Please don't forget to set up the tablenames in config.inc.phpCODE
LOWresources/sql/create_tables.sql12-- Please don't forget to set up the tablenames in config.inc.phpCODE
LOWresources/sql/upgrade_column_info_4_3_0+.sql8-- Please don't forget to set up the table names in config.inc.phpCODE
LOWresources/sql/upgrade_tables_4_7_0+.sql8-- Please don't forget to set up the table names in config.inc.phpCODE
MEDIUMtests/unit/Stubs/ResponseRenderer.php7 * suite. Feel free to modify for any future test needs.COMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocs/conf.py104CODE
LOWdocs/_ext/configext.py3CODE
LOWdocs/_ext/configext.py3CODE
LOWdocs/_ext/configext.py5CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdocs/conf.py6# This file is execfile()d with the current directory set to its containing dir.COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/unit/InsertEditTest.php239 // TODO: Add test for false caseCOMMENT