Repository Analysis

ant-design/ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!

0.5 Likely human-written View on GitHub
0.5
Adjusted Score
0.5
Raw Score
100%
Time Factor
2026-05-29
Last Push
38,295
Stars
TypeScript
Language
75,429
Lines of Code
304
Files
16
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 10LOW 5

Pattern Findings

16 matches across 4 categories. Click a row to expand file-level details.

Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippet
MEDIUMscripts/i18n-remove.js34// ─── 工具函数 ───────────────────────────────────────────
MEDIUMscripts/i18n-remove.js101// ─── Step 1: 构建 zh-CN 翻译映射 ────────────────────────
MEDIUMscripts/i18n-remove.js135// ─── Step 2: 获取 menu 映射 ─────────────────────────────
MEDIUMscripts/i18n-remove.js147// ─── Step 3: 替换路由文件中的 name ──────────────────────
MEDIUMscripts/i18n-remove.js185// ─── Step 4: 从 config/config.ts 移除 locale 配置 ────────
MEDIUMscripts/i18n-remove.js217// ─── Step 5: 替换源文件中的 i18n 调用 ──────────────────
MEDIUMscripts/i18n-remove.js494// ─── Step 6: 删除 locales 目录 ─────────────────────────
MEDIUMscripts/i18n-remove.js502// ─── 残留检查 ────────────────────────────────────────────
MEDIUMscripts/i18n-remove.js545// ─── Step 7: 从 package.json 移除 i18n-remove 脚本 ──────
MEDIUMscripts/i18n-remove.js558// ─── 主函数 ─────────────────────────────────────────────
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippet
HIGHdocs/cheatsheet.en-US.md616- **`src/services/ant-design-pro/`** is auto-generated code. Do NOT edit manually. Modify `config/oneapi.json` and run `
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippet
LOWcloudflare-worker/src/data/dashboard.ts1function generateAnalysisChartData() {
LOWscripts/i18n-remove.js378function replaceFormatMessageCalls(content, localeMap) {
LOWscripts/i18n-remove.js433function replaceFormattedMessageComponents(content, localeMap) {
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippet
LOWdocs/cheatsheet.zh-CN.md521
LOWdocs/cheatsheet.en-US.md521