[{"data":1,"prerenderedAt":718},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-EpicGames\u002Fraddebugger":249,"page-views-\u002Ftrending\u002FEpicGames\u002Fraddebugger":716},[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":273},"EpicGames\u002Fraddebugger","https:\u002F\u002Fgithub.com\u002FEpicGames\u002Fraddebugger",[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-08",5,7923,90,"b6d8c3fd9eaf7b55960d80738365742a8fba9e29",436,270402,1184,20188,7.47,5.75,384,43.3,"D",{"date":269,"rank":270,"stars":271,"starsToday":272,"headSha":258,"sources":259,"lines":260,"clones":261,"duplicatedLines":262,"percentage":263,"codePercentage":264,"codeSources":265,"healthScore":266,"healthGrade":267},"2026-10-09",3,8166,279,{"date":269,"generatedAt":274,"name":250,"url":251,"description":275,"language":276,"stars":271,"starsToday":272,"defaultBranch":277,"headSha":258,"durationMs":278,"total":279,"formats":283,"topClones":330,"code":511,"health":636,"complexity":663,"deadCode":715},"2026-10-09T05:33:13.671Z","A native, user-mode, multi-process, graphical debugger.","C","master",2108,{"sources":259,"lines":260,"tokens":280,"clones":261,"duplicatedLines":262,"duplicatedTokens":281,"percentage":263,"percentageTokens":282},1708230,133281,7.8,[284,291,297,304,311,316,320,324,327],{"format":285,"sources":286,"lines":287,"clones":288,"duplicatedLines":289,"percentage":290},"c",228,216610,1154,16455,7.6,{"format":292,"sources":255,"lines":293,"clones":294,"duplicatedLines":295,"percentage":296},"cpp",7198,17,3453,47.97,{"format":298,"sources":299,"lines":300,"clones":301,"duplicatedLines":302,"percentage":303},"c-header",186,44090,10,248,0.56,{"format":305,"sources":306,"lines":307,"clones":308,"duplicatedLines":309,"percentage":310},"yaml",1,218,2,13,5.96,{"format":312,"sources":306,"lines":313,"clones":306,"duplicatedLines":314,"percentage":315},"json",93,19,20.43,{"format":317,"sources":308,"lines":318,"clones":319,"duplicatedLines":319,"percentage":319},"markdown",1064,0,{"format":321,"sources":322,"lines":323,"clones":319,"duplicatedLines":319,"percentage":319},"bash",11,910,{"format":325,"sources":306,"lines":326,"clones":319,"duplicatedLines":319,"percentage":319},"perl",168,{"format":328,"sources":306,"lines":329,"clones":319,"duplicatedLines":319,"percentage":319},"text",51,[331,353,372,392,404,413,424,455,487,499],{"format":292,"lines":332,"tokens":333,"first":334,"others":338,"copies":308,"excerpt":342,"kind":352},1646,16245,{"name":335,"start":336,"end":337},"src\u002Fmule\u002Fmule_main.cpp",729,2374,[339],{"name":340,"start":318,"end":341},"src\u002Fmule\u002Fold_test_debuggees\u002Fmule.cpp",2708,{"lines":343,"total":332},[344,345,346,347,348,346,349,350,346,351],"  variadic_params(\"foo\", 123, 456);","}","","\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F\u002F","\u002F\u002F NOTE(allen): Mutating Variables Eval","static const int con_some_constant = 4;","static const float con_some_constant_f = 0.04f;","static int mut_x = 0;","code",{"format":292,"lines":354,"tokens":355,"first":356,"others":359,"copies":308,"excerpt":363,"kind":352},659,2444,{"name":335,"start":357,"end":358},2549,3207,[360],{"name":340,"start":361,"end":362},2874,3532,{"lines":364,"total":354},[365,366,346,367,368,369,346,370,371,346],"{","  int i = 17;","  check_again:","  if (i \u003C= 1) goto done;","  if ((i&1) == 0) goto even_case;","  \u002F\u002F odd_case:","  i = 3*i + 1;",{"format":292,"lines":373,"tokens":374,"first":375,"others":377,"copies":308,"excerpt":381,"kind":352},484,1819,{"name":335,"start":309,"end":376},496,[378],{"name":340,"start":379,"end":380},347,830,{"lines":382,"total":373},[383,384,385,386,346,387,388,389,390,391],"#if _WIN32 && _DEBUG","#pragma comment(linker, \"\u002Fnodefaultlib:libcmt\")","#pragma comment(lib, \"libcmtd\")","#endif","#include \u003Cstring>","#include \u003Cvector>","#include \u003Cunordered_map>","#include \u003Cmemory>","#if !_WIN32",{"format":285,"lines":393,"tokens":394,"first":395,"others":399,"copies":308,"kind":403},184,1474,{"name":396,"start":397,"end":398},"src\u002Flinker\u002Ftests\u002Flinker_tests.c",6888,7071,[400],{"name":396,"start":401,"end":402},7075,7258,"tests",{"format":292,"lines":405,"tokens":406,"first":407,"others":409,"copies":308,"kind":352},210,1280,{"name":335,"start":376,"end":408},705,[410],{"name":340,"start":411,"end":412},833,1042,{"format":285,"lines":414,"tokens":415,"first":416,"others":420,"copies":308,"kind":352},151,1107,{"name":417,"start":418,"end":419},"src\u002Ftext\u002Ftext.c",843,993,[421],{"name":417,"start":422,"end":423},1126,1276,{"format":285,"lines":425,"tokens":426,"first":427,"others":430,"copies":294,"kind":403},8,63,{"name":396,"start":428,"end":429},1981,1988,[431,434,437,440,443,446,449,452],{"name":396,"start":432,"end":433},2032,2039,{"name":396,"start":435,"end":436},2301,2307,{"name":396,"start":438,"end":439},2392,2398,{"name":396,"start":441,"end":442},2575,2582,{"name":396,"start":444,"end":445},2663,2670,{"name":396,"start":447,"end":448},2947,2954,{"name":396,"start":450,"end":451},3412,3418,{"name":396,"start":453,"end":454},3612,3618,{"format":285,"lines":456,"tokens":457,"first":458,"others":461,"copies":486,"kind":403},6,52,{"name":396,"start":459,"end":460},977,982,[462,465,468,471,474,477,480,483],{"name":396,"start":463,"end":464},1980,1985,{"name":396,"start":466,"end":467},2031,2036,{"name":396,"start":469,"end":470},2300,2305,{"name":396,"start":472,"end":473},2391,2396,{"name":396,"start":475,"end":476},2574,2579,{"name":396,"start":478,"end":479},2621,2626,{"name":396,"start":481,"end":482},2662,2667,{"name":396,"start":484,"end":485},2946,2951,20,{"format":285,"lines":488,"tokens":489,"first":490,"others":494,"copies":308,"kind":352},170,972,{"name":491,"start":492,"end":493},"src\u002Fpdb\u002Fpdb_parse.c",862,1031,[495],{"name":496,"start":497,"end":498},"src\u002Frdi_from_codeview\u002Frdi_from_codeview.c",166,336,{"format":298,"lines":500,"tokens":418,"first":501,"others":505,"copies":308,"kind":510},111,{"name":502,"start":503,"end":504},"src\u002Fui\u002Fgenerated\u002Fui.meta.h",315,425,[506],{"name":507,"start":508,"end":509},"src\u002Fui\u002Fui_core.h",1033,1143,"generated",{"sources":265,"lines":512,"tokens":513,"clones":514,"duplicatedLines":515,"duplicatedTokens":516,"percentage":264,"percentageTokens":517,"formats":518,"topClones":533,"generated":634},243394,1447951,846,14002,95946,6.63,[519,525,526,531,532],{"format":285,"sources":520,"lines":521,"clones":522,"duplicatedLines":523,"percentage":524},200,196141,824,10502,5.35,{"format":292,"sources":255,"lines":293,"clones":294,"duplicatedLines":295,"percentage":296},{"format":298,"sources":527,"lines":528,"clones":255,"duplicatedLines":529,"percentage":530},167,38977,47,0.12,{"format":321,"sources":322,"lines":323,"clones":319,"duplicatedLines":319,"percentage":319},{"format":325,"sources":306,"lines":326,"clones":319,"duplicatedLines":319,"percentage":319},[534,540,546,552,556,560,564,596,614,624],{"format":292,"lines":332,"tokens":333,"first":535,"others":536,"copies":308,"excerpt":538,"kind":352},{"name":335,"start":336,"end":337},[537],{"name":340,"start":318,"end":341},{"lines":539,"total":332},[344,345,346,347,348,346,349,350,346,351],{"format":292,"lines":354,"tokens":355,"first":541,"others":542,"copies":308,"excerpt":544,"kind":352},{"name":335,"start":357,"end":358},[543],{"name":340,"start":361,"end":362},{"lines":545,"total":354},[365,366,346,367,368,369,346,370,371,346],{"format":292,"lines":373,"tokens":374,"first":547,"others":548,"copies":308,"excerpt":550,"kind":352},{"name":335,"start":309,"end":376},[549],{"name":340,"start":379,"end":380},{"lines":551,"total":373},[383,384,385,386,346,387,388,389,390,391],{"format":292,"lines":405,"tokens":406,"first":553,"others":554,"copies":308,"kind":352},{"name":335,"start":376,"end":408},[555],{"name":340,"start":411,"end":412},{"format":285,"lines":414,"tokens":415,"first":557,"others":558,"copies":308,"kind":352},{"name":417,"start":418,"end":419},[559],{"name":417,"start":422,"end":423},{"format":285,"lines":488,"tokens":489,"first":561,"others":562,"copies":308,"kind":352},{"name":491,"start":492,"end":493},[563],{"name":496,"start":497,"end":498},{"format":285,"lines":565,"tokens":566,"first":567,"others":571,"copies":322,"kind":352},12,81,{"name":568,"start":569,"end":570},"obsolete\u002Fdwarf\u002Fdwarf_expr_old.c",421,432,[572,575,578,581,584,587,590,593],{"name":568,"start":573,"end":574},463,474,{"name":568,"start":576,"end":577},505,516,{"name":568,"start":579,"end":580},547,558,{"name":568,"start":582,"end":583},589,600,{"name":568,"start":585,"end":586},631,642,{"name":568,"start":588,"end":589},673,684,{"name":568,"start":591,"end":592},715,726,{"name":568,"start":594,"end":595},757,768,{"format":285,"lines":597,"tokens":598,"first":599,"others":602,"copies":255,"kind":352},28,163,{"name":417,"start":600,"end":601},767,794,[603,606,609,612],{"name":417,"start":604,"end":605},1051,1078,{"name":417,"start":607,"end":608},1333,1360,{"name":417,"start":610,"end":611},1624,1651,{"name":417,"start":429,"end":613},2015,{"format":285,"lines":615,"tokens":616,"first":617,"others":620,"copies":308,"kind":352},75,582,{"name":417,"start":618,"end":619},504,578,[621],{"name":417,"start":622,"end":623},845,919,{"format":292,"lines":625,"tokens":626,"first":627,"others":631,"copies":308,"kind":352},116,550,{"name":628,"start":629,"end":630},"src\u002Fmule\u002Fmule_o2.cpp",4,119,[632],{"name":340,"start":633,"end":498},221,{"files":319,"minified":319,"sample":635},[],{"score":266,"grade":267,"size":637,"dimensions":641,"skipped":659},{"lines":638,"files":639,"class":640},268976,431,"L",[642,652],{"id":643,"source":644,"value":645,"adjusted":645,"lines":646,"halfLife":647,"formats":648,"excluded":649,"weight":306,"score":651},"duplication","jscpd",7.5,20156,8.5,[285,298,292,321,325],[328,650],"data",54.4,{"id":653,"source":644,"value":654,"adjusted":655,"lines":656,"halfLife":657,"weight":306,"score":658},"complexity",77.3,76.9,208031,50,34.4,[660],{"id":661,"reason":662},"dead-code","no JavaScript, TypeScript, Python or compiler-checked Rust files",{"total":664,"mean":665,"files":666},40788,94.6,[667,672,676,681,686,691,696,701,706,711],{"path":668,"complexity":669,"lines":670,"bytes":671},"src\u002Fraddbg\u002Fraddbg_core.c",3311,18804,866784,{"path":417,"complexity":673,"lines":674,"bytes":675},1390,4297,155885,{"path":677,"complexity":678,"lines":679,"bytes":680},"src\u002Flinker\u002Flnk.c",1242,7084,302551,{"path":682,"complexity":683,"lines":684,"bytes":685},"src\u002Feval2\u002Feval2.c",1076,4157,155836,{"path":687,"complexity":688,"lines":689,"bytes":690},"src\u002Fdbg_engine\u002Fdbg_engine_ctrl.c",1044,6783,244041,{"path":692,"complexity":693,"lines":694,"bytes":695},"src\u002Fraddbg\u002Fraddbg_views.c",962,5617,227981,{"path":697,"complexity":698,"lines":699,"bytes":700},"src\u002Frdi_from_dwarf\u002Frdi_from_dwarf.c",957,4508,197907,{"path":702,"complexity":703,"lines":704,"bytes":705},"obsolete\u002Frdi_from_dwarf\u002Frdi_from_dwarf_old.c",879,3138,134438,{"path":707,"complexity":708,"lines":709,"bytes":710},"src\u002Fraddump\u002Fraddump.c",799,4192,175403,{"path":496,"complexity":712,"lines":713,"bytes":714},798,5112,225714,null,{"\u002Ftrending\u002FEpicGames\u002Fraddebugger":717},{"views":309,"visits":255},1795510257056]