# microsoft/graphrag SLOC report

> As of 2026-07-25 (commit 14a00ad88fc3), microsoft/graphrag contains 69,889 total lines: 51,784 code, 6,921 comments, 11,184 blank, across 728 files in 13 languages (top: Python 78.6%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/graphrag to commit 14a00ad88fc3, 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 medium-sized codebase by counted code lines. Code represents 74.1% of all lines, comments represent 9.9%, and the repository averages 71 code lines per file. Python accounts for 78.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 572 | 50,669 | 40,709 | 2,009 | 7,951 |
| JSON | 8 | 7,270 | 7,270 | 0 | 0 |
| Jupyter Notebooks | 40 | 4,239 | 2,800 | 703 | 736 |
| TOML | 11 | 703 | 634 | 21 | 48 |
| YAML | 14 | 330 | 300 | 6 | 24 |
| CSS | 1 | 29 | 25 | 0 | 4 |
| JavaScript | 1 | 18 | 15 | 0 | 3 |
| Dockerfile | 1 | 19 | 10 | 5 | 4 |
| Shell | 3 | 14 | 10 | 3 | 1 |
| HTML | 1 | 8 | 8 | 0 | 0 |
| Jinja2 | 1 | 3 | 3 | 0 | 0 |
| Markdown | 55 | 5,891 | 0 | 3,697 | 2,194 |

Top language (Python 78.6%). Generated at 2026-07-25T04:28:03.729383993+00:00. Canonical report: https://octocounts.com/github/microsoft/graphrag

## Report FAQ

### How many lines of code does microsoft/graphrag have?

microsoft/graphrag has 69,889 total lines, including 51,784 code lines, 6,921 comment lines, and 11,184 blank lines.

### How was the microsoft/graphrag line count measured?

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

### What commit was counted for microsoft/graphrag?

This OctoCounts report was generated from main at commit 14a00ad88fc3 on 2026-07-25T04:28:03.729383993+00:00.

## Similar repository reports

- [doronz88/pymobiledevice3](https://octocounts.com/github/doronz88/pymobiledevice3) — Python, 51,656 code lines
- [ygyang11/Arktor](https://octocounts.com/github/ygyang11/Arktor) — Python, 51,221 code lines
- [Lightning-AI/pytorch-lightning](https://octocounts.com/github/Lightning-AI/pytorch-lightning) — Python, 50,493 code lines
- [elder-plinius/OBLITERATUS](https://octocounts.com/github/elder-plinius/OBLITERATUS) — Python, 53,126 code lines
- [tirth8205/code-review-graph](https://octocounts.com/github/tirth8205/code-review-graph) — Python, 53,155 code lines
- [rachelos/we-mp-rss](https://octocounts.com/github/rachelos/we-mp-rss) — Python, 53,292 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
