The Celery vs RQ comparison on OctoCounts shows side-by-side source line counts for celery/celery and rq/rq, counted under the rules and on the dates stated below: files, total lines, code lines, comment lines, blank lines, and per-language totals, pinned to the exact commits listed below.
This page compares the source lines of code (SLOC) of celery/celery and rq/rq 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-11-11, celery/celery contains 135,303 total lines (106,917 code) across 492 files, while rq/rq contains 14,863 total lines (11,254 code) across 56 files as of 2026-11-13. celery/celery has about 9.5x the counted code lines of rq/rq under the same engine and counting rules. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | celery/celery | rq/rq |
|---|---|---|
| Files | 492 | 56 |
| Total lines | 135,303 | 14,863 |
| Code lines | 106,917 | 11,254 |
| Comment lines | 6,564 | 1,343 |
| Blank lines | 21,822 | 2,266 |
| Languages counted | 17 | 7 |
Top languages in celery/celery: Python (91.9% of code), ReStructuredText (4.3% of code), JSON (2.3% of code). Top languages in rq/rq: Python (98.2% of code), TOML (1.2% of code), INI (0.3% of code). Python appears in both top language lists; ReStructuredText, JSON, Shell, YAML appear only in celery/celery's top languages; TOML, INI, Makefile, Dockerfile appear only in rq/rq's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. celery/celery was counted at ref main (commit 9c2f23833433) on 2026-11-11; rq/rq was counted at ref master (commit 535172412469) on 2026-11-13. See the counting methodology for ignored directories and analysis options.
Both reports use the same engine and effective counting rules. Repository declarations, when enabled, are specific to each repository. celery/celery: 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. rq/rq: 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.
Background observations recorded on 2026-09-16; language descriptions here are historical context, not claims about the current filtered shares. Use this page's measured language breakdown for current counts. Repository layout before counting filters: celery/celery is the Celery repository: a distributed task queue for Python, with its core worker and result backends, a broad set of integration tests, and extensive documentation sources. rq/rq contains RQ (Redis Queue): a Python library that puts jobs in Redis and runs workers against them. Both are Python background-job libraries, counted on the dates shown above.
Both trees are predominantly Python as the per-language tables show, so the difference in totals is about scope, not implementation language: Celery's count covers brokers, result backends, and scheduling features, while RQ deliberately centers on a Redis-backed worker.
The smaller RQ total should not be read as RQ being a lesser tool: it implements a deliberately narrower feature set. Task-queue choice depends on the features an application actually uses, not on the size of either source tree.
Sources: celery/celery repository · rq/rq repository. Statements verified 2026-09-16.
Evidence and next steps:
Saved reports remain subject to cache cleanup and replacement. Export their JSON for durable citation; live report URLs can change.
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
As of 2026-11-11, celery/celery contains 135,303 total lines (106,917 code) across 492 files, while rq/rq contains 14,863 total lines (11,254 code) across 56 files as of 2026-11-13. celery/celery has about 9.5x the counted code lines of rq/rq under the same engine and counting rules. Code size is not code quality: a larger count only means more source material, not a better or worse project.
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 celery/celery, rq/rq, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. celery/celery was counted at ref main (commit 9c2f23833433) on 2026-11-11; rq/rq was counted at ref master (commit 535172412469) on 2026-11-13. 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.