REPOSITORY DOSSIER  ·  github.com

facebook/react

6,963 files 16 languages 1,008,697 total lines @99e8606 analysed just now

01Overview

react · 828,353 lines of actual code
6,963
Files
828,353
Code lines
79,342
Comments
16
Languages
53,936
Complexity
1
Secrets
Line Composition 1,008,697 total lines
Code828,35382.1%
Blank101,00210.0%
Comments79,3427.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

03Notable Files

where complexity and size live

04Code Quality

style, correctness, and maintainability findings

By Severity & Category

Warning
1272
Info
14420
Error
28
Total
15,720
By Category
Modernization 5 accessibility 306 correctness 14665 maintainability 77 performance 545 safety 1 security 121

Top Findings

Critical: Use of 'unsafe' keyword bypasses Rust's safety guarantees. Requires careful auditing, clear justification (FFI, specific optimizations), and minimal scope.
Use textContent or DOM methods to prevent XSS vulnerabilities ×3
Similar to eval(); avoid due to security risks

05Secrets & Credentials

pattern-based scan for hardcoded secrets

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