# tradingview/lightweight-charts SLOC report

> tradingview/lightweight-charts: 105,080 code lines at commit c29c51e1e5bc, counted with tokei-15.0.0 on 2026-11-16. Saved result 72a70c4d5be254813635f9357be318d31c29cd519e14bc42a1eaa11de4ff5798.

tradingview/lightweight-charts has 105,080 source lines of code out of 166,949 total lines across 1,470 files, counted with tokei from the master ref at commit c29c51e1e5bc on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving tradingview/lightweight-charts to commit c29c51e1e5bc, 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

tradingview/lightweight-charts: 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 62.9% of all lines, comments represent 23.0%, and the repository averages 71 code lines per file. TypeScript accounts for 47.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 636 | 69,826 | 49,771 | 12,135 | 7,920 |
| YAML | 37 | 22,254 | 18,081 | 19 | 4,154 |
| JavaScript | 142 | 20,976 | 17,886 | 1,742 | 1,348 |
| JSON | 111 | 10,322 | 10,321 | 0 | 1 |
| HTML | 152 | 3,421 | 3,142 | 263 | 16 |
| TSX | 25 | 3,072 | 2,590 | 242 | 240 |
| CSS | 25 | 2,764 | 2,237 | 184 | 343 |
| SVG | 35 | 535 | 528 | 4 | 3 |
| JSX | 3 | 402 | 328 | 21 | 53 |
| Shell | 7 | 250 | 178 | 25 | 47 |
| Vue | 3 | 23 | 18 | 0 | 5 |
| MDX | 87 | 8,627 | 0 | 6,459 | 2,168 |
| Markdown | 207 | 24,477 | 0 | 17,340 | 7,137 |

Top language: TypeScript 47.4%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/tradingview/lightweight-charts/commit/c29c51e1e5bc61981da5832c97797cb8283d120f?reportId=72a70c4d5be254813635f9357be318d31c29cd519e14bc42a1eaa11de4ff5798&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/tradingview/lightweight-charts/commit/c29c51e1e5bc61981da5832c97797cb8283d120f?reportId=72a70c4d5be254813635f9357be318d31c29cd519e14bc42a1eaa11de4ff5798&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 tradingview/lightweight-charts have?

tradingview/lightweight-charts has 105,080 lines of code, plus 38,434 comment lines and 23,435 blank lines, for 166,949 total lines at commit c29c51e1e5bc on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the tradingview/lightweight-charts line count measured?

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

### What commit was counted for tradingview/lightweight-charts?

This OctoCounts report was generated from master at commit c29c51e1e5bc on November 16, 2026.

## Similar repository reports

- [Jhoseto/news-point-app](https://octocounts.com/github/Jhoseto/news-point-app) — TypeScript, 105,096 code lines
- [KnockOutEZ/wigolo](https://octocounts.com/github/KnockOutEZ/wigolo) — TypeScript, 105,021 code lines
- [zR-JB/graphite-meter](https://octocounts.com/github/zR-JB/graphite-meter) — TypeScript, 105,440 code lines
- [AmaraNecib/tuari_react_hono](https://octocounts.com/github/AmaraNecib/tuari_react_hono) — TypeScript, 105,542 code lines
- [microsoft/vscode-js-debug](https://octocounts.com/github/microsoft/vscode-js-debug) — TypeScript, 106,595 code lines
- [Jarcis-cy/pi-subagents](https://octocounts.com/github/Jarcis-cy/pi-subagents) — TypeScript, 106,953 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)
