# SFML/SFML SLOC report

> As of 2026-09-17 (commit 2124d5fe8741), SFML/SFML contains 367,071 total lines: 271,424 code, 60,735 comments, 34,912 blank, across 593 files in 18 languages (top: C Header 79.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

SFML/SFML has 271,424 source lines of code out of 367,071 total lines across 593 files, counted from the 2124d5fe87412ac1cf8e20de282502a75039efcf ref at commit 2124d5fe8741 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 SFML/SFML to commit 2124d5fe8741, 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 73.9% of all lines, comments represent 16.5%, and the repository averages 458 code lines per file. C Header accounts for 79.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 49 | 250,126 | 215,211 | 17,441 | 17,474 |
| C++ | 171 | 59,497 | 38,986 | 10,370 | 10,141 |
| C++ Header | 213 | 41,870 | 9,028 | 28,275 | 4,567 |
| Objective-C++ | 29 | 7,164 | 4,030 | 1,796 | 1,338 |
| CMake | 60 | 3,798 | 2,647 | 651 | 500 |
| Autoconf | 13 | 493 | 317 | 115 | 61 |
| Kotlin | 13 | 315 | 275 | 2 | 38 |
| Shell | 2 | 434 | 233 | 154 | 47 |
| Objective-C | 5 | 509 | 179 | 234 | 96 |
| GLSL | 13 | 236 | 178 | 17 | 41 |
| XML | 10 | 182 | 154 | 0 | 28 |
| Batch | 2 | 181 | 139 | 0 | 42 |

Top language (C Header 79.3%). Generated at 2026-09-17T03:55:25.495372835+00:00. Canonical report: https://octocounts.com/github/SFML/SFML

## Reproduce this report

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

SFML/SFML has 367,071 total lines, including 271,424 code lines, 60,735 comment lines, and 34,912 blank lines.

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

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

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

This OctoCounts report was generated from 2124d5fe87412ac1cf8e20de282502a75039efcf at commit 2124d5fe8741 on 2026-09-17T03:55:25.495372835+00:00.

## Similar repository reports

- [sfml/sfml](https://octocounts.com/github/sfml/sfml) — C Header, 271,424 code lines
- [meemknight/cmakeSetup](https://octocounts.com/github/meemknight/cmakeSetup) — C Header, 283,501 code lines
- [TimeATronics/Zetla](https://octocounts.com/github/TimeATronics/Zetla) — C Header, 283,766 code lines
- [ChancenJ/TripleKey](https://octocounts.com/github/ChancenJ/TripleKey) — C Header, 284,296 code lines
- [simdjson/simdjson](https://octocounts.com/github/simdjson/simdjson) — C Header, 256,228 code lines
- [fiftysevendegreesofrad/sdna_plus](https://octocounts.com/github/fiftysevendegreesofrad/sdna_plus) — C Header, 291,709 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)
