# apache/NiFi SLOC report

> As of 2026-08-01 (commit ede36cdc8a2c), apache/NiFi contains 1,869,545 total lines: 1,296,874 code, 324,263 comments, 248,408 blank, across 12,858 files in 26 languages (top: Java 70.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/NiFi to commit ede36cdc8a2c, 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 very large codebase by counted code lines. Code represents 69.4% of all lines, comments represent 17.3%, and the repository averages 101 code lines per file. Java accounts for 70.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 8,770 | 1,353,922 | 913,732 | 236,826 | 203,364 |
| TypeScript | 1,408 | 231,700 | 173,032 | 31,676 | 26,992 |
| JSON | 413 | 80,689 | 80,682 | 0 | 7 |
| XML | 882 | 71,105 | 54,450 | 14,559 | 2,096 |
| HTML | 341 | 30,847 | 24,394 | 5,766 | 687 |
| JavaScript | 81 | 22,059 | 16,055 | 4,115 | 1,889 |
| AsciiDoc | 14 | 21,027 | 15,219 | 236 | 5,572 |
| Sass | 343 | 12,758 | 5,876 | 5,668 | 1,214 |
| YAML | 58 | 4,125 | 3,433 | 556 | 136 |
| Python | 57 | 4,931 | 3,074 | 977 | 880 |
| Shell | 39 | 3,294 | 1,919 | 891 | 484 |
| CSS | 5 | 1,396 | 1,210 | 106 | 80 |

Top language (Java 70.5%). Generated at 2026-08-01T22:41:21.423687095+00:00. Canonical report: https://octocounts.com/github/apache/NiFi

## Report FAQ

### How many lines of code does apache/NiFi have?

apache/NiFi has 1,869,545 total lines, including 1,296,874 code lines, 324,263 comment lines, and 248,408 blank lines.

### How was the apache/NiFi line count measured?

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

### What commit was counted for apache/NiFi?

This OctoCounts report was generated from main at commit ede36cdc8a2c on 2026-08-01T22:41:21.423687095+00:00.

## Similar repository reports

- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,179,852 code lines
- [apache/hbase](https://octocounts.com/github/apache/hbase) — Java, 1,134,239 code lines
- [mycodedoesnotcompile2/jdownloader_mirror](https://octocounts.com/github/mycodedoesnotcompile2/jdownloader_mirror) — Java, 1,047,731 code lines
- [apache/lucene](https://octocounts.com/github/apache/lucene) — Java, 972,892 code lines
- [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) — Java, 939,141 code lines
- [apache/solr](https://octocounts.com/github/apache/solr) — Java, 930,806 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)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
