Repository Analysis

qixing-jk/all-api-hub

All-in-one New-API/Sub2API account hub: balance/usage dashboard, auto check-in, one-click keys, price comparison, health checks, plus advanced channel management | 一站式 New-API/Sub2API 等中转站账号管理:余额/用量看板、自动签到、密钥一键使用、价格对比、可用性测试,另提供高级渠道管理

2.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of qixing-jk/all-api-hub, a TypeScript project with 4,437 GitHub stars. SynthScan v2.0 examined 809,811 lines of code across 3049 source files, recording 1976 pattern matches distributed across 10 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
4.4K
Stars
TypeScript
Language
809.8K
Lines of Code
3.0K
Files
2.0K
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 0HIGH 1MEDIUM 5LOW 1970

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 1976 distinct pattern matches across 10 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 Identifiers1757 hits · 1790 pts
SeverityFileLineSnippetContext
LOWwxt.config.ts110function getManifestRequiredPermissions(browser: BrowserTarget) {CODE
LOWwxt.config.ts121function getManifestOptionalPermissions(browser: BrowserTarget) {CODE
LOWwxt.config.ts134function getChromiumOptionalPermissions() {CODE
LOWwxt.config.ts165function shortenPathForManifestDescription(value: string, maxLen: number) {CODE
LOWwxt.config.ts181function buildDevManifestDescription(projectPath: string) {CODE
LOWtests/test-utils/mockPreferencePersistence.ts21export function createPersistedPreferencesFixture(CODE
LOWtests/test-utils/mockPreferencePersistence.ts29export function setupMockPreferencePersistence(CODE
LOWtests/test-utils/kiloCodeExportGuidance.ts23export function expectKiloCodeUsageGuidance(target: KiloCodeExportTarget) {CODE
LOWtests/test-utils/factories.ts44export function buildApiCheckClipboardText(params?: {CODE
LOWtests/test-utils/factories.ts57export function buildShareSnapshotPayload(CODE
LOWtests/test-utils/factories.ts263export function buildApiCredentialProfile(CODE
LOWtests/contexts/ThemeContext.test.tsx29function createMatchMediaController(initialMatches = false) {CODE
LOW…ssingKeysDialog/RepairMissingKeysResultsPanel.test.tsx115function renderPanelWithSearchState({CODE
LOW…atures/ImportExport/components/WebDAVSettings.test.tsx260function clearWebdavSyncDataSelection() {CODE
LOW…delList/components/AllAccountsGroupFilterMenu.test.tsx57async function openAccountGroupFilterMenu(CODE
LOW…roductAnnouncements/ProductAnnouncementBanner.test.tsx77function ProductAnnouncementBannerFromHook() {CODE
LOW…ntManagement/AccountManagement.bookmarkImport.test.tsx126 default: function MockBookmarkAccountImportDialog({CODE
LOW…sts/features/AccountManagement/sponsors/loader.test.ts201function expectBundledSponsorFallback(CODE
LOW…es/AccountManagement/components/CopyKeyDialog.test.tsx355async function renderExpandedServiceCredentialDialog() {CODE
LOW…ountManagement/components/NewcomerSupportCard.test.tsx59function setSponsorRecommendations(items: SponsorRecommendation[]) {CODE
LOW…ountManagement/components/NewcomerSupportCard.test.tsx115function renderNewcomerSupportCard() {CODE
LOW…gement/components/BookmarkAccountImportDialog.test.tsx120async function allowBookmarksAndScanSelected(CODE
LOW…gement/components/BookmarkAccountImportDialog.test.tsx183function bookmarkTreeWithNestedFolders() {CODE
LOW…gement/components/BookmarkAccountImportDialog.test.tsx216function bookmarkTreeWithFolderOnlySearchMatch() {CODE
LOW…ures/AccountManagement/components/AccountList.test.tsx370function createAccountDataContextValue(CODE
LOW…es/AccountManagement/hooks/AccountDataContext.test.tsx30function createMockIndexedAccountSearchEntries(CODE
LOW…es/AccountManagement/hooks/AccountDataContext.test.tsx393async function renderAccountDataProvider() {CODE
LOW…ooks/useAccountDialog.duplicateAccountWarning.test.tsx62 async function renderDuplicateWarningHook(CODE
LOWtests/utils/tempWindowFetch.fallback.test.ts92function buildTempWindowPreferences(CODE
LOWtests/utils/i18nLocaleValidation.test.ts194function readUseTranslationNamespaces(call: ts.CallExpression) {CODE
LOWtests/utils/i18nLocaleValidation.test.ts237function jsxElementUsesPluralCount(CODE
LOWtests/utils/i18nLocaleValidation.test.ts270function mayContainStaticTranslationReference(sourceText: string) {CODE
LOWtests/utils/accountProviderDestinationsScenario.test.ts242function createProviderDestinationsPage(options: {CODE
LOWtests/components/RootErrorBoundary.test.tsx60function BrokenTranslatedDomNameChild(): ReactNode {CODE
LOWtests/components/RootErrorBoundary.test.tsx64function BrokenTranslatedDomMessageChild(): ReactNode {CODE
LOWtests/components/FloatingLayerPrimitives.test.tsx119function ModalComboboxEscapeHarness({ onClose }: { onClose: () => void }) {CODE
LOW…/dialogs/ChannelDialog/ChannelDialogContainer.test.tsx53function OpenDefaultTokenQuickCreateDialog({CODE
LOWtests/hooks/useHorizontalScrollControls.test.tsx22function HorizontalScrollControlsHarness({CODE
LOW…ypoints/background/tempWindowPoolNativeCheckin.test.ts25async function settleTempContextReadiness() {CODE
LOW…s/entrypoints/options/BasicSettings.lazyMount.test.tsx185function stubDesktopTabMeasurements() {CODE
LOW…s/entrypoints/options/BasicSettings.lazyMount.test.tsx198function configureDesktopTabOverflow(CODE
LOWtests/entrypoints/options/search/recentItems.test.ts14async function importRecentItemsWithStorageMock(storageOverrides: {CODE
LOW…s/KeyManagement/TokenHeader.saveToApiProfiles.test.tsx125function createManagedSiteAssessment(CODE
LOW…tialProfiles/VerifyApiCredentialProfileDialog.test.tsx70async function selectOpenAICompatibleApiTypeOption(CODE
LOW…options/pages/OptionsOverview/OptionsOverview.test.tsx1068function hasWorkflowTransitionIcon(element: HTMLElement) {CODE
LOWtests/entrypoints/popup/viewRegistry.test.tsx56 default: forwardRef(function ApiCredentialProfilesPopupView(_props, ref) {CODE
LOW…s/entrypoints/content/shared/ContentReactRoot.test.tsx43function createMatchMediaController(initialMatches = false) {CODE
LOWtests/services/webdavAutoSyncService.lifecycle.test.ts31async function resolveWebdavAutoSyncTestMessage(request: any) {CODE
LOWtests/services/newApiService/newApiService.test.ts127function createMockDisplaySiteData(CODE
LOWtests/services/newApiService/newApiService.test.ts174function createMockUserPreferencesWithNewApi(overrides?: any) {CODE
LOWtests/services/newApiService/newApiService.test.ts264function createMockNewApiChannelListData(channels?: any[]) {CODE
LOW…s/services/aiApiVerification/probes.additional.test.ts40function createAbortedSignalFixture() {CODE
LOWtests/services/apiTransport/request.test.ts121function mockTempWindowFallbackDisabledPreference() {CODE
LOWtests/services/apiTransport/request.test.ts134async function expectTempWindowDisabledFallback(CODE
LOWtests/services/productAnnouncements/messaging.test.ts31function resetProductAnnouncementServiceState() {CODE
LOWtests/services/veloeraService/veloeraService.test.ts67function createMockUserPreferencesWithVeloera(CODE
LOWtests/services/veloeraService/veloeraService.test.ts80function createMockDisplaySiteData(CODE
LOWtests/services/veloeraService/veloeraService.test.ts121function createMockManagedSiteChannel(overrides: Record<string, unknown> = {}) {CODE
LOW…owers/plans/2026-06-21-account-site-product-profile.md1001export function normalizeAccountSiteUrlForStorage(params: {CODE
LOW…owers/plans/2026-06-21-account-site-product-profile.md1008export function normalizeAccountSiteUrlForManagedChannel(params: {CODE
1697 more matches not shown…
Fake / Example Data184 hits · 211 pts
SeverityFileLineSnippetContext
LOWtests/contexts/UserPreferencesContext.test.tsx581 await context.updateAxonHubEmail("admin@example.com")CODE
LOWtests/contexts/UserPreferencesContext.test.tsx677 axonHub: { email: "admin@example.com" },CODE
LOWtests/contexts/UserPreferencesContext.test.tsx1130 email: "admin@example.com",CODE
LOW…res/ManagedSiteModelSync/ManagedSiteModelSync.test.tsx485 email: "admin@example.com",CODE
LOW…ccountManagement/components/AccountDialogForm.test.tsx215 "placeholder",CODE
LOW…ccountManagement/components/AccountDialogForm.test.tsx230 "placeholder",CODE
LOWtests/components/ApiCheckModalHost.test.tsx3898 input.getAttribute("placeholder") !==CODE
LOWtests/entrypoints/options/AxonHubSettings.test.tsx199 axonHubEmail: "admin@example.com",CODE
LOWtests/entrypoints/options/AxonHubSettings.test.tsx359 axonHubEmail: "admin@example.com",CODE
LOWtests/entrypoints/options/ManagedSiteTab.test.tsx127 axonHubEmail: "admin@example.com",CODE
LOW…pages/ManagedSiteChannels/ManagedSiteChannels.test.tsx377 email: "admin@example.com",CODE
LOW…pages/ManagedSiteChannels/ManagedSiteChannels.test.tsx2234 email: "admin@example.com",CODE
LOW…pages/ManagedSiteChannels/ManagedSiteChannels.test.tsx2287 email: "admin@example.com",CODE
LOW…pages/ManagedSiteChannels/ManagedSiteChannels.test.tsx2308 email: "admin@example.com",CODE
LOW…sts/services/userPreferences.managedSiteConfig.test.ts106 email: "admin@example.com",CODE
LOW…sts/services/userPreferences.managedSiteConfig.test.ts116 email: "admin@example.com",CODE
LOW…sts/services/userPreferences.managedSiteConfig.test.ts238 email: "admin@example.com",CODE
LOW…services/managedSiteService/managedSiteService.test.ts252 email: "admin@example.com",CODE
LOW…services/managedSiteService/managedSiteService.test.ts355 email: "admin@example.com",CODE
LOW…services/managedSiteService/managedSiteService.test.ts559 email: "admin@example.com",CODE
LOW…services/managedSiteService/managedSiteService.test.ts567 email: "admin@example.com",CODE
LOWtests/services/productAnalytics/settings.test.ts111 username: "admin@example.com",CODE
LOWtests/services/productAnalytics/privacy.test.ts74 email: "user@example.com",CODE
LOWtests/services/managedSites/managedSiteUtils.test.ts127 email: "admin@example.com",CODE
LOWtests/services/managedSites/managedSiteUtils.test.ts155 userId: "admin@example.com",CODE
LOWtests/services/managedSites/managedSiteUtils.test.ts230 email: "admin@example.com",CODE
LOWtests/services/managedSites/managedSiteUtils.test.ts255 email: "admin@example.com",CODE
LOWtests/services/managedSites/managedSiteUtils.test.ts268 userId: "admin@example.com",CODE
LOWtests/services/managedSites/managedSiteUtils.test.ts283 email: "admin@example.com",CODE
LOWtests/services/managedSites/runtimeConfig.test.ts59 email: "admin@example.com",CODE
LOWtests/services/managedSites/runtimeConfig.test.ts130 email: "admin@example.com",CODE
LOWtests/services/managedSites/runtimeConfig.test.ts283 email: "admin@example.com",CODE
LOWtests/services/managedSites/runtimeConfig.test.ts317 userId: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts127 email: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts740 email: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts824 email: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts907 email: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts965 email: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts1010 email: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts1162 email: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts1499 email: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts1614 email: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts1682 email: "admin@example.com",CODE
LOWtests/services/managedSites/channelMigration.test.ts1708 email: "admin@example.com",CODE
LOWtests/services/managedSites/providers/axonHub.test.ts95 email: "admin@example.com",CODE
LOWtests/services/apiService/axonHub/index.test.ts31 email: "admin@example.com",CODE
LOWtests/services/modelSync/scheduler.test.ts216 email: "admin@example.com",CODE
LOWtests/services/modelSync/modelSyncService.test.ts158 email: "admin@example.com",CODE
LOWtests/services/modelSync/modelSyncService.test.ts398 adminToken: "dummy-token",CODE
LOW…powers/plans/2026-05-19-managed-site-runtime-config.md102 email: "admin@example.com",CODE
LOW…powers/plans/2026-05-19-managed-site-runtime-config.md166 email: "admin@example.com",CODE
LOW…powers/plans/2026-05-19-managed-site-runtime-config.md206 email: "admin@example.com",CODE
LOW…powers/plans/2026-05-19-managed-site-runtime-config.md240 userId: "admin@example.com",CODE
LOW…powers/plans/2026-05-19-managed-site-runtime-config.md479 email: "admin@example.com",CODE
LOW…powers/plans/2026-05-19-managed-site-runtime-config.md487 email: "admin@example.com",CODE
LOW…powers/plans/2026-05-19-managed-site-runtime-config.md1059 email: "admin@example.com",CODE
LOW…/plans/2026-07-03-account-runtime-key-product-model.md31 - Replaces service-credential fake-token assertions with runtime-key assertions.CODE
LOW…2026-07-03-account-runtime-key-product-model-design.md346- Run a final grep for new fake-token ids and service-credential token wording.CODE
LOWsrc/locales/vi/modelRedirect.json44 "placeholder": "Tìm kiếm kênh (tên hoặc ID)…"CODE
LOWsrc/locales/vi/settings.json83 "emailPlaceholder": "admin@example.com",CODE
124 more matches not shown…
Modern AI Meta-Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM…enspec/specs/model-redirect-mapping-guardrails/spec.md1# model-redirect-mapping-guardrails SpecificationCOMMENT
MEDIUM…/changes/archive/2026-02-04-web-ai-api-check/design.md60### 2) Run network operations in background; content script only orchestrates UICOMMENT
MEDIUM…hive/2026-03-19-temp-window-onsuspend-cleanup/tasks.md1## 1. Recon and scope guardrailsCOMMENT
MEDIUM…26-03-26-require-sub2api-key-group-selection/design.md88### Decision: Use local dialog state for local flows and global dialog orchestration for resumable flowsCOMMENT
MEDIUM…026-01-26-quantify-message-action-identifiers/tasks.md29## 5. Tests and guardrailsCOMMENT
Excessive Try-Catch Wrapping13 hits · 12 pts
SeverityFileLineSnippetContext
LOWdocs_assistant/contributors.py467 except Exception as e:STRING
LOWdocs_assistant/contributors.py529 except Exception as e:STRING
LOWdocs_assistant/translate.py511 except Exception as e:CODE
LOWdocs_assistant/translate.py540 except Exception as e:CODE
LOWdocs_assistant/translate.py612 except Exception as e:CODE
LOWdocs_assistant/translate.py653 except Exception as e:CODE
LOWdocs_assistant/translate.py742 except Exception as e:CODE
LOWdocs_assistant/find_missing.py135 except Exception as e:CODE
LOWdocs_assistant/changelog.py22 except Exception:CODE
LOWdocs_assistant/changelog.py190 except Exception as e:CODE
LOWdocs_assistant/utils.py32 except Exception as e:CODE
LOWdocs_assistant/afdian_api.py95 except Exception as e:CODE
LOWdocs_assistant/main.py97 except Exception as e:CODE
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWdocs_assistant/sync_translations.py90CODE
LOWdocs_assistant/translate.py531CODE
LOWdocs_assistant/translate.py622CODE
LOWdocs_assistant/translate.py659CODE
LOWdocs_assistant/github_api.py17CODE
LOWdocs_assistant/find_missing.py54CODE
LOWdocs_assistant/afdian_api.py28CODE
LOWdocs_assistant/main.py18CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs_assistant/README.md20export OPENAI_API_KEY="your-api-key-here"CODE
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdocs/docs/en/usage-analytics.md24## Step 1: Enable Usage History SynchronizationCOMMENT
LOWdocs/docs/en/usage-analytics.md57## Step 2: Access the Usage Analysis PageCOMMENT
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWdocs_assistant/sync_translations.py16logger = logging.getLogger(__name__)CODE
LOWdocs_assistant/translate.py22logger = logging.getLogger(__name__)CODE
LOWdocs_assistant/find_missing.py18logger = logging.getLogger(__name__)CODE
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdocs_assistant/afdian_api.py7CODE
LOWdocs_assistant/main.py4CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/constants/designTokens.ts41 // },COMMENT