13 views

alibaba/open-code-review

Secure, fast, efficient, battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in multi-language ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI & Anthropic compatible.

Go★ 53,883+763 that day#2 on trending

Analyzed November 18, 2026 at 319c342 (main) with jscpd v5 in 1.9s. Code duplication went from 1.91% on Sep 14 to 1.38% on Nov 18.

D50.9/100
Project health196,113 lines of code (L)
Duplication60
6.2% in go, javascript, typescript, kotlin, tsx, python, bash, makefile, powershell, groovy, batch
Dead code72
3.6%
Complexity40
66.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.38%duplicated code · 970 of 70,075 lines
93clones in code
329code files of 1,280 scanned
13.25%duplicated over all files · 1,576 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 3 generated files: extensions/frontend/src/shared/providers.generated.ts, extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ProviderNames.generated.kt, internal/llm/gen/kotlin.go.

Largest clones in the code

  • 10 lines in 2 placestsx157 tokens
    113    <CodeBlock label={t('quickstart.step1Label2')} code="ocr version" onCopy={handleCopy} />
    114  </div>
    115</div>
    116
    117{/* Step 2 */}
    118<div style={{ display: 'flex', flexDirection: 'column', background: 'rgba(255,255,255,0.04)', border: '1px solid rgba(255,255,255,0.16)', borderRadius: 8, padd…
    119  <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 16 }}>
    120    <div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
    121      <div style={{ width: 32, height: 32, display: 'flex', justifyContent: 'center', alignItems: 'center', background: 'rgba(255,255,255,0.04)', borderRadius:…
    122        <span style={{ color: 'rgba(255,255,255,0.6)', fontSize: 13, fontWeight: 500 }}>02</span>
    
    142    <CodeBlock label={t('quickstart.step2Label3')} code="ocr llm test" onCopy={handleCopy} />
    143  </div>
    144</div>
    145
    146{/* Step 3 */}
    147<div style={{ display: 'flex', flexDirection: 'column', background: 'rgba(255,255,255,0.04)', border: '1px solid rgba(255,255,255,0.16)', borderRadius: 8, padd…
    148  <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 16 }}>
    149    <div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
    150      <div style={{ width: 32, height: 32, display: 'flex', justifyContent: 'center', alignItems: 'center', background: 'rgba(255,255,255,0.04)', borderRadius:…
    151        <span style={{ color: 'rgba(255,255,255,0.6)', fontSize: 13, fontWeight: 500 }}>03</span>
    
  • 9 lines in 3 placesgo74 tokens
    32func (p *CodeSearchProvider) Execute(ctx context.Context, args map[string]any) (string, error) {
    33    return p.Access.execute(ctx, args, p.FileReader, func(reader *FileReader) (string, error) {
    34        selected := *p
    35        selected.FileReader = reader
    36        return selected.execute(ctx, args)
    37    })
    38}
    39
    40func (p *CodeSearchProvider) execute(ctx context.Context, args map[string]any) (string, error) {
    
    33func (p *FileFindProvider) Execute(ctx context.Context, args map[string]any) (string, error) {
    34    return p.Access.execute(ctx, args, p.FileReader, func(reader *FileReader) (string, error) {
    35        selected := *p
    36        selected.FileReader = reader
    37        return selected.execute(ctx, args)
    38    })
    39}
    40
    41func (p *FileFindProvider) execute(ctx context.Context, args map[string]any) (string, error) {
    
  • 6 lines in 2 placestsx139 tokens
    97{/* Step 1 */}
    98<div style={{ display: 'flex', flexDirection: 'column', background: 'rgba(255,255,255,0.04)', border: '1px solid rgba(255,255,255,0.16)', borderRadius: 8, padd…
    99  <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 16 }}>
    100    <div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
    101      <div style={{ width: 32, height: 32, display: 'flex', justifyContent: 'center', alignItems: 'center', background: 'rgba(255,255,255,0.04)', borderRadius:…
    102        <span style={{ color: 'rgba(255,255,255,0.6)', fontSize: 13, fontWeight: 500 }}>01</span>
    
    117{/* Step 2 */}
    118<div style={{ display: 'flex', flexDirection: 'column', background: 'rgba(255,255,255,0.04)', border: '1px solid rgba(255,255,255,0.16)', borderRadius: 8, padd…
    119  <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 16 }}>
    120    <div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
    121      <div style={{ width: 32, height: 32, display: 'flex', justifyContent: 'center', alignItems: 'center', background: 'rgba(255,255,255,0.04)', borderRadius:…
    122        <span style={{ color: 'rgba(255,255,255,0.6)', fontSize: 13, fontWeight: 500 }}>02</span>
    
7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
go19045,597575751.26%
tsx455,836262914.99%
typescript355,0874370.73%
javascript196,6722200.3%
kotlin315,6212160.28%
bash81,1042312.81%
powershell1158000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
go534144,8741,06410,7907.45%
json7520,72712619,30093.12%
bash1103,168891,20237.94%
javascript2919,429859694.99%
markdown21941,585821,7754.27%
text521,3783677756.39%
tsx546,561283274.98%
yaml474,4222361813.98%
python156,139131352.2%
typescript589,036111131.25%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 18, 2026#253,883 (+763)1,280273,1311,57613.25%1.38%D 50.9319c342
Nov 17, 2026#1053,104 (+951)1,276271,4911,56313.29%1.4%D 510f5a284
Nov 16, 2026#652,323 (+691)1,273270,5561,54913.29%1.39%D 51.17e5ce06
Nov 15, 2026#551,527 (+893)1,273270,5561,54913.29%1.39%D 51.17e5ce06
Nov 14, 2026#150,786 (+215)1,267268,7401,53813.34%1.38%D 51.1abd6416
Oct 10, 2026#345,439 (+326)1,025213,3511,2807.39%1.68%D 50.135fc3e2
Sep 19, 2026#336,861 (+2,704)984202,1921,1937.24%1.68%D 50.785cecfe
Sep 18, 2026#135,378 (+3,286)914193,9041,1847.41%1.94%—78c0765
Sep 17, 2026#132,553 (+3,231)910190,1011,1547.37%1.91%—8316e0d
Sep 16, 2026#129,206 (+2,756)908189,1071,1487.37%1.91%—a694be5
Sep 15, 2026#226,278 (+1,571)901187,4171,1397.48%1.92%—e0bab8e
Sep 14, 2026#1123,782 (+443)900186,6661,1357.47%1.91%—78a6978

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.