Repository Analysis

midoks/mdserver-web

Simple Linux Panel

17.2 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of midoks/mdserver-web, a Python project with 4,512 GitHub stars. SynthScan v2.0 examined 233,505 lines of code across 1179 source files, recording 2125 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 17.2 places this repository in the Moderate AI signal 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).

17.2
Adjusted Score
17.2
Raw Score
100%
Time Factor
2026-07-13
Last Push
4.5K
Stars
Python
Language
233.5K
Lines of Code
1.2K
Files
2.1K
Pattern Hits
2026-07-14
Scan Date
0.08
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 3HIGH 87MEDIUM 538LOW 1497

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 2125 distinct pattern matches across 14 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.

Decorative Section Separators444 hits · 1952 pts
SeverityFileLineSnippetContext
MEDIUMpanel_task.py3# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_task.py5# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_task.py7# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_task.py9# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_task.py11# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_task.py13# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_tools.py3# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_tools.py5# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_tools.py7# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_tools.py9# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_tools.py11# ---------------------------------------------------------------------------------COMMENT
MEDIUMpanel_tools.py13# ---------------------------------------------------------------------------------COMMENT
MEDIUMplugins/mariadb/scripts/backup.py2#-----------------------------COMMENT
MEDIUMplugins/mariadb/scripts/backup.py4#-----------------------------COMMENT
MEDIUMplugins/gdrive/class/gdriveclient.py24# -----------------------------COMMENT
MEDIUMplugins/mongodb/scripts/backup.py2#-----------------------------COMMENT
MEDIUMplugins/mongodb/scripts/backup.py4#-----------------------------COMMENT
MEDIUMplugins/mysql-community/scripts/backup.py2#-----------------------------COMMENT
MEDIUMplugins/mysql-community/scripts/backup.py4#-----------------------------COMMENT
MEDIUM…gins/cryptocurrency_trade/ccxt/strategy/online_test.py45 # ---------------------------COMMENT
MEDIUMplugins/cryptocurrency_trade/ccxt/strategy/on_g_test.py50 # ---------------------------COMMENT
MEDIUMweb/config.py3# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/config.py5# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/config.py7# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/config.py9# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/config.py11# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/config.py13# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/version.py1# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/version.py3# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/version.py5# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/version.py7# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/version.py9# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/version.py11# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/branding.py1# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/branding.py3# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/branding.py5# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/branding.py7# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/branding.py9# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/branding.py11# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/setting.py3# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/setting.py5# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/setting.py7# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/setting.py9# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/setting.py11# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/setting.py13# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/app.py3# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/app.py5# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/app.py7# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/app.py9# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/misc/test/api/mw_api.py10#------------------------------COMMENT
MEDIUMweb/misc/test/api/mw_api.py12#------------------------------COMMENT
MEDIUMweb/core/db.py3# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/core/db.py5# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/core/db.py7# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/core/db.py9# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/core/db.py11# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/core/db.py13# ---------------------------------------------------------------------------------COMMENT
MEDIUMweb/core/db.py29 #------------------------------COMMENT
MEDIUMweb/core/db.py31 #------------------------------COMMENT
MEDIUMweb/core/mw.py3# ---------------------------------------------------------------------------------COMMENT
384 more matches not shown…
Unused Imports743 hits · 730 pts
SeverityFileLineSnippetContext
LOWpanel_task.py20CODE
LOWpanel_tools.py19CODE
LOWplugins/imail/index.py4CODE
LOWplugins/imail/index.py6CODE
LOWplugins/imail/index.py7CODE
LOWplugins/imail/index.py8CODE
LOWplugins/imail/index.py9CODE
LOWplugins/imail/index.py11CODE
LOWplugins/imail/index.py55CODE
LOWplugins/gorse/index.py4CODE
LOWplugins/gorse/index.py6CODE
LOWplugins/mosquitto/index.py4CODE
LOWplugins/mosquitto/index.py6CODE
LOWplugins/mosquitto/index.py7CODE
LOWplugins/webhook/index.py4CODE
LOWplugins/webhook/webhook_index.py4CODE
LOWplugins/cloudreve/index.py4CODE
LOWplugins/cloudreve/index.py6CODE
LOWplugins/postgresql/index.py4CODE
LOWplugins/postgresql/index.py1246CODE
LOWplugins/postgresql/class/pg.py3CODE
LOWplugins/postgresql/class/pg.py15CODE
LOWplugins/loki/index.py4CODE
LOWplugins/loki/index.py6CODE
LOWplugins/system_safe/system_safe.py4CODE
LOWplugins/rsyncd/tool_task.py4CODE
LOWplugins/rsyncd/tool_task.py6CODE
LOWplugins/rsyncd/index.py3CODE
LOWplugins/rsyncd/index.py4CODE
LOWplugins/rsyncd/index.py122CODE
LOWplugins/alist/index.py4CODE
LOWplugins/alist/index.py7CODE
LOWplugins/docker/index.py4CODE
LOWplugins/docker/index.py611CODE
LOWplugins/acme_pandominassl_apply/index.py4CODE
LOWplugins/acme_pandominassl_apply/tool_cron.py4CODE
LOWplugins/acme_pandominassl_apply/tool_cron.py6CODE
LOWplugins/acme_pandominassl_apply/hooks/goedge.py4CODE
LOWplugins/acme_pandominassl_apply/hooks/goedge.py7CODE
LOWplugins/acme_pandominassl_apply/hooks/goedge.py9CODE
LOWplugins/acme_pandominassl_apply/hooks/init.py4CODE
LOWplugins/acme_pandominassl_apply/hooks/init.py5CODE
LOWplugins/acme_pandominassl_apply/hooks/init.py6CODE
LOWplugins/acme_pandominassl_apply/hooks/init.py7CODE
LOWplugins/pureftp/index.py4CODE
LOWplugins/pureftp/index.py89CODE
LOWplugins/doh/index.py4CODE
LOWplugins/doh/index.py7CODE
LOWplugins/doh/index.py8CODE
LOWplugins/tamper_proof_py/index.py4CODE
LOWplugins/tamper_proof_py/index.py8CODE
LOWplugins/tamper_proof_py/index.py9CODE
LOWplugins/tamper_proof_py/index.py10CODE
LOWplugins/mariadb/index.py4CODE
LOWplugins/mariadb/index.py2243CODE
LOWplugins/mariadb/index.py2359CODE
LOWplugins/mariadb/index_mariadb.py4CODE
LOWplugins/mariadb/index_mariadb.py6CODE
LOWplugins/mariadb/index_mariadb.py7CODE
LOWplugins/mariadb/index_mariadb.py9CODE
683 more matches not shown…
Excessive Try-Catch Wrapping471 hits · 541 pts
SeverityFileLineSnippetContext
MEDIUMpanel_task.py112def siteEdateCheck():CODE
MEDIUMpanel_task.py128def startPanelTask():CODE
MEDIUMpanel_task.py169def check502Task():CODE
MEDIUMpanel_task.py277def openrestyAutoRestart():CODE
LOWpanel_task.py68 except Exception as e:CODE
LOWpanel_task.py108 except Exception as e:CODE
LOWpanel_task.py124 except Exception as e:CODE
LOWpanel_task.py133 except Exception as e:CODE
LOWpanel_task.py147 except Exception as ex:CODE
LOWpanel_task.py162 except Exception as ex:CODE
LOWpanel_task.py199 except Exception as e:CODE
LOWpanel_task.py247 except Exception as e:CODE
LOWpanel_task.py259 except Exception as e:CODE
LOWpanel_task.py287 except Exception as e:CODE
LOWplugins/imail/index.py60 except Exception as e:CODE
LOWplugins/imail/index.py221 except Exception as e:CODE
LOWplugins/postgresql/index.py349 except Exception as e:CODE
LOWplugins/postgresql/index.py674 except Exception as ex:CODE
LOWplugins/postgresql/index.py1478 except Exception as e:CODE
LOWplugins/postgresql/class/pg.py49 except Exception as e:CODE
LOWplugins/postgresql/class/pg.py63 except Exception as e:CODE
LOWplugins/postgresql/class/pg.py75 except Exception as e:CODE
LOWplugins/postgresql/class/pg.py174 except Exception as ex:CODE
LOWplugins/postgresql/class/pg.py186 except Exception as ex:CODE
LOWplugins/postgresql/class/pg.py201 except Exception as ex:CODE
LOWplugins/system_safe/system_safe.py354 except Exception as e:CODE
LOWplugins/system_safe/system_safe.py467 except Exception as e:CODE
LOWplugins/system_safe/system_safe.py495 except Exception as e:CODE
LOWplugins/system_safe/system_safe.py504 except Exception as e:CODE
LOWplugins/system_safe/system_safe.py552 except Exception as e:CODE
LOWplugins/system_safe/system_safe.py567 except Exception as e:CODE
LOWplugins/system_safe/system_safe.py1144 except Exception as e:CODE
MEDIUMplugins/system_safe/system_safe.py492def bg_start(self):CODE
MEDIUMplugins/system_safe/system_safe.py501def bg_stop(self):CODE
MEDIUMplugins/system_safe/system_safe.py542def __lock_path(self, info):CODE
MEDIUMplugins/system_safe/system_safe.py556def __unlock_path(self, info):CODE
LOWplugins/rsyncd/index.py127 except Exception as e:CODE
LOWplugins/rsyncd/index.py491 except Exception as e:CODE
LOWplugins/rsyncd/index.py797 except Exception as e:CODE
MEDIUMplugins/rsyncd/index.py460def delRecBy(name):CODE
LOWplugins/alist/index.py105 except Exception as e:CODE
LOWplugins/alist/index.py113 except Exception as e:CODE
MEDIUMplugins/alist/index.py100def __release_port(port, ps = '开启端口'):CODE
MEDIUMplugins/alist/index.py108def __delete_port(port):CODE
LOWplugins/docker/index.py19except Exception as e:CODE
LOWplugins/docker/index.py32 except Exception as e:CODE
LOWplugins/docker/index.py193 except Exception as e:CODE
LOWplugins/docker/index.py414 except Exception as e:CODE
LOWplugins/docker/index.py616 except Exception as e:CODE
MEDIUMplugins/docker/index.py29def getDClient():CODE
MEDIUMplugins/docker/index.py190def conListData():CODE
MEDIUMplugins/docker/index.py411def imageListData():CODE
LOWplugins/acme_pandominassl_apply/index.py277 except Exception as ex:CODE
LOWplugins/acme_pandominassl_apply/index.py386 except Exception as ex:CODE
LOWplugins/acme_pandominassl_apply/index.py438 except Exception as ex:CODE
LOWplugins/acme_pandominassl_apply/index.py724 except Exception as e:CODE
LOWplugins/acme_pandominassl_apply/index.py777 except Exception as e:CODE
LOWplugins/pureftp/index.py94 except Exception as e:CODE
LOWplugins/pureftp/index.py406 except Exception as ex:CODE
LOWplugins/tamper_proof_py/index.py628 except Exception as e:CODE
411 more matches not shown…
Cross-Language Confusion74 hits · 325 pts
SeverityFileLineSnippetContext
HIGHplugins/postgresql/index.py1432 data['cmd'] = 'cd /www/server/mdserver-web && python3 plugins/postgresql/index.py do_full_sync'CODE
HIGHplugins/postgresql/index.py1496 cmd = 'cd /www/server/mdserver-web && python3 plugins/postgresql/index.py get_master_rep_slave_user_cmd {"username":CODE
HIGHplugins/acme_pandominassl_apply/tool_cron.py94 cmd += 'cd $mw_dir && python3 $script_path/index.py run_hook' + "\n"STRING
HIGHplugins/mariadb/index.py785 cmd = 'cd ' + mw.getBackupDir() + '/database/mariadb && gzip -d ' + fileCODE
HIGHplugins/mariadb/index.py881 cmd = 'cd '+mw.getServerDir()+'/mdserver-web && source bin/activate && 'CODE
HIGHplugins/mariadb/index.py2604 cmd = 'cd /www/server/mdserver-web && source bin/activate && python3 plugins/mariadb/index.py get_master_repCODE
HIGHplugins/mariadb/index.py2756 cmd = 'cd '+mw.getServerDir()+'/mdserver-web && source bin/activate && python3 plugins/mariadb/index.py sync_databasCODE
HIGHplugins/mariadb/index.py3065 cmd = 'cd '+mw.getServerDir()+'/mdserver-web && source bin/activate && python3 plugins/mariadb/index.py do_full_syncCODE
HIGHplugins/mariadb/index.py3250 cmd = "cd /www/server/mdserver-web && source bin/activate && python3 plugins/mariadb/index.py dump_mysql_data {\"dbCODE
HIGHplugins/mariadb/index.py3273 cmd = 'cd /www/server/mdserver-web && source bin/activate && python3 plugins/mariadb/index.py get_master_rep_slave_uCODE
HIGHplugins/mariadb/index.py3305 mw.execShell("cd /tmp && gzip -d dump.sql.gz")CODE
HIGHplugins/openresty/tool_task.py80 cmd += 'cd $mw_dir && bash $script_path/check.sh' + "\n"STRING
HIGHplugins/swap/index.py195 cmd += ' && mkswap ' + gsdir + '/swapfile && chmod 600 ' + gsdir + '/swapfile'CODE
HIGHplugins/mongodb/tool_task.py80 cmd += 'cd $mw_dir && bash $script_path/check.sh' + "\n"STRING
HIGHplugins/mongodb/index.py1430 cmd = 'cd ' + mw.getBackupDir() + '/database && tar -xzvf ' + file + " -C "+file_dirCODE
HIGHplugins/mongodb/index.py468 cd /www/server/mdserver-web && source bin/activate && python3 /www/server/mdserver-web/plugins/mongodb/index.py run_STRING
HIGHplugins/mongodb/index.py1454 cd /www/server/mdserver-web && source bin/activate && python3 /www/server/mdserver-web/plugins/mongodb/index.py testSTRING
HIGHplugins/mongodb/index.py1473 cd /www/server/mdserver-web && source bin/activate && python3 /www/server/mdserver-web/plugins/mongodb/index.py testSTRING
HIGHplugins/mysql-community/index.py944 cmd = 'cd '+mw.getServerDir()+'/mdserver-web && source bin/activate && 'CODE
HIGHplugins/mysql-community/index.py1027 cmd = 'cd ' + mw.getBackupDir() + '/database && gzip -d ' + fileCODE
HIGHplugins/mysql-community/index.py2721 cmd = 'cd /www/server/mdserver-web && source bin/activate && python3 ' + \CODE
HIGHplugins/mysql-community/index.py2880 cmd = 'cd '+mw.getServerDir()+'/mdserver-web && source bin/activate && python3 plugins/mysql-community/index.py syncCODE
HIGHplugins/mysql-community/index.py3148 cmd = 'cd '+mw.getServerDir()+'/mdserver-web && source bin/activate && python3 plugins/mysql-community/index.py do_fCODE
HIGHplugins/mysql-community/index.py3404 cmd = "cd /www/server/mdserver-web && source bin/activate && python3 " + \CODE
HIGHplugins/mysql-community/index.py3428 cmd = 'cd /www/server/mdserver-web && source bin/activate && python3 ' + \CODE
HIGHplugins/mysql-community/index.py3459 mw.execShell("cd /tmp && gzip -d dump.sql.gz")CODE
HIGHplugins/webstats/t/index.py120 os.system('cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/webstats && sh install.sh uninstall 0.2.2 && sCODE
HIGHplugins/webstats/t/index.py121 os.system('cd /Users/midoks/Desktop/mwdev/server/mdserver-web/ && python3 plugins/openresty/index.py stop && python3CODE
HIGHplugins/clean/tool_task.py83 cmd += 'cd $mw_dir && python3 $script_path/index.py clean >> $logs_file 2>&1' + "\n"STRING
HIGHplugins/nezha/tool_task.py80 cmd += 'cd $mw_dir && bash $script_path/update.sh' + "\n"STRING
HIGHplugins/sphinx/tool_cron.py102 cmd += 'cd $mw_dir && python3 $script_path/index.py update_all' + "\n"STRING
HIGHplugins/sphinx/tool_cron.py151 cmd += 'cd $mw_dir && python3 $script_path/index.py update_delta' + "\n"STRING
HIGHplugins/mysql/index.py1109 cmd = 'cd '+mw.getServerDir()+'/mdserver-web && source bin/activate && 'CODE
HIGHplugins/mysql/index.py1189 cmd = 'cd ' + mw.getFatherDir() + '/backup/database && gzip -d ' + fileCODE
HIGHplugins/mysql/index.py1221 cmd = 'cd '+mw.getServerDir()+'/mdserver-web && source bin/activate && 'CODE
HIGHplugins/mysql/index.py1240 cmd = 'cd ' + mw.getFatherDir() + '/backup/database && gzip -d ' + fileCODE
HIGHplugins/mysql/index.py3024 cmd = 'cd /www/server/mdserver-web && source bin/activate && python3 ' + \CODE
HIGHplugins/mysql/index.py3184 cmd = 'cd '+mw.getServerDir()+'/mdserver-web && source bin/activate && python3 plugins/mysql/index.py sync_database_CODE
HIGHplugins/mysql/index.py3457 cmd = 'cd '+mw.getServerDir()+'/mdserver-web && source bin/activate && python3 plugins/mysql/index.py do_full_sync CODE
HIGHplugins/mysql/index.py3748 cmd = "cd /www/server/mdserver-web && source bin/activate && python3 " + \CODE
HIGHplugins/mysql/index.py3772 cmd = 'cd /www/server/mdserver-web && source bin/activate && python3 ' + \CODE
HIGHplugins/mysql/index.py3803 mw.execShell("cd /tmp && gzip -d dump.sql.gz")CODE
HIGHplugins/migration_api/index.py101 exe = "cd {0} && source bin/activate && python3 plugins/migration_api/index.py bg_process &>{1} &".format(CODE
HIGHplugins/manticoresearch/tool_cron.py102 cmd += 'cd $mw_dir && python3 $script_path/index.py update_all' + "\n"STRING
HIGHplugins/manticoresearch/tool_cron.py151 cmd += 'cd $mw_dir && python3 $script_path/index.py update_delta' + "\n"STRING
HIGHplugins/op_waf/tool_task.py84 cmd += 'echo "cd $mw_dir && source bin/activate && python3 $script_path/tool_task.py run >> $logs_file 2>&1"' + "\n"STRING
HIGHplugins/op_waf/tool_task.py85 cmd += 'cd $mw_dir && source bin/activate && python3 $script_path/tool_task.py run >> $logs_file 2>&1' + "\n"STRING
HIGHplugins/op_waf/index.py4cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/op_waf && bash install.sh install 0.3.2STRING
HIGHplugins/cryptocurrency_trade/ccxt/test/p1.py5cd /www/server/mdserver-web && python3 plugins/cryptocurrency_trade/ccxt/test/p1.pySTRING
HIGHplugins/cryptocurrency_trade/ccxt/test/p1.py8cd /Users/midoks/Desktop/mwdev/server/mdserver-web && source bin/activateSTRING
HIGHplugins/cryptocurrency_trade/ccxt/test/p_test.py12cd /Users/midoks/Desktop/mwdev/server/mdserver-web && source bin/activateSTRING
HIGHplugins/cryptocurrency_trade/ccxt/test/p_test.py15cd /www/server/mdserver-web && source bin/activate && source activate catalysSTRING
HIGHplugins/cryptocurrency_trade/ccxt/test/p_test.py17cd /Users/midoks/Desktop/mwdev/server/mdserver-web && python3 plugins/cryptocurrency_trade/ccxt/test/p_test.pySTRING
HIGHplugins/cryptocurrency_trade/ccxt/test/p_test.py20cd /www/server/mdserver-web && python3 plugins/cryptocurrency_trade/ccxt/test/p_test.pySTRING
HIGHplugins/cryptocurrency_trade/ccxt/test/p2.py5cd /www/server/mdserver-web && python3 plugins/cryptocurrency_trade/ccxt/test/p1.pySTRING
HIGHplugins/cryptocurrency_trade/ccxt/test/p2.py8cd /Users/midoks/Desktop/mwdev/server/mdserver-web && source bin/activateSTRING
HIGHplugins/caddy/tool_task.py80 cmd += 'cd $mw_dir && bash $script_path/check.sh' + "\n"STRING
HIGHplugins/apache/tool_task.py80 cmd += 'cd $mw_dir && bash $script_path/check.sh' + "\n"STRING
HIGHweb/admin/setup/init_cmd.py43 mw.execShell('which chkconfig && chkconfig --add mw')CODE
HIGHweb/admin/setup/init_cmd.py52 mw.execShell('which update-rc.d && update-rc.d -f mw defaults')CODE
14 more matches not shown…
Over-Commented Block165 hits · 161 pts
SeverityFileLineSnippetContext
LOWpanel_task.py1# coding: utf-8COMMENT
LOWpanel_tools.py1# coding=utf-8COMMENT
LOWssl/README.md1# 数据目录COMMENT
LOWdocker/start.sh1#!/bin/bashCOMMENT
LOWplugins/gorse/tpl/gorse.toml1[database]COMMENT
LOWplugins/postgresql/index.py1181def getSlaveList(version=''):COMMENT
LOWplugins/loki/conf/loki-config.yaml61#COMMENT
LOWplugins/loki/conf/loki-config.bak.yaml61# Statistics help us better understand how Loki is used, and they show us performanceCOMMENT
LOWplugins/docker/install.sh21# "http://hub-mirror.c.163.com",COMMENT
LOWplugins/tamper_proof_py/index.html281 });COMMENT
LOWplugins/mariadb/index.py2981 # local_idx_data = local_select_data[idx]COMMENT
LOWplugins/xhprof/lib/xhprof_html/index.php1<?phpCOMMENT
LOWplugins/xhprof/lib/xhprof_html/index.php21//COMMENT
LOWplugins/xhprof/lib/xhprof_html/callgraph.php1<?phpCOMMENT
LOWplugins/xhprof/lib/xhprof_html/typeahead.php1<?phpCOMMENT
LOWplugins/xhprof/lib/xhprof_html/jquery/jquery-1.2.6.js3381 // IE adds the HTML element's border, by default it is medium which is 2pxCOMMENT
LOWplugins/xhprof/lib/xhprof_lib/utils/xhprof_lib.php1<?phpCOMMENT
LOWplugins/xhprof/lib/xhprof_lib/utils/xhprof_runs.php1<?phpCOMMENT
LOWplugins/xhprof/lib/xhprof_lib/utils/callgraph_utils.php1<?phpCOMMENT
LOWplugins/xhprof/lib/xhprof_lib/display/xhprof.php1<?phpCOMMENT
LOW…ins/xhprof/lib/xhprof_lib/display/typeahead_common.php1<?phpCOMMENT
LOWplugins/openresty/install.sh1#!/bin/bashCOMMENT
LOWplugins/gdrive/t/test.py1#!/usr/bin/pythonCOMMENT
LOWplugins/gdrive/t/test.py61# print(sign_in_url)COMMENT
LOWplugins/gdrive/t/test.py81# url = 'http://localhost/?code=M.C106_BAY.2.310112f3-a158-c400-9667-d158cbd1de6c&state=jEJz0ucR9bpZYD9PGxp2GgRDotrzO6'COMMENT
LOWplugins/php/versions/all_test.sh1#! /bin/shCOMMENT
LOWplugins/php/versions/all_mac.sh1#! /bin/shCOMMENT
LOWplugins/php/versions/all_mac.sh21# cd $DIR && /bin/bash install.sh install $PHP_VERCOMMENT
LOWplugins/php/versions/56/src/mkstemp.c41#ifdef _WIN32COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h121#elif defined(__arm__) || defined(__ARM__)COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h141#elif defined(__tilegx__)COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h161#if (defined SLJIT_CONFIG_UNSUPPORTED && SLJIT_CONFIG_UNSUPPORTED)COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h201 In release mode (SLJIT_DEBUG is not defined) only the followingCOMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h221/***************************/COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h241#elseCOMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h421#define SLJIT_LITTLE_ENDIAN 1COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h501#endif /* !SLJIT_CALL */COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h541#define SLJIT_NUMBER_OF_SAVED_REGISTERS 7COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h561#elif (defined SLJIT_CONFIG_ARM_V5 && SLJIT_CONFIG_ARM_V5) || (defined SLJIT_CONFIG_ARM_V7 && SLJIT_CONFIG_ARM_V7)COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h581#define SLJIT_NUMBER_OF_REGISTERS 22COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h601COMMENT
LOW…ins/php/versions/56/src/ext/pcre/sljitConfigInternal.h621#define SLJIT_NUMBER_OF_SCRATCH_REGISTERS \COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h121#elif defined(__arm__) || defined(__ARM__)COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h141#elif defined(__tilegx__)COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h161#if (defined SLJIT_CONFIG_UNSUPPORTED && SLJIT_CONFIG_UNSUPPORTED)COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h201 In release mode (SLJIT_DEBUG is not defined) only the followingCOMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h221/***************************/COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h241#elseCOMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h421#define SLJIT_LITTLE_ENDIAN 1COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h501#endif /* !SLJIT_CALL */COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h541#define SLJIT_NUMBER_OF_SAVED_REGISTERS 7COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h561#elif (defined SLJIT_CONFIG_ARM_V5 && SLJIT_CONFIG_ARM_V5) || (defined SLJIT_CONFIG_ARM_V7 && SLJIT_CONFIG_ARM_V7)COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h581#define SLJIT_NUMBER_OF_REGISTERS 22COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h601COMMENT
LOW…ins/php/versions/54/src/ext/pcre/sljitConfigInternal.h621#define SLJIT_NUMBER_OF_SCRATCH_REGISTERS \COMMENT
LOWplugins/php/versions/common/intl.sh21# elif grep -Eq "FreeBSD" /etc/*-release; thenCOMMENT
LOW…ins/php/versions/55/src/ext/pcre/sljitConfigInternal.h121#elif defined(__arm__) || defined(__ARM__)COMMENT
LOW…ins/php/versions/55/src/ext/pcre/sljitConfigInternal.h141#elif defined(__tilegx__)COMMENT
LOW…ins/php/versions/55/src/ext/pcre/sljitConfigInternal.h161#if (defined SLJIT_CONFIG_UNSUPPORTED && SLJIT_CONFIG_UNSUPPORTED)COMMENT
LOW…ins/php/versions/55/src/ext/pcre/sljitConfigInternal.h201 In release mode (SLJIT_DEBUG is not defined) only the followingCOMMENT
105 more matches not shown…
Deep Nesting138 hits · 119 pts
SeverityFileLineSnippetContext
LOWpanel_task.py79CODE
LOWpanel_tools.py49CODE
LOWpanel_tools.py397CODE
LOWplugins/postgresql/index.py499CODE
LOWplugins/postgresql/index.py512CODE
LOWplugins/postgresql/class/pg.py150CODE
LOWplugins/system_safe/system_safe.py278CODE
LOWplugins/system_safe/system_safe.py865CODE
LOWplugins/system_safe/system_safe.py915CODE
LOWplugins/system_safe/system_safe.py986CODE
LOWplugins/rsyncd/tool_task.py127CODE
LOWplugins/rsyncd/index.py460CODE
LOWplugins/tamper_proof_py/index.py110CODE
LOWplugins/tamper_proof_py/index.py338CODE
LOWplugins/mariadb/index.py273CODE
LOWplugins/mariadb/index.py2776CODE
LOWplugins/openresty/index.py539CODE
LOWplugins/phpmyadmin/index.py124CODE
LOWplugins/task_manager/task_manager_index.py103CODE
LOWplugins/task_manager/task_manager_index.py169CODE
LOWplugins/task_manager/task_manager_index.py502CODE
LOWplugins/task_manager/task_manager_index.py549CODE
LOWplugins/task_manager/task_manager_index.py648CODE
LOWplugins/task_manager/task_manager_index.py678CODE
LOWplugins/task_manager/task_manager_index.py800CODE
LOWplugins/task_manager/task_manager_index.py1131CODE
LOWplugins/task_manager/task_manager_index.py1195CODE
LOWplugins/task_manager/task_manager_index.py1428CODE
LOWplugins/task_manager/process_network_total.py52CODE
LOWplugins/task_manager/process_network_total.py87CODE
LOWplugins/task_manager/process_network_total.py186CODE
LOWplugins/php/index.py832CODE
LOWplugins/mysql-community/index.py288CODE
LOWplugins/mysql-community/index.py531CODE
LOWplugins/mysql-community/index.py2898CODE
LOWplugins/webstats/tool_task.py104CODE
LOWplugins/webstats/tool_migrate.py227CODE
LOWplugins/webstats/index.py576CODE
LOWplugins/webstats/index.py619CODE
LOWplugins/webstats/index.py755CODE
LOWplugins/webstats/index.py884CODE
LOWplugins/webstats/index.py949CODE
LOWplugins/webstats/index.py1082CODE
LOWplugins/webstats/index.py1223CODE
LOWplugins/webstats/index.py1321CODE
LOWplugins/webstats/index.py1344CODE
LOWplugins/webstats/webstats_index.py532CODE
LOWplugins/webstats/webstats_index.py575CODE
LOWplugins/webstats/webstats_index.py709CODE
LOWplugins/webstats/webstats_index.py843CODE
LOWplugins/webstats/webstats_index.py908CODE
LOWplugins/webstats/webstats_index.py1041CODE
LOWplugins/webstats/webstats_index.py1182CODE
LOWplugins/webstats/webstats_index.py1280CODE
LOWplugins/webstats/webstats_index.py1303CODE
LOWplugins/webstats/bak/tool_migrate.py212CODE
LOWplugins/webstats/bak/tool_migrate_bak.py75CODE
LOWplugins/webstats/class/LuaMaker.py10CODE
LOWplugins/webstats/class/LuaMaker.py17CODE
LOWplugins/gitea/index.py576CODE
78 more matches not shown…
Cross-File Repetition13 hits · 65 pts
SeverityFileLineSnippetContext
HIGHplugins/imail/index.py0#!/bin/bash path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export path export user=%s export hoSTRING
HIGHplugins/gitea/index.py0#!/bin/bash path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export path export user=%s export hoSTRING
HIGHplugins/simpleping/index.py0#!/bin/bash path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export path export user=%s export hoSTRING
HIGHplugins/gogs/index.py0#!/bin/bash path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export path export user=%s export hoSTRING
HIGHplugins/acme_pandominassl_apply/tool_cron.py0mw_dir=%s rname=%s plugin_path=%s script_path=%s logs_file=$plugin_path/${rname}.logSTRING
HIGHplugins/clean/tool_task.py0mw_dir=%s rname=%s plugin_path=%s script_path=%s logs_file=$plugin_path/${rname}.logSTRING
HIGHplugins/sphinx/tool_cron.py0mw_dir=%s rname=%s plugin_path=%s script_path=%s logs_file=$plugin_path/${rname}.logSTRING
HIGHplugins/manticoresearch/tool_cron.py0mw_dir=%s rname=%s plugin_path=%s script_path=%s logs_file=$plugin_path/${rname}.logSTRING
HIGHplugins/op_waf/tool_task.py0mw_dir=%s rname=%s plugin_path=%s script_path=%s logs_file=$plugin_path/${rname}.logSTRING
HIGHplugins/webstats/t/index.py0发送post请求 @url 被请求的url地址(必需) @data post参数,可以是字符串或字典(必需) @timeout 超时时间默认60秒 return stringSTRING
HIGHplugins/tgbot/startup/extend/receive_music163_search.py0发送post请求 @url 被请求的url地址(必需) @data post参数,可以是字符串或字典(必需) @timeout 超时时间默认60秒 return stringSTRING
HIGHplugins/op_waf/t/index.py0发送post请求 @url 被请求的url地址(必需) @data post参数,可以是字符串或字典(必需) @timeout 超时时间默认60秒 return stringSTRING
HIGHweb/core/mw.py0发送post请求 @url 被请求的url地址(必需) @data post参数,可以是字符串或字典(必需) @timeout 超时时间默认60秒 return stringSTRING
Hallucination Indicators3 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALweb/static/js/jquery-ui.min.js6(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){function e(t){for(var e=CODE
CRITICALweb/static/js/jquery-ui.min.js9}},_updateDatepicker:function(e){this.maxRows=4,m=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(eCODE
CRITICALweb/static/js/jquery-1.10.2.min.js4}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.CODE
AI Structural Patterns40 hits · 39 pts
SeverityFileLineSnippetContext
LOWplugins/webhook/index.py78CODE
LOWplugins/webhook/webhook_index.py44CODE
LOWplugins/system_safe/system_safe.py1136CODE
LOWplugins/system_safe/system_safe.py197CODE
LOWplugins/rsyncd/index.py241CODE
LOWplugins/acme_pandominassl_apply/hooks/goedge.py71CODE
LOWplugins/lam/index.py169CODE
LOWplugins/lam/index.py175CODE
LOWplugins/phpmyadmin/index.py188CODE
LOWplugins/phpmyadmin/index.py194CODE
LOWplugins/varnish/index.py118CODE
LOWplugins/webstats/tool_migrate.py45CODE
LOWplugins/webstats/bak/tool_migrate.py44CODE
LOWplugins/webstats/bak/tool_migrate_bak.py43CODE
LOWplugins/nezha/index.py87CODE
LOWplugins/pgadmin/index.py127CODE
LOWplugins/pgadmin/index.py133CODE
LOWplugins/mysql/bak/orm.py212CODE
LOWplugins/mysql/bak/orm.py244CODE
LOWplugins/mysql/bak/orm.py264CODE
LOWplugins/mysql/bak/orm.py284CODE
LOWplugins/phpldapadmin/index.py169CODE
LOWplugins/phpldapadmin/index.py175CODE
LOWplugins/msonedrive/class/msodclient.py536CODE
LOWplugins/simpleping/simpleping_index.py55CODE
LOWplugins/cryptocurrency_trade/cryptocurrency_trade.py203CODE
LOWplugins/cryptocurrency_trade/cryptocurrency_trade.py211CODE
LOWplugins/cryptocurrency_trade/ccxt/public_data/data.py254CODE
LOWplugins/cryptocurrency_trade/ccxt/public_data/data.py260CODE
LOWweb/misc/test/api/mw_api.py46CODE
LOWweb/core/mw.py203CODE
LOWweb/core/mw.py1698CODE
LOWweb/admin/crontab/__init__.py79CODE
LOWweb/admin/crontab/__init__.py102CODE
LOWweb/admin/files/files.py298CODE
LOWweb/utils/system/query.py73CODE
LOWweb/utils/system/query.py82CODE
LOWweb/utils/system/query.py91CODE
LOWweb/utils/system/query.py101CODE
LOWweb/thisdb/temp_login.py57CODE
Hyper-Verbose Identifiers16 hits · 16 pts
SeverityFileLineSnippetContext
LOWplugins/postgresql/js/postgresql.js936function getMasterRepSlaveListPage(){CODE
LOWplugins/system_safe/js/app.js449function ssLogAuditFileRenderString(data){CODE
LOWplugins/system_safe/js/app.js459function ssLogAuditFileRenderObject(plist){CODE
LOWplugins/docker/js/docker.js529function dockerPullImagesFileTemplate() {CODE
LOWplugins/mariadb/js/mariadb.js1885function getMasterRepSlaveListPage(){CODE
LOWplugins/openresty/index.py314def op_submit_systemctl_restart():CODE
LOWplugins/mysql-community/js/mysql-community.js1908function getMasterRepSlaveListPage(){CODE
LOWplugins/mysql/js/mysql.js1956function getMasterRepSlaveListPage(){CODE
LOWplugins/msonedrive/class/msodclient.py111 def get_token_from_authorized_url(self, authorized_url, expected_state=None):CODE
LOWplugins/simpleping/js/simpleping.js352function pingMySQLDataGraphPosData(){CODE
LOWplugins/data_query/static/js/app.js439function mysqlCommonFuncRedundantIndexes(){CODE
LOWplugins/data_query/static/js/app.js764function mysqlCommonFuncDeadlockInfo(){CODE
LOWplugins/data_query/static/js/app.js791function mysqlCommonFuncSlaveStatus(){CODE
LOWplugins/apache/index.py212def op_submit_systemctl_restart():CODE
LOWplugins/apache/js/httpd.js163function startHttpdStatusAutoRefresh() {CODE
LOWplugins/apache/js/httpd.js177function stopHttpdStatusAutoRefresh() {CODE
Fake / Example Data12 hits · 12 pts
SeverityFileLineSnippetContext
LOWplugins/op_load_balance/js/app.js250 $('textarea[name="load_domain"]').attr('placeholder','每行填写一个域名,默认为80端口。\n泛解析添加方法 *.domain.com\n如另加端口格式为 www.CODE
LOWplugins/php/js/php.js546 $('input[name="passwd"]').attr('placeholder','如果没有密码留空');CODE
LOWplugins/php/js/php.js556 $('input[name="passwd"]').attr('placeholder','如果没有密码留空');CODE
LOWplugins/php-yum/js/php.js435 $('input[name="passwd"]').attr('placeholder','如果没有密码留空');CODE
LOWplugins/php-yum/js/php.js445 $('input[name="passwd"]').attr('placeholder','如果没有密码留空');CODE
LOWplugins/php-apt/js/php.js466 $('input[name="passwd"]').attr('placeholder','如果没有密码留空');CODE
LOWplugins/php-apt/js/php.js476 $('input[name="passwd"]').attr('placeholder','如果没有密码留空');CODE
LOWweb/static/codemirror/addon/display/placeholder.js1(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof defCODE
LOWweb/static/app/firewall.js45 $("#AcceptPort").attr('placeholder',p);CODE
LOWweb/static/app/site.js322 var placeholder = $("#inputPath").attr('placeholder');CODE
LOWweb/static/app/site.js1057 var placeholder = "<div class='placeholder'>每行填写一个域名,默认为80端口<br>泛解析添加方法 *.domain.com<br>如另加端口格式为 www.domain.com:88</dCODE
LOWweb/static/js/jquery-ui.min.js6(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){function e(t){for(var e=CODE
Dead Code4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMplugins/doh/index.py73CODE
MEDIUMplugins/doh/index.py75CODE
MEDIUMplugins/mysql/index.py1225CODE
MEDIUMplugins/migration_api/index.py572CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…s/xhprof/lib/xhprof_html/jquery/jquery.autocomplete.js342 // try to leverage ajaxQueue plugin to abort previous requestsCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWweb/utils/php/fcgi_client.py39__all__ = ['FCGIApp']CODE