# haifengl/smile SLOC report

> haifengl/smile: 340,326 code lines at commit d5b1053b6f66, counted with tokei-15.0.0 on 2026-11-07. Saved result 8c9379ab89b3eadfb2ff95518f9d9be109b248f61fbbc1f82e1d189b8c4ca15c.

haifengl/smile has 340,326 source lines of code out of 967,428 total lines across 1,823 files, counted with tokei from the master ref at commit d5b1053b6f66 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving haifengl/smile to commit d5b1053b6f66, 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.2% of all lines, comments represent 57.9%, and the repository averages 187 code lines per file. Java accounts for 83.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 1,443 | 537,498 | 284,188 | 200,118 | 53,192 |
| JSON | 9 | 17,770 | 17,769 | 0 | 1 |
| Scala | 60 | 13,596 | 6,341 | 5,987 | 1,268 |
| C Header | 21 | 7,392 | 5,000 | 1,555 | 837 |
| JSX | 38 | 6,040 | 4,884 | 770 | 386 |
| CUDA | 11 | 5,671 | 4,786 | 396 | 489 |
| C++ | 5 | 4,109 | 3,486 | 311 | 312 |
| Kotlin | 43 | 7,334 | 2,886 | 3,974 | 474 |
| JavaScript | 17 | 3,437 | 2,686 | 603 | 148 |
| CSS | 26 | 3,258 | 2,448 | 460 | 350 |
| Clojure | 8 | 2,135 | 1,968 | 99 | 68 |
| SVG | 9 | 1,523 | 1,520 | 3 | 0 |
| BASH | 3 | 580 | 490 | 39 | 51 |
| Batch | 4 | 572 | 431 | 41 | 100 |
| 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 |
| TOML | 1 | 46 | 42 | 2 | 2 |
| Dockerfile | 1 | 157 | 35 | 111 | 11 |
| 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,729 | 0 | 22,418 | 9,311 |
| Plain Text | 12 | 322,475 | 0 | 322,465 | 10 |

Top language: Java 83.5%. Generated on November 7, 2026. Canonical report: https://octocounts.com/github/haifengl/smile/commit/d5b1053b6f667f122010c1915dde06adb0361c76?reportId=8c9379ab89b3eadfb2ff95518f9d9be109b248f61fbbc1f82e1d189b8c4ca15c&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/d5b1053b6f667f122010c1915dde06adb0361c76?reportId=8c9379ab89b3eadfb2ff95518f9d9be109b248f61fbbc1f82e1d189b8c4ca15c&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 340,326 lines of code, plus 559,852 comment lines and 67,250 blank lines, for 967,428 total lines at commit d5b1053b6f66 on November 7, 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 d5b1053b6f66, 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 d5b1053b6f66 on November 7, 2026.

## Similar repository reports

- [plutext/docx4j](https://octocounts.com/github/plutext/docx4j) — Java, 376,489 code lines
- [apache/shardingsphere](https://octocounts.com/github/apache/shardingsphere) — Java, 356,725 code lines
- [micronaut-projects/micronaut-core](https://octocounts.com/github/micronaut-projects/micronaut-core) — Java, 378,218 code lines
- [eclipse-elk/elk](https://octocounts.com/github/eclipse-elk/elk) — Java, 381,476 code lines
- [plantuml/plantuml](https://octocounts.com/github/plantuml/plantuml) — Java, 381,727 code lines
- [wildfly/wildfly](https://octocounts.com/github/wildfly/wildfly) — Java, 383,764 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)
