DeanChensj/jiangshan-map

江山时序 · 中国历史交互地图时间轴 (403 BCE – Present) | Interactive Historical Atlas of China across 18 dynasties, 198 territory snapshots, ancient-to-modern place genealogy & classical poetry routes

JavaScript★ 7,118+288 that day#6 on trending

Analyzed November 17, 2026 at 897b9ad (main) with jscpd v5 in 1.5s.

C67.3/100
Project health54,007 lines of code (M)
Duplication83
2.2% in javascript, python
Dead code97
0.2%
Complexity38
71.8%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

2.27%duplicated code · 915 of 40,381 lines
71clones in code
36code files of 134 scanned
22.2%duplicated over all files · 1,270 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 2 generated files: js/event_pinyin.js, js/milestone_sources.js.

Largest clones in the code

  • 138 lines in 2 placesjavascript2,997 tokens
    2235{"ancient":"三明","modern":"三明","coord":[117.64,26.26],"tier":2,"remark":"1934年宁化为中央红军长征出发地之一;抗战期间福建省会内迁永安七年半"},
    2236{"ancient":"唐山","modern":"唐山","coord":[118.181,39.631],"tier":2},
    2237{"ancient":"沧州","modern":"沧州","coord":[116.841,38.301],"tier":2},
    2238{"ancient":"廊坊","modern":"廊坊","coord":[116.701,39.521],"tier":2},
    2239{"ancient":"衡水","modern":"衡水","coord":[115.671,37.741],"tier":2},
    2240{"ancient":"阳泉","modern":"阳泉","coord":[113.581,37.861],"tier":2},
    2241{"ancient":"晋城","modern":"晋城","coord":[112.851,35.491],"tier":2},
    2242{"ancient":"朔州","modern":"朔州","coord":[112.431,39.331],"tier":2},
    2243{"ancient":"晋中","modern":"晋中","coord":[112.751,37.691],"tier":2},
    2244{"ancient":"吕梁","modern":"吕梁","coord":[111.141,37.521],"tier":2},
    

    First 10 of 138 lines.

  • 38 lines in 2 placesjavascript802 tokens
    2149{"ancient":"连云港","modern":"连云港","coord":[119.18,34.59],"tier":2},
    2150{"ancient":"无锡","modern":"无锡","coord":[120.3,31.57],"tier":2},
    2151{"ancient":"南充","modern":"南充","coord":[105.97,31.56],"tier":2},
    2152{"ancient":"宜宾","modern":"宜宾","coord":[104.64,28.77],"tier":2},
    2153{"ancient":"乐山","modern":"乐山","coord":[103.77,29.55],"tier":2},
    2154{"ancient":"泸州","modern":"泸州","coord":[105.44,28.89],"tier":2},
    2155{"ancient":"抚州","modern":"抚州","coord":[116.36,27.98],"tier":2},
    2156{"ancient":"宜春","modern":"宜春","coord":[114.39,27.8],"tier":2},
    2157{"ancient":"莆田","modern":"莆田","coord":[119.01,25.43],"tier":2},
    2158{"ancient":"随州","modern":"随州","coord":[113.38,31.69],"tier":2},
    

    First 10 of 38 lines.

  • 31 lines in 2 placesjavascript648 tokens
    2089{"ancient":"贵阳","modern":"贵阳","coord":[106.631,26.651],"tier":2},
    2090{"ancient":"吉林","modern":"吉林","coord":[126.551,43.841],"tier":2},
    2091{"ancient":"岳阳","modern":"岳阳","coord":[113.129,29.357],"tier":2},
    2092{"ancient":"常德","modern":"常德","coord":[111.698,29.032],"tier":2},
    2093{"ancient":"衡阳","modern":"衡阳","coord":[112.572,26.894],"tier":2},
    2094{"ancient":"永州","modern":"永州","coord":[111.613,26.421],"tier":2},
    2095{"ancient":"宜昌","modern":"宜昌","coord":[111.286,30.692],"tier":2},
    2096{"ancient":"宣城","modern":"宣城","coord":[118.759,30.94],"tier":2},
    2097{"ancient":"池州","modern":"池州","coord":[117.491,30.665],"tier":2},
    2098{"ancient":"滁州","modern":"滁州","coord":[118.317,32.301],"tier":2},
    

    First 10 of 31 lines.

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
javascript3439,601719152.31%
python2780000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
markup3836,7291,16721,30258%
javascript4453,227901,2072.27%
css16,2216510.82%
markdown142,3304371.59%
bash1111632420.69%
json162,126000%
python2780000%
yaml4183000%
txt2138000%
text268000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 17, 2026#67,118 (+288)134101,9181,27022.2%2.27%C 67.3897b9ad

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