← 返回
未分类 中文

hgbvhjgfvgh

Analyze test coverage gaps by comparing test files against source modules to identify untested code paths and critical functions.
通过对比测试文件与源代码模块,分析测试覆盖缺口,定位未覆盖代码路径和关键函数。
jk625x jk625x 来源
未分类 clawhub v1.0.4 1 版本 100000 Key: 无需
★ 0
Stars
📥 105
下载
💾 0
安装
1
版本
#latest

概述

Test Coverage Report

Identify test coverage gaps by analyzing the relationship between source modules and their corresponding test files.

Analysis Steps

  • Map each source file to its test file(s) using naming conventions (.test.ts, .spec.ts, __tests__/).
  • Identify source files with no corresponding test file.
  • For files with tests, check which exported functions and classes have test coverage.
  • Prioritize coverage gaps by risk: public API surface, error handling paths, and data mutation functions.
  • Check for test files that import from modules that no longer exist (orphaned tests).

Risk Scoring

  • Critical: Public API handlers with no test coverage.
  • High: Data mutation functions (create, update, delete) without tests.
  • Medium: Utility functions used by multiple modules without tests.
  • Low: Internal helper functions with single callers.

Output

Provide a coverage gap report sorted by risk level. For each gap, show the source file, the untested exports, and a suggested test outline.

版本历史

共 1 个版本

  • v1.0.4 当前
    2026-06-06 07:06

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 42,141
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 686 📥 331,308
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 198 📥 68,268