# openmrs/openmrs-core SLOC report

> openmrs/openmrs-core: 230,397 code lines at commit f2991bda233f, counted with tokei-15.0.0 on 2026-11-14. Saved result c8e143e83664b71433a531e20e5a869ce28ff6daa89db2f1df369c64a58a133c.

openmrs/openmrs-core has 230,397 source lines of code out of 328,007 total lines across 1,131 files, counted with tokei from the master ref at commit f2991bda233f on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving openmrs/openmrs-core to commit f2991bda233f, 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

openmrs/openmrs-core: 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 70.2% of all lines, comments represent 21.7%, and the repository averages 204 code lines per file. Java is the largest programming language at 37.9% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| XML | 92 | 128,602 | 125,841 | 1,534 | 1,227 |
| Java | 938 | 175,774 | 87,354 | 65,994 | 22,426 |
| SQL | 4 | 7,122 | 5,463 | 741 | 918 |
| JavaScript | 18 | 5,950 | 4,297 | 1,119 | 534 |
| Apache Velocity | 19 | 4,062 | 3,578 | 0 | 484 |
| CSS | 12 | 3,015 | 2,048 | 678 | 289 |
| Shell | 9 | 1,063 | 717 | 228 | 118 |
| JSON | 2 | 353 | 353 | 0 | 0 |
| YAML | 9 | 356 | 256 | 64 | 36 |
| HTML | 15 | 224 | 214 | 0 | 10 |
| Batch | 2 | 193 | 172 | 0 | 21 |
| Dockerfile | 1 | 182 | 104 | 37 | 41 |
| Markdown | 7 | 1,066 | 0 | 701 | 365 |
| Plain Text | 3 | 45 | 0 | 34 | 11 |

Top programming language: Java 37.9%. Generated on November 14, 2026. Canonical report: https://octocounts.com/github/openmrs/openmrs-core/commit/f2991bda233f86dd8a4f8cdfd8f1c0c857a20e08?reportId=c8e143e83664b71433a531e20e5a869ce28ff6daa89db2f1df369c64a58a133c&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/openmrs/openmrs-core/commit/f2991bda233f86dd8a4f8cdfd8f1c0c857a20e08?reportId=c8e143e83664b71433a531e20e5a869ce28ff6daa89db2f1df369c64a58a133c&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 openmrs/openmrs-core have?

openmrs/openmrs-core has 230,397 lines of code, plus 71,130 comment lines and 26,480 blank lines, for 328,007 total lines at commit f2991bda233f on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the openmrs/openmrs-core line count measured?

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

### What commit was counted for openmrs/openmrs-core?

This OctoCounts report was generated from master at commit f2991bda233f on November 14, 2026.

## Similar repository reports

- [apache/opennlp](https://octocounts.com/github/apache/opennlp) — XML, 227,131 code lines
- [ironcapitaleu/arkad](https://octocounts.com/github/ironcapitaleu/arkad) — XML, 212,326 code lines
- [otland/forgottenserver](https://octocounts.com/github/otland/forgottenserver) — XML, 207,533 code lines
- [blitzy-public-samples/mulesoft-anypoint-examples](https://octocounts.com/github/blitzy-public-samples/mulesoft-anypoint-examples) — XML, 204,190 code lines
- [ankidroid/Anki-Android](https://octocounts.com/github/ankidroid/Anki-Android) — XML, 262,229 code lines
- [hkoziolek/Spec2Control](https://octocounts.com/github/hkoziolek/Spec2Control) — XML, 200,280 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)
