2026-05-05 02:52 ftp://ftp.de.debian.org/debian/pool/main/s/sopt/sopt_5.0.1+dfsg.orig.tar.xz 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-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 96 99 elapsed-time: 1.2 0.9 head-timing-info: old-timing-info: head results: astro-informatics-sopt-2c2bb53/cpp/benchmarks/conjugate_gradient.cc:17:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/benchmarks/conjugate_gradient.cc:34:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/benchmarks/l1_proximal.cc:28:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/benchmarks/wavelets.cc:17:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEVEL [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/benchmarks/wavelets.cc:28:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEVEL [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/benchmarks/wavelets.cc:39:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEVEL [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/benchmarks/wavelets.cc:48:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEVEL [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/conjugate_gradient.cc:34:49: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/forward_backward/inpainting.cc:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/forward_backward/inpainting.cc:128:28: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/forward_backward/inpainting_credible_interval.cc:41:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/forward_backward/inpainting_credible_interval.cc:129:28: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/forward_backward/inpainting_joint_map.cc:41:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/forward_backward/inpainting_joint_map.cc:136:28: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/forward_backward/l2_inpainting.cc:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/forward_backward/l2_inpainting.cc:116:28: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/forward_backward/l2_inpainting.cc:106:36: style: Variable 'warm_start' is assigned a value that is never used. [unreadVariable] astro-informatics-sopt-2c2bb53/cpp/examples/l1_norm.cc:10:71: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/positive_quadrant_projection.cc:12:44: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/power_method.cc:29:5: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/primal_dual/inpainting.cc:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/primal_dual/tv_inpainting.cc:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/proximal_admm/euclidian_norm.cc:42:28: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/proximal_admm/inpainting.cc:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/proximal_admm/inpainting.cc:110:28: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/proximal_admm/reweighted.cc:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/sara.cc:21:36: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/sdmm/euclidian_norm.cc:69:28: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/sdmm/inpainting.cc:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/sdmm/inpainting.cc:114:28: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/sdmm/reweighted.cc:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/examples/sdmm/reweighted.cc:141:24: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/soft_threshhold.cc:8:78: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/examples/wavelets.cc:14:36: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] astro-informatics-sopt-2c2bb53/cpp/sopt/cppflow_utils.cc:86:111: performance: Function parameter 'model_output' should be passed by const reference. [passedByValue] astro-informatics-sopt-2c2bb53/cpp/sopt/logging.cc:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable defaultLevels [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/logging.cc:51:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable defaultLevels [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/logging.cc:60:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable info [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/logging.cc:117:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable useShellColors [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/logging.cc:139:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/logging.cc:153:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable showLoggerName [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/logging.cc:182:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable warning [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/logging.cc:192:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable warning [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/logging.cc:78:21: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/communicator.cc:9:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_NULL [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/communicator.cc:15:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_NULL [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/communicator.cc:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/communicator.cc:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable impl [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/communicator.cc:38:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable impl [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:4:34: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:5:35: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:6:35: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:7:35: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:8:35: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:9:36: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:10:36: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:11:36: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:14:27: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:17:34: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:20:36: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:23:28: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:24:29: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:25:34: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:26:42: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:27:43: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/registered_types.cc:28:48: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/session.cc:19:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_SUCCESS [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/session.cc:32:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deleter [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/session.cc:54:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deleter [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/mpi/session.cc:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_SUCCESS [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/utilities.cc:47:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFTAG_IMAGEWIDTH [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/sopt/utilities.cc:80:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFTAG_IMAGEWIDTH [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/common_catch_main.cc:17:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rngSeed [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/common_mpi_catch_main.cc:31:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/forward_backward.cc:74:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/forward_backward.cc:22:24: error: Null pointer dereference: mersenne [nullPointer] astro-informatics-sopt-2c2bb53/cpp/tests/forward_backward.cc:20:43: note: Assignment 'std::unique_ptrmersenne', assigned value is 0 astro-informatics-sopt-2c2bb53/cpp/tests/forward_backward.cc:22:24: note: Null pointer dereference astro-informatics-sopt-2c2bb53/cpp/tests/inpainting.cc:55:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_real [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/linear_transform.cc:72:37: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] astro-informatics-sopt-2c2bb53/cpp/tests/onnx_inpainting.cc:70:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_real [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/padmm.cc:56:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/padmm.cc:14:24: error: Null pointer dereference: mersenne [nullPointer] astro-informatics-sopt-2c2bb53/cpp/tests/padmm.cc:12:43: note: Assignment 'std::unique_ptrmersenne', assigned value is 0 astro-informatics-sopt-2c2bb53/cpp/tests/padmm.cc:14:24: note: Null pointer dereference astro-informatics-sopt-2c2bb53/cpp/tests/primal_dual.cc:92:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/proximal.cc:17:43: error: Null pointer dereference: mersenne [nullPointer] astro-informatics-sopt-2c2bb53/cpp/tests/proximal.cc:14:43: note: Assignment 'std::unique_ptrmersenne', assigned value is 0 astro-informatics-sopt-2c2bb53/cpp/tests/proximal.cc:17:43: note: Null pointer dereference astro-informatics-sopt-2c2bb53/cpp/tests/reweighted.cc:25:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/reweighted.cc:30:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/sara.cc:28:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coefficients [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/sara.cc:12:24: error: Null pointer dereference: mersenne [nullPointer] astro-informatics-sopt-2c2bb53/cpp/tests/sara.cc:10:43: note: Assignment 'std::unique_ptrmersenne', assigned value is 0 astro-informatics-sopt-2c2bb53/cpp/tests/sara.cc:12:24: note: Null pointer dereference astro-informatics-sopt-2c2bb53/cpp/tests/sdmm.cc:13:24: error: Null pointer dereference: mersenne [nullPointer] astro-informatics-sopt-2c2bb53/cpp/tests/sdmm.cc:11:43: note: Assignment 'std::unique_ptrmersenne', assigned value is 0 astro-informatics-sopt-2c2bb53/cpp/tests/sdmm.cc:13:24: note: Null pointer dereference astro-informatics-sopt-2c2bb53/cpp/tests/serial_vs_parallel_padmm.cc:110:72: debug: Function::addArguments found argument 'residual' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/tests/serial_vs_parallel_padmm.cc:120:55: debug: Function::addArguments found argument 'x' with varid 0. [varid0] astro-informatics-sopt-2c2bb53/cpp/tests/serial_vs_parallel_padmm.cc:110:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable residual [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/stochastic_update.cc:51:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_real [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/tf_inpainting.cc:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_real [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/wavelets.cc:234:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_uint [valueFlowBailoutIncompleteVar] astro-informatics-sopt-2c2bb53/cpp/tests/wavelets.cc:37:24: error: Null pointer dereference: mersenne [nullPointer] astro-informatics-sopt-2c2bb53/cpp/tests/wavelets.cc:35:43: note: Assignment 'std::unique_ptrmersenne', assigned value is 0 astro-informatics-sopt-2c2bb53/cpp/tests/wavelets.cc:37:24: note: Null pointer dereference astro-informatics-sopt-2c2bb53/cpp/tools_for_tests/copy_tiff.cc:16:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] diff: 2.20.0 astro-informatics-sopt-2c2bb53/cmake_files/using.cc:11:10: style: Variable 's' is assigned a value that is never used. [unreadVariable] 2.20.0 astro-informatics-sopt-2c2bb53/cpp/examples/l1_proximal.cc:31:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] 2.20.0 astro-informatics-sopt-2c2bb53/cpp/tests/forward_backward.cc:34:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_real [valueFlowBailoutIncompleteVar] DONE