actions-template/badges/README.md

57 lines
1.7 KiB
Markdown

# 📊 代码统计详细报告
> 🤖 由 GitHub Actions 自动生成
>
> 📅 更新时间: 2025-11-02 13:56:45 UTC
## 📈 总体统计
| 统计项 | 数值 | 徽章 |
|--------|------|------|
| 💻 总代码行数 | **4813** 行 | ![代码行数](https://img.shields.io/endpoint?url=https://git.mytsl.cn/csh/actions-template/raw/branch/stats/badges/total-lines.json) |
| 📁 总文件数 | **22** 个 | ![文件数](https://img.shields.io/endpoint?url=https://git.mytsl.cn/csh/actions-template/raw/branch/stats/badges/total-files.json) |
| 🌐 语言种类 | **2** 种 | - |
## 🌈 语言分布
| 语言 | 代码行数 | 文件数 | 占比 | 徽章 |
|------|----------|--------|------|------|
| **Shell** | 1701 | 9 | 35.3% | ![Shell](https://img.shields.io/endpoint?url=https://git.mytsl.cn/csh/actions-template/raw/branch/stats/badges/shell-lines.json) |
| **YAML** | 1423 | 5 | 29.5% | ![YAML](https://img.shields.io/endpoint?url=https://git.mytsl.cn/csh/actions-template/raw/branch/stats/badges/yaml-lines.json) |
---
## ⚙️ 配置说明
### Token 配置
- 当前使用: **GITHUB_TOKEN**
- 推荐配置自定义 `STATS_TOKEN` 以获得更好的权限控制
### 排除规则
当前排除的目录:
```
node_modules,dist,build,out,target,vendor,.venv,venv,__pycache__,.git,.github
```
### 阈值设置
- 最小代码行数阈值: **10**
- 低于此阈值的语言将不会生成徽章
### 徽章样式
- 当前样式: **flat**
- 可选样式: flat, flat-square, plastic, for-the-badge, social
---
<div align="center">
*📊 由 [GitHub Actions](${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions) 自动生成和更新*
*🤖 生成时间: $(date -u '+%Y-%m-%d %H:%M:%S UTC')*
</div>