Repository Analysis

hiddify/hiddify-app

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.

3.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of hiddify/hiddify-app, a Dart project with 31,450 GitHub stars. SynthScan v2.0 examined 71,602 lines of code across 462 source files, recording 186 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 3.4 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.4
Adjusted Score
3.4
Raw Score
100%
Time Factor
2026-06-17
Last Push
31.4K
Stars
Dart
Language
71.6K
Lines of Code
462
Files
186
Pattern Hits
2026-07-14
Scan Date
0.01
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 6HIGH 0MEDIUM 2LOW 178

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

Over-Commented Block172 hits · 168 pts
SeverityFileLineSnippetContext
LOW.aider.conf.yml1##########################################################COMMENT
LOW.aider.conf.yml21model: openrouter/tencent/hy3-previewCOMMENT
LOW.aider.conf.yml41COMMENT
LOW.aider.conf.yml61# - yyyCOMMENT
LOW.aider.conf.yml81# - yyyCOMMENT
LOW.aider.conf.yml101COMMENT
LOW.aider.conf.yml121#max-chat-history-tokens: xxxCOMMENT
LOW.aider.conf.yml141## Multiplier for map tokens when no files are specified (default: 2)COMMENT
LOW.aider.conf.yml161COMMENT
LOW.aider.conf.yml181#tool-error-color: "#FF2222"COMMENT
LOW.aider.conf.yml201## Set the markdown code theme (default: default, other options include monokai, solarized-dark, solarized-light, or a PCOMMENT
LOW.aider.conf.yml221COMMENT
LOW.aider.conf.yml241#attribute-commit-message-committer: falseCOMMENT
LOW.aider.conf.yml261## Enable/disable watching files for ai coding comments (default: False)COMMENT
LOW.aider.conf.yml281## Specify command to run testsCOMMENT
LOW.aider.conf.yml301COMMENT
LOW.aider.conf.yml321#install-main-branch: falseCOMMENT
LOW.aider.conf.yml341## Enable automatic copy/paste of chat between aider and web UI (default: False)COMMENT
LOW.aider.conf.yml361COMMENT
LOW.aider.conf.yml381# - xxxCOMMENT
LOW.aider.conf.yml401#yes-always: falseCOMMENT
LOW.aider.conf.yml421## Enable/disable suggesting shell commands (default: True)COMMENT
LOW.aider.conf.yml441COMMENT
LOW.aider.conf.yml461#4o: falseCOMMENT
LOWbuild.yaml21 translation_class_visibility: publicCOMMENT
LOWmacos/Runner/AppDelegate.swift21 }COMMENT
LOWtest/drift/db/migration_test.dart41 // The following template shows how to write tests ensuring your migrationsCOMMENT
LOWios/HiddifyPacketTunnel/SingBox/ExtensionProvider.swift181 writeMessage("(packet-tunnel) reloading service")COMMENT
LOW…yPacketTunnel/SingBox/ExtensionPlatformInterface.swift381// #elseif os(macOS)COMMENT
LOW…yPacketTunnel/SingBox/ExtensionPlatformInterface.swift401// #if os(iOS)COMMENT
LOW…yPacketTunnel/SingBox/ExtensionPlatformInterface.swift481 }COMMENT
LOWios/Runner/Handlers/MethodHandler.swift141// let name = args["name"] as? String,COMMENT
LOWios/Shared/CommandClient.swift61// case .groupsInfoOnly:COMMENT
LOWios/Shared/CommandClient.swift81// }COMMENT
LOWios/Shared/CommandClient.swift101// COMMENT
LOWios/Shared/CommandClient.swift121//// }COMMENT
LOWios/Shared/CommandClient.swift141// while groupItems?.hasNext() ?? false {COMMENT
LOWios/Shared/CommandClient.swift161// COMMENT
LOWlinux/packaging/appimage/make_config.yaml41 - x-scheme-handler/sing-boxCOMMENT
LOWlinux/packaging/rpm/make_config.yaml1COMMENT
LOWlinux/packaging/rpm/make_config.yaml21# - HiddifyCOMMENT
LOWlinux/packaging/rpm/make_config.yaml41# # app_links setup for LinuxCOMMENT
LOWlinux/flutter/generated_plugin_registrant.h1//COMMENT
LOW…pp/src/main/kotlin/com/hiddify/hiddify/StatsChannel.kt1package com.hiddify.hiddifyCOMMENT
LOW…pp/src/main/kotlin/com/hiddify/hiddify/StatsChannel.kt21// private var statsEvent: EventChannel.EventSink? = nullCOMMENT
LOW…pp/src/main/kotlin/com/hiddify/hiddify/StatsChannel.kt41// JSONMethodCodec.INSTANCECOMMENT
LOW…pp/src/main/kotlin/com/hiddify/hiddify/StatsChannel.kt61// commandClient.disconnect()COMMENT
LOW…p/src/main/kotlin/com/hiddify/hiddify/GroupsChannel.kt1package com.hiddify.hiddifyCOMMENT
LOW…p/src/main/kotlin/com/hiddify/hiddify/GroupsChannel.kt21//COMMENT
LOW…p/src/main/kotlin/com/hiddify/hiddify/GroupsChannel.kt41// Log.d(TAG, "connecting groups command client")COMMENT
LOW…p/src/main/kotlin/com/hiddify/hiddify/MethodHandler.kt141 if (!started) {COMMENT
LOW…p/src/main/kotlin/com/hiddify/hiddify/MethodHandler.kt161// if (restart) {COMMENT
LOW…main/kotlin/com/hiddify/hiddify/ActiveGroupsChannel.kt21// private val client =COMMENT
LOW…main/kotlin/com/hiddify/hiddify/ActiveGroupsChannel.kt41// override fun onListen(arguments: Any?, events: EventChannel.EventSink?) {COMMENT
LOW…main/kotlin/com/hiddify/hiddify/utils/CommandClient.kt21// private val scope: CoroutineScope,COMMENT
LOW…main/kotlin/com/hiddify/hiddify/utils/CommandClient.kt41// }COMMENT
LOW…main/kotlin/com/hiddify/hiddify/utils/CommandClient.kt61// try {COMMENT
LOW…main/kotlin/com/hiddify/hiddify/utils/CommandClient.kt81// fun disconnect() {COMMENT
LOW…main/kotlin/com/hiddify/hiddify/utils/CommandClient.kt101// override fun writeGroups(message: OutboundGroupIterator?) {COMMENT
LOW…main/kotlin/com/hiddify/hiddify/utils/CommandClient.kt121//COMMENT
112 more matches not shown…
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICAL…s/settings/overview/sections/routing_options_page.dart200 t.pages.settings.routing.generalOptions.perAppProxy.autoSelection.dialog.msg(CODE
CRITICALlib/features/route_rules/widget/rule_tile.dart43 message: t.dialogs.confirmation.routeRule.delete.msg(rulename: rule.name),CODE
CRITICAL…res/per_app_proxy/overview/per_app_proxy_notifier.dart71 t.pages.settings.routing.generalOptions.perAppProxy.autoSelection.toast.regionNotFound(CODE
CRITICAL…eatures/profile/notifier/profiles_update_notifier.dart99 .showErrorToast(t.pages.profiles.msg.update.failureNamed(name: profile.name));CODE
CRITICAL…eatures/profile/notifier/profiles_update_notifier.dart106 .showSuccessToast(t.pages.profiles.msg.update.successNamed(name: profile.name));CODE
CRITICAL…features/profile/details/profile_details_notifier.dart109 t.presentError(l, action: t.pages.profiles.msg.update.failureNamed(name: value.profile.name)),CODE
Hyper-Verbose Identifiers4 hits · 6 pts
SeverityFileLineSnippetContext
LOWweb/drift_worker.js43a[b]=r}function setOrUpdateInterceptorsByTag(a){var s=v.interceptorsByTagCODE
LOWweb/drift_worker.js43a[b]=r}function setOrUpdateInterceptorsByTag(a){var s=v.interceptorsByTagCODE
LOWweb/drift_worker.js45return}copyProperties(a,s)}function setOrUpdateLeafTags(a){var s=v.leafTagsCODE
LOWweb/drift_worker.js12935 function getUnknownTagGenericBrowser(object, tag) {CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.aider.conf.yml73## Specify a file with context window and costs for unknown modelsCOMMENT
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMmacos/Runner/AppDelegate.swift19 print("Error requesting notification authorization: \(error)")CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.aider.conf.yml117## Check if model accepts settings like reasoning_effort/thinking_tokens (default: True)COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/auto_translator.py1CODE