REPOSITORY DOSSIER  ·  github.com

facebook/react

6,981 files 16 languages 1,014,824 total lines @098d2e8 analysed just now

01Overview

react · 833,213 lines of actual code
6,981
Files
833,213
Code lines
79,965
Comments
16
Languages
75,137
Complexity
1
Secrets
Line Composition 1,014,824 total lines
Code833,21382.1%
Blank101,64610.0%
Comments79,9657.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,836
537,057
64.5%
Markdown
2,019
131,361
15.8%
TypeScript
526
68,884
8.3%
Rust
121
65,568
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