A web interface for MySQL and MariaDB
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/js/gis_data_editor.ts | 17 | function disposeGISEditorVisualization () { | CODE |
| LOW | resources/js/gis_data_editor.ts | 27 | function initGISEditorVisualization (olData: OlData) { | CODE |
| LOW | resources/js/gis_data_editor.ts | 125 | function makeMultiLineStringInputs (prefix: string, data): string { | CODE |
| LOW | resources/js/gis_data_editor.ts | 206 | function makeGeometryCollectionGeometryInputs (prefix: string, index: number, data): string { | CODE |
| LOW | resources/js/gis_data_editor.ts | 225 | function makeGeometryCollectionInputs (prefix: string, data): string { | CODE |
| LOW | resources/js/export.ts | 16 | function disableDumpSomeRowsSubOptions () { | CODE |
| LOW | resources/js/export.ts | 26 | function enableDumpSomeRowsSubOptions () { | CODE |
| LOW | resources/js/export.ts | 372 | function setupTableStructureOrData () { | CODE |
| LOW | resources/js/export.ts | 531 | function checkTableSelectStructureOrData () { | CODE |
| LOW | resources/js/datetimepicker.ts | 3 | function registerDatePickerTranslations () { | CODE |
| LOW | resources/js/datetimepicker.ts | 82 | function registerTimePickerTranslations () { | CODE |
| LOW | resources/js/validator-messages.ts | 3 | function extendingValidatorMessages () { | CODE |
| LOW | resources/js/triggers.ts | 167 | function triggersEditorModalSaveEventHandler () { | CODE |
| LOW | resources/js/database/structure.ts | 88 | function addTooltipToFavoriteIcons (): void { | CODE |
| LOW | resources/js/database/events.ts | 160 | function eventsEditorModalSaveEventHandler () { | CODE |
| LOW | resources/js/server/privileges.ts | 25 | function exportPrivilegesModalHandler (data, msgbox) { | CODE |
| LOW | resources/js/server/status/monitor.ts | 31 | function serverResponseErrorModalReloadEventHandler () { | CODE |
| LOW | resources/js/server/status/monitor.ts | 662 | function monitorImportConfigImportEventHandler () { | CODE |
| LOW | resources/js/server/status/monitor.ts | 1378 | function logAnalyseModalSlowLogEventHandler () { | CODE |
| LOW | resources/js/server/status/monitor.ts | 1383 | function logAnalyseModalGeneralLogEventHandler () { | CODE |
| LOW | resources/js/server/status/monitor.ts | 1782 | function analysingLogsLogDataLoadedModalJumpEventHandler () { | CODE |
| LOW | resources/js/server/status/monitor.ts | 2079 | function queryAnalyzerModalSaveEventHandler () { | CODE |
| LOW | resources/js/table/change.ts | 165 | function verifyAfterSearchFieldChange (index, searchFormId) { | CODE |
| LOW | resources/js/table/change.ts | 325 | function verificationsAfterFieldChange (urlField, multiEdit, theType) { | CODE |
| LOW | resources/js/table/change.ts | 709 | function addNewContinueInsertionFields (event) { | CODE |
| LOW | resources/js/table/operations.ts | 263 | function submitPartitionMaintenance () { | CODE |
| LOW | resources/js/modules/navigation.ts | 521 | function loadAndHighlightTableOrView ($dbItem, itemName) { | CODE |
| LOW | resources/js/modules/functions.ts | 469 | export function displayPasswordGenerateButton () { | CODE |
| LOW | resources/js/modules/functions.ts | 934 | export function getCheckAllCheckboxEventHandler () { | CODE |
| LOW | resources/js/modules/functions.ts | 1069 | export function getForeignKeyCheckboxLoader () { | CODE |
| LOW | resources/js/modules/functions.ts | 1095 | export function teardownSqlQueryEditEvents () { | CODE |
| LOW | resources/js/modules/functions.ts | 1206 | export function codeMirrorAutoCompleteOnInputRead (instance) { | CODE |
| LOW | resources/js/modules/functions.ts | 1305 | function bindCodeMirrorToInlineEditor () { | CODE |
| LOW | resources/js/modules/functions.ts | 1326 | function catchKeypressesFromSqlInlineEdit (event) { | CODE |
| LOW | resources/js/modules/functions.ts | 1607 | function resetAttributeForNonNumericType ($typeSelector) { | CODE |
| LOW | resources/js/modules/functions.ts | 1678 | function createFunctionConfirmModal (): void { | CODE |
| LOW | resources/js/modules/functions.ts | 1796 | export function teardownCreateTableEvents (): void { | CODE |
| LOW | resources/js/modules/functions.ts | 1912 | function submitChangesInCreateTableForm (actionParam) { | CODE |
| LOW | resources/js/modules/functions.ts | 2034 | export function shouldShowEmptyPasswordWarning (form): boolean { | CODE |
| LOW | resources/js/modules/functions.ts | 2038 | export function onloadChangePasswordEvents (): void { | CODE |
| LOW | resources/js/modules/functions.ts | 2186 | export function teardownEnumSetEditorMessage (): void { | CODE |
| LOW | resources/js/modules/functions.ts | 2198 | export function onloadEnumSetEditorMessage (): void { | CODE |
| LOW | resources/js/modules/functions.ts | 3098 | export function getPageSelectorEventHandler () { | CODE |
| LOW | resources/js/modules/functions.ts | 3112 | export function teardownRecentFavoriteTables (): void { | CODE |
| LOW | resources/js/modules/functions.ts | 3116 | export function onloadRecentFavoriteTables (): void { | CODE |
| LOW | resources/js/modules/functions.ts | 3356 | export function getAutoSubmitEventHandler () { | CODE |
| LOW | resources/js/modules/functions.ts | 3458 | export function getCheckAllBoxEventHandler () { | CODE |
| LOW | resources/js/modules/functions.ts | 3469 | export function getCheckAllFilterEventHandler () { | CODE |
| LOW | resources/js/modules/functions.ts | 3503 | export function getSubCheckAllBoxEventHandler () { | CODE |
| LOW | resources/js/modules/functions.ts | 3522 | export function getFilterTextEventHandler () { | CODE |
| LOW | resources/js/modules/functions.ts | 3621 | export function toggleDatepickerIfInvalid ($td, $inputField) { | CODE |
| LOW | resources/js/modules/functions.ts | 3659 | export function getKeyboardFormSubmitEventHandler () { | CODE |
| LOW | resources/js/modules/functions.ts | 3682 | export function getSslPasswordEventHandler () { | CODE |
| LOW | resources/js/modules/functions.ts | 3692 | export function teardownSortLinkMouseEvent () { | CODE |
| LOW | resources/js/modules/navigation/event-loader.ts | 9 | function updateFavoriteTableButton (buttonId: string, htmlContent: string): void { | CODE |
| LOW | …s/js/modules/navigation/updateNavigationWidthConfig.ts | 5 | export default function updateNavigationWidthConfig (value: number): void { | CODE |
| LOW | tests/unit/SqlQueryFormTest.php | 85 | public function testPMAGetHtmlForSqlQueryFormInsert(): void | CODE |
| LOW | tests/unit/SqlQueryFormTest.php | 125 | public function testPMAGetHtmlForSqlQueryForm(): void | CODE |
| LOW | tests/unit/StorageEngineTest.php | 156 | public function testGetVariablesLikePattern(): void | CODE |
| LOW | tests/unit/StorageEngineTest.php | 189 | public function testGetSupportInformationMessage(): void | CODE |
| 1067 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/GitTest.php | 184 | 'name' => 'John Doe', | CODE |
| LOW | tests/unit/GitTest.php | 185 | 'email' => 'john.doe@example.org', | CODE |
| LOW | tests/unit/GitTest.php | 480 | 'name' => 'John Doe', | CODE |
| LOW | tests/unit/GitTest.php | 481 | 'email' => 'john.doe@example.org', | CODE |
| LOW | tests/unit/GitTest.php | 620 | 'name' => 'John Doe', | CODE |
| LOW | tests/unit/GitTest.php | 621 | 'email' => 'john.doe@example.org', | CODE |
| LOW | tests/unit/Command/WriteGitRevisionCommandTest.php | 109 | 'John Doe', // Author name | CODE |
| LOW | tests/unit/Command/WriteGitRevisionCommandTest.php | 110 | 'john.doe@example.org', // Author email | CODE |
| LOW | src/Plugins/Import/ImportOds.php | 221 | // Example: <text:a ... xlink:href="mailto:contact@example.org">test@example.fr</text:a> | COMMENT |
| LOW | src/Dbal/DatabaseInterface.php | 1131 | * // $user_name = 'John Doe' | COMMENT |
| LOW | src/Dbal/DatabaseInterface.php | 1159 | * // $user = array('id' => 123, 'name' => 'John Doe') | COMMENT |
| LOW⚡ | src/Dbal/DatabaseInterface.php | 1202 | * // $users['123'] = array('id' => 123, 'name' => 'John Doe') | COMMENT |
| LOW⚡ | src/Dbal/DatabaseInterface.php | 1207 | * // $users['123'] = array(0 => 123, 1 => 'John Doe') | COMMENT |
| LOW⚡ | src/Dbal/DatabaseInterface.php | 1214 | * // $users['123'] = 'John Doe' | COMMENT |
| LOW⚡ | src/Dbal/DatabaseInterface.php | 1255 | * // $users['admin'][] = 'John Doe' | COMMENT |
| LOW⚡ | src/Dbal/DatabaseInterface.php | 1260 | * // $users['admin']['John Doe'] = '123' | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config.sample.inc.php | 41 | // $cfg['Servers'][$i]['controluser'] = 'pma'; | COMMENT |
| LOW | bin/transformations_generator_plugin.sh | 1 | #!/bin/bash | COMMENT |
| LOW | resources/js/sql.ts | 581 | * Attach Event Handler for 'Copy to clipboard' | COMMENT |
| LOW | tests/unit/LinterTest.php | 41 | { | COMMENT |
| LOW | …/Plugins/Transformations/TransformationPluginsTest.php | 61 | #[CoversClass(TransformationsPlugin::class)] | COMMENT |
| LOW | …/Plugins/Transformations/TransformationPluginsTest.php | 81 | #[CoversClass(Text_Plain_Iptolong::class)] | COMMENT |
| LOW | docs/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | docs/conf.py | 41 | COMMENT | |
| LOW | docs/conf.py | 61 | COMMENT | |
| LOW | docs/conf.py | 81 | #add_module_names = True | COMMENT |
| LOW | docs/conf.py | 121 | # A shorter title for the navigation bar. Default is the same as html_title. | COMMENT |
| LOW | docs/conf.py | 141 | #html_extra_path = [] | COMMENT |
| LOW | docs/conf.py | 161 | # If false, no index is generated. | COMMENT |
| LOW | docs/conf.py | 201 | # Grouping the document tree into LaTeX files. List of tuples | COMMENT |
| LOW | docs/conf.py | 281 | #epub_identifier = '' | COMMENT |
| LOW | src/Sql.php | 641 | // if we did not append a limit, set this to get a correct | COMMENT |
| LOW | src/Linter.php | 41 | COMMENT | |
| LOW | …/Transformations/Abs/ExternalTransformationsPlugin.php | 81 | COMMENT | |
| LOW | src/Plugins/Export/ExportSql.php | 2221 | * @return string MSSQL compatible create table statement | COMMENT |
| LOW | src/Display/Results.php | 1721 | [$colOrder, $colVisib] = $this->getColumnParams($statementInfo); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | resources/js/server/status/monitor.ts | 1344 | return window.Chart.Ticks.formatters.numeric.apply(this, [value, index, ticks]); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/internal/create-release.sh | 733 | Don't forget to update the Description section in the announcement, | CODE |
| LOW | resources/sql/upgrade_tables_mysql_4_1_2+.sql | 11 | -- Please don't forget to set up the tablenames in config.inc.php | CODE |
| LOW | resources/sql/create_tables.sql | 12 | -- Please don't forget to set up the tablenames in config.inc.php | CODE |
| LOW | resources/sql/upgrade_column_info_4_3_0+.sql | 8 | -- Please don't forget to set up the table names in config.inc.php | CODE |
| LOW | resources/sql/upgrade_tables_4_7_0+.sql | 8 | -- Please don't forget to set up the table names in config.inc.php | CODE |
| MEDIUM | tests/unit/Stubs/ResponseRenderer.php | 7 | * suite. Feel free to modify for any future test needs. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/conf.py | 104 | CODE | |
| LOW | docs/_ext/configext.py | 3 | CODE | |
| LOW | docs/_ext/configext.py | 3 | CODE | |
| LOW | docs/_ext/configext.py | 5 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/conf.py | 6 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/InsertEditTest.php | 239 | // TODO: Add test for false case | COMMENT |