Output & Statuses¶
A run produces three kinds of output: per-module panels, statistics tables, and the overall project status.
Docstring statuses¶
Every inspected function, method, and class is assigned a status based on its docstring:
| Status | Symbol | Meaning |
|---|---|---|
bad | ✗ | Missing or empty docstring. |
good | ✔ | Docstring exists but only has a description. |
special | ★ | Contains parameter docs (Args:, :param, Returns:, …). |
epic | ♥ | Contains advanced sections (Raises:, Examples:, Usage:). |
Symbols and colors are fully configurable — see Configuration.
Module panels¶
For each module, a panel is rendered with:
- the module path (or the short name with
--short-names), - the status of every inspected function,
- a per-status breakdown with counts and percentages.
Statistics tables¶
- General statistics — number of classes, functions, async functions, and the total count.
- Number of modules each status — how many modules ended up
bad,warning,good,special, orepic. - Skipped modules — modules that could not be parsed, with the reason.
Module statuses¶
The status of a module is derived from the statuses of its functions using the configured thresholds:
- bad — all functions undocumented, or more than
threshold_bad% are bad. - warning — more than
threshold_warning% are bad. - epic — more than
threshold_epic% are epic. - special — more than
threshold_special% are special (ties round down). - good — otherwise.
The project status is the most common module status across the project.
Note
The exact algorithm is documented in DocstringChecker.module_status.
Next¶
Learn how to tune the thresholds and wire the tool into CI in Thresholds & CI Mode.