# apache/airflow SLOC report

> As of 2026-09-17 (commit 959a74083628), apache/airflow contains 2,236,833 total lines: 1,709,773 code, 239,068 comments, 287,992 blank, across 11,296 files in 27 languages (top: Python 67.5%). Default configuration. Counted with tokei via OctoCounts.

apache/airflow has 1,709,773 source lines of code out of 2,236,833 total lines across 11,296 files, counted from the main ref at commit 959a74083628 by the OctoCounts tokei engine on 2026-09-17. 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 apache/airflow to commit 959a74083628, 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 very large codebase by counted code lines. Code represents 76.4% of all lines, comments represent 10.7%, and the repository averages 151 code lines per file. Python accounts for 67.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 7,343 | 1,499,293 | 1,154,161 | 159,541 | 185,591 |
| ReStructuredText | 1,525 | 247,570 | 180,500 | 0 | 67,070 |
| JSON | 415 | 119,327 | 119,305 | 0 | 22 |
| YAML | 282 | 107,417 | 91,640 | 5,483 | 10,294 |
| TypeScript | 482 | 87,609 | 57,185 | 23,524 | 6,900 |
| TSX | 634 | 72,667 | 51,924 | 12,739 | 8,004 |
| TOML | 133 | 19,338 | 12,485 | 5,293 | 1,560 |
| Go | 64 | 16,756 | 11,491 | 3,284 | 1,981 |
| CSS | 13 | 12,251 | 10,888 | 384 | 979 |
| SVG | 45 | 4,966 | 4,681 | 147 | 138 |
| Kotlin | 45 | 6,574 | 4,438 | 1,487 | 649 |
| JavaScript | 56 | 15,149 | 3,925 | 10,090 | 1,134 |

Top language (Python 67.5%). Generated at 2026-09-17T06:16:29.854624898+00:00. Canonical report: https://octocounts.com/github/apache/airflow

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/airflow/commit/959a74083628532112101acdc5d7e0e15f219fdc?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

### How many lines of code does apache/airflow have?

apache/airflow has 2,236,833 total lines, including 1,709,773 code lines, 239,068 comment lines, and 287,992 blank lines.

### How was the apache/airflow line count measured?

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

### What commit was counted for apache/airflow?

This OctoCounts report was generated from main at commit 959a74083628 on 2026-09-17T06:16:29.854624898+00:00.

## Similar repository reports

- [home-assistant/core](https://octocounts.com/github/home-assistant/core) — Python, 1,513,961 code lines
- [comet-ml/opik](https://octocounts.com/github/comet-ml/opik) — Python, 1,415,239 code lines
- [nousresearch/hermes-agent](https://octocounts.com/github/nousresearch/hermes-agent) — Python, 1,373,652 code lines
- [NousResearch/hermes-agent](https://octocounts.com/github/NousResearch/hermes-agent) — Python, 1,268,423 code lines
- [agentscope-ai/QwenPaw](https://octocounts.com/github/agentscope-ai/QwenPaw) — Python, 1,140,238 code lines
- [langgenius/dify](https://octocounts.com/github/langgenius/dify) — Python, 1,118,531 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
