[{"data":1,"prerenderedAt":534},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-sherlock-project\u002Fsherlock":249,"page-views-\u002Ftrending\u002Fsherlock-project\u002Fsherlock":532},[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":277},"sherlock-project\u002Fsherlock","https:\u002F\u002Fgithub.com\u002Fsherlock-project\u002Fsherlock",[253,268,273],{"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-11-08",6,100967,1766,"c588d7c8b476df9f9c84912a05d1430fb8cdcdae",47,9968,8,90,0.9,null,9,76.9,"B",{"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-11-10",2,107565,4267,{"date":274,"rank":261,"stars":275,"starsToday":276,"headSha":258,"sources":259,"lines":260,"clones":261,"duplicatedLines":262,"percentage":263,"codePercentage":264,"codeSources":265,"healthScore":266,"healthGrade":267},"2026-11-11",109297,2393,{"date":274,"generatedAt":278,"name":250,"url":251,"description":279,"language":280,"stars":275,"starsToday":276,"defaultBranch":281,"headSha":258,"durationMs":282,"total":283,"formats":287,"topClones":327,"code":430,"health":459,"complexity":487,"deadCode":529},"2026-11-11T05:21:30.833Z","Hunt down social media accounts by username across social networks","Python","master",1132,{"sources":259,"lines":260,"tokens":284,"clones":261,"duplicatedLines":262,"duplicatedTokens":285,"percentage":263,"percentageTokens":286},40953,607,1.48,[288,294,301,305,308,312,315,318,321,324],{"format":289,"sources":265,"lines":290,"clones":291,"duplicatedLines":292,"percentage":293},"yaml",541,5,53,9.8,{"format":295,"sources":296,"lines":297,"clones":298,"duplicatedLines":299,"percentage":300},"python",16,2168,3,37,1.71,{"format":302,"sources":291,"lines":303,"clones":304,"duplicatedLines":304,"percentage":304},"json",4588,0,{"format":306,"sources":255,"lines":307,"clones":304,"duplicatedLines":304,"percentage":304},"markdown",2397,{"format":309,"sources":310,"lines":311,"clones":304,"duplicatedLines":304,"percentage":304},"toml",1,68,{"format":313,"sources":298,"lines":314,"clones":304,"duplicatedLines":304,"percentage":304},"text",64,{"format":316,"sources":270,"lines":317,"clones":304,"duplicatedLines":304,"percentage":304},"docker",50,{"format":319,"sources":270,"lines":320,"clones":304,"duplicatedLines":304,"percentage":304},"ini",49,{"format":322,"sources":270,"lines":323,"clones":304,"duplicatedLines":304,"percentage":304},"bash",25,{"format":325,"sources":310,"lines":326,"clones":304,"duplicatedLines":304,"percentage":304},"editorconfig",18,[328,355,379,396,404,411,420],{"format":289,"lines":329,"tokens":330,"first":331,"others":335,"copies":298,"excerpt":342,"kind":354},11,80,{"name":332,"start":333,"end":334},".github\u002FISSUE_TEMPLATE\u002Ffalse-negative.yml",17,27,[336,339],{"name":337,"start":326,"end":338},".github\u002FISSUE_TEMPLATE\u002Ffalse-positive.yml",28,{"name":340,"start":323,"end":341},".github\u002FISSUE_TEMPLATE\u002Fsite-request.yml",35,{"lines":343,"total":329},[344,345,346,347,348,349,350,351,352,353],"      Reddit is returning false negatives because...","  validations:","    required: false","- type: checkboxes","  id: terms","  attributes:","    label: Code of Conduct","    description: By submitting this issue, you agree to follow our [Code of Conduct](https:\u002F\u002Fgithub.com\u002Fsherlock-project\u002Fsherlock\u002Fblob\u002Fmaster\u002Fdocs\u002FCODE_OF_COND…","    options:","      - label: I agree to follow this project's Code of Conduct","data",{"format":295,"lines":356,"tokens":357,"first":358,"others":362,"copies":270,"excerpt":366,"kind":378},12,107,{"name":359,"start":360,"end":361},"tests\u002Ftest_probes.py",62,73,[363],{"name":359,"start":364,"end":365},84,95,{"lines":367,"total":356},[368,369,370,371,372,373,374,375,376,377],"def test_likely_negatives_via_message(self, sites_info, site, random_len):","    num_attempts: int = 3","    attempted_usernames: list[str] = []","    status: QueryStatus = QueryStatus.CLAIMED","    for i in range(num_attempts):","        acceptable_types = string.ascii_letters + string.digits","        random_handle = ''.join(random.choice(acceptable_types) for _ in range (random_len))","        attempted_usernames.append(random_handle)","        status = simple_query(sites_info=sites_info, site=site, username=random_handle)","        if status is QueryStatus.AVAILABLE:","tests",{"format":289,"lines":356,"tokens":330,"first":380,"others":383,"copies":270,"excerpt":385,"kind":354},{"name":332,"start":381,"end":382},4,15,[384],{"name":337,"start":381,"end":382},{"lines":386,"total":356},[387,388,389,390,391,392,393,394,395,390],"labels: [\"false negative\"]","body:","  - type: markdown","    attributes:","      value: |","        Please include the site name in the title of your issue.","        Submit **one site per report** for faster resolution. If you have multiple sites in the same report, it often takes longer to fix.","  - type: textarea","    id: additional-info",{"format":289,"lines":329,"tokens":397,"first":398,"others":402,"copies":270,"kind":354},78,{"name":399,"start":400,"end":401},".github\u002FISSUE_TEMPLATE\u002Fbug-report.yml",61,71,[403],{"name":332,"start":333,"end":334},{"format":289,"lines":261,"tokens":405,"first":406,"others":407,"copies":270,"kind":354},72,{"name":399,"start":314,"end":401},[408],{"name":409,"start":333,"end":410},".github\u002FISSUE_TEMPLATE\u002Ffeature-request.yml",24,{"format":295,"lines":412,"tokens":413,"first":414,"others":417,"copies":270,"kind":378},10,56,{"name":415,"start":416,"end":259},"tests\u002Ftest_validate_targets.py",38,[418],{"name":415,"start":400,"end":419},70,{"format":295,"lines":382,"tokens":421,"first":422,"others":426,"copies":270,"kind":429},54,{"name":423,"start":424,"end":425},"sherlock_project\u002Fnotify.py",45,59,[427],{"name":423,"start":428,"end":365},81,"code",{"sources":265,"lines":431,"tokens":432,"clones":310,"duplicatedLines":382,"duplicatedTokens":421,"percentage":433,"percentageTokens":434,"formats":435,"topClones":441,"generated":457},1745,7342,0.86,0.74,[436,439],{"format":295,"sources":261,"lines":437,"clones":310,"duplicatedLines":382,"percentage":438},1731,0.87,{"format":322,"sources":310,"lines":440,"clones":304,"duplicatedLines":304,"percentage":304},14,[442],{"format":295,"lines":382,"tokens":421,"first":443,"others":444,"copies":270,"excerpt":446,"kind":429},{"name":423,"start":424,"end":425},[445],{"name":423,"start":428,"end":365},{"lines":447,"total":382},[448,449,450,451,452,453,454,455,450,456],"any queries are performed.  This method will typically be","overridden by higher level classes that will inherit from it.","","Keyword Arguments:","self                   -- This object.","message                -- Object that is used to give context to start","                          of query.","                          Default is None.","Return Value:",{"files":304,"minified":304,"sample":458},[],{"score":266,"grade":267,"size":460,"dimensions":464},{"lines":461,"files":462,"class":463},2232,19,"S",[465,474,481],{"id":466,"source":467,"value":468,"adjusted":469,"lines":299,"halfLife":470,"formats":471,"excluded":472,"weight":310,"score":473},"duplication","jscpd",1.7,2.5,8.5,[295,316,322],[313,354],81.4,{"id":475,"source":467,"value":304,"adjusted":476,"lines":304,"halfLife":477,"coverage":478,"weight":479,"score":480},"dead-code",1.5,7.5,97.5,0.975,87.2,{"id":482,"source":467,"value":483,"adjusted":484,"lines":485,"halfLife":317,"weight":310,"score":486},"complexity",41.8,31.9,934,64.2,{"total":488,"mean":489,"files":490},284,14.9,[491,495,500,504,507,510,515,518,522,525],{"path":492,"complexity":493,"lines":485,"bytes":494},"sherlock_project\u002Fsherlock.py",125,34664,{"path":496,"complexity":497,"lines":498,"bytes":499},"sherlock_project\u002Fsites.py",31,258,10151,{"path":423,"complexity":501,"lines":502,"bytes":503},23,282,9141,{"path":415,"complexity":326,"lines":505,"bytes":506},99,4558,{"path":508,"complexity":333,"lines":405,"bytes":509},"devel\u002Fsummarize_site_validation.py",2637,{"path":511,"complexity":512,"lines":513,"bytes":514},"tests\u002Fconftest.py",13,51,2015,{"path":359,"complexity":512,"lines":516,"bytes":517},104,4654,{"path":519,"complexity":329,"lines":520,"bytes":521},"tests\u002Ftest_ux.py",43,1809,{"path":523,"complexity":261,"lines":416,"bytes":524},"tests\u002Fsherlock_interactives.py",1423,{"path":526,"complexity":381,"lines":527,"bytes":528},"sherlock_project\u002Fresult.py",88,3169,{"percentage":304,"findings":304,"files":333,"byCategory":530,"largest":531},[],[],{"\u002Ftrending\u002Fsherlock-project\u002Fsherlock":533},{"views":381,"visits":381},1795510263088]