# haifengl/smile SLOC report

> haifengl/smile: 348,491 code lines at commit bfadf74ef9b1, counted with tokei-15.0.0 on 2026-11-16. Saved result 996d93cb42cceedc1a18731208ea163e0627c92ef676fc3272664c4e64f4dc85.

haifengl/smile has 348,491 source lines of code out of 979,169 total lines across 1,850 files, counted with tokei from the master ref at commit bfadf74ef9b1 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving haifengl/smile to commit bfadf74ef9b1, 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

haifengl/smile: 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 large codebase by counted code lines. Code represents 35.6% of all lines, comments represent 57.5%, and the repository averages 188 code lines per file. Java accounts for 83.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 1,469 | 548,327 | 291,710 | 202,739 | 53,878 |
| JSON | 9 | 17,851 | 17,850 | 0 | 1 |
| Scala | 60 | 13,614 | 6,344 | 6,001 | 1,269 |
| C Header | 21 | 7,420 | 5,014 | 1,567 | 839 |
| JSX | 38 | 6,044 | 4,888 | 770 | 386 |
| CUDA | 11 | 5,671 | 4,786 | 396 | 489 |
| C++ | 5 | 4,186 | 3,555 | 314 | 317 |
| JavaScript | 18 | 3,992 | 3,118 | 686 | 188 |
| Kotlin | 43 | 7,356 | 2,892 | 3,989 | 475 |
| CSS | 26 | 3,263 | 2,452 | 460 | 351 |
| Clojure | 8 | 2,157 | 1,989 | 99 | 69 |
| SVG | 9 | 1,523 | 1,520 | 3 | 0 |
| BASH | 3 | 579 | 490 | 39 | 50 |
| Batch | 4 | 571 | 431 | 41 | 99 |
| Python | 3 | 537 | 429 | 48 | 60 |
| C++ Header | 2 | 405 | 291 | 62 | 52 |
| CMake | 1 | 413 | 281 | 96 | 36 |
| Shell | 9 | 488 | 266 | 165 | 57 |
| HTML | 2 | 90 | 49 | 41 | 0 |
| Dockerfile | 1 | 172 | 46 | 115 | 11 |
| TOML | 1 | 44 | 40 | 2 | 2 |
| XML | 1 | 30 | 20 | 7 | 3 |
| INI | 1 | 59 | 10 | 35 | 14 |
| YAML | 1 | 10 | 10 | 0 | 0 |
| Jupyter Notebooks | 19 | 69 | 7 | 46 | 16 |
| Autoconf | 1 | 5 | 3 | 0 | 2 |
| Markdown | 72 | 31,815 | 0 | 22,491 | 9,324 |
| Plain Text | 12 | 322,478 | 0 | 322,468 | 10 |

Top language: Java 83.7%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/haifengl/smile/commit/bfadf74ef9b1ff58d2fa55ac64bc940f83cdc7a2?reportId=996d93cb42cceedc1a18731208ea163e0627c92ef676fc3272664c4e64f4dc85&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/haifengl/smile/commit/bfadf74ef9b1ff58d2fa55ac64bc940f83cdc7a2?reportId=996d93cb42cceedc1a18731208ea163e0627c92ef676fc3272664c4e64f4dc85&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does haifengl/smile have?

haifengl/smile has 348,491 lines of code, plus 562,680 comment lines and 67,998 blank lines, for 979,169 total lines at commit bfadf74ef9b1 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the haifengl/smile line count measured?

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

### What commit was counted for haifengl/smile?

This OctoCounts report was generated from master at commit bfadf74ef9b1 on November 16, 2026.

## Similar repository reports

- [apache/shardingsphere](https://octocounts.com/github/apache/shardingsphere) — Java, 356,015 code lines
- [OtterMind/Chat2DB](https://octocounts.com/github/OtterMind/Chat2DB) — Java, 338,444 code lines
- [apache/tomcat](https://octocounts.com/github/apache/tomcat) — Java, 324,490 code lines
- [micronaut-projects/micronaut-core](https://octocounts.com/github/micronaut-projects/micronaut-core) — Java, 374,907 code lines
- [plutext/docx4j](https://octocounts.com/github/plutext/docx4j) — Java, 376,489 code lines
- [apache/groovy](https://octocounts.com/github/apache/groovy) — Java, 322,066 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)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
