QuantConnect/Lean

QuantConnect/Lean has 649,625 source lines of code out of 1,039,253 total lines across 5,268 files, counted with tokei from the master ref at commit bbcbbe15e22b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

QuantConnect/Lean: 649,625 code lines at commit bbcbbe15e22b, counted with tokei-15.0.0 on 2026-11-16. Saved result dbccf0900c7f9483a949e421e45df881151937318c72f239c0a29842c0995a71.

OctoCounts produced this report by resolving QuantConnect/Lean to commit bbcbbe15e22b, 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.

Repository size insights

This is a large codebase by counted code lines. Code represents 62.5% of all lines, comments represent 28.4%, and the repository averages 123 code lines per file. C# accounts for 72.3% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C#457178812246942323347185228
JSON171346581344970161
Python5404226423113115227629
XML719199190091864
MSBuild232285228401
CSS25624472194
HTML2358332242
Jupyter Notebooks850722719882
Visual Studio Solution116216101
Shell31541081432
Dockerfile1271287
Batch19432
Forge Config14400
INI17412
Markdown23241201658754
Plain Text67485230485230

Top language: C# 72.3%. Generated on .

Counting rules and retention

QuantConnect/Lean: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does QuantConnect/Lean have?

QuantConnect/Lean has 649,625 lines of code, plus 295,629 comment lines and 93,999 blank lines, for 1,039,253 total lines at commit bbcbbe15e22b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the QuantConnect/Lean line count measured?

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

What commit was counted for QuantConnect/Lean?

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

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for QuantConnect/Lean on this page — 649,625 code lines across 16 languages, counted by tokei.