# SWE-agent/SWE-agent SLOC report

> As of 2026-09-03 (commit 3ea751c087f3), SWE-agent/SWE-agent contains 18,894 total lines: 15,681 code, 826 comments, 2,387 blank, across 156 files in 10 languages (top: Python 72.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

SWE-agent/SWE-agent has 15,681 source lines of code out of 18,894 total lines across 156 files, counted from the main ref at commit 3ea751c087f3 by the OctoCounts tokei engine on 2026-09-03. 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 SWE-agent/SWE-agent to commit 3ea751c087f3, 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 83.0% of all lines, comments represent 4.4%, and the repository averages 101 code lines per file. Python accounts for 72.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 85 | 13,943 | 11,376 | 489 | 2,078 |
| YAML | 42 | 3,301 | 3,020 | 117 | 164 |
| CSS | 1 | 454 | 409 | 10 | 35 |
| JavaScript | 1 | 354 | 346 | 2 | 6 |
| SVG | 5 | 197 | 195 | 1 | 1 |
| TOML | 1 | 264 | 194 | 43 | 27 |
| Shell | 11 | 111 | 71 | 18 | 22 |
| JSON | 1 | 44 | 43 | 0 | 1 |
| HTML | 2 | 27 | 27 | 0 | 0 |
| Markdown | 7 | 199 | 0 | 146 | 53 |

Top language (Python 72.5%). Generated at 2026-09-03T09:14:58.364337234+00:00. Canonical report: https://octocounts.com/github/SWE-agent/SWE-agent

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/SWE-agent/SWE-agent/commit/3ea751c087f32b16e039a2233dd6eefecef325d5?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).

## Report FAQ

### How many lines of code does SWE-agent/SWE-agent have?

SWE-agent/SWE-agent has 18,894 total lines, including 15,681 code lines, 826 comment lines, and 2,387 blank lines.

### How was the SWE-agent/SWE-agent line count measured?

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

### What commit was counted for SWE-agent/SWE-agent?

This OctoCounts report was generated from main at commit 3ea751c087f3 on 2026-09-03T09:14:58.364337234+00:00.

## Similar repository reports

- [fastapi/typer](https://octocounts.com/github/fastapi/typer) — Python, 15,756 code lines
- [facefusion/facefusion](https://octocounts.com/github/facefusion/facefusion) — Python, 15,512 code lines
- [ai-infra-curriculum/ai-infra-engineer-learning](https://octocounts.com/github/ai-infra-curriculum/ai-infra-engineer-learning) — Python, 15,433 code lines
- [moona3k/mlx-qwen3-asr](https://octocounts.com/github/moona3k/mlx-qwen3-asr) — Python, 15,426 code lines
- [agentscope-ai/ReMe](https://octocounts.com/github/agentscope-ai/ReMe) — Python, 15,950 code lines
- [microsoft/VibeVoice](https://octocounts.com/github/microsoft/VibeVoice) — Python, 16,026 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)
