# KongFangXun/sofagent SLOC report

> KongFangXun/sofagent: 224,907 code lines at commit 7965cb01de2c, counted with tokei-15.0.0 on 2026-11-12. Saved result 6de561ac14338d6ae40d4ff1c04890736d007a31d7f387ac7071c57c15b3a0ef.

KongFangXun/sofagent has 224,907 source lines of code out of 338,987 total lines across 1,453 files, counted with tokei from the main ref at commit 7965cb01de2c on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving KongFangXun/sofagent to commit 7965cb01de2c, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

KongFangXun/sofagent: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 66.3% of all lines, comments represent 25.7%, and the repository averages 155 code lines per file. TypeScript accounts for 63.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 923 | 216,954 | 142,969 | 57,529 | 16,456 |
| JavaScript | 106 | 38,369 | 28,231 | 7,915 | 2,223 |
| Shell | 79 | 34,271 | 24,516 | 7,889 | 1,866 |
| JSON | 126 | 22,920 | 22,920 | 0 | 0 |
| YAML | 16 | 2,801 | 2,525 | 144 | 132 |
| PowerShell | 15 | 2,902 | 2,231 | 413 | 258 |
| HTML | 1 | 859 | 795 | 34 | 30 |
| BASH | 3 | 706 | 431 | 245 | 30 |
| Python | 2 | 301 | 257 | 24 | 20 |
| Batch | 1 | 37 | 32 | 0 | 5 |
| Markdown | 179 | 18,862 | 0 | 13,050 | 5,812 |
| Plain Text | 2 | 5 | 0 | 5 | 0 |

Top language: TypeScript 63.6%. Generated on November 12, 2026. Canonical report: https://octocounts.com/github/KongFangXun/sofagent/commit/7965cb01de2c2b74b79395ebd2ad2218ef3c5dea?reportId=6de561ac14338d6ae40d4ff1c04890736d007a31d7f387ac7071c57c15b3a0ef&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/KongFangXun/sofagent/commit/7965cb01de2c2b74b79395ebd2ad2218ef3c5dea?reportId=6de561ac14338d6ae40d4ff1c04890736d007a31d7f387ac7071c57c15b3a0ef&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 KongFangXun/sofagent have?

KongFangXun/sofagent has 224,907 lines of code, plus 87,248 comment lines and 26,832 blank lines, for 338,987 total lines at commit 7965cb01de2c on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the KongFangXun/sofagent line count measured?

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

### What commit was counted for KongFangXun/sofagent?

This OctoCounts report was generated from main at commit 7965cb01de2c on November 12, 2026.

## Similar repository reports

- [microsoft/playwright](https://octocounts.com/github/microsoft/playwright) — TypeScript, 225,380 code lines
- [wolfymaster/woofx3-ui](https://octocounts.com/github/wolfymaster/woofx3-ui) — TypeScript, 225,803 code lines
- [kaitranntt/ccs](https://octocounts.com/github/kaitranntt/ccs) — TypeScript, 226,643 code lines
- [mcdottok/vscode-dsh](https://octocounts.com/github/mcdottok/vscode-dsh) — TypeScript, 223,157 code lines
- [shaongitbd/doory](https://octocounts.com/github/shaongitbd/doory) — TypeScript, 223,069 code lines
- [amiantos/lurker](https://octocounts.com/github/amiantos/lurker) — TypeScript, 222,558 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
