# OpenGVLab/LLaMA-Adapter SLOC report

> As of 2026-11-07 (commit 8c50ee5d5d39), OpenGVLab/LLaMA-Adapter contains 157,359 total lines: 149,101 code, 3,392 comments, 4,866 blank, across 246 files in 15 languages (top language: C 72.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OpenGVLab/LLaMA-Adapter has 149,101 source lines of code out of 157,359 total lines across 246 files, counted with tokei from the 8c50ee5d5d393c9bee5fcfda6aaea31d3ca3c40c ref at commit 8c50ee5d5d39 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving OpenGVLab/LLaMA-Adapter to commit 8c50ee5d5d39, 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

OpenGVLab/LLaMA-Adapter: 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 94.8% of all lines, comments represent 2.2%, and the repository averages 606 code lines per file. C accounts for 72.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 1 | 107,777 | 107,760 | 0 | 17 |
| Python | 156 | 27,375 | 21,759 | 1,686 | 3,930 |
| JSON | 10 | 17,421 | 17,420 | 0 | 1 |
| JavaScript | 2 | 1,083 | 937 | 15 | 131 |
| C++ | 2 | 442 | 381 | 6 | 55 |
| Shell | 22 | 326 | 259 | 16 | 51 |
| C Header | 1 | 224 | 185 | 6 | 33 |
| YAML | 6 | 144 | 141 | 0 | 3 |
| Scheme | 2 | 138 | 114 | 5 | 19 |
| TOML | 2 | 67 | 56 | 3 | 8 |
| Rust | 2 | 57 | 43 | 5 | 9 |
| BASH | 1 | 36 | 25 | 1 | 10 |

Top language: C 72.3%. Generated on November 7, 2026. Canonical report: https://octocounts.com/github/OpenGVLab/LLaMA-Adapter

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/OpenGVLab/LLaMA-Adapter/commit/8c50ee5d5d393c9bee5fcfda6aaea31d3ca3c40c?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=72e1ed59265efce14aa3b29d41cc545ffd262ae0b481d995c05e5cd748a6079e).

## Report FAQ

### How many lines of code does OpenGVLab/LLaMA-Adapter have?

OpenGVLab/LLaMA-Adapter has 149,101 lines of code, plus 3,392 comment lines and 4,866 blank lines, for 157,359 total lines at commit 8c50ee5d5d39 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the OpenGVLab/LLaMA-Adapter line count measured?

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

### What commit was counted for OpenGVLab/LLaMA-Adapter?

This OctoCounts report was generated from 8c50ee5d5d393c9bee5fcfda6aaea31d3ca3c40c at commit 8c50ee5d5d39 on November 7, 2026.

## Similar repository reports

- [atheme/atheme](https://octocounts.com/github/atheme/atheme) — C, 149,246 code lines
- [erincatto/box3d](https://octocounts.com/github/erincatto/box3d) — C, 151,659 code lines
- [SteamClientHomebrew/Millennium](https://octocounts.com/github/SteamClientHomebrew/Millennium) — C, 152,789 code lines
- [ttscoff/nv](https://octocounts.com/github/ttscoff/nv) — C, 144,440 code lines
- [ming1016/study](https://octocounts.com/github/ming1016/study) — C, 143,558 code lines
- [id-Software/Quake-2](https://octocounts.com/github/id-Software/Quake-2) — C, 142,104 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
