# ros-navigation/navigation2 SLOC report

> ros-navigation/navigation2: 170,097 code lines at commit 640b6be6f094, counted with tokei-14.0.0 on 2026-10-16. Saved result 86bbff63e38ed0e84f821e7f4a8e32fafe41185784d9e99d4cb908db8ff24fb7.

ros-navigation/navigation2 has 170,097 source lines of code out of 234,985 total lines across 1,177 files, counted from the main ref at commit 640b6be6f094 by the OctoCounts tokei engine on 2026-10-16. 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 ros-navigation/navigation2 to commit 640b6be6f094, 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 72.4% of all lines, comments represent 17.7%, and the repository averages 145 code lines per file. JSON accounts for 33.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 15 | 57,553 | 57,553 | 0 | 0 |
| C++ | 342 | 68,803 | 50,213 | 9,335 | 9,255 |
| C++ Header | 422 | 64,279 | 30,603 | 25,636 | 8,040 |
| Python | 109 | 21,606 | 16,417 | 2,213 | 2,976 |
| CMake | 68 | 6,311 | 5,454 | 132 | 725 |
| XML | 93 | 3,712 | 3,298 | 111 | 303 |
| YAML | 28 | 3,177 | 2,773 | 263 | 141 |
| C Header | 1 | 2,540 | 1,859 | 317 | 364 |
| C | 9 | 2,294 | 1,153 | 734 | 407 |
| Dockerfile | 3 | 575 | 368 | 123 | 84 |
| BASH | 8 | 297 | 202 | 53 | 42 |
| SVG | 3 | 298 | 150 | 148 | 0 |
| SQL | 1 | 22 | 22 | 0 | 0 |
| TOML | 1 | 10 | 10 | 0 | 0 |
| ReStructuredText | 13 | 7 | 6 | 0 | 1 |
| Autoconf | 1 | 6 | 5 | 0 | 1 |
| Forge Config | 1 | 4 | 4 | 0 | 0 |
| INI | 2 | 5 | 4 | 1 | 0 |
| Shell | 1 | 11 | 3 | 5 | 3 |
| Markdown | 53 | 3,464 | 0 | 2,556 | 908 |
| Plain Text | 3 | 11 | 0 | 11 | 0 |

Top language (JSON 33.8%). Generated at 2026-10-16T17:31:26.364694144Z. Canonical report: https://octocounts.com/github/ros-navigation/navigation2/commit/640b6be6f094e61c3f445be4bd2c1d7356e8c390?reportId=86bbff63e38ed0e84f821e7f4a8e32fafe41185784d9e99d4cb908db8ff24fb7&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/ros-navigation/navigation2/commit/640b6be6f094e61c3f445be4bd2c1d7356e8c390?reportId=86bbff63e38ed0e84f821e7f4a8e32fafe41185784d9e99d4cb908db8ff24fb7&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 ros-navigation/navigation2 have?

ros-navigation/navigation2 has 234,985 total lines, including 170,097 code lines, 41,638 comment lines, and 23,250 blank lines.

### How was the ros-navigation/navigation2 line count measured?

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

### What commit was counted for ros-navigation/navigation2?

This OctoCounts report was generated from main at commit 640b6be6f094 on 2026-10-16T17:31:26.364694144Z.

## Similar repository reports

- [DiddyMeech/Titan-Reborn](https://octocounts.com/github/DiddyMeech/Titan-Reborn) — JSON, 170,764 code lines
- [etng/whisper-subs](https://octocounts.com/github/etng/whisper-subs) — JSON, 169,188 code lines
- [flow2000/bing-wallpaper-api](https://octocounts.com/github/flow2000/bing-wallpaper-api) — JSON, 171,534 code lines
- [vicb/flyXC](https://octocounts.com/github/vicb/flyXC) — JSON, 174,493 code lines
- [tashfeenahmed/freellmapi](https://octocounts.com/github/tashfeenahmed/freellmapi) — JSON, 178,684 code lines
- [starchild-codes/WireConform-ETAPS-iFS-2027](https://octocounts.com/github/starchild-codes/WireConform-ETAPS-iFS-2027) — JSON, 178,746 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)
