# kopia/kopia SLOC report

> As of 2026-09-07 (commit ccab22df3051), kopia/kopia contains 150,473 total lines: 111,948 code, 8,819 comments, 29,706 blank, across 1,005 files in 15 languages (top: Go 91.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

kopia/kopia has 111,948 source lines of code out of 150,473 total lines across 1,005 files, counted from the ccab22df30512d2f06990846c75e1989f6f24211 ref at commit ccab22df3051 by the OctoCounts tokei engine on 2026-09-07. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving kopia/kopia to commit ccab22df3051, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 74.4% of all lines, comments represent 5.9%, and the repository averages 111 code lines per file. Go accounts for 91.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 928 | 139,655 | 102,766 | 8,081 | 28,808 |
| JSON | 5 | 5,480 | 5,480 | 0 | 0 |
| JavaScript | 9 | 1,460 | 1,182 | 72 | 206 |
| Makefile | 5 | 1,001 | 698 | 85 | 218 |
| SVG | 12 | 698 | 698 | 0 | 0 |
| Shell | 13 | 771 | 516 | 99 | 156 |
| HTML | 12 | 340 | 281 | 23 | 36 |
| Protocol Buffers | 1 | 229 | 175 | 12 | 42 |
| TOML | 1 | 138 | 88 | 29 | 21 |
| YAML | 1 | 52 | 32 | 16 | 4 |
| Dockerfile | 1 | 29 | 23 | 0 | 6 |
| XML | 1 | 9 | 9 | 0 | 0 |

Top language (Go 91.8%). Generated at 2026-09-07T03:18:33.748455789+00:00. Canonical report: https://octocounts.com/github/kopia/kopia

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/kopia/kopia/commit/ccab22df30512d2f06990846c75e1989f6f24211?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).

## Report FAQ

### How many lines of code does kopia/kopia have?

kopia/kopia has 150,473 total lines, including 111,948 code lines, 8,819 comment lines, and 29,706 blank lines.

### How was the kopia/kopia line count measured?

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

### What commit was counted for kopia/kopia?

This OctoCounts report was generated from ccab22df30512d2f06990846c75e1989f6f24211 at commit ccab22df3051 on 2026-09-07T03:18:33.748455789+00:00.

## Similar repository reports

- [kazzmir/master-of-magic](https://octocounts.com/github/kazzmir/master-of-magic) — Go, 111,079 code lines
- [devspace-sh/devspace](https://octocounts.com/github/devspace-sh/devspace) — Go, 108,951 code lines
- [lin-snow/Ech0](https://octocounts.com/github/lin-snow/Ech0) — Go, 107,763 code lines
- [gofiber/fiber](https://octocounts.com/github/gofiber/fiber) — Go, 118,932 code lines
- [Gentleman-Programming/engram](https://octocounts.com/github/Gentleman-Programming/engram) — Go, 104,491 code lines
- [Willxup/cpa-usage-keeper](https://octocounts.com/github/Willxup/cpa-usage-keeper) — Go, 121,332 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)
- [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)
