# facebook/idb SLOC report

> As of 2026-09-07 (commit 7ab9b0cb69b6), facebook/idb contains 142,408 total lines: 103,518 code, 19,683 comments, 19,207 blank, across 1,095 files in 15 languages (top: Swift 68.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving facebook/idb to commit 7ab9b0cb69b6, 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 72.7% of all lines, comments represent 13.8%, and the repository averages 95 code lines per file. Swift accounts for 68.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Swift | 643 | 96,110 | 71,209 | 12,149 | 12,752 |
| Objective-C | 68 | 16,322 | 12,736 | 1,140 | 2,446 |
| Python | 82 | 12,599 | 10,081 | 717 | 1,801 |
| C Header | 256 | 11,511 | 5,134 | 4,709 | 1,668 |
| JSON | 2 | 1,319 | 1,319 | 0 | 0 |
| Protocol Buffers | 1 | 1,298 | 1,008 | 157 | 133 |
| YAML | 7 | 1,072 | 918 | 126 | 28 |
| Shell | 2 | 778 | 554 | 127 | 97 |
| JavaScript | 5 | 377 | 305 | 48 | 24 |
| Xcode Config | 16 | 293 | 173 | 88 | 32 |
| CSS | 1 | 79 | 55 | 11 | 13 |
| SVG | 4 | 12 | 12 | 0 | 0 |

Top language (Swift 68.8%). Generated at 2026-09-07T07:44:34.012176097+00:00. Canonical report: https://octocounts.com/github/facebook/idb

## Report FAQ

### How many lines of code does facebook/idb have?

facebook/idb has 142,408 total lines, including 103,518 code lines, 19,683 comment lines, and 19,207 blank lines.

### How was the facebook/idb line count measured?

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

### What commit was counted for facebook/idb?

This OctoCounts report was generated from main at commit 7ab9b0cb69b6 on 2026-09-07T07:44:34.012176097+00:00.

## Similar repository reports

- [nickcheng/NetNewsWire](https://octocounts.com/github/nickcheng/NetNewsWire) — Swift, 101,358 code lines
- [silmarhan/NetNewsWire](https://octocounts.com/github/silmarhan/NetNewsWire) — Swift, 101,358 code lines
- [Ranchero-Software/NetNewsWire](https://octocounts.com/github/Ranchero-Software/NetNewsWire) — Swift, 101,358 code lines
- [soniqo/speech-swift](https://octocounts.com/github/soniqo/speech-swift) — Swift, 106,605 code lines
- [swiftlang/sourcekit-lsp](https://octocounts.com/github/swiftlang/sourcekit-lsp) — Swift, 98,255 code lines
- [palmier-io/palmier-pro](https://octocounts.com/github/palmier-io/palmier-pro) — Swift, 95,729 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
