43 views
morluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript★ 275,796+32,314 that day#1 on trending
C67/100
Duplication74
3.7% in typescript, javascript, python, java, cpp, swift, bash, c, perl, cpp-header, objectivec, csharp, linker-script, solidityDead code83
2%Complexity49
51.4% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
1.69%duplicated code · 7,049 of 416,543 lines
580clones in code
1,877code files of 3,986 scanned
12.71%duplicated over all files · 12,705 clones
Most complex files
- bridge/ghidra/ReaGhidraBridge.java1162 cx
- src/domain/javascript/javascriptSemanticAnalysis.ts473 cx
- src/gdb/GdbSessionManager.ts463 cx
- src/application/javascript/JavaScriptArtifactPathResolution.ts457 cx
- src/ghidra/GhidraProvider.behavior.test.ts454 cx
- tests/boundary/providers/GdbSessionManagerCoverage.test.ts453 cx
- src/adb/AdbProvider.ts438 cx
- src/application/ClientConfigurationDocument.ts428 cx
- src/domain/javascript/javascriptSymbolicBindings.ts412 cx
- src/domain/javascript/javascriptSemanticMemberMutations.ts401 cx
Dead code 1.98% unused · 124 findings
- src/dotnet/ManagedPe.fixture.tsunused-file
- experiments/analysis-efficiency/measure.mjsunused-file
- src/evaluation/AgentEvaluationFixtures.tsunused-file
- src/mcpDoctor.tsunused-file
- src/evaluation/KnownAnswerEvaluation.tsunused-file
- experiments/analysis-efficiency/verify-evm-lifecycle.mjsunused-file
- src/contracts/reconstructionReadinessExample.tsunused-file
- src/domain/reconstructionReadinessJourneyFindings.tsunused-file
- src/domain/conformanceTrustGate.tsunused-file
- experiments/analysis-efficiency/javascript-facts-agent.mjsunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 1 generated file: src/generatedPackageMetadata.ts.
Largest clones in the code
- 18 lines in 6 placestypescript89 tokenssrc/application/binaryDiagnostics/BinaryLayoutService.ts:58–75src/application/electron/ElectronFuseService.ts:34–51src/application/evm/EvmInterfaceService.ts:40–57src/application/go/GoBinaryService.ts:49–66src/application/rust/RustBinaryService.ts:46–63and 1 more
58const input = inspectBinaryLayoutInputSchema.safeParse(rawInput); 59if (!input.success) 60 return err( 61 analysisInputErrorFromIssues(OPERATION, input.error.issues, rawInput, { 62 cause: input.error, 63 }), 64 ); 65if (!isAbsolute(input.data.path)) 66 return err( 67 new AnalysisInputError(OPERATION, undefined, [First 10 of 18 lines.
- 32 lines in 3 placesjavascript214 tokensscripts/verify-claude-client.mjs:208–239scripts/verify-copilot-client.mjs:173–204scripts/verify-gemini-client.mjs:305–336
208); 209if (observed) { 210 const evidence = toolContract( 211 "analyze_javascript_application", 212 ).outputSchema.parse(observed); 213 assert.equal(evidence.subject.local_path, target); 214 const shape = evidence.normalized_result.graph.nodes 215 .flatMap((n) => n.observations) 216 .map((o) => o.properties) 217 .find(First 10 of 32 lines.
- 25 lines in 3 placesjavascript205 tokensscripts/verify-claude-client.mjs:266–290scripts/verify-copilot-client.mjs:278–303scripts/verify-opencode-client.mjs:259–282
266 ["doctor", "--client", "claude_code", "--skill"], 267]) { 268 const result = await exec( 269 process.execPath, 270 [join(runtimeRoot, "scripts/rea.mjs"), ...args, "--json"], 271 { env: environment, cwd: workspace, timeout: 60_000 }, 272 ); 273 await writeFile( 274 join(lab, `${args[0]}${args.includes("--dry-run") ? "-plan" : ""}.json`), 275 result.stdout,First 10 of 25 lines.
7 more
- 13 lines in 5 placestypescript73 tokens
- 13 lines in 6 placestypescript52 tokens
- 15 lines in 5 placestypescript61 tokenssrc/server/registerApplicationTools/compareExportShapes.ts:17–31src/server/registerApplicationTools/compareSourceToBundle.ts:17–31src/server/registerApplicationTools/coverage.ts:13–27src/server/registerApplicationTools/obligationLedger.ts:20–34src/server/registerApplicationTools/traceSemantics.ts:16–30
- 18 lines in 3 placesjavascript119 tokens
- 20 lines in 3 placespython115 tokens
- 32 lines in 2 placesjavascript223 tokens
- 33 lines in 2 placesjavascript222 tokens
Largest clones over all files, tests and data included
- 9 lines in 321 placesgettexttranslations90 tokenswebsite/locales/ar/messages.po:2090–2098website/locales/ar/messages.po:2564–2572website/locales/ar/messages.po:2904–2912website/locales/ar/messages.po:3308–3316website/locales/ar/messages.po:4005–4013and 316 more
2090#. {ph0}: <span class="terminal-dots" aria-hidden="true" > 2091#. {ph1}: <i> 2092#. {ph2}: </i> 2093#. {ph3}: <i> 2094#. {ph4}: </i> 2095#. {ph5}: <i> 2096#. {ph6}: </i> 2097#. {ph7}: </span > 2098#: website/public/examples/dino-lab/index.html:4212564#. {ph0}: <span class="terminal-dots" aria-hidden="true" > 2565#. {ph1}: <i> 2566#. {ph2}: </i> 2567#. {ph3}: <i> 2568#. {ph4}: </i> 2569#. {ph5}: <i> 2570#. {ph6}: </i> 2571#. {ph7}: </span > 2572#: website/public/faq/index.html:415 - 352 lines in 18 placesgettexttranslations1,323 tokenswebsite/locales/ar/messages.po:15966–16317website/locales/de/messages.po:16648–16999website/locales/es/messages.po:16518–16869website/locales/fa/messages.po:16137–16488website/locales/fr/messages.po:16582–16933and 13 more
15966#, python-brace-format 15967#~ msgctxt "shared" 15968#~ msgid "" 15969#~ "{ph0}Showcases{ph1} {ph2}Blog{ph3} {ph4}Get started{ph5} {ph6}Guides{ph7} " 15970#~ "{ph8}FAQ{ph9}" 15971#~ msgstr "" 15972 15973#, python-brace-format 15974#~ msgctxt "shared" 15975#~ msgid ""First 10 of 352 lines.
- 7 lines in 161 placesgettexttranslations80 tokenswebsite/locales/ar/messages.po:6275–6281website/locales/ar/messages.po:6293–6299website/locales/ar/messages.po:6311–6317website/locales/ar/messages.po:7022–7028website/locales/ar/messages.po:7039–7045and 156 more
6275#. {ph0}: <span class="flow-label"> 6276#. {ph1}: </span > 6277#. {ph2}: <strong class="flow-node" > 6278#. {ph3}: </strong > 6279#. {ph4}: <span class="flow-note" > 6280#. {ph5}: </span > 6281#: website/public/showcase/aegis/index.html:2196293#. {ph0}: <span class="flow-label"> 6294#. {ph1}: </span > 6295#. {ph2}: <strong class="flow-node"> 6296#. {ph3}: </strong > 6297#. {ph4}: <span class="flow-note" > 6298#. {ph5}: </span > 6299#: website/public/showcase/aegis/index.html:228 - 37 lines in 19 placesgettexttranslations557 tokens
- 36 lines in 19 placesgettexttranslations557 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| typescript | 1,474 | 322,648 | 330 | 4,023 | 1.25% |
| javascript | 338 | 74,870 | 232 | 2,844 | 3.8% |
| python | 30 | 9,357 | 10 | 124 | 1.33% |
| cpp | 3 | 1,485 | 4 | 27 | 1.82% |
| java | 14 | 6,317 | 3 | 23 | 0.36% |
| swift | 4 | 572 | 1 | 8 | 1.4% |
| bash | 12 | 977 | 0 | 0 | 0% |
| perl | 1 | 168 | 0 | 0 | 0% |
| cpp-header | 1 | 149 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| gettext | 19 | 311,427 | 8,711 | 104,200 | 33.46% |
| typescript | 3,003 | 731,552 | 2,540 | 28,109 | 3.84% |
| txt | 37 | 19,022 | 519 | 10,795 | 56.75% |
| json | 42 | 27,538 | 342 | 8,590 | 31.19% |
| javascript | 408 | 82,209 | 252 | 3,087 | 3.76% |
| markup | 32 | 14,708 | 194 | 3,704 | 25.18% |
| yaml | 42 | 3,704 | 57 | 635 | 17.14% |
| markdown | 170 | 37,463 | 37 | 402 | 1.07% |
| python | 55 | 13,636 | 19 | 200 | 1.47% |
| bash | 95 | 1,856 | 19 | 152 | 8.19% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Oct 16, 2026 | #1 | 275,796 (+32,314) | 3,986 | 1,258,334 | 12,705 | 12.71% | 1.69% | C 67 | 2c75835 |
| Oct 15, 2026 | #1 | 249,063 (+41,034) | 3,791 | 1,187,771 | 12,184 | 12.67% | 1.74% | C 67.1 | cf0a38a |
| Oct 14, 2026 | #1 | 215,786 (+54,679) | 3,647 | 1,102,523 | 11,497 | 12.71% | 1.8% | C 67.9 | 500e323 |
| Oct 13, 2026 | #1 | 170,038 (+45,327) | 3,202 | 922,967 | 9,720 | 12.97% | 1.8% | C 68.7 | bb96afd |
| Oct 12, 2026 | #1 | 115,945 (+25,599) | 2,883 | 833,433 | 8,856 | 12.66% | 1.63% | B 70 | 3bdc873 |
| Oct 11, 2026 | #1 | 77,785 (+25,793) | 2,633 | 527,649 | 1,538 | 3.81% | 1.59% | B 70.5 | 29ff887 |
| Oct 10, 2026 | #1 | 52,158 (+14,927) | 2,346 | 436,379 | 1,143 | 3.42% | 1.15% | B 71.9 | 33b9b31 |
| Oct 9, 2026 | #2 | 29,974 (+7,738) | 2,248 | 401,340 | 987 | 3.23% | 1.16% | B 72.5 | 7e9c911 |
| Oct 8, 2026 | #1 | 16,810 (+4,655) | 1,938 | 327,142 | 687 | 2.79% | 1.08% | B 73.5 | 1154f2f |
| Oct 7, 2026 | #5 | 10,290 (+2,956) | 1,709 | 281,754 | 529 | 2.69% | 1.05% | B 71.8 | da09706 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.