---
title: "Change coupling and knowledge"
description: "Reads the last year of git history (commits only, never the working tree): files that keep changing in the same commits (hidden dependencies), source files whose main author has stopped committing (knowledge loss, higher in hotspots), and the truck factor, how many authors hold most of the knowledge. Skips when the target is not the root of a git repository."
url: https://openaudit.se/auditors/code.history/
---

# Change coupling and knowledge

`code.history`

Reads the last year of git history (commits only, never the working tree): files that keep changing in the same commits (hidden dependencies), source files whose main author has stopped committing (knowledge loss, higher in hotspots), and the truck factor, how many authors hold most of the knowledge. Skips when the target is not the root of a git repository.

- **Engine:** Built-in
- **Targets:** Codebase
- **Areas:** Maintainability
- **Runs:** By default, when the target applies
- **Network:** Only the target itself

## Run only this auditor

```sh
bunx @openaudit/cli . --only code.history
```

Built into openaudit; nothing to install.

## More maintainability auditors

- [Code quality](https://openaudit.se/auditors/code.quality/) (`code.quality`)
- [Code Health](https://openaudit.se/auditors/code.health/) (`code.health`)
- [Language strictness config](https://openaudit.se/auditors/code.strictness/) (`code.strictness`)
- [jscpd copy-paste detection](https://openaudit.se/auditors/code.jscpd/) (`code.jscpd`)
- [knip unused code scan](https://openaudit.se/auditors/code.knip/) (`code.knip`)
- [oxlint](https://openaudit.se/auditors/code.oxlint/) (`code.oxlint`)
- [Biome lint](https://openaudit.se/auditors/code.biome/) (`code.biome`)
- [ESLint](https://openaudit.se/auditors/code.eslint/) (`code.eslint`)
