# firebase/firebase-ios-sdk SLOC report

> As of 2026-10-20 (commit 12d8a1dd6d3a), firebase/firebase-ios-sdk contains 1,034,534 total lines: 799,165 code, 144,338 comments, 91,031 blank, across 3,908 files in 23 languages (top: JSON 42.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

firebase/firebase-ios-sdk has 799,165 source lines of code out of 1,034,534 total lines across 3,908 files, counted from the main ref at commit 12d8a1dd6d3a by the OctoCounts tokei engine on 2026-10-20. 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 firebase/firebase-ios-sdk to commit 12d8a1dd6d3a, 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 77.2% of all lines, comments represent 14.0%, and the repository averages 204 code lines per file. JSON accounts for 42.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 202 | 342,474 | 342,390 | 0 | 84 |
| Swift | 1,114 | 181,441 | 118,301 | 41,587 | 21,553 |
| Objective-C | 767 | 163,983 | 117,832 | 20,812 | 25,339 |
| C++ | 243 | 105,521 | 85,249 | 10,220 | 10,052 |
| C Header | 1,156 | 136,827 | 74,878 | 42,949 | 19,000 |
| Objective-C++ | 102 | 29,023 | 21,305 | 3,039 | 4,679 |
| C++ Header | 1 | 25,447 | 14,616 | 8,379 | 2,452 |
| Python | 40 | 15,714 | 11,660 | 1,969 | 2,085 |
| C | 20 | 6,461 | 4,512 | 810 | 1,139 |
| Shell | 67 | 5,421 | 3,037 | 1,579 | 805 |
| CMake | 45 | 3,381 | 1,891 | 1,018 | 472 |
| Protocol Buffers | 30 | 5,148 | 1,483 | 2,997 | 668 |

Top language (JSON 42.8%). Generated at 2026-10-20T16:15:39.218313259+00:00. Canonical report: https://octocounts.com/github/firebase/firebase-ios-sdk

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/firebase/firebase-ios-sdk/commit/12d8a1dd6d3a151d943953fc992e41bae77d7754?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=cccd593dfbb41f486049fb65bd49548e646f2bab568b6d2570867256f3203272).

## Report FAQ

### How many lines of code does firebase/firebase-ios-sdk have?

firebase/firebase-ios-sdk has 1,034,534 total lines, including 799,165 code lines, 144,338 comment lines, and 91,031 blank lines.

### How was the firebase/firebase-ios-sdk line count measured?

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

### What commit was counted for firebase/firebase-ios-sdk?

This OctoCounts report was generated from main at commit 12d8a1dd6d3a on 2026-10-20T16:15:39.218313259+00:00.

## Similar repository reports

- [MakazhanAlpamys/Soup](https://octocounts.com/github/MakazhanAlpamys/Soup) — JSON, 795,863 code lines
- [j0st/PoliticalLLM](https://octocounts.com/github/j0st/PoliticalLLM) — JSON, 808,494 code lines
- [ruvnet/RuView](https://octocounts.com/github/ruvnet/RuView) — JSON, 813,066 code lines
- [SophistSolutions/Stroika](https://octocounts.com/github/SophistSolutions/Stroika) — JSON, 784,517 code lines
- [AlexsJones/llmfit](https://octocounts.com/github/AlexsJones/llmfit) — JSON, 821,952 code lines
- [aaif-goose/goose](https://octocounts.com/github/aaif-goose/goose) — JSON, 831,607 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)
- [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)
