dsh-code-coverage
Run the following command in DeepSeek Harness:
dsh plugin install SleepEggTart/dsh-code-coverage
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install SleepEggTart/dsh-code-coverage in DeepSeek Harness to install this plugin. Source: https://github.com/SleepEggTart/dsh-code-coverage
About this plugin
AI hands you a mountain of code, but how much of it actually sits under a safety net of tests? Traditional coverage tools hand you a single number and stop there. dsh-code-coverage goes one step further: it does not reinvent coverage collection, but layers attribution on top of c8 so you can see exactly what AI-authored code and human-authored code each look like in terms of test protection.
It parses DeepSeek Harness session logs to precisely identify which files were created or modified by AI tools (write, edit, str_replace_editor, including subagent sub-sessions), then cross-references the result with V8 coverage data gathered by c8 --all. The output includes an AI-vs-human line count and coverage comparison, a risk list of untested AI files ranked by uncovered lines, and a trust score from 0 to 100 with a letter grade. Installed as a DSH plugin, the Agent can call code_coverage_check, code_coverage_fix, and code_coverage_verify directly in conversation, forming a discover-generate-plan-re-verify loop without any manual CLI runs.
If you use DeepSeek Harness in your daily workflow and want a concrete, low-friction way to quantify how well AI-generated code is actually tested, or to back up team discussions about AI code testing habits with hard numbers, this plugin is a focused starting point. It does not judge test quality; it simply puts the blind spots on your desk.
Use Cases
- Quantify test coverage of AI-generated vs. human-authored code
- Identify high-risk untested AI files and generate a test-fix plan
- Re-run the pipeline after fixes to verify the closed-loop effect
Best For
- Developers coding daily with DeepSeek Harness
- Teams using data to drive AI code testing habits
- Engineers focused on quality assurance of AI output
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.