# ed code-stats audit

> ed code-stats audit in the Edith ed command line reference. ed code-stats

- Canonical URL: https://getedith.pro/docs/cli/code-stats/audit
- Updated: 2026-12-02

[`ed code-stats`](https://getedith.pro/docs/cli/code-stats)

[The `ed` command line](https://getedith.pro/docs/cli)

```bash
ed code-stats audit [--json]
```

Explains the report. It compares the raw commits and lines in the mirror with what the report counts, and lists each reason something was left out or added: bulk imports above the bulk threshold, formatter runs, generated files, data and config, markup and style, docs, whitespace-only lines, duplicate content found in more than one repository, commits from branches already squash-merged into the default branch, agent-assisted commits in repositories you own, and commits where you are only a co-author. It also lists repositories that copy another one and authors that look like you but are not in your identities, so you can add them with `ed code-stats identity add`. It reads what the last refresh stored and does not change anything.

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
