This page compares the source lines of code (SLOC) of reduxjs/redux and pmndrs/zustand using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.
As of 2026-08-26, reduxjs/redux contains 382,445 total lines (379,887 code) across 264 files, while pmndrs/zustand contains 18,216 total lines (16,291 code) across 57 files as of 2026-08-26. reduxjs/redux is about 23x the size of pmndrs/zustand by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | reduxjs/redux | pmndrs/zustand |
|---|---|---|
| Files | 264 | 57 |
| Total lines | 382,445 | 18,216 |
| Code lines | 379,887 | 16,291 |
| Comment lines | 1,422 | 373 |
| Blank lines | 1,136 | 1,552 |
| Languages counted | 10 | 11 |
Top languages in reduxjs/redux: JSON (98.1% of code), JavaScript (1.3% of code), TypeScript (0.4% of code). Top languages in pmndrs/zustand: JSON (57.6% of code), YAML (27.1% of code), TypeScript (7.7% of code). JSON, JavaScript, TypeScript appear in both top language lists; CSS, TSX appear only in reduxjs/redux's top languages; YAML, JSX appear only in pmndrs/zustand's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. reduxjs/redux was counted at ref master (commit 71606661ac51) on 2026-08-26; pmndrs/zustand was counted at ref main (commit b57db4f86ef1) on 2026-08-26. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
reduxjs/redux has more code: 379,887 code lines versus 16,291 for pmndrs/zustand, about 23x as much, based on cached OctoCounts reports as of 2026-08-26.
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for reduxjs/redux, pmndrs/zustand, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. reduxjs/redux was counted at ref master (commit 71606661ac51) on 2026-08-26; pmndrs/zustand was counted at ref main (commit b57db4f86ef1) on 2026-08-26. See the counting methodology for ignored directories and analysis options.
Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.