文件预览

report.md

查看 Code Analysis Skills 技能包中的文件内容。

文件内容

report.md

# 📊 Code Analysis Report

## 📁 Repository: code-analysis-skills

### 👤 enoyao

#### 🏆 Developer Evaluation

**Overall Score: 80.2/100 (Grade: A)**

> 👍 Solid developer. A few rough edges, but fundamentally strong.

**Dimension Scores:**

| Dimension | Score |
|-----------|-------|
| 📝 Commit Discipline | 80/100 ████████░░ |
| ⏰ Work Consistency | 85/100 ████████░░ |
| 🚀 Efficiency | 90/100 █████████░ |
| 🔍 Code Quality | 85/100 ████████░░ |
| 🎨 Code Style | 50/100 █████░░░░░ |
| 💪 Engagement | 75/100 ███████░░░ |

**✅ Strengths:**

- Consistent committer — maintains a healthy commit rhythm
- Healthy work-life balance — rarely works weekends
- Low code churn — writes stable, well-thought-out code
- Low rework rate — gets it right the first time
- Low bug-fix ratio — code quality is high from the start
- Near-zero reverts — careful and deliberate commits
- Strong code ownership — deeply invested in the codebase

**❌ Weaknesses:**

- Large commits (25% over 500 lines) — impossible to review. Break them down.
- Ignores commit conventions — makes automated changelogs impossible.

**💡 Suggestions:**

- ✂️ Break large changes into smaller, reviewable PRs. Aim for < 200 lines per commit.
- 🔗 Reference issue/ticket numbers in every commit. This is non-negotiable for project traceability.
- 🤝 Your file ownership is too concentrated. Pair-program and share knowledge to reduce bus factor risk.

#### 🐟 Slacking Index (摸鱼指数)

**Slacking Index: 25/100 — ✅ 正常 (✅ Normal)**

| Signal | Value |
|--------|-------|
| Activity Ratio | 100.0% |
| Trivial Commit Ratio | 25.0% |
| Large Gap Ratio | 0.0% |
| Avg Gap (hours) | 4.2 |
| Lines/Active Day | 2972.0 |
| Non-code Commit Ratio | 50.0% |
| Friday Ratio | 100.0% |
| Monday Ratio | 0.0% |

**Signal Breakdown:**

| Signal | Score |
|--------|-------|
| Commit Sparsity | 0 |
| Trivial Commits | 5.0 |
| Disappearance Acts | 0.0 |
| Low Output | 0 |
| Non-code Only | 5.0 |
| Procrastination | 10.0 |
| Copy-paste Signal | 5 |

#### 📝 Commit Patterns

| Metric | Value |
|--------|-------|
| Total Commits | 4 |
| Non-merge Commits | 4 |
| Merge Ratio | 0.0% |
| Active Span (days) | 1 |
| Unique Active Days | 1 |
| Avg Commits/Active Day | 4.0 |
| Avg Message Length | 21.5 |
| Avg Lines Added | 713.0 |
| Avg Lines Deleted | 30.0 |
| Avg Files Changed | 8.8 |
| Total Lines Added | 2,852 |
| Total Lines Deleted | 120 |

#### ⏰ Work Habits

| Metric | Value |
|--------|-------|
| Peak Hour | 9:00 |
| Weekday Commits | 4 |
| Weekend Commits | 0 |
| Weekend Ratio | 0.0% |
| Late Night Ratio | 0.0% |
| Longest Streak (days) | 1 |
| Avg Gap Between Commits (hrs) | 4.19 |

**Time Slot Distribution:**

| Time Slot | Commits |
|-----------|---------|
| Evening | 1 |
| Morning | 3 |

**Day of Week Distribution:**

| Day | Commits |
|-----|---------|
| Monday | 0 |
| Tuesday | 0 |
| Wednesday | 0 |
| Thursday | 0 |
| Friday | 4 |
| Saturday | 0 |
| Sunday | 0 |

#### 🚀 Development Efficiency

| Metric | Value |
|--------|-------|
| Churn Rate | 4.2% |
| Rework Ratio | 8.6% |
| Lines per Commit | 743.0 |
| Unique Files Touched | 32 |
| Owned Files | 32 |
| Ownership Ratio | 100.0% |
| Repo Avg Bus Factor | 1.0 |

#### 🎨 Code Style

| Metric | Value |
|--------|-------|
| Conventional Commit Ratio | 0.0% |
| Issue Reference Ratio | 0.0% |
| Avg Change Size (lines) | 84.9 |

**Language Distribution:**

| Extension | Modifications |
|-----------|---------------|
| .py | 20 |
| .md | 7 |
| .yaml | 2 |
| .gitignore | 1 |
| .toml | 1 |
| .ini | 1 |
| .txt | 1 |

**File Category Distribution:**

| Category | Count |
|----------|-------|
| source | 18 |
| documentation | 9 |
| test | 4 |
| config | 3 |
| ci_cd | 1 |

#### 🔍 Code Quality

| Metric | Value |
|--------|-------|
| Bug Fix Ratio | 0.0% |
| Revert Ratio | 0.0% |
| Large Commit Ratio | 25.0% |
| Test Modification Ratio | 11.4% |
| Doc Modification Ratio | 25.7% |
| Avg Commit Size | 743.0 |
| Median Commit Size | 407 |
| Avg Python Complexity | 5.34 |

---


## 🏆 Developer Leaderboard

| Rank | Developer | Score | Grade | Verdict |
|------|-----------|-------|-------|---------|
| 1 | enoyao | 80.2 | A | 👍 Solid developer. A few rough edges, but fundamentally strong. |

## 🐟 Slacking Index Leaderboard (摸鱼排行榜)

| Rank | Developer | Slacking Index | Level | Lines/Day |
|------|-----------|----------------|-------|-----------|
| 1 | enoyao | 25/100 | ✅ 正常 | 2972.0 |