REPOSITORY COMPARISON  ·  github.com & github.com

redis/redis

1,071 files · 16 langs · 274,682 lines
@f6ffa00
VS

memcached/memcached

288 files · 18 langs · 61,578 lines
@f1674f0
🔍

redis/redis has 2.5× more findings overall — but memcached/memcached has 1.77× higher findings density per 1k LOC.

01Overview

absolute counts side by side
1,071
redis files
3.7×
288
memcached files
274,682
redis code lines
4.5×
61,578
memcached code lines
50,249
redis complexity
5.0×
9,988
memcached complexity
16
redis languages
18
memcached languages
0
redis secrets
=
both clean
0
memcached secrets

02Token cost to read raw

why dossiers exist
redis/redis
~1.9M tokens
→ via code_analyze: ~2k tokens
memcached/memcached
~431k tokens
→ via code_analyze: ~2k tokens

Either way, structured analysis collapses both to a couple of kilotokens. See it in action on the homepage.

03Line composition

code, blank, and comment shares
redis/redis 371,577 lines total
Code 73.9%
Blank 11.0%
Comments 15.1%
memcached/memcached 82,852 lines total
Code 74.3%
Blank 13.4%
Comments 12.3%

04Language breakdown

top 6 each

redis

C
51.1%
TCL
26.7%
JSON
10.4%
C Header
3.9%
Module-Definition
3.8%
Python
1.5%
+ 10 more
·

memcached

C
50.2%
Raku
19.2%
C Header
9.7%
#!
6.5%
Plain Text
5.0%
Lua
3.6%
+ 12 more
·

05Tech stack overlap

21 shared · 24 only in redis · 0 only in memcached

All of memcached/memcached's detected tech also appears in redis/redis — redis's stack is a superset.

06Most complex files

where the heavy lifting lives · click to drill in

redis

FileLinesCx
src/redis-cli.c9,3342,742
src/module.c8,1812,327
src/server.c5,7521,621
src/rdb.c3,6191,538
src/t_stream.c4,0981,461
src/cluster_legacy.c4,3341,444

memcached

FileLinesCx
memcached.c5,0571,321
proto_text.c1,403498
proxy_luafgen.c1,564486
xxhash.h2,638423
items.c1,400409
testapp.c1,949395

07Code quality findings

absolute count vs density per 1k LOC
3,547
redis findings
2.5×
1,406
memcached findings
12.9
redis findings / 1k LOC
density
22.8
memcached findings / 1k LOC
118
redis errors
4.5×
26
memcached errors
Despite being smaller, memcached/memcached flags 1.77× more issues per 1k LOC than redis/redis — denser code, not tidier.

08Secrets & credentials

pattern-based scan

redis

✓ No hardcoded credentials detected.0 of 274,682 lines flagged

memcached

✓ No hardcoded credentials detected.0 of 61,578 lines flagged

Compare two other repositories

Drop in any two public git URLs (or owner/repo shorthand).

vs

Or call the API directly: two parallel code_analyze requests, diff client-side.  ·  Add to your MCP client