スキル一覧に戻る
IvanTorresEdge

coverage-analysis

by IvanTorresEdge

0🍴 1📅 2026年1月13日
GitHubで見るManusで実行

SKILL.md


name: coverage-analysis description: Test coverage tracking and improvement strategies. Use when analyzing test coverage.

Coverage Analysis Skill

Test coverage analysis and improvement strategies.

When to Use

Use when analyzing or improving test coverage.

Running Coverage

# Basic coverage
go test -cover ./...

# Generate coverage profile
go test -coverprofile=coverage.out ./...

# HTML report
go tool cover -html=coverage.out

# Function-level coverage
go tool cover -func=coverage.out

Interpreting Coverage

github.com/user/project/service/user.go:15:   GetUser         80.0%
github.com/user/project/service/user.go:25:   CreateUser      100.0%
github.com/user/project/service/user.go:35:   DeleteUser      0.0%
total:                                         (statements)    75.5%

Coverage Goals

  • 70-80% - Good baseline
  • 80-90% - Excellent
  • 90%+ - Diminishing returns
  • Focus on critical paths
  • Don't chase 100%

CI/CD Integration

# GitHub Actions
- name: Test with Coverage
  run: |
    go test -v -coverprofile=coverage.out ./...
    go tool cover -func=coverage.out

Best Practices

  • Track coverage trends
  • Cover critical paths first
  • Don't ignore edge cases
  • Quality over quantity

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です