Website · Quick Start · Languages · Pricing
Most documentation tools (documentation.js, typedoc, Sphinx, godoc, Javadoc) generate documentation from existing comments. But they cannot tell you what is missing. They cannot measure coverage. They cannot enforce quality.
DocCoverage is different. It scans your codebase and tells you:
- Which public functions have no documentation at all
- Which JSDoc/docstrings are incomplete (missing @param, @returns, Args, Returns)
- Whether your README has required sections (installation, usage, API)
- Whether your CHANGELOG is up to date
- Whether your comments are actually helpful or just noise
DocCoverage measures doc coverage and quality before your code ships. Pre-commit hooks. Local scanning. 85+ patterns across 5 languages. Zero data leaves your laptop.
# 1. Install via ClawHub (free)
clawhub install doccoverage
# 2. Scan your repo
doccoverage scan
# 3. Install pre-commit hooks (Pro)
doccoverage hooks installThat's it. Every commit is now checked for documentation gaps.
One command to scan any file, directory, or your entire repo. 85+ regex patterns detect missing JSDoc, docstrings, godoc comments, Javadoc, YARD docs, incomplete parameter descriptions, and documentation quality issues across JS/TS, Python, Go, Java, and Ruby.
Install a lefthook pre-commit hook that scans every staged file. If a documentation gap is detected, the commit is blocked with a clear remediation message.
Produce markdown reports with coverage percentages, severity breakdowns, and remediation steps. Ideal for documentation reviews and team standards.
Get precise documentation coverage metrics: what percentage of your public API is documented, broken down by language, file, and category.
Define organization-specific policies (all public APIs must have @example, all @param must include type) and enforce them alongside the built-in 85+ patterns.
Check that your CHANGELOG has entries for recent tags, proper date formatting, and no empty sections.
| Feature | DocCoverage | documentation.js | typedoc | pydocstyle | golint | Javadoc | inch |
|---|---|---|---|---|---|---|---|
| Measures doc coverage | Yes | No | No | Partial | Partial | No | Yes |
| Multi-language (5+) | Yes | JS only | TS only | Python only | Go only | Java only | Elixir |
| Missing function docs | Yes | No | No | Yes | Yes | No | Yes |
| Incomplete param docs | Yes | No | No | Yes | No | No | No |
| README section analysis | Yes | No | No | No | No | No | No |
| CHANGELOG verification | Yes | No | No | No | No | No | No |
| Comment quality checks | Yes | No | No | No | No | No | No |
| Pre-commit hooks | Yes | No | No | No | No | No | No |
| Zero config scan | Yes | Config needed | Config needed | Config needed | N/A | N/A | Config needed |
| Doc coverage percentage | Yes | No | No | No | No | No | Yes |
| SARIF output for CI/CD | Yes | No | No | No | No | No | No |
| Offline license validation | Yes | N/A | N/A | N/A | N/A | N/A | N/A |
| Local-only (no cloud) | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Zero telemetry | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| ClawHub integration | Yes | No | No | No | No | No | No |
| Price (individual) | Free/$19/mo | Free | Free | Free | Free | Free | Free |
Key difference: Those tools generate documentation. DocCoverage measures whether documentation exists and whether it is complete.
DocCoverage detects 85+ documentation patterns across 5 languages:
| Check | Severity | Description |
|---|---|---|
| Exported function without JSDoc | Critical | export function/const without preceding JSDoc block |
| Missing @param tags | High | JSDoc present but @param missing for function parameters |
| Missing @returns tag | High | JSDoc present but @returns missing for non-void functions |
| React component without prop docs | Medium | Exported React component without prop type descriptions |
| TypeScript interface without docs | Medium | Exported interface members without doc comments |
| Check | Severity | Description |
|---|---|---|
| Public function without docstring | Critical | def without triple-quote docstring |
| Missing Args section | High | Docstring present but Args: section missing |
| Missing Returns section | High | Docstring present but Returns: section missing |
| init without docstring | Medium | Class constructor without documentation |
| Abstract method without docstring | Medium | Abstract method missing documentation |
| Check | Severity | Description |
|---|---|---|
| Exported function without godoc | Critical | Exported func without preceding comment |
| Exported type without godoc | High | Exported type/struct without preceding comment |
| Exported method without godoc | High | Exported method without preceding comment |
| Check | Severity | Description |
|---|---|---|
| Public method without Javadoc | Critical | public method without /** ... */ block |
| Missing @param in Javadoc | High | Javadoc present but @param missing |
| Missing @return in Javadoc | High | Javadoc present but @return missing |
| Check | Severity | Description |
|---|---|---|
| Public method without YARD doc | Critical | def without preceding # comment block |
| Missing @param in YARD | High | YARD doc present but @param missing |
| Missing @return in YARD | High | YARD doc present but @return missing |
| Feature | Free | Pro ($19/user/mo) | Team ($39/user/mo) |
|---|---|---|---|
| One-shot doc scan | 5 files | Unlimited | Unlimited |
| 85+ detection patterns | Yes | Yes | Yes |
| Auto-detect languages | Yes | Yes | Yes |
| Pre-commit hooks | Yes | Yes | |
| Coverage reports | Yes | Yes | |
| Coverage percentage | Yes | Yes | |
| Policy enforcement | Yes | ||
| CHANGELOG verification | Yes | ||
| SARIF output | Yes | ||
| CI/CD integration | Yes |
Add to ~/.openclaw/openclaw.json:
{
"skills": {
"entries": {
"doccoverage": {
"enabled": true,
"apiKey": "YOUR_LICENSE_KEY",
"config": {
"severityThreshold": "high",
"customPolicies": [
{
"regex": "export function [a-zA-Z]",
"severity": "critical",
"description": "All exported functions must have JSDoc"
}
],
"excludePatterns": ["**/test/**", "**/examples/**"]
}
}
}
}
}DocCoverage is part of the ClawHub developer tools suite:
- EnvGuard -- Pre-commit secret detection
- DepGuard -- Dependency vulnerability scanning
- ConfigSafe -- Infrastructure configuration auditing
- SQLGuard -- SQL query safety & injection risk scanning
- TestGap -- Test coverage gap analysis
- DocCoverage -- Documentation coverage & quality analysis
- 100% local -- no code sent externally
- Zero telemetry
- Offline license validation
- Pattern matching only -- no AST parsing, no external dependencies
MIT