10 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★ 45,439+326 that day#3 on trending

Analyzed October 10, 2026 at 35fc3e2 (main) with jscpd v5 in 1.9s. Code duplication went from 1.91% on Sep 14 to 1.68% on Oct 10.

D50.1/100
Project health161,480 lines of code (L)
Duplication59
6.5% in go, javascript, typescript, kotlin, tsx, python, bash, perl, powershell
Dead code70
3.9%
Complexity40
67.6%

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.68%duplicated code · 1,024 of 60,848 lines
96clones in code
273code files of 1,025 scanned
7.39%duplicated over all files · 1,280 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>
    
  • 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>
    
  • 18 lines in 2 placestsx134 tokens
    409    background: idx === searchSelectedIdx ? 'rgba(255,255,255,0.08)' : 'transparent',
    410    border: 'none',
    411    cursor: 'pointer',
    412    textAlign: 'left',
    413    outline: 'none',
    414    transition: 'background 0.1s',
    415  }}
    416  onMouseEnter={() => setSearchSelectedIdx(idx)}
    417>
    418  <div style={{ color: '#ffffff', fontSize: 14, fontWeight: 500, fontFamily, marginBottom: 4 }}>
    

    First 10 of 18 lines.

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
go12636,259606271.73%
tsx445,729252854.97%
typescript355,0305450.89%
javascript186,1032200.33%
kotlin315,6032160.29%
bash171,7982311.72%
perl1168000%
powershell1158000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
go358113,0758999,1488.09%
markdown19036,359841,9535.37%
javascript2617,104829275.42%
bash1073,623771,05829.2%
text511,2243677863.56%
tsx516,295273215.1%
yaml454,1092056313.7%
python135,849131352.31%
json492,1411258127.14%
typescript578,705111141.31%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
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.