スキル一覧に戻る
stxkxs

hsm-test-coverage

by stxkxs

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

SKILL.md


name: HSM Test Coverage description: Analyze test coverage and identify gaps version: 1.0.0 tags: [hsm, testing, coverage]

HSM Test Coverage

Test coverage analysis for HSM modules.

Usage

/hsm-coverage [module-number]

What You Do

  1. Run Coverage:

    cargo tarpaulin --all --out Lcov
    

    Or for specific module:

    cd crates/<module> && cargo tarpaulin --out Lcov
    
  2. Parse Results: Extract:

    • Line coverage %
    • Branch coverage %
    • Uncovered lines/functions
  3. Compare Against Target: Target: >90% line coverage per module

  4. Identify Gaps: Report uncovered code paths with suggestions:

    Uncovered:
      src/asymmetric/rsa.rs:145-152   - Error handling for invalid key
    
    Suggested:
      - test_rsa_invalid_key_size()
      - test_rsa_error_recovery()
    
  5. Recommend Test Types:

    • Unit tests for basic functionality
    • Property tests for invariants
    • Fuzz tests for robustness
    • Integration tests for workflows

Target Coverage

All modules: >90% line coverage

スコア

総合スコア

50/100

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

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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