2025-05-06 22:34 ftp://ftp.de.debian.org/debian/pool/main/o/opm-upscaling/opm-upscaling_2025.04~rc3+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --library=openmp --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 8e656e5 (2025-05-06 23:42:00 +0200) count: 190 189 elapsed-time: 9.7 9.3 head-timing-info: old-timing-info: head results: opm-upscaling-release-2025.04-rc3/benchmarks/upscale_relperm_benchmark.cpp:149:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/benchmarks/upscale_relperm_benchmark.cpp:203:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/benchmarks/upscale_relperm_benchmark.cpp:202:18: style: The comparison 'mpi_rank == 0' is always true. [knownConditionTrueFalse] opm-upscaling-release-2025.04-rc3/benchmarks/upscale_relperm_benchmark.cpp:194:20: note: 'mpi_rank' is assigned value '0' here. opm-upscaling-release-2025.04-rc3/benchmarks/upscale_relperm_benchmark.cpp:202:18: note: The comparison 'mpi_rank == 0' is always true. opm-upscaling-release-2025.04-rc3/benchmarks/upscale_relperm_benchmark.cpp:568:16: style: The scope of the variable 'benchmark_time_sec' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/aniso_implicitcap_test.cpp:81:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/SimulatorTesterFlexibleBC.hpp:58:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable injection_rates_ [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/SimulatorTesterFlexibleBC.hpp:104:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcond_ [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/SimulatorTesterFlexibleBC.hpp:133:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable injection_rates_psolver_ [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/SimulatorTester.hpp:62:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init_saturation_ [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/SimulatorTesterFlexibleBC.hpp:108:14: style:inconclusive: Either there is a missing 'override', or the member function 'SimulatorTesterFlexibleBC < SimulatorTraits < Anisotropic , ImplicitCap > >::isInside' can be const. [functionConst] opm-upscaling-release-2025.04-rc3/examples/aniso_simulator_test.cpp:82:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/SimulatorTesterFlexibleBC.hpp:108:14: style:inconclusive: Either there is a missing 'override', or the member function 'SimulatorTesterFlexibleBC < SimulatorTraits < Anisotropic , Explicit > >::isInside' can be const. [functionConst] opm-upscaling-release-2025.04-rc3/examples/cpchop.cpp:57:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/cpchop.cpp:577:36: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/cpchop.cpp:577:44: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/cpchop.cpp:309:21: style: The scope of the variable 'subsampledgrdecl' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/cpchop.cpp:477:41: style: Variable 'wattest' is assigned a value that is never used. [unreadVariable] opm-upscaling-release-2025.04-rc3/examples/cpchop.cpp:478:41: style: Variable 'cprtest' is assigned a value that is never used. [unreadVariable] opm-upscaling-release-2025.04-rc3/examples/cpchop_depthtrend.cpp:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/cpchop_depthtrend.cpp:199:40: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/cpchop_depthtrend.cpp:199:48: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/cpchop_depthtrend.cpp:155:21: style: The scope of the variable 'subsampledgrdecl' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/cpregularize.cpp:71:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/cpregularize.cpp:135:25: style: Unused variable: newcoords_x [unusedVariable] opm-upscaling-release-2025.04-rc3/examples/exp_variogram.cpp:77:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/exp_variogram.cpp:228:36: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/exp_variogram.cpp:228:44: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/grdecldips.cpp:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/grdecldips.cpp:130:36: style: Obsolete function 'std::asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/grdecldips.cpp:130:44: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/implicitcap_test.cpp:81:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/SimulatorTesterFlexibleBC.hpp:108:14: style:inconclusive: Either there is a missing 'override', or the member function 'SimulatorTesterFlexibleBC < SimulatorTraits < Isotropic , ImplicitCap > >::isInside' can be const. [functionConst] opm-upscaling-release-2025.04-rc3/examples/known_answer_test.cpp:177:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/known_answer_test.cpp:202:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/known_answer_test.cpp:266:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/mimetic_aniso_solver_test.cpp:115:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/mimetic_aniso_solver_test.cpp:163:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dim [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/mimetic_aniso_solver_test.cpp:184:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dirichlet [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/mimetic_aniso_solver_test.cpp:223:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable darcy [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/mimetic_periodic_test.cpp:81:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Periodic [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/mimetic_solver_test.cpp:104:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dirichlet [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/mimetic_solver_test.cpp:190:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/sim_steadystate_explicit.cpp:66:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/SimulatorTesterFlexibleBC.hpp:108:14: style:inconclusive: Either there is a missing 'override', or the member function 'SimulatorTesterFlexibleBC < SimulatorTraits < Isotropic , Explicit > >::isInside' can be const. [functionConst] opm-upscaling-release-2025.04-rc3/examples/sim_steadystate_implicit.cpp:67:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/SimulatorTesterFlexibleBC.hpp:108:14: style:inconclusive: Either there is a missing 'override', or the member function 'SimulatorTesterFlexibleBC < SimulatorTraits < Isotropic , Implicit > >::isInside' can be const. [functionConst] opm-upscaling-release-2025.04-rc3/examples/steadystate_test_implicit.cpp:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:71:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:97:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:338:12: style: The scope of the variable 'permxsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:338:28: style: The scope of the variable 'permysum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:338:44: style: The scope of the variable 'permzsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:339:12: style: The scope of the variable 'invpermxsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:339:31: style: The scope of the variable 'invpermysum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:339:50: style: The scope of the variable 'invpermzsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:340:12: style: The scope of the variable 'volpermxsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:340:31: style: The scope of the variable 'volpermysum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:340:50: style: The scope of the variable 'volpermzsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:341:12: style: The scope of the variable 'invvolpermxsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:341:34: style: The scope of the variable 'invvolpermysum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:341:56: style: The scope of the variable 'invvolpermzsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:342:12: style: The scope of the variable 'logpermxsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:342:31: style: The scope of the variable 'logpermysum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:342:50: style: The scope of the variable 'logpermzsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:343:12: style: The scope of the variable 'logvolpermxsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:343:34: style: The scope of the variable 'logvolpermysum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_avg.cpp:343:56: style: The scope of the variable 'logvolpermzsum' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/examples/upscale_cap.cpp:93:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_cap.cpp:158:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable milli [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_cap.cpp:652:35: style: Obsolete function 'std::asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_cap.cpp:652:43: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_cond.cpp:91:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_cond.cpp:208:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable milli [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_cond.cpp:991:39: style: Obsolete function 'std::asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_cond.cpp:991:47: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_elasticity.cpp:57:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_elasticity.cpp:173:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_elasticity.cpp:221:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_elasticity.cpp:483:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_elasticity.cpp:458:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMOOTH_SCHWARZ [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_elasticity.cpp:306:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_elasticity.cpp:206:31: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_elasticity.cpp:224:26: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_elasticity.cpp:501:5: style: Throwing a copy of the caught exception instead of rethrowing the original exception. [exceptRethrowCopy] opm-upscaling-release-2025.04-rc3/examples/upscale_elasticity.cpp:447:5: style: Throwing a copy of the caught exception instead of rethrowing the original exception. [exceptRethrowCopy] opm-upscaling-release-2025.04-rc3/examples/upscale_perm.cpp:73:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_perm.cpp:99:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_perm.cpp:396:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_perm.cpp:331:36: style: Obsolete function 'std::asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_perm.cpp:331:44: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_perm.cpp:127:40: performance: Searching before insertion is not necessary. Instead of 'options[searchfor]=string(vararg[argidx+1])' consider using 'options.try_emplace(searchfor, string(vararg[argidx+1]));'. [stlFindInsert] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:95:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:180:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:233:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:316:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:426:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:479:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:729:43: style: Obsolete function 'std::asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:729:51: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:403:64: style: Parameter 'vararg' can be declared as const array [constParameter] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:946:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:991:28: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:1004:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] opm-upscaling-release-2025.04-rc3/examples/upscale_relperm.cpp:1018:27: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] opm-upscaling-release-2025.04-rc3/examples/upscale_relpermvisc.cpp:109:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_relpermvisc.cpp:207:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_relpermvisc.cpp:1536:40: style: Obsolete function 'std::asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_relpermvisc.cpp:1536:48: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_relpermvisc.cpp:1520:8: style: The if condition is the same as the previous if condition [duplicateCondition] opm-upscaling-release-2025.04-rc3/examples/upscale_relpermvisc.cpp:1490:9: note: First condition opm-upscaling-release-2025.04-rc3/examples/upscale_relpermvisc.cpp:1520:8: note: Second condition opm-upscaling-release-2025.04-rc3/examples/upscale_steadystate_implicit.cpp:88:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_steadystate_implicit.cpp:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_steadystate_implicit.cpp:194:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/examples/upscale_steadystate_implicit.cpp:392:36: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_steadystate_implicit.cpp:392:44: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opm-upscaling-release-2025.04-rc3/examples/upscale_steadystate_implicit.cpp:99:62: performance: Function parameter 'rock_list' should be passed by const reference. [passedByValue] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:113:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:248:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:144:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:158:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:52:5: warning: Member variable 'BoundaryGrid::nodes' is not initialized in the constructor. [uninitMemberVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:270:20: performance:inconclusive: Technically the member function 'Opm::Elasticity::BoundaryGrid::cubicSolve' can be static (but you may consider moving to unnamed namespace). [functionStatic] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:273:10: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::cubicSolve' can be static (but you may consider moving to unnamed namespace). opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:270:20: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::cubicSolve' can be static (but you may consider moving to unnamed namespace). opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:80:14: style:inconclusive: Technically the member function 'Opm::Elasticity::BoundaryGrid::Vertex::operator==' can be const. [functionConst] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:340:41: performance:inconclusive: Technically the member function 'Opm::Elasticity::BoundaryGrid::Quad::evalBasis' can be static (but you may consider moving to unnamed namespace). [functionStatic] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:103:29: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::Quad::evalBasis' can be static (but you may consider moving to unnamed namespace). opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:340:41: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::Quad::evalBasis' can be static (but you may consider moving to unnamed namespace). opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:203:14: style:inconclusive: Technically the member function 'Opm::Elasticity::BoundaryGrid::VertexLess::operator()' can be const. [functionConst] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:221:12: style:inconclusive: Technically the member function 'Opm::Elasticity::BoundaryGrid::BoundedPredicate::operator()' can be const. [functionConst] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:356:24: performance:inconclusive: Technically the member function 'Opm::Elasticity::HexGeometry::type' can be static (but you may consider moving to unnamed namespace). [functionStatic] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:364:9: performance:inconclusive: Technically the member function 'Opm::Elasticity::HexGeometry::corners' can be static (but you may consider moving to unnamed namespace). [functionStatic] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:376:22: performance:inconclusive: Technically the member function 'Opm::Elasticity::HexGeometry::center' can be static (but you may consider moving to unnamed namespace). [functionStatic] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:297:12: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:299:5: note: Found duplicate branches for 'if' and 'else'. opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:297:12: note: Found duplicate branches for 'if' and 'else'. opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:259:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] opm-upscaling-release-2025.04-rc3/opm/elasticity/elasticity_preconditioners.cpp:32:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/elasticity_preconditioners.hpp:130:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/material.cpp:60:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/material.cpp:70:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/material.cpp:55:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] opm-upscaling-release-2025.04-rc3/opm/elasticity/materials.cpp:24:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/materials.cpp:119:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/materials.hh:169:17: style: The function 'write' overrides a function in a base class but is identical to the overridden function [uselessOverride] opm-upscaling-release-2025.04-rc3/opm/elasticity/material.hh:41:25: note: Virtual function in base class opm-upscaling-release-2025.04-rc3/opm/elasticity/materials.hh:169:17: note: Function in derived class opm-upscaling-release-2025.04-rc3/opm/elasticity/matrixops.cpp:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/matrixops.cpp:129:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/matrixops.cpp:214:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/elasticity/matrixops.cpp:30:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.hpp:66:9: style: Unused private function: 'MeshColorizer < Dune :: CpGrid >::getStripDirection' [unusedPrivateFunction] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.hpp:66:9: note: Unused private function: 'MeshColorizer < Dune :: CpGrid >::getStripDirection' opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.hpp:66:9: note: Unused private function: 'MeshColorizer < Dune :: CpGrid >::getStripDirection' opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.hpp:41:19: style:inconclusive: Technically the member function 'MeshColorizer < Dune :: CpGrid >::operator[]' can be const. [functionConst] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.hpp:66:9: performance:inconclusive: Technically the member function 'MeshColorizer < Dune :: CpGrid >::getStripDirection' can be static (but you may consider moving to unnamed namespace). [functionStatic] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.cpp:60:15: style: Condition 'threads==1' is always true [knownConditionTrueFalse] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.cpp:57:13: note: Assignment 'threads=1', assigned value is 1 opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.cpp:60:15: note: Condition 'threads==1' is always true opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.cpp:30:7: style: The scope of the variable 'stripsize' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.cpp:31:7: style: The scope of the variable 'remainder' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.cpp:32:7: style: The scope of the variable 'dir' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.cpp:81:35: error: Uninitialized variable: mul [uninitvar] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.cpp:90:20: error: Uninitialized variable: dir [uninitvar] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.cpp:32:12: style: Variable 'mul' is not assigned a value. [unassignedVariable] opm-upscaling-release-2025.04-rc3/opm/elasticity/mpc.cpp:69:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/porsol/common/BoundaryPeriodicity.cpp:29:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable canon_pos [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:184:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:201:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:218:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable options [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:316:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isMaster [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:357:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isMaster [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:412:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable poros [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:598:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:620:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Krfunctions [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:641:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Fixed [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:655:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable options [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:695:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zcorns [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:735:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable options [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:891:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable options [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/RelPermUtils.cpp:999:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable options [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/initCPGrid.cpp:51:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/opm/upscaling/writeECLData.cpp:140:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESTART_SOLUTION [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_boundaryconditions.cpp:52:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Neumann [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_boundaryconditions.cpp:79:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dirichlet [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_boundaryconditions.cpp:96:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dirichlet [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_boundaryconditions.cpp:111:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dirichlet [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_gravitypressure.cpp:353:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable milli [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_gravitypressure.cpp:408:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argc [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_gravitypressure.cpp:467:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gravity10 [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_gravitypressure.cpp:474:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noGravity [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_gravitypressure.cpp:481:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noGravity [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_gravitypressure.cpp:488:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gravityEquator [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/common/test_gravitypressure.cpp:448:26: style: Redundant initialization for 'computed'. The initialized value is overwritten before it is read. [redundantInitialization] opm-upscaling-release-2025.04-rc3/tests/common/test_gravitypressure.cpp:445:27: note: computed is initialized opm-upscaling-release-2025.04-rc3/tests/common/test_gravitypressure.cpp:448:26: note: computed is overwritten opm-upscaling-release-2025.04-rc3/tests/compareUpscaling.cpp:31:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/compareUpscaling.cpp:54:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_argument [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/compareUpscaling.cpp:73:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/compareUpscaling.cpp:89:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] opm-upscaling-release-2025.04-rc3/tests/compareUpscaling.cpp:81:17: style: The scope of the variable 'testFileName' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/tests/compareUpscaling.cpp:82:17: style: The scope of the variable 'checkFileName' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/tests/compareUpscaling.cpp:83:12: style: The scope of the variable 'absoluteTolerance' can be reduced. [variableScope] opm-upscaling-release-2025.04-rc3/tests/compareUpscaling.cpp:84:12: style: The scope of the variable 'relativeTolerance' can be reduced. [variableScope] diff: 2.17.0 opm-upscaling-release-2025.04-rc3/examples/known_answer_test.cpp:111:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dirichlet [valueFlowBailoutIncompleteVar] head opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:259:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:270:20: performance:inconclusive: Technically the member function 'Opm::Elasticity::BoundaryGrid::cubicSolve' can be static (but you may consider moving to unnamed namespace). [functionStatic] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:273:10: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::cubicSolve' can be static (but you may consider moving to unnamed namespace). opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:270:20: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::cubicSolve' can be static (but you may consider moving to unnamed namespace). head opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:340:41: performance:inconclusive: Technically the member function 'Opm::Elasticity::BoundaryGrid::Quad::evalBasis' can be static (but you may consider moving to unnamed namespace). [functionStatic] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:103:29: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::Quad::evalBasis' can be static (but you may consider moving to unnamed namespace). opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:340:41: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::Quad::evalBasis' can be static (but you may consider moving to unnamed namespace). 2.17.0 opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:103:29: performance:inconclusive: Technically the member function 'Opm::Elasticity::BoundaryGrid::Quad::evalBasis' can be static (but you may consider moving to unnamed namespace). [functionStatic] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:340:41: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::Quad::evalBasis' can be static (but you may consider moving to unnamed namespace). opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:103:29: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::Quad::evalBasis' can be static (but you may consider moving to unnamed namespace). 2.17.0 opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:273:10: performance:inconclusive: Technically the member function 'Opm::Elasticity::BoundaryGrid::cubicSolve' can be static (but you may consider moving to unnamed namespace). [functionStatic] opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.cpp:270:20: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::cubicSolve' can be static (but you may consider moving to unnamed namespace). opm-upscaling-release-2025.04-rc3/opm/elasticity/boundarygrid.hh:273:10: note: Technically the member function 'Opm::Elasticity::BoundaryGrid::cubicSolve' can be static (but you may consider moving to unnamed namespace). head opm-upscaling-release-2025.04-rc3/opm/elasticity/matrixops.cpp:30:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] 2.17.0 opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.hpp:66:9: style: Unused private function: 'MeshColorizer < Dune :: CpGrid >::getStripDirection' [unusedPrivateFunction] head opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.hpp:66:9: style: Unused private function: 'MeshColorizer < Dune :: CpGrid >::getStripDirection' [unusedPrivateFunction] opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.hpp:66:9: note: Unused private function: 'MeshColorizer < Dune :: CpGrid >::getStripDirection' opm-upscaling-release-2025.04-rc3/opm/elasticity/meshcolorizer.hpp:66:9: note: Unused private function: 'MeshColorizer < Dune :: CpGrid >::getStripDirection' DONE