[{"data":1,"prerenderedAt":600},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-hmjz100\u002FLinkSwift":249,"page-views-\u002Ftrending\u002Fhmjz100\u002FLinkSwift":596},[4,29,104,124,194],{"title":5,"icon":6,"path":7,"stem":8,"children":9},"Start",false,"\u002Fstart","1.start",[10,14,19,24],{"title":11,"path":7,"stem":12,"icon":13},"What jscpd finds","1.start\u002Findex","i-lucide-house",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fstart\u002Finstallation","1.start\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quickstart","\u002Fstart\u002Fquickstart","1.start\u002F3.quickstart","i-lucide-rocket",{"title":25,"path":26,"stem":27,"icon":28},"Configuration basics","\u002Fstart\u002Fconfiguration","1.start\u002F4.configuration","i-lucide-settings-2",{"title":30,"icon":6,"path":31,"stem":32,"children":33,"page":6},"Guides","\u002Fguides","2.guides",[34,39,44,49,54,59,64,69,74,79,84,89,94,99],{"title":35,"path":36,"stem":37,"icon":38},"Use jscpd in CI","\u002Fguides\u002Fci","2.guides\u002F01.ci","i-lucide-github",{"title":40,"path":41,"stem":42,"icon":43},"Pre-commit hooks","\u002Fguides\u002Fpre-commit","2.guides\u002F02.pre-commit","i-lucide-git-commit",{"title":45,"path":46,"stem":47,"icon":48},"Fail only on new duplication","\u002Fguides\u002Fbaseline","2.guides\u002F03.baseline","i-lucide-git-compare",{"title":50,"path":51,"stem":52,"icon":53},"Monorepos","\u002Fguides\u002Fmonorepos","2.guides\u002F04.monorepos","i-lucide-folder-tree",{"title":55,"path":56,"stem":57,"icon":58},"Cross-format detection","\u002Fguides\u002Fcross-format","2.guides\u002F05.cross-format","i-lucide-layers",{"title":60,"path":61,"stem":62,"icon":63},"Agents","\u002Fguides\u002Fagents","2.guides\u002F06.agents","i-lucide-cpu",{"title":65,"path":66,"stem":67,"icon":68},"Editors","\u002Fguides\u002Feditors","2.guides\u002F07.editors","i-lucide-code",{"title":70,"path":71,"stem":72,"icon":73},"Duplication over git history","\u002Fguides\u002Fhistory","2.guides\u002F08.history","i-lucide-chart-no-axes-combined",{"title":75,"path":76,"stem":77,"icon":78},"Dashboard and health score","\u002Fguides\u002Fdashboard","2.guides\u002F09.dashboard","i-lucide-layout-dashboard",{"title":80,"path":81,"stem":82,"icon":83},"Dead code","\u002Fguides\u002Fdead-code","2.guides\u002F10.dead-code","i-lucide-ghost",{"title":85,"path":86,"stem":87,"icon":88},"Comparing two codebases","\u002Fguides\u002Fcompare","2.guides\u002F11.compare","i-lucide-git-compare-arrows",{"title":90,"path":91,"stem":92,"icon":93},"Semantic clones","\u002Fguides\u002Fsemantic-clones","2.guides\u002F12.semantic-clones","i-lucide-brain-circuit",{"title":95,"path":96,"stem":97,"icon":98},"Similar functions","\u002Fguides\u002Fsimilarity","2.guides\u002F13.similarity","i-lucide-list-tree",{"title":100,"path":101,"stem":102,"icon":103},"Boundaries","\u002Fguides\u002Fboundaries","2.guides\u002F14.boundaries","i-lucide-fence",{"title":105,"icon":6,"path":106,"stem":107,"children":108,"page":6},"Concepts","\u002Fconcepts","3.concepts",[109,114,119],{"title":110,"path":111,"stem":112,"icon":113},"Types of code clones","\u002Fconcepts\u002Fclone-types","3.concepts\u002F1.clone-types","i-lucide-copy",{"title":115,"path":116,"stem":117,"icon":118},"How detection works","\u002Fconcepts\u002Fhow-detection-works","3.concepts\u002F2.how-detection-works","i-lucide-scan-search",{"title":120,"path":121,"stem":122,"icon":123},"The health score","\u002Fconcepts\u002Fhealth-score","3.concepts\u002F3.health-score","i-lucide-heart-pulse",{"title":125,"icon":6,"path":126,"stem":127,"children":128,"page":6},"Reference","\u002Freference","4.reference",[129,134,139,144,181,186,190],{"title":130,"path":131,"stem":132,"icon":133},"CLI options","\u002Freference\u002Fcli","4.reference\u002F1.cli","i-lucide-terminal",{"title":135,"path":136,"stem":137,"icon":138},"The config file","\u002Freference\u002Fconfig-file","4.reference\u002F2.config-file","i-lucide-settings",{"title":140,"path":141,"stem":142,"icon":143},"Exit codes","\u002Freference\u002Fexit-codes","4.reference\u002F3.exit-codes","i-lucide-log-out",{"title":145,"icon":6,"path":146,"stem":147,"children":148},"Reporters","\u002Freference\u002Freporters","4.reference\u002F4.reporters\u002Findex",[149,151,156,161,166,171,176],{"title":145,"path":146,"stem":147,"icon":150},"i-lucide-file-chart-column",{"title":152,"path":153,"stem":154,"icon":155},"HTML reporter","\u002Freference\u002Freporters\u002Fhtml","4.reference\u002F4.reporters\u002F2.html","i-lucide-file-code",{"title":157,"path":158,"stem":159,"icon":160},"JSON reporter","\u002Freference\u002Freporters\u002Fjson","4.reference\u002F4.reporters\u002F3.json","i-lucide-braces",{"title":162,"path":163,"stem":164,"icon":165},"Badge reporter","\u002Freference\u002Freporters\u002Fbadge","4.reference\u002F4.reporters\u002F4.badge","i-lucide-award",{"title":167,"path":168,"stem":169,"icon":170},"SARIF reporter","\u002Freference\u002Freporters\u002Fsarif","4.reference\u002F4.reporters\u002F5.sarif","i-lucide-shield-check",{"title":172,"path":173,"stem":174,"icon":175},"CodeClimate reporter","\u002Freference\u002Freporters\u002Fcodeclimate","4.reference\u002F4.reporters\u002F6.codeclimate","i-lucide-flag-triangle-right",{"title":177,"path":178,"stem":179,"icon":180},"OpenMetrics reporter","\u002Freference\u002Freporters\u002Fopenmetrics","4.reference\u002F4.reporters\u002F7.openmetrics","i-lucide-activity",{"title":182,"path":183,"stem":184,"icon":185},"Supported formats","\u002Freference\u002Fsupported-formats","4.reference\u002F5.supported-formats","i-lucide-languages",{"title":187,"path":188,"stem":189,"icon":38},"GitHub Action","\u002Freference\u002Fgithub-action","4.reference\u002F6.github-action",{"title":191,"path":192,"stem":193,"icon":68},"Rust crates","\u002Freference\u002Frust-crates","4.reference\u002F7.rust-crates",{"title":195,"icon":6,"path":196,"stem":197,"children":198,"page":6},"Project","\u002Fproject","5.project",[199,204,209,214,239,244],{"title":200,"path":201,"stem":202,"icon":203},"Changelog","\u002Fproject\u002Fchangelog","5.project\u002F1.changelog","i-lucide-scroll-text",{"title":205,"path":206,"stem":207,"icon":208},"Migrating from v4 to v5","\u002Fproject\u002Fmigration","5.project\u002F2.migration","i-lucide-arrow-right-left",{"title":210,"path":211,"stem":212,"icon":213},"jscpd v4 (TypeScript)","\u002Fproject\u002Fv4","5.project\u002F3.v4","i-simple-icons-typescript",{"title":215,"icon":6,"path":216,"stem":217,"children":218},"Benchmarks","\u002Fproject\u002Fbenchmarks","5.project\u002F4.benchmarks\u002Findex",[219,221,226,230,235],{"title":215,"path":216,"stem":217,"icon":220},"i-lucide-gauge",{"title":222,"path":223,"stem":224,"icon":225},"Detection Speed","\u002Fproject\u002Fbenchmarks\u002Fdetection-speed","5.project\u002F4.benchmarks\u002F2.detection-speed","i-lucide-zap",{"title":227,"path":228,"stem":229,"icon":58},"Multi-Format Detection","\u002Fproject\u002Fbenchmarks\u002Fcross-format","5.project\u002F4.benchmarks\u002F3.cross-format",{"title":231,"path":232,"stem":233,"icon":234},"AI Token Efficiency","\u002Fproject\u002Fbenchmarks\u002Fai-token-efficiency","5.project\u002F4.benchmarks\u002F4.ai-token-efficiency","i-lucide-sparkles",{"title":236,"path":237,"stem":238,"icon":93},"Embedding Models","\u002Fproject\u002Fbenchmarks\u002Fembedding-models","5.project\u002F4.benchmarks\u002F5.embedding-models",{"title":240,"path":241,"stem":242,"icon":243},"Research","\u002Fproject\u002Fresearch","5.project\u002F5.research","i-lucide-graduation-cap",{"title":245,"path":246,"stem":247,"icon":248},"Articles","\u002Fproject\u002Farticles","5.project\u002F6.articles","i-lucide-newspaper",{"name":250,"url":251,"appearances":252,"latest":279},"hmjz100\u002FLinkSwift","https:\u002F\u002Fgithub.com\u002Fhmjz100\u002FLinkSwift",[253,268],{"date":254,"rank":255,"stars":256,"starsToday":257,"headSha":258,"sources":259,"lines":260,"clones":261,"duplicatedLines":262,"percentage":263,"codePercentage":264,"codeSources":265,"healthScore":266,"healthGrade":267},"2026-10-17",5,23926,538,"88f775d84a57764def07a32da9457cf3043ad11b",25,11127,86,1280,11.5,null,12,12.2,"E",{"date":269,"rank":270,"stars":271,"starsToday":272,"headSha":273,"sources":274,"lines":275,"clones":261,"duplicatedLines":262,"percentage":276,"codePercentage":264,"codeSources":277,"healthScore":278,"healthGrade":267},"2026-10-29",6,35346,1616,"c62d10a3071b089c6ffef4e9fa56f05bbb03079c",15,10270,12.46,2,10.9,{"date":269,"generatedAt":280,"name":250,"url":251,"description":281,"language":282,"stars":271,"starsToday":272,"defaultBranch":283,"headSha":273,"durationMs":284,"total":285,"formats":289,"topClones":313,"code":478,"health":550,"complexity":576,"deadCode":586},"2026-10-29T05:23:29.711Z","一个基于 JavaScript 的网盘文件下载地址获取工具。基于【网盘直链下载助手】修改 ，支持 百度网盘 \u002F 阿里云盘 \u002F 中国移动云盘 \u002F 天翼云盘 \u002F 迅雷云盘 \u002F 夸克网盘 \u002F UC网盘 \u002F 123云盘 八大网盘","JavaScript","dev",1099,{"sources":274,"lines":275,"tokens":286,"clones":261,"duplicatedLines":262,"duplicatedTokens":287,"percentage":276,"percentageTokens":288},58794,9043,15.38,[290,296,302,308],{"format":291,"sources":277,"lines":292,"clones":293,"duplicatedLines":294,"percentage":295},"javascript",9197,80,1127,12.25,{"format":297,"sources":298,"lines":299,"clones":255,"duplicatedLines":300,"percentage":301},"json",7,497,137,27.57,{"format":303,"sources":277,"lines":304,"clones":305,"duplicatedLines":306,"percentage":307},"yaml",187,1,16,8.56,{"format":309,"sources":310,"lines":311,"clones":312,"duplicatedLines":312,"percentage":312},"markdown",4,389,0,[314,338,366,394,404,420,430,443,458,468],{"format":291,"lines":315,"tokens":316,"first":317,"others":321,"copies":277,"excerpt":325,"kind":337},84,811,{"name":318,"start":319,"end":320},"（改）网盘直链下载助手.user.js",5822,5905,[322],{"name":318,"start":323,"end":324},5938,6021,{"lines":326,"total":315},[327,328,329,330,331,332,333,334,335,336],"base.adaptiveThemeOverride([","    [\"#717fff\", temp.color],","    [\"#717FFF\", temp.color],","    [\"#06a8ff\", temp.color],","    [\"#06A8FF\", temp.color],","    [\"#06a7ff\", temp.color],","    [\"#06A7FF\", temp.color],","    [\"#dcdfe6\", temp.color],","    [\"#DCDFE6\", temp.color],","    [\"#0095ff\", temp.color],","code",{"format":291,"lines":339,"tokens":340,"first":341,"others":344,"copies":310,"excerpt":354,"kind":337},14,106,{"name":318,"start":342,"end":343},6376,6389,[345,348,351],{"name":318,"start":346,"end":347},7096,7109,{"name":318,"start":349,"end":350},7664,7677,{"name":318,"start":352,"end":353},7924,7937,{"lines":355,"total":339},[356,357,358,359,360,361,362,363,364,365],"        tooltip: config.$baidu.dom,","        download: {","            error: (error) => {","                if (!error?.status) return ` 服务器未返回状态，若是下载一段时间后中断，可能是服务器返回文件长度不匹配，请重试；若是直接中断，请检查您的网络、脚本管理器扩展或浏览器~`;","                if (error?.status == 403) return ` 服务器说：链接已过期，关闭窗口重新获取试试吧~`;","                if (error?.status == 204 || error?.statusText === \"IDM\") return ` 服务说：链接已被 IDM 捕获~`;","            }","        }","    }","}];",{"format":291,"lines":367,"tokens":368,"first":369,"others":372,"copies":310,"excerpt":382,"kind":337},11,103,{"name":318,"start":370,"end":371},7059,7069,[373,376,379],{"name":318,"start":374,"end":375},7279,7289,{"name":318,"start":377,"end":378},7854,7864,{"name":318,"start":380,"end":381},7885,7895,{"lines":383,"total":367},[384,385,386,387,388,389,390,391,392,393],"selects = selects.filter(item => item.contentID && item.contentName && item.contentSuffix);","const batchSize = 15;","let proc = 0;","$doc.find(\".loading-popup .loading-title\").html(`地址获取中`);","$doc.find(\".loading-popup .swal2-html-container\").html(`\u003Cdiv>正在获取文件对应的下载地址~\u003C\u002Fdiv>`);","for (let i = 0; i \u003C selects.length; i += batchSize) {","    const batch = selects.slice(i, i + batchSize);","    const queue = [];","    batch.forEach((item, localIndex) => {","        const globalIndex = i + localIndex;",{"format":291,"lines":395,"tokens":396,"first":397,"others":400,"copies":277,"kind":337},51,294,{"name":318,"start":398,"end":399},8274,8324,[401],{"name":318,"start":402,"end":403},8549,8599,{"format":291,"lines":405,"tokens":406,"first":407,"others":409,"copies":255,"kind":337},10,73,{"name":318,"start":371,"end":408},7078,[410,412,414,417],{"name":318,"start":375,"end":411},7298,{"name":318,"start":381,"end":413},7904,{"name":318,"start":415,"end":416},8783,8792,{"name":318,"start":418,"end":419},8835,8844,{"format":291,"lines":421,"tokens":422,"first":423,"others":426,"copies":277,"kind":337},35,254,{"name":318,"start":424,"end":425},8786,8820,[427],{"name":318,"start":428,"end":429},8838,8872,{"format":291,"lines":405,"tokens":431,"first":432,"others":435,"copies":442,"kind":337},113,{"name":318,"start":433,"end":434},2432,2441,[436,439],{"name":318,"start":437,"end":438},2508,2517,{"name":318,"start":440,"end":441},2573,2582,3,{"format":297,"lines":444,"tokens":445,"first":446,"others":449,"copies":442,"kind":457},34,110,{"name":447,"start":367,"end":448},"config\u002Fquark.json",44,[450,454],{"name":451,"start":452,"end":453},"config\u002Ftianyi.json",13,46,{"name":455,"start":265,"end":456},"config\u002Fyidong.json",45,"data",{"format":291,"lines":459,"tokens":460,"first":461,"others":464,"copies":277,"kind":337},31,214,{"name":318,"start":462,"end":463},8232,8262,[465],{"name":318,"start":466,"end":467},8443,8472,{"format":291,"lines":469,"tokens":470,"first":471,"others":474,"copies":277,"kind":337},23,198,{"name":318,"start":472,"end":473},8465,8487,[475],{"name":318,"start":476,"end":477},8532,8554,{"sources":277,"lines":292,"tokens":479,"clones":293,"duplicatedLines":294,"duplicatedTokens":480,"percentage":295,"percentageTokens":481,"formats":482,"topClones":484,"generated":548},52164,8515,16.32,[483],{"format":291,"sources":277,"lines":292,"clones":293,"duplicatedLines":294,"percentage":295},[485,491,499,507,511,518,522,527,531,535],{"format":291,"lines":315,"tokens":316,"first":486,"others":487,"copies":277,"excerpt":489,"kind":337},{"name":318,"start":319,"end":320},[488],{"name":318,"start":323,"end":324},{"lines":490,"total":315},[327,328,329,330,331,332,333,334,335,336],{"format":291,"lines":339,"tokens":340,"first":492,"others":493,"copies":310,"excerpt":497,"kind":337},{"name":318,"start":342,"end":343},[494,495,496],{"name":318,"start":346,"end":347},{"name":318,"start":349,"end":350},{"name":318,"start":352,"end":353},{"lines":498,"total":339},[356,357,358,359,360,361,362,363,364,365],{"format":291,"lines":367,"tokens":368,"first":500,"others":501,"copies":310,"excerpt":505,"kind":337},{"name":318,"start":370,"end":371},[502,503,504],{"name":318,"start":374,"end":375},{"name":318,"start":377,"end":378},{"name":318,"start":380,"end":381},{"lines":506,"total":367},[384,385,386,387,388,389,390,391,392,393],{"format":291,"lines":395,"tokens":396,"first":508,"others":509,"copies":277,"kind":337},{"name":318,"start":398,"end":399},[510],{"name":318,"start":402,"end":403},{"format":291,"lines":405,"tokens":406,"first":512,"others":513,"copies":255,"kind":337},{"name":318,"start":371,"end":408},[514,515,516,517],{"name":318,"start":375,"end":411},{"name":318,"start":381,"end":413},{"name":318,"start":415,"end":416},{"name":318,"start":418,"end":419},{"format":291,"lines":421,"tokens":422,"first":519,"others":520,"copies":277,"kind":337},{"name":318,"start":424,"end":425},[521],{"name":318,"start":428,"end":429},{"format":291,"lines":405,"tokens":431,"first":523,"others":524,"copies":442,"kind":337},{"name":318,"start":433,"end":434},[525,526],{"name":318,"start":437,"end":438},{"name":318,"start":440,"end":441},{"format":291,"lines":459,"tokens":460,"first":528,"others":529,"copies":277,"kind":337},{"name":318,"start":462,"end":463},[530],{"name":318,"start":466,"end":467},{"format":291,"lines":469,"tokens":470,"first":532,"others":533,"copies":277,"kind":337},{"name":318,"start":472,"end":473},[534],{"name":318,"start":476,"end":477},{"format":291,"lines":536,"tokens":537,"first":538,"others":541,"copies":442,"kind":337},9,98,{"name":318,"start":539,"end":540},8157,8165,[542,545],{"name":318,"start":543,"end":544},8228,8235,{"name":318,"start":546,"end":547},8438,8446,{"files":312,"minified":312,"sample":549},[],{"score":278,"grade":267,"size":551,"dimensions":553},{"lines":292,"files":277,"class":552},"S",[554,564,570],{"id":555,"source":556,"value":557,"adjusted":558,"lines":294,"halfLife":559,"formats":560,"excluded":561,"weight":305,"score":563},"duplication","jscpd",12.3,10.7,8.5,[291],[562,457],"text",41.8,{"id":565,"source":556,"value":566,"adjusted":567,"lines":568,"halfLife":569,"weight":305,"score":312},"dead-code",99.5,82.3,9183,7.5,{"id":571,"source":556,"value":566,"adjusted":572,"lines":573,"halfLife":574,"weight":305,"score":575},"complexity",85.5,9152,50,30.6,{"total":577,"mean":578,"files":579},1803,901.5,[580,583],{"path":318,"complexity":581,"lines":573,"bytes":582},1802,810577,{"path":584,"complexity":305,"lines":456,"bytes":585},"eslint.config.mjs",1742,{"percentage":587,"findings":277,"files":442,"byCategory":588,"largest":591},99.51,[589],{"category":590,"count":277},"unused-file",[592,594],{"category":590,"path":318,"name":593,"line":305,"lines":573},"",{"category":590,"path":595,"name":593,"line":305,"lines":459},"（改）百度网盘会员青春版.user.js",{"\u002Ftrending\u002Fhmjz100\u002FLinkSwift":597},{"views":598,"visits":599},28,27,1795510258965]