id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
26,191 | checkbufferoverrun.cpp | danmar_cppcheck/lib/checkbufferoverrun.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 52,675 | C++ | .cpp | 1,081 | 37.753932 | 228 | 0.574748 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,192 | checkmemoryleak.cpp | danmar_cppcheck/lib/checkmemoryleak.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 48,239 | C++ | .cpp | 992 | 37.486895 | 229 | 0.544387 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,193 | checktype.cpp | danmar_cppcheck/lib/checktype.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 21,927 | C++ | .cpp | 436 | 42.091743 | 344 | 0.595049 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,194 | checkleakautovar.cpp | danmar_cppcheck/lib/checkleakautovar.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 54,921 | C++ | .cpp | 1,077 | 37.45311 | 182 | 0.53774 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,195 | vf_debug.cpp | danmar_cppcheck/lib/vf_debug.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 1,926 | C++ | .cpp | 48 | 34.354167 | 125 | 0.664175 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,196 | valueflow.cpp | danmar_cppcheck/lib/valueflow.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 242,769 | C++ | .cpp | 5,202 | 33.569204 | 185 | 0.541198 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,197 | reverseanalyzer.cpp | danmar_cppcheck/lib/reverseanalyzer.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 18,399 | C++ | .cpp | 392 | 28.785714 | 169 | 0.456274 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,198 | importproject.cpp | danmar_cppcheck/lib/importproject.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 66,385 | C++ | .cpp | 1,376 | 36.758721 | 262 | 0.567303 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,199 | tokenize.cpp | danmar_cppcheck/lib/tokenize.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 423,541 | C++ | .cpp | 9,666 | 29.79071 | 278 | 0.460742 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,200 | utils.cpp | danmar_cppcheck/lib/utils.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 6,678 | C++ | .cpp | 186 | 26.973118 | 112 | 0.509964 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,201 | fixture.cpp | danmar_cppcheck/test/fixture.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 16,857 | C++ | .cpp | 434 | 32.682028 | 190 | 0.623396 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,202 | testastutils.cpp | danmar_cppcheck/test/testastutils.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 28,877 | C++ | .cpp | 474 | 48.392405 | 150 | 0.539151 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,203 | testthreadexecutor.cpp | danmar_cppcheck/test/testthreadexecutor.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 13,110 | C++ | .cpp | 339 | 29.20649 | 132 | 0.553801 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,204 | testmathlib.cpp | danmar_cppcheck/test/testmathlib.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 81,055 | C++ | .cpp | 1,351 | 51.094004 | 179 | 0.631711 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,205 | testsummaries.cpp | danmar_cppcheck/test/testsummaries.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 1,949 | C++ | .cpp | 50 | 34.9 | 105 | 0.696665 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,206 | testoptions.cpp | danmar_cppcheck/test/testoptions.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 4,690 | C++ | .cpp | 113 | 35.061947 | 104 | 0.624396 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,208 | testother.cpp | danmar_cppcheck/test/testother.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 482,317 | C++ | .cpp | 11,175 | 29.412796 | 283 | 0.403044 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,209 | testsuppressions.cpp | danmar_cppcheck/test/testsuppressions.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 70,214 | C++ | .cpp | 1,313 | 37.357197 | 196 | 0.521249 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,211 | testcharvar.cpp | danmar_cppcheck/test/testcharvar.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 6,232 | C++ | .cpp | 171 | 26.192982 | 160 | 0.478369 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,212 | testsimplifytokens.cpp | danmar_cppcheck/test/testsimplifytokens.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 111,889 | C++ | .cpp | 2,324 | 28.931583 | 201 | 0.361776 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,213 | testtokenlist.cpp | danmar_cppcheck/test/testtokenlist.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 7,690 | C++ | .cpp | 171 | 36.081871 | 115 | 0.616627 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,214 | testtimer.cpp | danmar_cppcheck/test/testtimer.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2023 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 1,256 | C++ | .cpp | 37 | 30.459459 | 72 | 0.700248 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,215 | testcondition.cpp | danmar_cppcheck/test/testcondition.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 237,621 | C++ | .cpp | 5,485 | 30.307019 | 258 | 0.39432 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,216 | testleakautovar.cpp | danmar_cppcheck/test/testleakautovar.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 117,884 | C++ | .cpp | 3,050 | 26.414754 | 162 | 0.401227 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,218 | testunusedvar.cpp | danmar_cppcheck/test/testunusedvar.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 295,451 | C++ | .cpp | 6,411 | 25.451256 | 168 | 0.333419 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,219 | main.cpp | danmar_cppcheck/test/main.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2023 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 1,514 | C++ | .cpp | 38 | 36.894737 | 153 | 0.72381 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,220 | testtoken.cpp | danmar_cppcheck/test/testtoken.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 48,305 | C++ | .cpp | 1,015 | 38.559606 | 211 | 0.598168 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,223 | testunusedprivfunc.cpp | danmar_cppcheck/test/testunusedprivfunc.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 26,570 | C++ | .cpp | 781 | 21.701665 | 185 | 0.402702 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,224 | testinternal.cpp | danmar_cppcheck/test/testinternal.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 21,779 | C++ | .cpp | 453 | 36.735099 | 164 | 0.486231 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,225 | testcppcheck.cpp | danmar_cppcheck/test/testcppcheck.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 10,329 | C++ | .cpp | 223 | 36.578475 | 134 | 0.615041 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,226 | testfilesettings.cpp | danmar_cppcheck/test/testfilesettings.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 2,350 | C++ | .cpp | 66 | 28.045455 | 72 | 0.589732 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,227 | testsettings.cpp | danmar_cppcheck/test/testsettings.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 10,369 | C++ | .cpp | 252 | 30.460317 | 136 | 0.575238 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,229 | testpath.cpp | danmar_cppcheck/test/testpath.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 19,495 | C++ | .cpp | 385 | 42.101299 | 153 | 0.579279 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,230 | testvarid.cpp | danmar_cppcheck/test/testvarid.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 177,948 | C++ | .cpp | 3,865 | 26.496766 | 191 | 0.334359 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,231 | testclass.cpp | danmar_cppcheck/test/testclass.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 387,934 | C++ | .cpp | 8,191 | 29.286534 | 277 | 0.386672 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,232 | testcmdlineparser.cpp | danmar_cppcheck/test/testcmdlineparser.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 134,301 | C++ | .cpp | 2,699 | 41.217117 | 188 | 0.63366 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,235 | testboost.cpp | danmar_cppcheck/test/testboost.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 3,728 | C++ | .cpp | 87 | 34.655172 | 164 | 0.577612 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,236 | test64bit.cpp | danmar_cppcheck/test/test64bit.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 10,062 | C++ | .cpp | 262 | 27.610687 | 152 | 0.464227 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,237 | testfilelister.cpp | danmar_cppcheck/test/testfilelister.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 4,281 | C++ | .cpp | 107 | 33.523364 | 101 | 0.645728 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,239 | testuninitvar.cpp | danmar_cppcheck/test/testuninitvar.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 317,702 | C++ | .cpp | 7,091 | 25.168382 | 166 | 0.320599 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,240 | testsimplifyusing.cpp | danmar_cppcheck/test/testsimplifyusing.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 68,146 | C++ | .cpp | 1,461 | 24.406571 | 174 | 0.321672 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,241 | testimportproject.cpp | danmar_cppcheck/test/testimportproject.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 20,205 | C++ | .cpp | 395 | 39.665823 | 464 | 0.584796 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,245 | helpers.cpp | danmar_cppcheck/test/helpers.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 8,702 | C++ | .cpp | 198 | 39.166667 | 226 | 0.684304 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,246 | teststandards.cpp | danmar_cppcheck/test/teststandards.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 5,418 | C++ | .cpp | 123 | 36.796748 | 77 | 0.648464 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,248 | testcheck.cpp | danmar_cppcheck/test/testcheck.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2023 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 1,966 | C++ | .cpp | 51 | 32.313725 | 119 | 0.605346 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,249 | testmemleak.cpp | danmar_cppcheck/test/testmemleak.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 97,025 | C++ | .cpp | 2,578 | 24.623739 | 190 | 0.392703 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,250 | testsingleexecutor.cpp | danmar_cppcheck/test/testsingleexecutor.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 13,084 | C++ | .cpp | 350 | 27.602857 | 143 | 0.534662 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,251 | testprocessexecutor.cpp | danmar_cppcheck/test/testprocessexecutor.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 13,378 | C++ | .cpp | 342 | 29.508772 | 132 | 0.552512 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,252 | testbufferoverrun.cpp | danmar_cppcheck/test/testbufferoverrun.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 209,536 | C++ | .cpp | 5,059 | 28.742637 | 198 | 0.412082 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,254 | testtype.cpp | danmar_cppcheck/test/testtype.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 28,214 | C++ | .cpp | 494 | 45.510121 | 204 | 0.551382 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,257 | testbool.cpp | danmar_cppcheck/test/testbool.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 52,866 | C++ | .cpp | 1,197 | 31.698413 | 208 | 0.440333 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,258 | testanalyzerinformation.cpp | danmar_cppcheck/test/testanalyzerinformation.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2023 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 1,733 | C++ | .cpp | 38 | 41.763158 | 134 | 0.733847 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,259 | testcolor.cpp | danmar_cppcheck/test/testcolor.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2023 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 1,150 | C++ | .cpp | 32 | 32.875 | 75 | 0.723921 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,260 | testerrorlogger.cpp | danmar_cppcheck/test/testerrorlogger.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 25,918 | C++ | .cpp | 511 | 39.322896 | 184 | 0.582357 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,261 | testutils.cpp | danmar_cppcheck/test/testutils.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 20,933 | C++ | .cpp | 489 | 33.239264 | 230 | 0.546693 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,262 | testtokenrange.cpp | danmar_cppcheck/test/testtokenrange.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 4,945 | C++ | .cpp | 116 | 35.5 | 163 | 0.612796 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,264 | testpostfixoperator.cpp | danmar_cppcheck/test/testpostfixoperator.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 13,169 | C++ | .cpp | 343 | 26.489796 | 124 | 0.410982 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,265 | testclangimport.cpp | danmar_cppcheck/test/testclangimport.cpp | // Cppcheck - A tool for static C/C++ code analysis
// Copyright (C) 2007-2024 Cppcheck team.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at you... | 91,852 | C++ | .cpp | 1,226 | 56.477977 | 322 | 0.516954 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,266 | testlibrary.cpp | danmar_cppcheck/test/testlibrary.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 54,598 | C++ | .cpp | 1,001 | 39.512488 | 151 | 0.53258 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,267 | testprogrammemory.cpp | danmar_cppcheck/test/testprogrammemory.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 2,427 | C++ | .cpp | 69 | 29.26087 | 72 | 0.653009 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,268 | testsimplifytypedef.cpp | danmar_cppcheck/test/testsimplifytypedef.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 190,825 | C++ | .cpp | 3,976 | 28.577968 | 247 | 0.375052 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,269 | testplatform.cpp | danmar_cppcheck/test/testplatform.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 20,739 | C++ | .cpp | 412 | 35.390777 | 404 | 0.533248 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,270 | testautovariables.cpp | danmar_cppcheck/test/testautovariables.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 163,878 | C++ | .cpp | 4,071 | 27.461066 | 222 | 0.408313 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,271 | testincompletestatement.cpp | danmar_cppcheck/test/testincompletestatement.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 27,843 | C++ | .cpp | 675 | 29.345185 | 134 | 0.427193 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,272 | options.cpp | danmar_cppcheck/test/options.cpp | // Cppcheck - A tool for static C/C++ code analysis
// Copyright (C) 2007-2024 Cppcheck team.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at you... | 1,837 | C++ | .cpp | 58 | 28.586207 | 141 | 0.666667 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,273 | testunusedfunctions.cpp | danmar_cppcheck/test/testunusedfunctions.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 27,549 | C++ | .cpp | 689 | 29 | 157 | 0.463813 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,274 | emscripten.cpp | danmar_cppcheck/test/cfg/emscripten.cpp |
// Test library configuration for emscripten.cfg
//
// Usage:
// $ cppcheck --check-library --library=emscripten --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/emscripten.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
#include... | 1,967 | C++ | .cpp | 76 | 22.065789 | 150 | 0.632925 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,275 | boost.cpp | danmar_cppcheck/test/cfg/boost.cpp |
// Test library configuration for boost.cfg
//
// Usage:
// $ cppcheck --check-library --library=boost --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/boost.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
// cppcheck-suppress-fi... | 3,193 | C++ | .cpp | 108 | 26.444444 | 140 | 0.708225 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,276 | googletest.cpp | danmar_cppcheck/test/cfg/googletest.cpp |
// Test library configuration for googletest.cfg
//
// Usage:
// $ cppcheck --check-library --library=googletest --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/googletest.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
// cppch... | 2,417 | C++ | .cpp | 70 | 30.685714 | 150 | 0.715695 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
26,277 | kde.cpp | danmar_cppcheck/test/cfg/kde.cpp |
// Test library configuration for kde.cfg
//
// Usage:
// $ cppcheck --check-library --library=kde --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/kde.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
#include <cstdio>
#include <K... | 1,209 | C++ | .cpp | 36 | 30.833333 | 136 | 0.728988 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,278 | windows.cpp | danmar_cppcheck/test/cfg/windows.cpp |
// Test library configuration for windows.cfg
//
// Usage:
// $ cppcheck --check-library --library=windows --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/windows.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
// cppcheck-suppr... | 39,148 | C++ | .cpp | 1,066 | 32.121013 | 144 | 0.709717 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,279 | qt.cpp | danmar_cppcheck/test/cfg/qt.cpp |
// Test library configuration for qt.cfg
//
// Usage:
// $ cppcheck --check-library --library=qt --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/qt.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
// cppcheck-suppress-file valueF... | 21,179 | C++ | .cpp | 708 | 25.309322 | 168 | 0.685693 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,280 | mfc.cpp | danmar_cppcheck/test/cfg/mfc.cpp |
// Test library configuration for mfc.cfg
#include <afxwin.h>
class MyClass1 : public CObject {
DECLARE_DYNAMIC(MyClass1)
public:
MyClass1() {}
};
IMPLEMENT_DYNAMIC(MyClass1, CObject)
class MyClass2 : public CObject {
DECLARE_DYNCREATE(MyClass2)
public:
MyClass2() {}
};
IMPLEMENT_DYNCREATE(MyClass2... | 464 | C++ | .cpp | 20 | 20.7 | 41 | 0.753425 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,281 | cppunit.cpp | danmar_cppcheck/test/cfg/cppunit.cpp | // Test library configuration for cppunit.cfg
//
// Usage:
// $ cppcheck --check-library --library=cppunit --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/cppunit.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
// cppcheck-suppre... | 1,658 | C++ | .cpp | 44 | 34.340909 | 144 | 0.71179 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
26,282 | std.cpp | danmar_cppcheck/test/cfg/std.cpp |
// Test library configuration for std.cfg
//
// Usage:
// $ cppcheck --check-library --library=std --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/std.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
// cppcheck-suppress-file val... | 120,052 | C++ | .cpp | 4,550 | 22.587912 | 239 | 0.680971 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,283 | opencv2.cpp | danmar_cppcheck/test/cfg/opencv2.cpp |
// Test library configuration for opencv2.cfg
//
// Usage:
// $ cppcheck --check-library --library=opencv2 --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/opencv2.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
// cppcheck-suppr... | 1,309 | C++ | .cpp | 42 | 27.571429 | 144 | 0.697933 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,284 | wxwidgets.cpp | danmar_cppcheck/test/cfg/wxwidgets.cpp |
// Test library configuration for wxwidgets.cfg
//
// Usage:
// $ ./cppcheck --check-library --library=wxwidgets --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/wxwidgets.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
// cppche... | 33,769 | C++ | .cpp | 1,149 | 25.409051 | 198 | 0.72891 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,285 | libsigc++.cpp | danmar_cppcheck/test/cfg/libsigc++.cpp |
// Test library configuration for libsigc++.cfg
//
// Usage:
// $ cppcheck --check-library --library=libsigc++ --enable=style,information --inconclusive --error-exitcode=1 --inline-suppr test/cfg/libsigc++.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
#include <s... | 703 | C++ | .cpp | 23 | 28.130435 | 148 | 0.708148 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
26,286 | test-signalhandler.cpp | danmar_cppcheck/test/signal/test-signalhandler.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 2,034 | C++ | .cpp | 68 | 26.911765 | 74 | 0.689867 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,287 | test-stacktrace.cpp | danmar_cppcheck/test/signal/test-stacktrace.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 1,211 | C++ | .cpp | 40 | 28.175 | 72 | 0.735168 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,288 | MainFile.cpp | danmar_cppcheck/test/cli/shared-items-project/Main/MainFile.cpp | #include <TestClass.h>
int main(void)
{
Shared::TestClass test{};
return 0;
} | 86 | C++ | .cpp | 6 | 12 | 29 | 0.675 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,291 | 3.cpp | danmar_cppcheck/test/cli/proj-inline-suppress/3.cpp | // From forum: https://sourceforge.net/p/cppcheck/discussion/general/thread/e67653efdb/
void foo()
{ // cppcheck-suppress zerodiv
int x = 10000 / 0;
}
| 156 | C++ | .cpp | 5 | 29.2 | 87 | 0.733333 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
26,293 | template.cpp | danmar_cppcheck/test/cli/proj-inline-suppress/template.cpp | namespace {
template<typename T>
T f() {
return T();
}
}
// cppcheck-suppress unusedFunction
int g(int i) {
if (i == 0)
return f<char>();
if (i == 1)
return f<short>();
return f<int>();
} | 236 | C++ | .cpp | 14 | 12.428571 | 35 | 0.513514 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,294 | A.cpp | danmar_cppcheck/test/cli/proj-inline-suppress-unusedFunction/A.cpp | #include "B.hpp"
int main()
{
B b();
return 0;
}
| 58 | C++ | .cpp | 6 | 7.166667 | 16 | 0.529412 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
26,295 | B.cpp | danmar_cppcheck/test/cli/proj-inline-suppress-unusedFunction/B.cpp | #include "B.hpp"
B::B() {}
// cppcheck-suppress unusedFunction
void B::unusedFunctionTest() {}
| 97 | C++ | .cpp | 4 | 22.75 | 35 | 0.725275 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
26,296 | odr2.cpp | danmar_cppcheck/test/cli/whole-program/odr2.cpp | #include "odr.h"
#include <iostream>
class C : public Base
{
public:
void f() override {
std::cout << "2";
}
};
Base *c2_create()
{
return new C();
}
| 173 | C++ | .cpp | 13 | 10.538462 | 25 | 0.579618 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,297 | odr1.cpp | danmar_cppcheck/test/cli/whole-program/odr1.cpp | #include "odr.h"
#include <iostream>
// cppcheck-suppress ctuOneDefinitionRuleViolation
class C : public Base
{
public:
void f() override {
std::cout << "1";
}
};
Base *c1_create()
{
return new C();
}
| 224 | C++ | .cpp | 14 | 13.357143 | 50 | 0.657005 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,298 | dmake.cpp | danmar_cppcheck/tools/dmake/dmake.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2023 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 34,641 | C++ | .cpp | 763 | 37.773263 | 280 | 0.56201 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,300 | mainwindow.cpp | danmar_cppcheck/tools/triage/mainwindow.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2021 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 13,719 | C++ | .cpp | 378 | 29.904762 | 145 | 0.633444 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,301 | democlient.cpp | danmar_cppcheck/democlient/democlient.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 3,729 | C++ | .cpp | 105 | 29.419048 | 115 | 0.597666 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
26,302 | main.cpp | danmar_cppcheck/oss-fuzz/main.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 2,424 | C++ | .cpp | 72 | 29.777778 | 76 | 0.686644 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,303 | type2.cpp | danmar_cppcheck/oss-fuzz/type2.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 8,194 | C++ | .cpp | 199 | 32.829146 | 160 | 0.580811 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
26,304 | translate.cpp | danmar_cppcheck/oss-fuzz/translate.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2022 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 1,380 | C++ | .cpp | 37 | 33.243243 | 103 | 0.675412 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
26,305 | cmdlineparser.cpp | danmar_cppcheck/cli/cmdlineparser.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 92,764 | C++ | .cpp | 1,759 | 39.104036 | 180 | 0.487781 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,306 | stacktrace.cpp | danmar_cppcheck/cli/stacktrace.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 4,373 | C++ | .cpp | 94 | 38.840426 | 125 | 0.65535 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,307 | threadexecutor.cpp | danmar_cppcheck/cli/threadexecutor.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 6,690 | C++ | .cpp | 170 | 33.376471 | 238 | 0.684089 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,308 | filelister.cpp | danmar_cppcheck/cli/filelister.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 9,797 | C++ | .cpp | 223 | 35.264574 | 170 | 0.571129 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,310 | cppcheckexecutorseh.cpp | danmar_cppcheck/cli/cppcheckexecutorseh.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 10,885 | C++ | .cpp | 259 | 32.949807 | 211 | 0.64666 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,311 | cppcheckexecutor.cpp | danmar_cppcheck/cli/cppcheckexecutor.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 24,277 | C++ | .cpp | 594 | 32.548822 | 251 | 0.632432 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
26,312 | singleexecutor.cpp | danmar_cppcheck/cli/singleexecutor.cpp | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2024 Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | 2,655 | C++ | .cpp | 66 | 35.757576 | 219 | 0.70264 | danmar/cppcheck | 5,720 | 1,444 | 118 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.