01Overview
react · 833,213 lines of actual code
Line Composition
1,014,824 total lines
Code833,21382.1%
Blank101,64610.0%
Comments79,9657.9%
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
03Notable Files
where complexity and size live
Most Complex
| File | Lines | Cx |
| packages/react-devtools-shared/src/backend/fiber/renderer.js | 6,430 | 2,152 |
| packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js | 5,983 | 1,459 |
| packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js | 5,704 | 1,430 |
| packages/react-server/src/ReactFlightServer.js | 5,563 | 1,426 |
| packages/react-reconciler/src/ReactFiberCommitWork.js | 4,502 | 1,194 |
| packages/react-client/src/ReactFlightClient.js | 4,721 | 1,179 |
| packages/react-server/src/ReactFizzServer.js | 5,311 | 1,165 |
| packages/react-dom-bindings/src/client/ReactDOMComponent.js | 3,028 | 1,117 |
| packages/react-reconciler/src/ReactFiberWorkLoop.js | 4,220 | 999 |
| scripts/bench/benchmarks/pe-class-components/benchmark.js | 5,400 | 996 |
Largest
| File | Lines | Cx |
| fixtures/attribute-behavior/AttributeTableSnapshot.md | 13,392 | 0 |
| fixtures/ssr2/package-lock.json | 12,827 | 0 |
| packages/react-dom/src/__tests__/ReactDOMFloat-test.js | 9,455 | 73 |
| packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js | 9,410 | 141 |
| packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js | 8,539 | 7 |
| compiler/crates/react_compiler_lowering/src/build_hir.rs | 6,695 | 958 |
| packages/react-devtools-shared/src/backend/fiber/renderer.js | 6,430 | 2,152 |
| packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js | 5,983 | 1,459 |
| packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js | 5,704 | 1,430 |
| packages/react-server/src/ReactFlightServer.js | 5,563 | 1,426 |
04Code Quality
style, correctness, and maintainability findings
By Severity & Category
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.
06Search This Repo
live, powered by code_search
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