# google/promises SLOC report

> As of 2026-11-06 (commit f4a19a3c313d), google/promises contains 14,552 total lines: 7,955 code, 4,563 comments, 2,034 blank, across 113 files in 5 languages (top language: Objective-C 47.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

google/promises has 7,955 source lines of code out of 14,552 total lines across 113 files, counted with tokei from the master ref at commit f4a19a3c313d on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving google/promises to commit f4a19a3c313d, 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

google/promises: 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 small codebase by counted code lines. Code represents 54.7% of all lines, comments represent 31.4%, and the repository averages 70 code lines per file. Objective-C accounts for 47.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Objective-C | 40 | 5,668 | 3,804 | 1,069 | 795 |
| Swift | 45 | 5,359 | 3,480 | 1,312 | 567 |
| C Header | 23 | 1,669 | 474 | 946 | 249 |
| Bazel | 2 | 222 | 197 | 0 | 25 |
| Markdown | 3 | 1,634 | 0 | 1,236 | 398 |

Top language: Objective-C 47.8%. Generated on November 6, 2026. Canonical report: https://octocounts.com/github/google/promises

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/google/promises/commit/f4a19a3c313dc2616c70bb49d29a799fb16be837?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=f62140e838c1184637d174fe9277c3b7e2b903602c2bebe89d098d9f300750b4).

## Report FAQ

### How many lines of code does google/promises have?

google/promises has 7,955 lines of code, plus 4,563 comment lines and 2,034 blank lines, for 14,552 total lines at commit f4a19a3c313d on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the google/promises line count measured?

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

### What commit was counted for google/promises?

This OctoCounts report was generated from master at commit f4a19a3c313d on November 6, 2026.

## Similar repository reports

- [opa334/TrollStore](https://octocounts.com/github/opa334/TrollStore) — Objective-C, 10,372 code lines
- [SAP/macOS-enterprise-privileges](https://octocounts.com/github/SAP/macOS-enterprise-privileges) — Objective-C, 10,379 code lines
- [tqmane/gunshot](https://octocounts.com/github/tqmane/gunshot) — Objective-C, 12,041 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)
- [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)
