# flutter/flutter SLOC report

> As of 2026-09-21 (commit 19946f91c8d9), flutter/flutter contains 2,300,959 total lines: 1,617,796 code, 411,774 comments, 271,389 blank, across 9,811 files in 35 languages (top: Dart 59.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

flutter/flutter has 1,617,796 source lines of code out of 2,300,959 total lines across 9,811 files, counted from the master ref at commit 19946f91c8d9 by the OctoCounts tokei engine on 2026-09-21. 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 flutter/flutter to commit 19946f91c8d9, 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 70.3% of all lines, comments represent 17.9%, and the repository averages 165 code lines per file. Dart accounts for 59.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Dart | 3,769 | 1,388,493 | 967,327 | 280,458 | 140,708 |
| C++ | 1,736 | 459,784 | 357,786 | 35,268 | 66,730 |
| C Header | 1,732 | 173,307 | 90,626 | 50,403 | 32,278 |
| Objective-C++ | 213 | 80,275 | 61,438 | 7,152 | 11,685 |
| JSON | 236 | 44,776 | 44,683 | 0 | 93 |
| Java | 219 | 47,379 | 29,553 | 12,984 | 4,842 |
| YAML | 249 | 18,829 | 14,803 | 2,209 | 1,817 |
| Templ | 248 | 15,248 | 11,547 | 2,156 | 1,545 |
| Python | 58 | 8,277 | 6,041 | 821 | 1,415 |
| Objective-C | 129 | 7,906 | 5,568 | 759 | 1,579 |
| CMake | 103 | 8,469 | 5,443 | 1,776 | 1,250 |
| Kotlin | 76 | 7,397 | 5,220 | 1,368 | 809 |

Top language (Dart 59.8%). Generated at 2026-09-21T09:05:12.806154+00:00. Canonical report: https://octocounts.com/github/flutter/flutter

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/flutter/flutter/commit/19946f91c8d9de18a4674460d015229cc0b2534f?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 flutter/flutter have?

flutter/flutter has 2,300,959 total lines, including 1,617,796 code lines, 411,774 comment lines, and 271,389 blank lines.

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

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

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

This OctoCounts report was generated from master at commit 19946f91c8d9 on 2026-09-21T09:05:12.806154+00:00.

## Similar repository reports

- [ente/ente](https://octocounts.com/github/ente/ente) — Dart, 862,618 code lines
- [kodjodevf/mangayomi](https://octocounts.com/github/kodjodevf/mangayomi) — Dart, 218,113 code lines
- [Spyou/Zangetsu](https://octocounts.com/github/Spyou/Zangetsu) — Dart, 185,453 code lines
- [bdero/flutter_scene](https://octocounts.com/github/bdero/flutter_scene) — Dart, 178,253 code lines
- [lollipopkit/flutter_server_box](https://octocounts.com/github/lollipopkit/flutter_server_box) — Dart, 174,791 code lines
- [professorDeveloper/sozo](https://octocounts.com/github/professorDeveloper/sozo) — Dart, 148,753 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)
- [React Native vs Flutter](https://octocounts.com/compare/react-native-vs-flutter)
- [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)
