# lxc/incus SLOC report

> As of 2026-11-16 (commit dccbc1363795), lxc/incus contains 702,060 total lines: 447,069 code, 137,365 comments, 117,626 blank, across 1,503 files in 12 languages (top language: Go 70.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

lxc/incus has 447,069 source lines of code out of 702,060 total lines across 1,503 files, counted with tokei from the main ref at commit dccbc1363795 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving lxc/incus to commit dccbc1363795, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

lxc/incus: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 63.7% of all lines, comments represent 19.6%, and the repository averages 297 code lines per file. Go accounts for 70.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,432 | 456,346 | 313,288 | 65,810 | 77,248 |
| PO File | 18 | 223,588 | 116,591 | 67,688 | 39,309 |
| JSON | 2 | 13,046 | 13,046 | 0 | 0 |
| C Header | 16 | 5,977 | 2,401 | 3,162 | 414 |
| C | 3 | 1,026 | 798 | 38 | 190 |
| Shell | 18 | 643 | 414 | 101 | 128 |
| Makefile | 1 | 407 | 286 | 56 | 65 |
| Protocol Buffers | 1 | 119 | 102 | 1 | 16 |
| PowerShell | 2 | 132 | 96 | 10 | 26 |
| Nix | 1 | 52 | 46 | 2 | 4 |
| Snakemake | 1 | 1 | 1 | 0 | 0 |
| Markdown | 8 | 723 | 0 | 497 | 226 |

Top language: Go 70.1%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/lxc/incus

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/lxc/incus/commit/dccbc1363795d1ff33f3cbd33932ced74cc58fb4?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=bc83686618b0d404f5bffc7f639441a8255411d5c3b355202f32901e2b79d7dd).

## Report FAQ

### How many lines of code does lxc/incus have?

lxc/incus has 447,069 lines of code, plus 137,365 comment lines and 117,626 blank lines, for 702,060 total lines at commit dccbc1363795 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the lxc/incus line count measured?

OctoCounts resolved the public GitHub repository to commit dccbc1363795, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for lxc/incus?

This OctoCounts report was generated from main at commit dccbc1363795 on November 16, 2026.

## Similar repository reports

- [0xJacky/nginx-ui](https://octocounts.com/github/0xJacky/nginx-ui) — Go, 452,290 code lines
- [Tencent/LoopForge](https://octocounts.com/github/Tencent/LoopForge) — Go, 452,618 code lines
- [openai/openai-cli](https://octocounts.com/github/openai/openai-cli) — Go, 439,824 code lines
- [trufflesecurity/trufflehog](https://octocounts.com/github/trufflesecurity/trufflehog) — Go, 438,952 code lines
- [ZenGeekLabs/DJOneHub](https://octocounts.com/github/ZenGeekLabs/DJOneHub) — Go, 459,492 code lines
- [MiniMax-AI/OpenAgentCore](https://octocounts.com/github/MiniMax-AI/OpenAgentCore) — Go, 461,736 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
