2026-05-01 04:57 ftp://ftp.de.debian.org/debian/pool/main/b/basix/basix_0.0.1~git20210122.4f10ef2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-110-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 0fda84e (2026-05-01 02:32:52 +0200) count: 24 24 elapsed-time: 2.1 1.9 head-timing-info: old-timing-info: head results: basix-main/cpp/cell.cpp:144:44: style:inconclusive: Function 'topological_dimension' argument 1 names different: declaration 'celltype' definition 'cell_type'. [funcArgNamesDifferent] basix-main/cpp/cell.h:58:38: note: Function 'topological_dimension' argument 1 names different: declaration 'celltype' definition 'cell_type'. basix-main/cpp/cell.cpp:144:44: note: Function 'topological_dimension' argument 1 names different: declaration 'celltype' definition 'cell_type'. basix-main/cpp/finite-element.cpp:51:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] basix-main/cpp/finite-element.h:308:32: performance: Function 'base_permutations()' should return member '_base_permutations' by const reference. [returnByReference] basix-main/cpp/finite-element.cpp:46:62: style:inconclusive: Function 'compute_expansion_coefficients' argument 1 names different: declaration 'span_coeffs' definition 'coeffs'. [funcArgNamesDifferent] basix-main/cpp/finite-element.h:140:55: note: Function 'compute_expansion_coefficients' argument 1 names different: declaration 'span_coeffs' definition 'coeffs'. basix-main/cpp/finite-element.cpp:46:62: note: Function 'compute_expansion_coefficients' argument 1 names different: declaration 'span_coeffs' definition 'coeffs'. basix-main/cpp/finite-element.cpp:79:17: style:inconclusive: Function 'FiniteElement' argument 1 names different: declaration 'family_name' definition 'name'. [funcArgNamesDifferent] basix-main/cpp/finite-element.h:152:29: note: Function 'FiniteElement' argument 1 names different: declaration 'family_name' definition 'name'. basix-main/cpp/finite-element.cpp:79:17: note: Function 'FiniteElement' argument 1 names different: declaration 'family_name' definition 'name'. basix-main/cpp/finite-element.cpp:22:56: performance: Function parameter 'family' should be passed by const reference. [passedByValue] basix-main/cpp/finite-element.cpp:23:58: performance: Function parameter 'cell' should be passed by const reference. [passedByValue] basix-main/cpp/finite-element.cpp:84:23: performance: Function parameter 'mapping_name' should be passed by const reference. [passedByValue] basix-main/cpp/finite-element.cpp:110:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] basix-main/cpp/lagrange.cpp:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] basix-main/cpp/lattice.cpp:36:47: style:inconclusive: Function 'create' argument 3 names different: declaration 'type' definition 'lattice_type'. [funcArgNamesDifferent] basix-main/cpp/lattice.h:38:66: note: Function 'create' argument 3 names different: declaration 'type' definition 'lattice_type'. basix-main/cpp/lattice.cpp:36:47: note: Function 'create' argument 3 names different: declaration 'type' definition 'lattice_type'. basix-main/cpp/lattice.cpp:16:53: style: Parameter 'x' can be declared as reference to const [constParameterReference] basix-main/cpp/nedelec.cpp:319:14: style: Condition 'degree==2' is always false [knownConditionTrueFalse] basix-main/cpp/nedelec.cpp:310:14: note: Assuming that condition 'degree==1' is not redundant basix-main/cpp/nedelec.cpp:319:14: note: Condition 'degree==2' is always false basix-main/cpp/nedelec.cpp:663:32: style: Unused variable: directions [unusedVariable] basix-main/cpp/polyset.cpp:700:73: style:inconclusive: Function 'tabulate' argument 2 names different: declaration 'degree' definition 'n'. [funcArgNamesDifferent] basix-main/cpp/polyset.h:45:64: note: Function 'tabulate' argument 2 names different: declaration 'degree' definition 'n'. basix-main/cpp/polyset.cpp:700:73: note: Function 'tabulate' argument 2 names different: declaration 'degree' definition 'n'. basix-main/cpp/polyset.cpp:701:52: style:inconclusive: Function 'tabulate' argument 3 names different: declaration 'nd' definition 'nderiv'. [funcArgNamesDifferent] basix-main/cpp/polyset.h:45:76: note: Function 'tabulate' argument 3 names different: declaration 'nd' definition 'nderiv'. basix-main/cpp/polyset.cpp:701:52: note: Function 'tabulate' argument 3 names different: declaration 'nd' definition 'nderiv'. basix-main/cpp/polyset.cpp:702:71: style:inconclusive: Function 'tabulate' argument 4 names different: declaration 'x' definition 'pts'. [funcArgNamesDifferent] basix-main/cpp/polyset.h:46:62: note: Function 'tabulate' argument 4 names different: declaration 'x' definition 'pts'. basix-main/cpp/polyset.cpp:702:71: note: Function 'tabulate' argument 4 names different: declaration 'x' definition 'pts'. basix-main/cpp/polyset.cpp:725:29: style:inconclusive: Function 'dim' argument 1 names different: declaration 'cell' definition 'celltype'. [funcArgNamesDifferent] basix-main/cpp/polyset.h:53:20: note: Function 'dim' argument 1 names different: declaration 'cell' definition 'celltype'. basix-main/cpp/polyset.cpp:725:29: note: Function 'dim' argument 1 names different: declaration 'cell' definition 'celltype'. basix-main/cpp/polyset.cpp:388:25: style: Local variable 'result' shadows outer variable [shadowVariable] basix-main/cpp/polyset.cpp:208:19: note: Shadowed declaration basix-main/cpp/polyset.cpp:388:25: note: Shadow variable basix-main/cpp/polyset.cpp:582:25: style: Local variable 'result' shadows outer variable [shadowVariable] basix-main/cpp/polyset.cpp:427:19: note: Shadowed declaration basix-main/cpp/polyset.cpp:582:25: note: Shadow variable basix-main/cpp/quadrature.cpp:77:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ComputeEigenvectors [valueFlowBailoutIncompleteVar] basix-main/cpp/raviart-thomas.cpp:19:52: style:inconclusive: Function 'create_rt' argument 3 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] basix-main/cpp/wrapper.cpp:61:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] basix-main/cpp/wrapper.cpp:85:28: performance: Function parameter 'family_name' should be passed by const reference. [passedByValue] diff: 2.20.0 basix-main/cpp/finite-element.h:159:35: performance: Function parameter 'mapping_name' should be passed by const reference. [passedByValue] head basix-main/cpp/raviart-thomas.cpp:19:52: style:inconclusive: Function 'create_rt' argument 3 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] DONE