# ros-navigation/navigation2 SLOC report

> As of 2026-10-17 (commit cea9ed9d2e55), ros-navigation/navigation2 contains 234,987 total lines: 170,098 code, 41,639 comments, 23,250 blank, across 1,177 files in 21 languages (top: JSON 33.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

ros-navigation/navigation2 has 170,098 source lines of code out of 234,987 total lines across 1,177 files, counted from the main ref at commit cea9ed9d2e55 by the OctoCounts tokei engine on 2026-10-17. 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 cea9ed9d2e55, 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,805 | 50,214 | 9,336 | 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 |

Top language (JSON 33.8%). Generated at 2026-10-17T20:10:37.935271416+00:00. Canonical report: https://octocounts.com/github/ros-navigation/navigation2

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ros-navigation/navigation2/commit/cea9ed9d2e55b4e084be705a495a721368021f19?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=296b207933509ecc6a0b8461562be8d5534782eb4026afe27273c1866948337b).

## Report FAQ

### How many lines of code does ros-navigation/navigation2 have?

ros-navigation/navigation2 has 234,987 total lines, including 170,098 code lines, 41,639 comment lines, and 23,250 blank lines.

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

OctoCounts resolved the public GitHub repository to commit cea9ed9d2e55, 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 cea9ed9d2e55 on 2026-10-17T20:10:37.935271416+00:00.

## Similar repository reports

- [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,251 code lines
- [TouchAI-org/TouchAI](https://octocounts.com/github/TouchAI-org/TouchAI) — JSON, 172,613 code lines
- [vicb/flyXC](https://octocounts.com/github/vicb/flyXC) — JSON, 174,493 code lines
- [tashfeenahmed/freellmapi](https://octocounts.com/github/tashfeenahmed/freellmapi) — JSON, 176,616 code lines
- [0xMarcio/pocindex](https://octocounts.com/github/0xMarcio/pocindex) — JSON, 178,444 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)
