[{"data":1,"prerenderedAt":706},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-EpicGames\u002Fraddebugger":244},[4,29,99,119,189],{"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],{"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,"icon":6,"path":101,"stem":102,"children":103,"page":6},"Concepts","\u002Fconcepts","3.concepts",[104,109,114],{"title":105,"path":106,"stem":107,"icon":108},"Types of code clones","\u002Fconcepts\u002Fclone-types","3.concepts\u002F1.clone-types","i-lucide-copy",{"title":110,"path":111,"stem":112,"icon":113},"How detection works","\u002Fconcepts\u002Fhow-detection-works","3.concepts\u002F2.how-detection-works","i-lucide-scan-search",{"title":115,"path":116,"stem":117,"icon":118},"The health score","\u002Fconcepts\u002Fhealth-score","3.concepts\u002F3.health-score","i-lucide-heart-pulse",{"title":120,"icon":6,"path":121,"stem":122,"children":123,"page":6},"Reference","\u002Freference","4.reference",[124,129,134,139,176,181,185],{"title":125,"path":126,"stem":127,"icon":128},"CLI options","\u002Freference\u002Fcli","4.reference\u002F1.cli","i-lucide-terminal",{"title":130,"path":131,"stem":132,"icon":133},"The config file","\u002Freference\u002Fconfig-file","4.reference\u002F2.config-file","i-lucide-settings",{"title":135,"path":136,"stem":137,"icon":138},"Exit codes","\u002Freference\u002Fexit-codes","4.reference\u002F3.exit-codes","i-lucide-log-out",{"title":140,"icon":6,"path":141,"stem":142,"children":143},"Reporters","\u002Freference\u002Freporters","4.reference\u002F4.reporters\u002Findex",[144,146,151,156,161,166,171],{"title":140,"path":141,"stem":142,"icon":145},"i-lucide-file-chart-column",{"title":147,"path":148,"stem":149,"icon":150},"HTML reporter","\u002Freference\u002Freporters\u002Fhtml","4.reference\u002F4.reporters\u002F2.html","i-lucide-file-code",{"title":152,"path":153,"stem":154,"icon":155},"JSON reporter","\u002Freference\u002Freporters\u002Fjson","4.reference\u002F4.reporters\u002F3.json","i-lucide-braces",{"title":157,"path":158,"stem":159,"icon":160},"Badge reporter","\u002Freference\u002Freporters\u002Fbadge","4.reference\u002F4.reporters\u002F4.badge","i-lucide-award",{"title":162,"path":163,"stem":164,"icon":165},"SARIF reporter","\u002Freference\u002Freporters\u002Fsarif","4.reference\u002F4.reporters\u002F5.sarif","i-lucide-shield-check",{"title":167,"path":168,"stem":169,"icon":170},"CodeClimate reporter","\u002Freference\u002Freporters\u002Fcodeclimate","4.reference\u002F4.reporters\u002F6.codeclimate","i-lucide-flag-triangle-right",{"title":172,"path":173,"stem":174,"icon":175},"OpenMetrics reporter","\u002Freference\u002Freporters\u002Fopenmetrics","4.reference\u002F4.reporters\u002F7.openmetrics","i-lucide-activity",{"title":177,"path":178,"stem":179,"icon":180},"Supported formats","\u002Freference\u002Fsupported-formats","4.reference\u002F5.supported-formats","i-lucide-languages",{"title":182,"path":183,"stem":184,"icon":38},"GitHub Action","\u002Freference\u002Fgithub-action","4.reference\u002F6.github-action",{"title":186,"path":187,"stem":188,"icon":68},"Rust crates","\u002Freference\u002Frust-crates","4.reference\u002F7.rust-crates",{"title":190,"icon":6,"path":191,"stem":192,"children":193,"page":6},"Project","\u002Fproject","5.project",[194,199,204,209,234,239],{"title":195,"path":196,"stem":197,"icon":198},"Changelog","\u002Fproject\u002Fchangelog","5.project\u002F1.changelog","i-lucide-scroll-text",{"title":200,"path":201,"stem":202,"icon":203},"Migrating from v4 to v5","\u002Fproject\u002Fmigration","5.project\u002F2.migration","i-lucide-arrow-right-left",{"title":205,"path":206,"stem":207,"icon":208},"jscpd v4 (TypeScript)","\u002Fproject\u002Fv4","5.project\u002F3.v4","i-simple-icons-typescript",{"title":210,"icon":6,"path":211,"stem":212,"children":213},"Benchmarks","\u002Fproject\u002Fbenchmarks","5.project\u002F4.benchmarks\u002Findex",[214,216,221,225,230],{"title":210,"path":211,"stem":212,"icon":215},"i-lucide-gauge",{"title":217,"path":218,"stem":219,"icon":220},"Detection Speed","\u002Fproject\u002Fbenchmarks\u002Fdetection-speed","5.project\u002F4.benchmarks\u002F2.detection-speed","i-lucide-zap",{"title":222,"path":223,"stem":224,"icon":58},"Multi-Format Detection","\u002Fproject\u002Fbenchmarks\u002Fcross-format","5.project\u002F4.benchmarks\u002F3.cross-format",{"title":226,"path":227,"stem":228,"icon":229},"AI Token Efficiency","\u002Fproject\u002Fbenchmarks\u002Fai-token-efficiency","5.project\u002F4.benchmarks\u002F4.ai-token-efficiency","i-lucide-sparkles",{"title":231,"path":232,"stem":233,"icon":93},"Embedding Models","\u002Fproject\u002Fbenchmarks\u002Fembedding-models","5.project\u002F4.benchmarks\u002F5.embedding-models",{"title":235,"path":236,"stem":237,"icon":238},"Research","\u002Fproject\u002Fresearch","5.project\u002F5.research","i-lucide-graduation-cap",{"title":240,"path":241,"stem":242,"icon":243},"Articles","\u002Fproject\u002Farticles","5.project\u002F6.articles","i-lucide-newspaper",{"name":245,"url":246,"appearances":247,"latest":263},"EpicGames\u002Fraddebugger","https:\u002F\u002Fgithub.com\u002FEpicGames\u002Fraddebugger",[248],{"date":249,"rank":250,"stars":251,"starsToday":252,"headSha":253,"sources":254,"lines":255,"clones":256,"duplicatedLines":257,"percentage":258,"codePercentage":259,"codeSources":260,"healthScore":261,"healthGrade":262},"2026-10-08",5,7923,90,"b6d8c3fd9eaf7b55960d80738365742a8fba9e29",436,270402,1184,20188,7.47,5.75,384,43.3,"D",{"date":249,"generatedAt":264,"name":245,"url":246,"description":265,"language":266,"stars":251,"starsToday":252,"defaultBranch":267,"headSha":253,"durationMs":268,"total":269,"formats":273,"topClones":320,"code":501,"health":626,"complexity":653,"deadCode":705},"2026-10-08T05:32:29.361Z","A native, user-mode, multi-process, graphical debugger.","C","master",2056,{"sources":254,"lines":255,"tokens":270,"clones":256,"duplicatedLines":257,"duplicatedTokens":271,"percentage":258,"percentageTokens":272},1708230,133281,7.8,[274,281,287,294,301,306,310,314,317],{"format":275,"sources":276,"lines":277,"clones":278,"duplicatedLines":279,"percentage":280},"c",228,216610,1154,16455,7.6,{"format":282,"sources":250,"lines":283,"clones":284,"duplicatedLines":285,"percentage":286},"cpp",7198,17,3453,47.97,{"format":288,"sources":289,"lines":290,"clones":291,"duplicatedLines":292,"percentage":293},"c-header",186,44090,10,248,0.56,{"format":295,"sources":296,"lines":297,"clones":298,"duplicatedLines":299,"percentage":300},"yaml",1,218,2,13,5.96,{"format":302,"sources":296,"lines":303,"clones":296,"duplicatedLines":304,"percentage":305},"json",93,19,20.43,{"format":307,"sources":298,"lines":308,"clones":309,"duplicatedLines":309,"percentage":309},"markdown",1064,0,{"format":311,"sources":312,"lines":313,"clones":309,"duplicatedLines":309,"percentage":309},"bash",11,910,{"format":315,"sources":296,"lines":316,"clones":309,"duplicatedLines":309,"percentage":309},"perl",168,{"format":318,"sources":296,"lines":319,"clones":309,"duplicatedLines":309,"percentage":309},"text",51,[321,343,362,382,394,403,414,445,477,489],{"format":282,"lines":322,"tokens":323,"first":324,"others":328,"copies":298,"excerpt":332,"kind":342},1646,16245,{"name":325,"start":326,"end":327},"src\u002Fmule\u002Fmule_main.cpp",729,2374,[329],{"name":330,"start":308,"end":331},"src\u002Fmule\u002Fold_test_debuggees\u002Fmule.cpp",2708,{"lines":333,"total":322},[334,335,336,337,338,336,339,340,336,341],"  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":282,"lines":344,"tokens":345,"first":346,"others":349,"copies":298,"excerpt":353,"kind":342},659,2444,{"name":325,"start":347,"end":348},2549,3207,[350],{"name":330,"start":351,"end":352},2874,3532,{"lines":354,"total":344},[355,356,336,357,358,359,336,360,361,336],"{","  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":282,"lines":363,"tokens":364,"first":365,"others":367,"copies":298,"excerpt":371,"kind":342},484,1819,{"name":325,"start":299,"end":366},496,[368],{"name":330,"start":369,"end":370},347,830,{"lines":372,"total":363},[373,374,375,376,336,377,378,379,380,381],"#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":275,"lines":383,"tokens":384,"first":385,"others":389,"copies":298,"kind":393},184,1474,{"name":386,"start":387,"end":388},"src\u002Flinker\u002Ftests\u002Flinker_tests.c",6888,7071,[390],{"name":386,"start":391,"end":392},7075,7258,"tests",{"format":282,"lines":395,"tokens":396,"first":397,"others":399,"copies":298,"kind":342},210,1280,{"name":325,"start":366,"end":398},705,[400],{"name":330,"start":401,"end":402},833,1042,{"format":275,"lines":404,"tokens":405,"first":406,"others":410,"copies":298,"kind":342},151,1107,{"name":407,"start":408,"end":409},"src\u002Ftext\u002Ftext.c",843,993,[411],{"name":407,"start":412,"end":413},1126,1276,{"format":275,"lines":415,"tokens":416,"first":417,"others":420,"copies":284,"kind":393},8,63,{"name":386,"start":418,"end":419},1981,1988,[421,424,427,430,433,436,439,442],{"name":386,"start":422,"end":423},2032,2039,{"name":386,"start":425,"end":426},2301,2307,{"name":386,"start":428,"end":429},2392,2398,{"name":386,"start":431,"end":432},2575,2582,{"name":386,"start":434,"end":435},2663,2670,{"name":386,"start":437,"end":438},2947,2954,{"name":386,"start":440,"end":441},3412,3418,{"name":386,"start":443,"end":444},3612,3618,{"format":275,"lines":446,"tokens":447,"first":448,"others":451,"copies":476,"kind":393},6,52,{"name":386,"start":449,"end":450},977,982,[452,455,458,461,464,467,470,473],{"name":386,"start":453,"end":454},1980,1985,{"name":386,"start":456,"end":457},2031,2036,{"name":386,"start":459,"end":460},2300,2305,{"name":386,"start":462,"end":463},2391,2396,{"name":386,"start":465,"end":466},2574,2579,{"name":386,"start":468,"end":469},2621,2626,{"name":386,"start":471,"end":472},2662,2667,{"name":386,"start":474,"end":475},2946,2951,20,{"format":275,"lines":478,"tokens":479,"first":480,"others":484,"copies":298,"kind":342},170,972,{"name":481,"start":482,"end":483},"src\u002Fpdb\u002Fpdb_parse.c",862,1031,[485],{"name":486,"start":487,"end":488},"src\u002Frdi_from_codeview\u002Frdi_from_codeview.c",166,336,{"format":288,"lines":490,"tokens":408,"first":491,"others":495,"copies":298,"kind":500},111,{"name":492,"start":493,"end":494},"src\u002Fui\u002Fgenerated\u002Fui.meta.h",315,425,[496],{"name":497,"start":498,"end":499},"src\u002Fui\u002Fui_core.h",1033,1143,"generated",{"sources":260,"lines":502,"tokens":503,"clones":504,"duplicatedLines":505,"duplicatedTokens":506,"percentage":259,"percentageTokens":507,"formats":508,"topClones":523,"generated":624},243394,1447951,846,14002,95946,6.63,[509,515,516,521,522],{"format":275,"sources":510,"lines":511,"clones":512,"duplicatedLines":513,"percentage":514},200,196141,824,10502,5.35,{"format":282,"sources":250,"lines":283,"clones":284,"duplicatedLines":285,"percentage":286},{"format":288,"sources":517,"lines":518,"clones":250,"duplicatedLines":519,"percentage":520},167,38977,47,0.12,{"format":311,"sources":312,"lines":313,"clones":309,"duplicatedLines":309,"percentage":309},{"format":315,"sources":296,"lines":316,"clones":309,"duplicatedLines":309,"percentage":309},[524,530,536,542,546,550,554,586,604,614],{"format":282,"lines":322,"tokens":323,"first":525,"others":526,"copies":298,"excerpt":528,"kind":342},{"name":325,"start":326,"end":327},[527],{"name":330,"start":308,"end":331},{"lines":529,"total":322},[334,335,336,337,338,336,339,340,336,341],{"format":282,"lines":344,"tokens":345,"first":531,"others":532,"copies":298,"excerpt":534,"kind":342},{"name":325,"start":347,"end":348},[533],{"name":330,"start":351,"end":352},{"lines":535,"total":344},[355,356,336,357,358,359,336,360,361,336],{"format":282,"lines":363,"tokens":364,"first":537,"others":538,"copies":298,"excerpt":540,"kind":342},{"name":325,"start":299,"end":366},[539],{"name":330,"start":369,"end":370},{"lines":541,"total":363},[373,374,375,376,336,377,378,379,380,381],{"format":282,"lines":395,"tokens":396,"first":543,"others":544,"copies":298,"kind":342},{"name":325,"start":366,"end":398},[545],{"name":330,"start":401,"end":402},{"format":275,"lines":404,"tokens":405,"first":547,"others":548,"copies":298,"kind":342},{"name":407,"start":408,"end":409},[549],{"name":407,"start":412,"end":413},{"format":275,"lines":478,"tokens":479,"first":551,"others":552,"copies":298,"kind":342},{"name":481,"start":482,"end":483},[553],{"name":486,"start":487,"end":488},{"format":275,"lines":555,"tokens":556,"first":557,"others":561,"copies":312,"kind":342},12,81,{"name":558,"start":559,"end":560},"obsolete\u002Fdwarf\u002Fdwarf_expr_old.c",421,432,[562,565,568,571,574,577,580,583],{"name":558,"start":563,"end":564},463,474,{"name":558,"start":566,"end":567},505,516,{"name":558,"start":569,"end":570},547,558,{"name":558,"start":572,"end":573},589,600,{"name":558,"start":575,"end":576},631,642,{"name":558,"start":578,"end":579},673,684,{"name":558,"start":581,"end":582},715,726,{"name":558,"start":584,"end":585},757,768,{"format":275,"lines":587,"tokens":588,"first":589,"others":592,"copies":250,"kind":342},28,163,{"name":407,"start":590,"end":591},767,794,[593,596,599,602],{"name":407,"start":594,"end":595},1051,1078,{"name":407,"start":597,"end":598},1333,1360,{"name":407,"start":600,"end":601},1624,1651,{"name":407,"start":419,"end":603},2015,{"format":275,"lines":605,"tokens":606,"first":607,"others":610,"copies":298,"kind":342},75,582,{"name":407,"start":608,"end":609},504,578,[611],{"name":407,"start":612,"end":613},845,919,{"format":282,"lines":615,"tokens":616,"first":617,"others":621,"copies":298,"kind":342},116,550,{"name":618,"start":619,"end":620},"src\u002Fmule\u002Fmule_o2.cpp",4,119,[622],{"name":330,"start":623,"end":488},221,{"files":309,"minified":309,"sample":625},[],{"score":261,"grade":262,"size":627,"dimensions":631,"skipped":649},{"lines":628,"files":629,"class":630},268976,431,"L",[632,642],{"id":633,"source":634,"value":635,"adjusted":635,"lines":636,"halfLife":637,"formats":638,"excluded":639,"weight":296,"score":641},"duplication","jscpd",7.5,20156,8.5,[275,288,282,311,315],[318,640],"data",54.4,{"id":643,"source":634,"value":644,"adjusted":645,"lines":646,"halfLife":647,"weight":296,"score":648},"complexity",77.3,76.9,208031,50,34.4,[650],{"id":651,"reason":652},"dead-code","no JavaScript, TypeScript, Python or compiler-checked Rust files",{"total":654,"mean":655,"files":656},40788,94.6,[657,662,666,671,676,681,686,691,696,701],{"path":658,"complexity":659,"lines":660,"bytes":661},"src\u002Fraddbg\u002Fraddbg_core.c",3311,18804,866784,{"path":407,"complexity":663,"lines":664,"bytes":665},1390,4297,155885,{"path":667,"complexity":668,"lines":669,"bytes":670},"src\u002Flinker\u002Flnk.c",1242,7084,302551,{"path":672,"complexity":673,"lines":674,"bytes":675},"src\u002Feval2\u002Feval2.c",1076,4157,155836,{"path":677,"complexity":678,"lines":679,"bytes":680},"src\u002Fdbg_engine\u002Fdbg_engine_ctrl.c",1044,6783,244041,{"path":682,"complexity":683,"lines":684,"bytes":685},"src\u002Fraddbg\u002Fraddbg_views.c",962,5617,227981,{"path":687,"complexity":688,"lines":689,"bytes":690},"src\u002Frdi_from_dwarf\u002Frdi_from_dwarf.c",957,4508,197907,{"path":692,"complexity":693,"lines":694,"bytes":695},"obsolete\u002Frdi_from_dwarf\u002Frdi_from_dwarf_old.c",879,3138,134438,{"path":697,"complexity":698,"lines":699,"bytes":700},"src\u002Fraddump\u002Fraddump.c",799,4192,175403,{"path":486,"complexity":702,"lines":703,"bytes":704},798,5112,225714,null,1791437654237]