REPOSITORY DOSSIER  ·  github.com

facebook/react

6,989 files 16 languages 1,016,835 total lines @a6b912f analysed just now

01Overview

react · 834,975 lines of actual code
6,989
Files
834,975
Code lines
80,029
Comments
16
Languages
75,235
Complexity
1
Secrets
Line Composition 1,016,835 total lines
Code834,97582.1%
Blank101,83110.0%
Comments80,0297.9%
~99%
tokens saved
Reading facebook/react via an LLM
~5.8M tokens → ~1.4k tokens via code_analyze

The entire repo summarised by code_analyze — structured JSON in <2k tokens. The dossier above is built from one call. Drill into specifics with code_search.

02Languages & Tech Stack

what it’s written in, what it depends on

Language Breakdown

Language
Files
Code
Share
JavaScript
3,838
538,501
64.5%
Markdown
2,023
131,523
15.8%
TypeScript
528
68,949
8.3%
Rust
121
65,659
7.9%
JSON
152
17,590
2.1%
CSS
108
4,519
0.5%
HTML
79
3,242
0.4%
YAML
31
3,001
0.4%
CoffeeScript
1
476
0.1%
+ 7 more
—
1,192
·

03Notable Files

where complexity and size live

04Code Quality

style, correctness, and maintainability findings

By Severity & Category

Warning
1116
Info
2042
Error
3
Total
3,161
By Category
accessibility 118 correctness 2436 maintainability 69 performance 498 security 40

Top Findings

Universal selector detected; avoid for performance and specificity issues
Use of !important detected; avoid overriding specificity with safer cascade management
Warning: Direct indexing (e.g., `vec[i]`, `slice[i]`) panics on out-of-bounds access. Prefer using `.get(index)` or `.get_mut(index)` which return Option<&T>/Option<&mut T>. ×3

05Secrets & Credentials

pattern-based scan for hardcoded secrets
generic-api-key — Detected a Generic API Key, potentially exposing access to various services and sensitive operations.

Scan another repository

Drop any public git URL or owner/repo shorthand.

Or compare facebook/react against another repo:

Or use the API directly: curl https://api.searchcode.com/api/v1/code_analyze  ·  Add to your MCP client

Generated by searchcode.com · code intelligence for LLMs

data from code_analyze · cached by commit SHA · source on github.com