# HKUDS/LightRAG SLOC report

> As of 2026-10-18 (commit 453dce83d6d0), HKUDS/LightRAG contains 232,012 total lines: 177,807 code, 32,098 comments, 22,107 blank, across 555 files in 17 languages (top: Python 76.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

HKUDS/LightRAG has 177,807 source lines of code out of 232,012 total lines across 555 files, counted from the 453dce83d6d0354a06e46c8d4029a0895c4e054b ref at commit 453dce83d6d0 by the OctoCounts tokei engine on 2026-10-18. 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 HKUDS/LightRAG to commit 453dce83d6d0, 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 76.6% of all lines, comments represent 13.8%, and the repository averages 320 code lines per file. Python accounts for 76.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 217 | 171,713 | 136,423 | 19,846 | 15,444 |
| TSX | 103 | 18,677 | 14,107 | 2,759 | 1,811 |
| TypeScript | 118 | 18,042 | 11,779 | 4,271 | 1,992 |
| JSON | 18 | 6,763 | 6,760 | 0 | 3 |
| Shell | 22 | 8,309 | 6,628 | 535 | 1,146 |
| YAML | 31 | 1,371 | 994 | 318 | 59 |
| JavaScript | 3 | 334 | 310 | 22 | 2 |
| CSS | 2 | 283 | 215 | 42 | 26 |
| TOML | 2 | 253 | 188 | 48 | 17 |
| Pan | 1 | 191 | 186 | 0 | 5 |
| Makefile | 1 | 129 | 107 | 4 | 18 |
| Dockerfile | 1 | 146 | 72 | 43 | 31 |

Top language (Python 76.7%). Generated at 2026-10-18T18:58:39.875739772+00:00. Canonical report: https://octocounts.com/github/HKUDS/LightRAG

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/HKUDS/LightRAG/commit/453dce83d6d0354a06e46c8d4029a0895c4e054b?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=bce15c140091313a8d0bfd794735162a0025e5f82ec677acff4a8b57fac6b1da).

## Report FAQ

### How many lines of code does HKUDS/LightRAG have?

HKUDS/LightRAG has 232,012 total lines, including 177,807 code lines, 32,098 comment lines, and 22,107 blank lines.

### How was the HKUDS/LightRAG line count measured?

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

### What commit was counted for HKUDS/LightRAG?

This OctoCounts report was generated from 453dce83d6d0354a06e46c8d4029a0895c4e054b at commit 453dce83d6d0 on 2026-10-18T18:58:39.875739772+00:00.

## Similar repository reports

- [confident-ai/deepeval](https://octocounts.com/github/confident-ai/deepeval) — Python, 174,837 code lines
- [tradermonty/claude-trading-skills](https://octocounts.com/github/tradermonty/claude-trading-skills) — Python, 184,970 code lines
- [agent0ai/agent-zero](https://octocounts.com/github/agent0ai/agent-zero) — Python, 170,163 code lines
- [project-argusai/ArgusAI](https://octocounts.com/github/project-argusai/ArgusAI) — Python, 185,835 code lines
- [mem0ai/mem0](https://octocounts.com/github/mem0ai/mem0) — Python, 169,604 code lines
- [livekit/agents](https://octocounts.com/github/livekit/agents) — Python, 166,081 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
