1 view

alchaincyf/huashu-design

Huashu Design 3.0 · 在 agent 里打一句话,拿回能交付的设计:网页 / App 原型 / 可编辑 PPTX / 动画 / 信息图 · 六个候选挑三个方向 · 84 种带样张的风格库 · 越用越懂你的外观账本与设计体检 · HTML-native design skill for Claude Code, Codex, Cursor & any agent

HTML★ 27,163+251 that day#9 on trending

Analyzed October 27, 2026 at 4fc7bfd (master) with jscpd v5 in 1.2s.

E25.6/100
Project health8,371 lines of code (S)
Duplication81
2.3% in javascript, python, jsx, bash
Dead code3
45.6%
Complexity53
51.5%

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.28%duplicated code · 185 of 8,105 lines
13clones in code
34code files of 294 scanned
16.38%duplicated over all files · 254 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.

Largest clones in the code

  • 47 lines in 2 placesjavascript348 tokens
    138await context.addInitScript(css => {
    139  const HIDE_MARK = 'data-video-hidden';
    140  function injectStyle() {
    141    const style = document.createElement('style');
    142    style.setAttribute('data-inject', 'render-video-chrome-hide');
    143    style.textContent = css;
    144    (document.head || document.documentElement).appendChild(style);
    145  }
    146  function hideChromeBars() {
    147    const vh = window.innerHeight;
    
    137await recordCtx.addInitScript(css => {
    138  const HIDE_MARK = 'data-video-hidden';
    139
    140  function injectStyle() {
    141    const style = document.createElement('style');
    142    style.setAttribute('data-inject', 'render-video-chrome-hide');
    143    style.textContent = css;
    144    (document.head || document.documentElement).appendChild(style);
    145  }
    146
    

    First 10 of 47 lines, the second copy on the right.

  • 16 lines in 2 placesjavascript130 tokens
    31const { chromium } = require('playwright');
    32const path = require('path');
    33const fs = require('fs');
    34const { spawnSync } = require('child_process');
    35
    36function arg(name, def) {
    37  const p = process.argv.find(a => a.startsWith('--' + name + '='));
    38  return p ? p.slice(name.length + 3) : def;
    39}
    40function hasFlag(name) {
    

    First 10 of 16 lines.

  • 14 lines in 2 placesjavascript123 tokens
    431if (hasBg || hasUniformBorder) {
    432  const shadow = parseBoxShadow(cs.boxShadow);
    433  shapeEl = {
    434    type: 'shape',
    435    x: toIn(rect.x),
    436    y: toIn(rect.y),
    437    w: toIn(rect.w),
    438    h: toIn(rect.h),
    439    fill: hasBg ? fillFieldOf(bgColor) : null,
    440    line: hasUniformBorder ? { color: parseColorString(b.top.c).hex, width: toPt(b.top.w) } : null,
    

    First 10 of 14 lines.

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
javascript103,009121775.88%
jsx82,060180.39%
python92,354000%
bash7682000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
markup14835,5242369,66327.2%
javascript203,433131835.33%
text197322141.91%
markdown5014,365190.06%
python122,6281100.38%
jsx152,435180.33%
bash16825000%
css10261000%
json2109000%
typescript140000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Oct 27, 2026#927,163 (+251)29460,35925416.38%2.28%E 25.64fc7bfd

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