A clean, elegant, beautiful and powerful admin template, based on Vue3, Vite7, TypeScript, Pinia, NaiveUI and UnoCSS. 一个清新优雅、高颜值且功能强大的后台管理模板,基于最新的前端技术栈,包括 Vue3, Vite8, TypeScript, Pinia, NaiveUI 和 UnoCSS。
This report summarizes scanner evidence for soybeanjs/soybean-admin, a TypeScript project with 15,210 GitHub stars. SynthScan examined 35,155 lines of code across 276 source files, recording 46 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 41 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 43 finding(s).
Which changes need focused human review? 46 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 46 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/materials/src/libs/admin-layout/shared.ts | 14 | function createLayoutCssVarsByCssVarsProps(props: LayoutCssVarsProps) { | CODE |
| LOW | packages/color/src/shared/colord.ts | 65 | export function transformColorWithOpacity(color: AnyColor, alpha: number, bgColor = '#ffffff') { | CODE |
| LOW | packages/color/src/palette/recommend.ts | 16 | export function getRecommendedColorPalette(color: string) { | CODE |
| LOW | packages/color/src/palette/recommend.ts | 44 | export function getRecommendedPaletteColorByNumber(color: string, number: ColorPaletteNumber) { | CODE |
| LOW | packages/color/src/palette/recommend.ts | 57 | export function getRecommendedColorPaletteFamily(color: string) { | CODE |
| LOW | packages/color/src/palette/recommend.ts | 114 | function getNearestColorPaletteFamily(color: string, families: ColorPaletteFamily[]) { | CODE |
| LOW | packages/color/src/palette/antd.ts | 27 | export function getAntDPaletteColorByIndex(color: AnyColor, index: ColorIndex): string { | CODE |
| LOW | packages/axios/src/shared.ts | 64 | export async function transformArrayBufferToJson(response: AxiosResponse) { | CODE |
| LOW | src/plugins/app.ts | 13 | export function setupAppVersionNotification() { | CODE |
| LOW | src/layouts/base-layout/index.vue | 84 | function getSiderAndCollapsedWidth(isCollapsed: boolean) { | CODE |
| LOW | …eme-drawer/modules/appearance/modules/theme-schema.vue | 28 | function handleColourWeaknessChange(value: boolean) { | CODE |
| LOW | src/layouts/modules/global-menu/context/index.ts | 36 | function setActiveFirstLevelMenuKey(key: string) { | CODE |
| LOW | src/layouts/modules/global-menu/context/index.ts | 40 | function getActiveFirstLevelMenuKey() { | CODE |
| LOW | src/layouts/modules/global-menu/context/index.ts | 56 | function handleSelectFirstLevelMenu(key: RouteKey) { | CODE |
| LOW | src/layouts/modules/global-menu/context/index.ts | 70 | function setActiveSecondLevelMenuKey(key: string) { | CODE |
| LOW | src/layouts/modules/global-menu/context/index.ts | 74 | function getActiveSecondLevelMenuKey() { | CODE |
| LOW | src/layouts/modules/global-menu/context/index.ts | 99 | function handleSelectSecondLevelMenu(key: RouteKey) { | CODE |
| LOW | src/layouts/modules/global-menu/context/index.ts | 135 | function activeDeepestLevelMenuKey() { | CODE |
| LOW | src/layouts/modules/global-tab/index.vue | 86 | function getContextMenuDisabledKeys(tabId: string) { | CODE |
| LOW | src/hooks/common/router.ts | 39 | function routerPushByKeyWithMetaQuery(key: RouteKey) { | CODE |
| LOW | src/store/modules/app/index.ts | 72 | function updateDocumentTitleByLocale() { | CODE |
| LOW | src/store/modules/route/shared.ts | 118 | export function getGlobalMenusByAuthRoutes(routes: ElegantConstRoute[]) { | CODE |
| LOW | src/store/modules/route/shared.ts | 141 | export function updateLocaleOfGlobalMenus(menus: App.Global.Menu[]) { | CODE |
| LOW | src/store/modules/route/shared.ts | 225 | function recursiveGetIsRouteExistByRouteName(route: ElegantConstRoute, routeName: RouteKey) { | CODE |
| LOW | src/store/modules/route/shared.ts | 245 | export function getSelectedMenuKeyPathByKey(selectedKey: string, menus: App.Global.Menu[]) { | CODE |
| LOW | src/store/modules/route/shared.ts | 304 | function transformMenuToBreadcrumb(menu: App.Global.Menu) { | CODE |
| LOW | src/store/modules/route/shared.ts | 366 | export function transformMenuToSearchMenus(menus: App.Global.Menu[], treeMap: App.Global.Menu[] = []) { | CODE |
| LOW | src/store/modules/route/index.ts | 92 | function updateGlobalMenusByLocale() { | CODE |
| LOW | src/store/modules/route/index.ts | 234 | function handleConstantAndAuthRoutes() { | CODE |
| LOW | src/store/modules/route/index.ts | 276 | function handleUpdateRootRouteRedirect(redirectKey: LastLevelRouteKey) { | CODE |
| LOW | src/store/modules/route/index.ts | 321 | async function onRouteSwitchWhenLoggedIn() { | CODE |
| LOW | src/store/modules/route/index.ts | 325 | async function onRouteSwitchWhenNotLoggedIn() { | CODE |
| LOW | src/store/modules/theme/shared.ts | 191 | export function toggleAuxiliaryColorModes(grayscaleMode = false, colourWeakness = false) { | CODE |
| LOW | src/store/modules/theme/index.ts | 183 | function setWatermarkEnableUserName(enable: boolean) { | CODE |
| LOW | src/router/elegant/transform.ts | 16 | export function transformElegantRoutesToVueRoutes( | CODE |
| LOW | src/router/elegant/transform.ts | 30 | function transformElegantRouteToVueRoute( | CODE |
| LOW | src/router/elegant/transform.ts | 76 | function getSingleLevelRouteComponent(component: string) { | CODE |
| LOW | src/router/guard/route.ts | 162 | function getRouteQueryOfLoginRoute(to: RouteLocationNormalized, routeHome: RouteKey) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/pr-agent.yml | 24 | # ── 一处切换端点 / 模型 ───────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/pr-agent.yml | 70 | # ── 模型接入(OpenAI 兼容协议,换模型只改这三行)────────── | COMMENT |
| MEDIUM | .github/workflows/pr-agent.yml | 83 | # ── 端点 ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/pr-agent.yml | 88 | # ── 行为 ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/pr-agent.yml | 99 | # ── 评审聚焦 ───────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.en_US.md | 190 | - [PanisAdmin](https://github.com/paynezhuang/panis-admin): Adopting SpringBoot 3, SaToken, MySQL and other frameworks t | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/hooks/src/use-table.ts | 93 | async function getData() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/pr-agent.yml | 21 | cancel-in-progress: ${{ github.event_name == 'pull_request' }} | COMMENT |