[{"data":1,"prerenderedAt":1135},["ShallowReactive",2],{"navigation_docs":3,"-reference-reporters-codeclimate":249,"-reference-reporters-codeclimate-surround":1127,"page-views-\u002Freference\u002Freporters\u002Fcodeclimate":1132},[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",{"id":250,"title":172,"body":251,"description":1120,"extension":1121,"links":1122,"meta":1123,"navigation":1124,"path":173,"seo":1125,"stem":174,"__hash__":1126},"docs\u002F4.reference\u002F4.reporters\u002F6.codeclimate.md",{"type":252,"value":253,"toc":1112},"minimark",[254,271,276,311,319,399,403,413,734,831,834,838,845,944,947,951,997,1004,1008,1080,1084,1108],[255,256,257,261,262,265,266,270],"p",{},[258,259,260],"code",{},"-r codeclimate"," (alias ",[258,263,264],{},"gitlab",") writes the issue format GitLab reads for its Code Quality widget: each clone becomes an issue at each of its two locations, with a fingerprint that stays the same across pipelines, so a merge request lists which duplication it adds and which it removes. GitLab takes ",[267,268,269],"a",{"href":168},"SARIF"," as security findings only; this reporter is how clones reach a merge request as quality issues. Available since jscpd 5.1.0.",[272,273,275],"h2",{"id":274},"run-it","Run it",[277,278,284],"pre",{"className":279,"code":280,"filename":281,"language":282,"meta":283,"style":283},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","jscpd . -r codeclimate --output report\n","Terminal","bash","",[258,285,286],{"__ignoreMap":283},[287,288,291,295,299,302,305,308],"span",{"class":289,"line":290},"line",1,[287,292,294],{"class":293},"sBMFI","jscpd",[287,296,298],{"class":297},"sfazB"," .",[287,300,301],{"class":297}," -r",[287,303,304],{"class":297}," codeclimate",[287,306,307],{"class":297}," --output",[287,309,310],{"class":297}," report\n",[277,312,317],{"className":313,"code":315,"language":316,"meta":283},[314],"language-text","CodeClimate report saved to report\u002Fgl-code-quality-report.json\n","text",[258,318,315],{"__ignoreMap":283},[277,320,325],{"className":321,"code":322,"filename":323,"language":324,"meta":283,"style":283},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"reporters\": [\"console\", \"codeclimate\"],\n  \"output\": \"report\"\n}\n",".jscpd.json","json",[258,326,327,333,373,393],{"__ignoreMap":283},[287,328,329],{"class":289,"line":290},[287,330,332],{"class":331},"sMK4o","{\n",[287,334,336,339,343,346,349,352,354,357,359,362,365,368,370],{"class":289,"line":335},2,[287,337,338],{"class":331},"  \"",[287,340,342],{"class":341},"spNyl","reporters",[287,344,345],{"class":331},"\"",[287,347,348],{"class":331},":",[287,350,351],{"class":331}," [",[287,353,345],{"class":331},[287,355,356],{"class":297},"console",[287,358,345],{"class":331},[287,360,361],{"class":331},",",[287,363,364],{"class":331}," \"",[287,366,367],{"class":297},"codeclimate",[287,369,345],{"class":331},[287,371,372],{"class":331},"],\n",[287,374,376,378,381,383,385,387,390],{"class":289,"line":375},3,[287,377,338],{"class":331},[287,379,380],{"class":341},"output",[287,382,345],{"class":331},[287,384,348],{"class":331},[287,386,364],{"class":331},[287,388,389],{"class":297},"report",[287,391,392],{"class":331},"\"\n",[287,394,396],{"class":289,"line":395},4,[287,397,398],{"class":331},"}\n",[272,400,402],{"id":401},"the-output","The output",[255,404,405,406,409,410,348],{},"The file is a JSON array of issues. One of them, from the repository's ",[258,407,408],{},"fixtures\u002Fmcp-demo"," folder scanned with ",[258,411,412],{},"--ignore-identifiers --ignore-literals --max-gap-lines 1",[277,414,417],{"className":321,"code":415,"filename":416,"language":324,"meta":283,"style":283},"{\n  \"type\": \"issue\",\n  \"check_name\": \"jscpd\u002Fsimilar-code\",\n  \"description\": \"Duplicated code block (197 tokens), duplicated at src\u002Fprint\u002Finvoice.js:1\",\n  \"categories\": [\"Duplication\"],\n  \"severity\": \"minor\",\n  \"fingerprint\": \"4b46d31b85a7ff81\",\n  \"location\": {\n    \"path\": \"src\u002Finvoice.js\",\n    \"lines\": { \"begin\": 1, \"end\": 12 }\n  },\n  \"other_locations\": [\n    {\n      \"path\": \"src\u002Fprint\u002Finvoice.js\",\n      \"lines\": { \"begin\": 1, \"end\": 13 }\n    }\n  ]\n}\n","report\u002Fgl-code-quality-report.json",[258,418,419,423,444,464,484,507,528,549,564,586,631,637,652,658,679,717,723,729],{"__ignoreMap":283},[287,420,421],{"class":289,"line":290},[287,422,332],{"class":331},[287,424,425,427,430,432,434,436,439,441],{"class":289,"line":335},[287,426,338],{"class":331},[287,428,429],{"class":341},"type",[287,431,345],{"class":331},[287,433,348],{"class":331},[287,435,364],{"class":331},[287,437,438],{"class":297},"issue",[287,440,345],{"class":331},[287,442,443],{"class":331},",\n",[287,445,446,448,451,453,455,457,460,462],{"class":289,"line":375},[287,447,338],{"class":331},[287,449,450],{"class":341},"check_name",[287,452,345],{"class":331},[287,454,348],{"class":331},[287,456,364],{"class":331},[287,458,459],{"class":297},"jscpd\u002Fsimilar-code",[287,461,345],{"class":331},[287,463,443],{"class":331},[287,465,466,468,471,473,475,477,480,482],{"class":289,"line":395},[287,467,338],{"class":331},[287,469,470],{"class":341},"description",[287,472,345],{"class":331},[287,474,348],{"class":331},[287,476,364],{"class":331},[287,478,479],{"class":297},"Duplicated code block (197 tokens), duplicated at src\u002Fprint\u002Finvoice.js:1",[287,481,345],{"class":331},[287,483,443],{"class":331},[287,485,487,489,492,494,496,498,500,503,505],{"class":289,"line":486},5,[287,488,338],{"class":331},[287,490,491],{"class":341},"categories",[287,493,345],{"class":331},[287,495,348],{"class":331},[287,497,351],{"class":331},[287,499,345],{"class":331},[287,501,502],{"class":297},"Duplication",[287,504,345],{"class":331},[287,506,372],{"class":331},[287,508,510,512,515,517,519,521,524,526],{"class":289,"line":509},6,[287,511,338],{"class":331},[287,513,514],{"class":341},"severity",[287,516,345],{"class":331},[287,518,348],{"class":331},[287,520,364],{"class":331},[287,522,523],{"class":297},"minor",[287,525,345],{"class":331},[287,527,443],{"class":331},[287,529,531,533,536,538,540,542,545,547],{"class":289,"line":530},7,[287,532,338],{"class":331},[287,534,535],{"class":341},"fingerprint",[287,537,345],{"class":331},[287,539,348],{"class":331},[287,541,364],{"class":331},[287,543,544],{"class":297},"4b46d31b85a7ff81",[287,546,345],{"class":331},[287,548,443],{"class":331},[287,550,552,554,557,559,561],{"class":289,"line":551},8,[287,553,338],{"class":331},[287,555,556],{"class":341},"location",[287,558,345],{"class":331},[287,560,348],{"class":331},[287,562,563],{"class":331}," {\n",[287,565,567,570,573,575,577,579,582,584],{"class":289,"line":566},9,[287,568,569],{"class":331},"    \"",[287,571,572],{"class":293},"path",[287,574,345],{"class":331},[287,576,348],{"class":331},[287,578,364],{"class":331},[287,580,581],{"class":297},"src\u002Finvoice.js",[287,583,345],{"class":331},[287,585,443],{"class":331},[287,587,589,591,594,596,598,601,603,607,609,611,614,616,618,621,623,625,628],{"class":289,"line":588},10,[287,590,569],{"class":331},[287,592,593],{"class":293},"lines",[287,595,345],{"class":331},[287,597,348],{"class":331},[287,599,600],{"class":331}," {",[287,602,364],{"class":331},[287,604,606],{"class":605},"sbssI","begin",[287,608,345],{"class":331},[287,610,348],{"class":331},[287,612,613],{"class":605}," 1",[287,615,361],{"class":331},[287,617,364],{"class":331},[287,619,620],{"class":605},"end",[287,622,345],{"class":331},[287,624,348],{"class":331},[287,626,627],{"class":605}," 12",[287,629,630],{"class":331}," }\n",[287,632,634],{"class":289,"line":633},11,[287,635,636],{"class":331},"  },\n",[287,638,640,642,645,647,649],{"class":289,"line":639},12,[287,641,338],{"class":331},[287,643,644],{"class":341},"other_locations",[287,646,345],{"class":331},[287,648,348],{"class":331},[287,650,651],{"class":331}," [\n",[287,653,655],{"class":289,"line":654},13,[287,656,657],{"class":331},"    {\n",[287,659,661,664,666,668,670,672,675,677],{"class":289,"line":660},14,[287,662,663],{"class":331},"      \"",[287,665,572],{"class":293},[287,667,345],{"class":331},[287,669,348],{"class":331},[287,671,364],{"class":331},[287,673,674],{"class":297},"src\u002Fprint\u002Finvoice.js",[287,676,345],{"class":331},[287,678,443],{"class":331},[287,680,682,684,686,688,690,692,694,696,698,700,702,704,706,708,710,712,715],{"class":289,"line":681},15,[287,683,663],{"class":331},[287,685,593],{"class":293},[287,687,345],{"class":331},[287,689,348],{"class":331},[287,691,600],{"class":331},[287,693,364],{"class":331},[287,695,606],{"class":605},[287,697,345],{"class":331},[287,699,348],{"class":331},[287,701,613],{"class":605},[287,703,361],{"class":331},[287,705,364],{"class":331},[287,707,620],{"class":605},[287,709,345],{"class":331},[287,711,348],{"class":331},[287,713,714],{"class":605}," 13",[287,716,630],{"class":331},[287,718,720],{"class":289,"line":719},16,[287,721,722],{"class":331},"    }\n",[287,724,726],{"class":289,"line":725},17,[287,727,728],{"class":331},"  ]\n",[287,730,732],{"class":289,"line":731},18,[287,733,398],{"class":331},[735,736,737,750],"table",{},[738,739,740],"thead",{},[741,742,743,747],"tr",{},[744,745,746],"th",{},"Field",[744,748,749],{},"Meaning",[751,752,753,780,789,804,813,822],"tbody",{},[741,754,755,760],{},[756,757,758],"td",{},[258,759,450],{},[756,761,762,763,766,767,766,770,766,772,775,776,779],{},"The rule id of the clone's kind, the same as in SARIF: ",[258,764,765],{},"jscpd\u002Fduplicate-code",", ",[258,768,769],{},"jscpd\u002Frenamed-code",[258,771,459],{},[258,773,774],{},"jscpd\u002Fsimilar-function"," (5.4.0+) or ",[258,777,778],{},"jscpd\u002Fsemantic-code"," (5.3.3+)",[741,781,782,786],{},[756,783,784],{},[258,785,470],{},[756,787,788],{},"The token count and the other copy's location",[741,790,791,795],{},[756,792,793],{},[258,794,514],{},[756,796,797,799,800,803],{},[258,798,523],{},", or ",[258,801,802],{},"major"," under a gate (below)",[741,805,806,810],{},[756,807,808],{},[258,809,535],{},[756,811,812],{},"A hash of the pair's content, the path and the start line, so GitLab tells an existing issue from a new one across pipelines, and a file that duplicates itself gets two distinct issues",[741,814,815,819],{},[756,816,817],{},[258,818,556],{},[756,820,821],{},"The copy this issue is anchored at: a path relative to the scanned directory and a line range",[741,823,824,828],{},[756,825,826],{},[258,827,644],{},[756,829,830],{},"The other copy; part of the CodeClimate specification, ignored by GitLab, kept for other consumers",[255,832,833],{},"Every clone yields two issues, one anchored at each copy, so the widget annotates the duplication whichever side a merge request touches.",[272,835,837],{"id":836},"where-it-shows-up","Where it shows up",[255,839,840,841,844],{},"Declare the file as a ",[258,842,843],{},"codequality"," report artifact. The Code Quality widget is available in every GitLab tier.",[277,846,851],{"className":847,"code":848,"filename":849,"language":850,"meta":283,"style":283},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","jscpd:\n  stage: test\n  image: node:22\n  before_script:\n    - npm install -g jscpd@5\n  script:\n    - jscpd . -r console,codeclimate --output report\n  artifacts:\n    when: always\n    reports:\n      codequality: report\u002Fgl-code-quality-report.json\n",".gitlab-ci.yml","yaml",[258,852,853,861,871,881,888,896,903,910,917,927,934],{"__ignoreMap":283},[287,854,855,858],{"class":289,"line":290},[287,856,294],{"class":857},"swJcz",[287,859,860],{"class":331},":\n",[287,862,863,866,868],{"class":289,"line":335},[287,864,865],{"class":857},"  stage",[287,867,348],{"class":331},[287,869,870],{"class":297}," test\n",[287,872,873,876,878],{"class":289,"line":375},[287,874,875],{"class":857},"  image",[287,877,348],{"class":331},[287,879,880],{"class":297}," node:22\n",[287,882,883,886],{"class":289,"line":395},[287,884,885],{"class":857},"  before_script",[287,887,860],{"class":331},[287,889,890,893],{"class":289,"line":486},[287,891,892],{"class":331},"    -",[287,894,895],{"class":297}," npm install -g jscpd@5\n",[287,897,898,901],{"class":289,"line":509},[287,899,900],{"class":857},"  script",[287,902,860],{"class":331},[287,904,905,907],{"class":289,"line":530},[287,906,892],{"class":331},[287,908,909],{"class":297}," jscpd . -r console,codeclimate --output report\n",[287,911,912,915],{"class":289,"line":551},[287,913,914],{"class":857},"  artifacts",[287,916,860],{"class":331},[287,918,919,922,924],{"class":289,"line":566},[287,920,921],{"class":857},"    when",[287,923,348],{"class":331},[287,925,926],{"class":297}," always\n",[287,928,929,932],{"class":289,"line":588},[287,930,931],{"class":857},"    reports",[287,933,860],{"class":331},[287,935,936,939,941],{"class":289,"line":633},[287,937,938],{"class":857},"      codequality",[287,940,348],{"class":331},[287,942,943],{"class":297}," report\u002Fgl-code-quality-report.json\n",[255,945,946],{},"The merge request then shows the duplication issues it adds and the ones it resolves against the target branch.",[272,948,950],{"id":949},"with-gates","With gates",[735,952,953,963],{},[738,954,955],{},[741,956,957,960],{},[744,958,959],{},"Severity",[744,961,962],{},"When",[751,964,965,974],{},[741,966,967,971],{},[756,968,969],{},[258,970,523],{},[756,972,973],{},"The default",[741,975,976,980],{},[756,977,978],{},[258,979,802],{},[756,981,982,983,986,987,990,991,994,995],{},"The clone is new against ",[258,984,985],{},"--baseline"," or ",[258,988,989],{},"--baseline-from-ref",", or the duplication of the run is above ",[258,992,993],{},"--threshold","; then every issue is ",[258,996,802],{},[255,998,999,1000,1003],{},"The comparison with the threshold is strictly greater, the same one that fails the build. ",[258,1001,1002],{},"--kind"," keeps only the kinds you name.",[272,1005,1007],{"id":1006},"options","Options",[735,1009,1010,1020],{},[738,1011,1012],{},[741,1013,1014,1017],{},[744,1015,1016],{},"Flag",[744,1018,1019],{},"Effect on the file",[751,1021,1022,1038,1054,1067],{},[741,1023,1024,1032],{},[756,1025,1026,766,1029],{},[258,1027,1028],{},"-o",[258,1030,1031],{},"--output",[756,1033,1034,1035],{},"The directory of ",[258,1036,1037],{},"gl-code-quality-report.json",[741,1039,1040,1048],{},[756,1041,1042,766,1045],{},[258,1043,1044],{},"-t",[258,1046,1047],{},"--threshold P",[756,1049,1050,1051,1053],{},"Every issue at ",[258,1052,802],{}," when the run is above P",[741,1055,1056,1062],{},[756,1057,1058,766,1060],{},[258,1059,985],{},[258,1061,989],{},[756,1063,1064,1066],{},[258,1065,802],{}," for new clones",[741,1068,1069,1077],{},[756,1070,1071,766,1074],{},[258,1072,1073],{},"-a",[258,1075,1076],{},"--absolute",[756,1078,1079],{},"Absolute paths in reports",[272,1081,1083],{"id":1082},"related","Related",[1085,1086,1087,1093,1099],"ul",{},[1088,1089,1090,1092],"li",{},[267,1091,177],{"href":178}," for the numbers of a run in a GitLab metrics report.",[1088,1094,1095,1098],{},[267,1096,1097],{"href":36},"CI"," for the GitLab pipeline with a baseline.",[1088,1100,1101,1104,1105,1107],{},[267,1102,1103],{"href":111},"Clone types"," for the kinds behind ",[258,1106,450],{},".",[1109,1110,1111],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":283,"searchDepth":335,"depth":335,"links":1113},[1114,1115,1116,1117,1118,1119],{"id":274,"depth":335,"text":275},{"id":401,"depth":335,"text":402},{"id":836,"depth":335,"text":837},{"id":949,"depth":335,"text":950},{"id":1006,"depth":335,"text":1007},{"id":1082,"depth":335,"text":1083},"GitLab Code Quality issues in the CodeClimate format, two per clone, so merge requests show duplication on the changed lines.","md",null,{},{"icon":175},{"title":172,"description":1120},"DuQGsKGRKK4vMouy5vw7HxWOBahbc2PshAN4tULQTfw",[1128,1130],{"title":167,"path":168,"stem":169,"description":1129,"icon":170,"children":-1},"A SARIF 2.1.0 log with one result per clone, its counterpart as a related location and a stable fingerprint, for GitHub code scanning and other SARIF consumers.",{"title":177,"path":178,"stem":179,"description":1131,"icon":180,"children":-1},"The counts of a run as OpenMetrics gauges, one sample per format, for GitLab metrics reports and Prometheus-style tooling.",{"\u002Freference\u002Freporters\u002Fcodeclimate":1133},{"views":1134,"visits":566},23,1795510273150]