# cloudflare/cloudflare-docs SLOC report

> cloudflare/cloudflare-docs: 518,106 code lines at commit 7bae32539ef9, counted with tokei-15.0.0 on 2026-11-05. Saved result f75219c81ba4775ea80a5d3b98aeb7fa57b35a91127268af557d39cd272bc3e6.

Source: [cloudflare/cloudflare-docs on GitHub](https://github.com/cloudflare/cloudflare-docs) · counted commit [7bae32539ef9](https://github.com/cloudflare/cloudflare-docs/tree/7bae32539ef979db5d387b0ca73821c0c2b67dae)

cloudflare/cloudflare-docs has 518,106 source lines of code out of 661,561 total lines across 5,027 files, counted with tokei from the 7bae32539ef979db5d387b0ca73821c0c2b67dae ref at commit 7bae32539ef9 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving cloudflare/cloudflare-docs to commit 7bae32539ef9, 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

cloudflare/cloudflare-docs: 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 78.3% of all lines, comments represent 14.9%, and the repository averages 103 code lines per file. Astro is the largest programming language at 6.2% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 307 | 395,457 | 395,457 | 0 | 0 |
| YAML | 635 | 44,892 | 38,385 | 55 | 6,452 |
| Astro | 276 | 37,475 | 32,144 | 1,910 | 3,421 |
| TypeScript | 245 | 27,111 | 22,931 | 1,816 | 2,364 |
| CSS | 9 | 18,871 | 15,710 | 373 | 2,788 |
| TSX | 61 | 11,633 | 10,256 | 626 | 751 |
| SVG | 572 | 1,155 | 1,128 | 3 | 24 |
| JavaScript | 6 | 968 | 849 | 61 | 58 |
| Shell | 4 | 657 | 554 | 44 | 59 |
| Jupyter Notebooks | 3 | 513 | 356 | 69 | 88 |
| Go | 2 | 184 | 141 | 6 | 37 |
| Python | 1 | 174 | 127 | 2 | 45 |
| TOML | 1 | 81 | 68 | 10 | 3 |
| MDX | 2,760 | 93,463 | 0 | 70,653 | 22,810 |
| Markdown | 139 | 3,485 | 0 | 2,688 | 797 |
| Plain Text | 6 | 25,442 | 0 | 20,228 | 5,214 |

Top programming language: Astro 6.2%. Generated on November 5, 2026. Canonical report: https://octocounts.com/github/cloudflare/cloudflare-docs/commit/7bae32539ef979db5d387b0ca73821c0c2b67dae?reportId=f75219c81ba4775ea80a5d3b98aeb7fa57b35a91127268af557d39cd272bc3e6&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

### How many lines of code does cloudflare/cloudflare-docs have?

cloudflare/cloudflare-docs has 518,106 lines of code, plus 98,544 comment lines and 44,911 blank lines, for 661,561 total lines at commit 7bae32539ef9 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the cloudflare/cloudflare-docs line count measured?

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

### What commit was counted for cloudflare/cloudflare-docs?

This OctoCounts report was generated from 7bae32539ef979db5d387b0ca73821c0c2b67dae at commit 7bae32539ef9 on November 5, 2026.

## 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
